Yogstation 13 - Modules - TypesVar Details - Proc Details

/turf/open

Vars

active_hotspotIf there is an active hotspot on us store a reference to it here
airOur gas mix
atmos_overlay_typesgas IDs of current active gas overlays
damaged_dmiDetermines the type of damage overlay that will be used for the tile
flammabilityHow much fuel this open turf provides to turf fires, and how easily they can be ignited in the first place. Can be negative to make fires die out faster.
planetary_atmosair will slowly revert to initial_gas_mix
pressure_differencePressure difference between two turfs
pressure_directionWhere the difference come from (from higher pressure to lower pressure)
run_lateronce our paired turfs are finished with all other shares, do one 100% share exists so things like space can ask to take 100% of a tile's gas

Procs

Assimilate_AirAssimilate Air
assume_airGAS MIXTURE PROCS
broken_statesReturns a list of every turf state considered "broken". Will be randomly chosen if a turf breaks at runtime.
build_with_floor_tilesVery similar to build_with_rods, this exists to allow consistent behavior between different types in terms of how Building floors works
build_with_rodsBuilds with rods. This doesn't exist to be overriden, just to remove duplicate logic for turfs that want To support floor tile creation I'd make it a component, but one of these things is space. So no.
burnt_statesReturns a list of every turf state considered "burnt". Will be randomly chosen if a turf is burnt at runtime.
replace_floorReplace an open turf with another open turf while avoiding the pitfall of replacing plating with a floor tile, leaving a hole underneath. This replaces the current turf if it is plating and is passed plating, is tile and is passed tile. It places the new turf on top of itself if it is plating and is passed a tile. It also replaces the turf if it is tile and is passed plating, essentially destroying the over turf. Flags argument is passed directly to ChangeTurf or PlaceOnTop
update_visualsGAS OVERLAYS

Var Details

active_hotspot

If there is an active hotspot on us store a reference to it here

air

Our gas mix

atmos_overlay_types

gas IDs of current active gas overlays

damaged_dmi

Determines the type of damage overlay that will be used for the tile

flammability

How much fuel this open turf provides to turf fires, and how easily they can be ignited in the first place. Can be negative to make fires die out faster.

planetary_atmos

air will slowly revert to initial_gas_mix

pressure_difference

Pressure difference between two turfs

pressure_direction

Where the difference come from (from higher pressure to lower pressure)

run_later

once our paired turfs are finished with all other shares, do one 100% share exists so things like space can ask to take 100% of a tile's gas

Proc Details

Assimilate_Air

Assimilate Air

assume_air

GAS MIXTURE PROCS

broken_states

Returns a list of every turf state considered "broken". Will be randomly chosen if a turf breaks at runtime.

build_with_floor_tiles

Very similar to build_with_rods, this exists to allow consistent behavior between different types in terms of how Building floors works

build_with_rods

Builds with rods. This doesn't exist to be overriden, just to remove duplicate logic for turfs that want To support floor tile creation I'd make it a component, but one of these things is space. So no.

burnt_states

Returns a list of every turf state considered "burnt". Will be randomly chosen if a turf is burnt at runtime.

replace_floor

Replace an open turf with another open turf while avoiding the pitfall of replacing plating with a floor tile, leaving a hole underneath. This replaces the current turf if it is plating and is passed plating, is tile and is passed tile. It places the new turf on top of itself if it is plating and is passed a tile. It also replaces the turf if it is tile and is passed plating, essentially destroying the over turf. Flags argument is passed directly to ChangeTurf or PlaceOnTop

update_visuals

GAS OVERLAYS