shuttle thruster

Engine Thrusters
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 | I don't really know what this is but it's used a lot |
Procs | |
alter_engine_power | Propagates the change to the shuttle. |
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

I don't really know what this is but it's used a lot
Proc Details
alter_engine_power
Propagates the change to the shuttle.
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.