added "ship.getSlots" lua function