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 |
heat_limit | Max amount of heat allowed inside of the canister before it starts to melt (different tiers have different limits) |
maximum_pressure | Maximum pressure allowed on initialize inside the canister, multiplied by the filled var |
mode | Set the tier of the canister and overlay used |
pressure_limit | Max amount of pressure allowed inside of the canister before it starts to break (different tiers have different limits) |
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 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 |
ui_state | function used to check the limit of the canisters and also set the amount of damage that the canister can receive, if the heat and pressure are way higher than the limit the more damage will be done |
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
heat_limit

Max amount of heat allowed inside of the canister before it starts to melt (different tiers have different limits)
maximum_pressure

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

Set the tier of the canister and overlay used
pressure_limit

Max amount of pressure allowed inside of the canister before it starts to break (different tiers have different limits)
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 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
ui_state
function used to check the limit of the canisters and also set the amount of damage that the canister can receive, if the heat and pressure are way higher than the limit the more damage will be done
update_greyscale
Function is used to actually set the overlays