spaceshipObject 🔗

A spaceship object is a data type provided by the Test of Time Patch Project Lua Interpreter. It represents the status of a tribe’s spaceship, and provides a means of interacting with it. Lua Function Reference

fuel 🔗

spaceshipObject.fuel --> integer

(get) Returns the number of fuel components of the space ship.

habitation 🔗

spaceshipObject.habitation --> integer

(get) Returns the number of habitation modules of the space ship.

lifesupport 🔗

spaceshipObject.lifesupport --> integer

(get) Returns the number of life support modules of the space ship.

propulsion 🔗

spaceshipObject.propulsion --> integer

(get) Returns the number of propulsion components of the space ship.

solar 🔗

spaceshipObject.solar --> integer

(get) Returns the number of solar modules of the space ship.

structural 🔗

spaceshipObject.structural --> integer

(get) Returns the number of structural improvements of the space ship.