- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 75:
Line 75:
− +
Line 159:
Line 159:
− +
Always show at least 4 slots, fix space icon
|-
|-
| colspan="3" style="text-align: center; background-color: LightSkyBlue;"|'''Stock Equipment'''
| colspan="3" style="text-align: center; background-color: LightSkyBlue;"|'''Stock Equipment'''
| style="text-align: center; background-color: LightSkyBlue;" | '''{{Aircraft}}Space'''
| style="text-align: center; background-color: LightSkyBlue;" | '''${aircraft_icon} Space'''
|-
|-
${slot_details}]],
${slot_details}]],
function ShipInfoKai:slot_details(ship)
function ShipInfoKai:slot_details(ship)
local slots = {}
local slots = {}
for i = 1, ship:slots() do
for i = 1, math.max(4, ship:slots()) do
table.insert(slots, format(self._slot_template, {equipment = ship:equipment(i), space = ship:space(i)}))
table.insert(slots, format(self._slot_template, {equipment = ship:equipment(i), space = ship:space(i)}))
end
end