Shiptest 13 - Modules - TypesVar Details - Proc Details

engine

Engine Thrusters

The workhorse of any movable ship, these engines (usually) take in some kind fuel and produce thrust to move ships.

Vars

enabledWhether or not the engine is enabled and can be used. Controlled from helm consoles and by hitting with a multitool.
thrustHow much thrust this engine generates when burned fully.
thruster_activeWhether this engine is actively providing thrust to the ship

Procs

burn_engineUses up a specified percentage of the fuel cost, and returns the amount of thrust if successful.
heat_engineThis 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_fuelReturns how much "Fuel" is left. (For use with engine displays.)
return_fuel_capReturns how much "Fuel" can be held. (For use with engine displays.)
update_engineUpdates the engine state. All functions should return if the parent function returns false.
update_icon_stateUpdates 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.

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.