canister

Vars | |
can_max_release_pressure | Maximum pressure allowed for release_pressure var |
---|---|
can_min_release_pressure | Minimum pressure allower for release_pressure var |
filled | How much the canister should be filled (recommended from 0 to 1) |
gas_type | Stores the path of the gas for mapped canisters |
maximum_pressure | Maximum pressure allowed on initialize inside the canister, multiplied by the filled var |
prototype | Is the canister a prototype one? |
release_log | Used to log opening and closing of the valve, available on VV |
release_pressure | Player controlled var that set the release pressure of the canister |
restricted | If true, the prototype canister requires engi access to be used |
starter_temp | Initial temperature gas mixture |
temperature_resistance | Maximum amount of external heat that the canister can handle before taking damage |
valve_open | Is the valve open? |
valve_timer | Timer variables |
window | Window overlay showing the gas inside the canister |
Procs | |
canister_break | Handle canisters disassemble, releases the gas content in the turf |
create_gas | Called on Initialize(), fill the canister with the gas_type specified up to the filled level (half if 0.5, full if 1) Used for canisters spawned in maps and by admins |
get_time_left | Getter for the amount of time left in the timer of prototype canisters |
set_active | Starts the timer of prototype canisters |
update_greyscale | Function is used to actually set the overlays |
Var Details
can_max_release_pressure

Maximum pressure allowed for release_pressure var
can_min_release_pressure

Minimum pressure allower for release_pressure var
filled

How much the canister should be filled (recommended from 0 to 1)
gas_type

Stores the path of the gas for mapped canisters
maximum_pressure

Maximum pressure allowed on initialize inside the canister, multiplied by the filled var
prototype

Is the canister a prototype one?
release_log

Used to log opening and closing of the valve, available on VV
release_pressure

Player controlled var that set the release pressure of the canister
restricted

If true, the prototype canister requires engi access to be used
starter_temp

Initial temperature gas mixture
temperature_resistance

Maximum amount of external heat that the canister can handle before taking damage
valve_open

Is the valve open?
valve_timer

Timer variables
window

Window overlay showing the gas inside the canister
Proc Details
canister_break
Handle canisters disassemble, releases the gas content in the turf
create_gas
Called on Initialize(), fill the canister with the gas_type specified up to the filled level (half if 0.5, full if 1) Used for canisters spawned in maps and by admins
get_time_left
Getter for the amount of time left in the timer of prototype canisters
set_active
Starts the timer of prototype canisters
update_greyscale
Function is used to actually set the overlays