Daedalus Dock - Modules - TypesVar Details - Proc Details

canister

Vars

can_max_release_pressureMaximum pressure allowed for release_pressure var
can_min_release_pressureMinimum pressure allower for release_pressure var
filledHow much the canister should be filled (recommended from 0 to 1)
gas_typeStores the id of the gas for mapped canisters
heat_limitMax amount of heat allowed inside of the canister before it starts to melt (different tiers have different limits)
maximum_pressureMaximum pressure allowed on initialize inside the canister, multiplied by the filled var
pressure_limitMax amount of pressure allowed inside of the canister before it starts to break (different tiers have different limits)
prototypeIs the canister a prototype one?
release_logUsed to log opening and closing of the valve, available on VV
release_pressurePlayer controlled var that set the release pressure of the canister
restrictedIf true, the prototype canister requires engi access to be used
starter_tempInitial temperature gas mixture
temperature_resistanceMaximum amount of heat that the canister can handle before taking damage
valve_openIs the valve open?
valve_timerTimer variables
windowWindow overlay showing the gas inside the canister

Procs

canister_breakHandle canisters disassemble, releases the gas content in the turf
create_gasCalled 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_leftGetter for the amount of time left in the timer of prototype canisters
process_atmosfunction 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
set_activeStarts the timer of prototype canisters
ui_statefunction 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_greyscaleFunction 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 id 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

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

process_atmos

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

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