liquid_turf
Vars | |
liquid_state_messages | State-specific message chunks for examine_turf() |
---|---|
Procs | |
examine_turf | Handles COMSIG_ATOM_EXAMINE for the turf. |
make_liquid_overlay | Makes and returns the liquid effect overlay. |
make_state_layer | Returns a list of over and underlays for different liquid states. |
reagents_to_text | Creates 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:
- source - the turf we're peekin at
- examiner - the user
- examine_text - the examine list
make_liquid_overlay
Makes and returns the liquid effect overlay.
Arguments:
- overlay_state - the icon state of the new overlay
- overlay_layer - the layer
- overlay_plane - the plane
make_state_layer
Returns a list of over and underlays for different liquid states.
Arguments:
- state - the stage number.
- has_top - if this stage has a top.
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