/tg/ Station 13 - Modules - TypesVar Details - Proc Details

foam

Foam

Similar to smoke, but slower and mobs absorb its reagent through their exposed skin.

Vars

allow_duplicate_resultsWhether or not this foam can produce a remnant movable if something of the same type is already on its turf.
blacklisted_turfsThe types of turfs that this foam cannot spread to.
lifetimeThe amount of time this foam stick around for before it dissipates.
result_typeThe typepath for what this foam leaves behind when it dissipates.
slippery_foamWhether or not this foam should be slippery.

Procs

foam_mobApplies the effect of this foam to a mob.
kill_foamMakes the foam dissipate and create whatever remnants it must.
make_resultMakes the foam leave behind something when it dissipates.

Var Details

allow_duplicate_results

Whether or not this foam can produce a remnant movable if something of the same type is already on its turf.

blacklisted_turfs

The types of turfs that this foam cannot spread to.

lifetime

The amount of time this foam stick around for before it dissipates.

result_type

The typepath for what this foam leaves behind when it dissipates.

slippery_foam

Whether or not this foam should be slippery.

Proc Details

foam_mob

Applies the effect of this foam to a mob.

Arguments:

Returns:

kill_foam

Makes the foam dissipate and create whatever remnants it must.

make_result

Makes the foam leave behind something when it dissipates.

Returns the thing the foam leaves behind for further modification by subtypes.