- 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 154:
Line 154:
− +
− return equipment_slot.equipment, equipment_slot.size+
+
+
+
+
− +
+
+
no edit summary
function ShipData:slot(slot)
function ShipData:slot(slot)
local equipment_slot = self._equipment[slot]
if self._equipment then
local equipment_slot = self._equipment[slot]
if equipment_slot then
return equipment_slot.equipment, equipment_slot.size
end
end
end
end
function ShipData:slots()
function ShipData:slots()
return #self._equipment
if self._equipment then
return #self._equipment
end
end
end