Yogstation 13 - Modules - TypesVar Details - Proc Details

smoke

A fluid which spreads through the air affecting every mob it engulfs.

Vars

lifetimeHow long the smoke sticks around before it dissipates.
loc_connectionsMakes the smoke react to changes on/of its turf.

Procs

fade_outAnimates the smoke gradually fading out of visibility. Also makes the smoke turf transparent as it passes 160 alpha.
kill_smokeMakes the smoke fade out and then deletes it.
react_to_atmos_adjacency_changesMakes the smoke react to nearby opening/closing airlocks and the like. Makes it possible for smoke to spread through airlocks that open after the edge of the smoke cloud has already spread past them.
smoke_mobHandles the effects of this smoke on any mobs it comes into contact with.

Var Details

lifetime

How long the smoke sticks around before it dissipates.

loc_connections

Makes the smoke react to changes on/of its turf.

Proc Details

fade_out

Animates the smoke gradually fading out of visibility. Also makes the smoke turf transparent as it passes 160 alpha.

Arguments:

kill_smoke

Makes the smoke fade out and then deletes it.

react_to_atmos_adjacency_changes

Makes the smoke react to nearby opening/closing airlocks and the like. Makes it possible for smoke to spread through airlocks that open after the edge of the smoke cloud has already spread past them.

Arguments:

smoke_mob

Handles the effects of this smoke on any mobs it comes into contact with.

Arguments:

Returns whether the smoke effect was applied to the mob.