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

z_pillar

Grouping datum that manages transparency for a block of space Setup to ease debugging, and to make add/remove operations cheaper

Vars

drawing_objectAssoc list of turfs using z holders in the form displayed turf -> z holder
turf_sourcesAssoc list in the form displayed turf -> list of sources

Procs

display_turfDisplays a turf from the z level below us on our level
hide_turfHides an existing turf from our vis_contents, or the vis_contents of the source if applicable
parent_clearedCalled when a transparent turf is cleared. We wait a tick, then check to see what Kind of turf replaced our former holder, and resetup our visuals as desired We do not need to do this for non transparent holders, because they will have their abstract object cleared When a transparent holder comes back.
refresh_orphanRuns the actual refresh of some formerly orphaned via vis_loc deletiong turf We'll only reup if we either have no souece, or if the source is a transparent turf

Var Details

drawing_object

Assoc list of turfs using z holders in the form displayed turf -> z holder

turf_sources

Assoc list in the form displayed turf -> list of sources

Proc Details

display_turf

Displays a turf from the z level below us on our level

hide_turf

Hides an existing turf from our vis_contents, or the vis_contents of the source if applicable

parent_cleared

Called when a transparent turf is cleared. We wait a tick, then check to see what Kind of turf replaced our former holder, and resetup our visuals as desired We do not need to do this for non transparent holders, because they will have their abstract object cleared When a transparent holder comes back.

refresh_orphan

Runs the actual refresh of some formerly orphaned via vis_loc deletiong turf We'll only reup if we either have no souece, or if the source is a transparent turf