open

Vars | |
| 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 |
| excited | Are we active? |
| excited_group | Excited group we are part of |
| 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 |
| slowdown | negative for faster, positive for slower |
Procs | |
| Assimilate_Air | Assimilate Air |
| 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. |
| can_atmos_pass | Do NOT use this to see if 2 turfs are connected, it mutates state, and we cache that info anyhow. Use TURFS_CAN_SHARE or TURF_SHARES depending on your usecase |
| conductivity_directions | Returns a set of directions that we should be conducting in, NOTE, atmos_supeconductivity is ACTUALLY inversed, don't worrry about it |
| consider_pressure_difference | GROUP HANDLING START |
| hotspot_expose | Handles the creation of hotspots and initial activation of turfs. Setting the conditions for the reaction to actually happen for gasmixtures is handled by the hotspot itself, specifically perform_exposure(). |
| update_visuals | GAS 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
excited

Are we active?
excited_group

Excited group we are part of
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
slowdown

negative for faster, positive for slower
Proc Details
Assimilate_Air
Assimilate Air
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.
can_atmos_pass
Do NOT use this to see if 2 turfs are connected, it mutates state, and we cache that info anyhow. Use TURFS_CAN_SHARE or TURF_SHARES depending on your usecase
conductivity_directions
Returns a set of directions that we should be conducting in, NOTE, atmos_supeconductivity is ACTUALLY inversed, don't worrry about it
consider_pressure_difference
GROUP HANDLING START
GROUP HANDLING FINISH SPACEWIND
hotspot_expose
Handles the creation of hotspots and initial activation of turfs. Setting the conditions for the reaction to actually happen for gasmixtures is handled by the hotspot itself, specifically perform_exposure().
update_visuals
GAS OVERLAYS