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

liquid_turf

Vars

liquid_state_messagesState-specific message chunks for examine_turf()

Procs

examine_turfHandles COMSIG_ATOM_EXAMINE for the turf.
make_liquid_overlayMakes and returns the liquid effect overlay.
make_state_layerReturns a list of over and underlays for different liquid states.
reagents_to_textCreates a string of the reagents that make up this liquid.

Var Details

liquid_state_messages

State-specific message chunks for examine_turf()

Proc Details

examine_turf

Handles COMSIG_ATOM_EXAMINE for the turf.

Adds reagent info to examine text. Arguments:

make_liquid_overlay

Makes and returns the liquid effect overlay.

Arguments:

make_state_layer

Returns a list of over and underlays for different liquid states.

Arguments:

reagents_to_text

Creates a string of the reagents that make up this liquid.

Puts the reagent(s) that make up the liquid into string form e.g. "plasma" or "plasma and water", or 'plasma, milk, and water' depending on how many reagents there are.

Returns the reagents list string or a generic "liquid" if there are no reagents somehow