toilet ![code/game/objects/structures/water_structures/toilet.dm 1](git.png)
Vars | |
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. |
Procs | |
end_flushing | Ends the flushing animation and updates overlays if necessary |
Var Details
buildstackamount ![code/game/objects/structures/water_structures/toilet.dm 23](git.png)
How much of the buildstacktype is needed to construct the toilet.
buildstacktype ![code/game/objects/structures/water_structures/toilet.dm 21](git.png)
The type of material used to build the toilet.
cistern_items ![code/game/objects/structures/water_structures/toilet.dm 25](git.png)
Lazylist of items in the cistern.
cistern_open ![code/game/objects/structures/water_structures/toilet.dm 15](git.png)
Boolean if the cistern is up, allowing items to be put in/out.
cover_open ![code/game/objects/structures/water_structures/toilet.dm 13](git.png)
Boolean if the toilet seat is up.
fishes ![code/game/objects/structures/water_structures/toilet.dm 27](git.png)
Lazylist of fish in the toilet, not to be mixed with the items in the cistern. Max of 3
flushing ![code/game/objects/structures/water_structures/toilet.dm 11](git.png)
Boolean if whether the toilet is currently flushing.
swirlie ![code/game/objects/structures/water_structures/toilet.dm 19](git.png)
Reference to the mob being given a swirlie.
toilet_water_overlay ![code/game/objects/structures/water_structures/toilet.dm 31](git.png)
Static toilet water overlay given to toilets that are facing a direction we can see the water in.
w_items ![code/game/objects/structures/water_structures/toilet.dm 17](git.png)
The combined weight of all items in the cistern put together.
Proc Details
end_flushing
Ends the flushing animation and updates overlays if necessary