Space Station 13 - Nebula13 - Modules - TypesVar Details - Proc Details

turf

Vars

affecting_heat_sourcesUsed by exterior turfs to determine the warming effect of campfires and such.
airThe cached air mixture of a turf. Never directly access, use return_air().
airflow_open_directionsAll directions in which a turf that can contain air is present.
ambience_queuedWhether this turf has been queued for an ambient lighting update.
can_inherit_airWhether this tile is willing to copy air from a previous tile through ChangeTurf, transfer_turf_properties etc.
external_atmosphere_participationWill participate in external atmosphere simulation if the turf is outside and no zone is set.
mimic_above_copyIf this is a delegate (non-overwrite) Z-turf with a z-turf above, this is the delegate copy that's copying us.
mimic_proxyIf we're a non-overwrite z-turf, this holds the appearance of the bottom-most Z-turf in the z-stack.
mimic_underlayIf we're at the bottom of the stack, a proxy used to fake a below space turf.
needs_air_updateIs this turf queued in the TURFS cycle of SSair?
shadowerOverlay used to multiply color of all OO overlays at once.
z_appearanceUse this appearance for our appearance instead of appearance. If ZM_OVERRIDE is set, only this will be visible, no movables will be copied.
z_eventually_spaceIf this Z-turf leads to space, uninterrupted.
z_queuedHow many times this turf is currently queued - multiple queue occurrences are allowed to ensure update consistency.
zoneThe turf's current zone.
zone_membership_candidateWill participate in ZAS, join zones, etc.

Procs

CanZPassdirection is the direction the atom is trying to leave by.
cannot_build_cable*Whether we can place a cable here
cleanup_zmimicCleans up Z-mimic objects for this turf. You shouldn't call this directly 99% of the time.
disable_zmimicDisables Z-mimic for a turf.
enable_zmimicEnables Z-mimic for a turf that didn't already have it enabled.
get_diggable_resourcesReturn an assoc list of resource item type to a base and a random component ex. return list(/obj/item/stack/material/ore/handful/sand = list(3, 2))
setup_zmimicSets up Z-mimic for this turf. You shouldn't call this directly 99% of the time.
try_build_cablePlace a cable if possible, if not warn the user appropriately
update_air_propertiesTurf Vars
why_cannot_build_cableSends a message to the user explaining why they can't build a cable here

Var Details

affecting_heat_sources

Used by exterior turfs to determine the warming effect of campfires and such.

air

The cached air mixture of a turf. Never directly access, use return_air().

airflow_open_directions

All directions in which a turf that can contain air is present.

ambience_queued

Whether this turf has been queued for an ambient lighting update.

can_inherit_air

Whether this tile is willing to copy air from a previous tile through ChangeTurf, transfer_turf_properties etc.

external_atmosphere_participation

Will participate in external atmosphere simulation if the turf is outside and no zone is set.

mimic_above_copy

If this is a delegate (non-overwrite) Z-turf with a z-turf above, this is the delegate copy that's copying us.

mimic_proxy

If we're a non-overwrite z-turf, this holds the appearance of the bottom-most Z-turf in the z-stack.

mimic_underlay

If we're at the bottom of the stack, a proxy used to fake a below space turf.

needs_air_update

Is this turf queued in the TURFS cycle of SSair?

shadower

Overlay used to multiply color of all OO overlays at once.

z_appearance

Use this appearance for our appearance instead of appearance. If ZM_OVERRIDE is set, only this will be visible, no movables will be copied.

z_eventually_space

If this Z-turf leads to space, uninterrupted.

z_queued

How many times this turf is currently queued - multiple queue occurrences are allowed to ensure update consistency.

zone

The turf's current zone.

zone_membership_candidate

Will participate in ZAS, join zones, etc.

Proc Details

CanZPass

direction is the direction the atom is trying to leave by.

cannot_build_cable

*Whether we can place a cable here

cleanup_zmimic

Cleans up Z-mimic objects for this turf. You shouldn't call this directly 99% of the time.

disable_zmimic

Disables Z-mimic for a turf.

enable_zmimic

Enables Z-mimic for a turf that didn't already have it enabled.

get_diggable_resources

Return an assoc list of resource item type to a base and a random component ex. return list(/obj/item/stack/material/ore/handful/sand = list(3, 2))

setup_zmimic

Sets up Z-mimic for this turf. You shouldn't call this directly 99% of the time.

try_build_cable

Place a cable if possible, if not warn the user appropriately

update_air_properties

Turf Vars

why_cannot_build_cable

Sends a message to the user explaining why they can't build a cable here