Changes
Allow slot space access without loading equipment module
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