• 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
Allow slot space access without loading equipment module
Line 205: Line 205:  
function ShipData:ammo()
 
function ShipData:ammo()
 
return self._ammo
 
return self._ammo
 +
end
 +
 +
function ShipData:slot_space(slot)
 +
if self._equipment then
 +
local equipment_slot = self._equipment[slot]
 +
if equipment_slot then
 +
return equipment_slot.size
 +
end
 +
end
 +
return nil
 
end
 
end
  
Anonymous user

Navigation menu