water_cooler 
Vars | |
| our_jug | Reference to our jug. |
|---|---|
| paper_cups | Paper cups left from the cooler. |
| tipped | Have we been tipped? |
Procs | |
| create_jug | Creates an empty jug inside of the cooler. Doesn't need to be filled bc it absorbs the cooler's reagent on eject. |
| eject_jug | Eject the jug in a variety of ways. If there is a user, the jug goes into their hands. throw_away is passed on tip, to empty and throw the jug away. We delete the reagents since we create a splash before this is called. drop_at is where it lands when we're already off the turf. |
| spill | Splashes our reagents and throws the jug out - destroyed moves us off the turf first so our own splash can't hit us |
| tip_over | Handles the visual stuff related to the cooler itself tipping. |
Var Details
our_jug 
Reference to our jug.
paper_cups 
Paper cups left from the cooler.
tipped 
Have we been tipped?
Proc Details
create_jug
Creates an empty jug inside of the cooler. Doesn't need to be filled bc it absorbs the cooler's reagent on eject.
eject_jug
Eject the jug in a variety of ways. If there is a user, the jug goes into their hands. throw_away is passed on tip, to empty and throw the jug away. We delete the reagents since we create a splash before this is called. drop_at is where it lands when we're already off the turf.
spill
Splashes our reagents and throws the jug out - destroyed moves us off the turf first so our own splash can't hit us
tip_over
Handles the visual stuff related to the cooler itself tipping.