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

toilet

Vars

buildstackamountHow much of the buildstacktype is needed to construct the toilet.
buildstacktypeThe type of material used to build the toilet.
cistern_itemsLazylist of items in the cistern.
cistern_openBoolean if the cistern is up, allowing items to be put in/out.
cover_openBoolean if the toilet seat is up.
fishesLazylist of fish in the toilet, not to be mixed with the items in the cistern. Max of 3
flushingBoolean if whether the toilet is currently flushing.
swirlieReference to the mob being given a swirlie.
toilet_water_overlayStatic toilet water overlay given to toilets that are facing a direction we can see the water in.
w_itemsThe combined weight of all items in the cistern put together.

Procs

end_flushingEnds the flushing animation and updates overlays if necessary

Var Details

buildstackamount

How much of the buildstacktype is needed to construct the toilet.

buildstacktype

The type of material used to build the toilet.

cistern_items

Lazylist of items in the cistern.

cistern_open

Boolean if the cistern is up, allowing items to be put in/out.

cover_open

Boolean if the toilet seat is up.

fishes

Lazylist of fish in the toilet, not to be mixed with the items in the cistern. Max of 3

flushing

Boolean if whether the toilet is currently flushing.

swirlie

Reference to the mob being given a swirlie.

toilet_water_overlay

Static toilet water overlay given to toilets that are facing a direction we can see the water in.

w_items

The combined weight of all items in the cistern put together.

Proc Details

end_flushing

Ends the flushing animation and updates overlays if necessary