engine
The workhorse of any movable ship, these engines (usually) take in some kind fuel and produce thrust to move ships.
Vars | |
enabled | Whether or not the engine is enabled and can be used. Controlled from helm consoles and by hitting with a multitool. |
---|---|
thrust | How much thrust this engine generates when burned fully. |
thruster_active | Whether this engine is actively providing thrust to the ship |
Procs | |
burn_engine | Uses up a specified percentage of the fuel cost, and returns the amount of thrust if successful. |
heat_engine | This proc makes the area the shuttle is in EXTREMELY hot. I don't know how it does this, but that's what it does. |
return_fuel | Returns how much "Fuel" is left. (For use with engine displays.) |
return_fuel_cap | Returns how much "Fuel" can be held. (For use with engine displays.) |
update_engine | Updates the engine state. All functions should return if the parent function returns false. |
update_icon_state | Updates the engine's icon and engine state. |
Var Details
enabled
Whether or not the engine is enabled and can be used. Controlled from helm consoles and by hitting with a multitool.
thrust
How much thrust this engine generates when burned fully.
thruster_active
Whether this engine is actively providing thrust to the ship
Proc Details
burn_engine
Uses up a specified percentage of the fuel cost, and returns the amount of thrust if successful.
- percentage - The percentage of total thrust that should be used
heat_engine
This proc makes the area the shuttle is in EXTREMELY hot. I don't know how it does this, but that's what it does.
return_fuel
Returns how much "Fuel" is left. (For use with engine displays.)
return_fuel_cap
Returns how much "Fuel" can be held. (For use with engine displays.)
update_engine
Updates the engine state. All functions should return if the parent function returns false.
update_icon_state
Updates the engine's icon and engine state.