disposalholder 
Vars | |
| active | True if the holder is moving, otherwise inactive |
|---|---|
| count | Can travel 1000 steps before going inactive (in case of loops) |
| destinationTag | Changes if contains a delivery container |
| gas | Gas used to flush, will appear at exit point |
| hasmob | Contains a mob? |
| tomail | Contains wrapped package? |
Procs | |
| findpipe | Finds a matching pipe on a turf |
| init | Initializes a holder from the contents of a disposal unit |
| merge | Merge two holder objects, used when a holder meets a stuck holder |
| movement_stop | Handles what happens to the contents when the qdel signal triggers |
| nextloc | Finds the turf which should contain the next pipe |
| pre_move | Handles the preprocess check signal, sets the current pipe as the last pipe |
| start | Starts the movement process, argument is the disposal unit the holder started in |
| start_moving | Starts the movement process, persists while the holder is moving through pipes |
| struggle_free | Completes the struggle code |
| struggle_prep | Starts the struggle code |
| try_expel | Handles the postprocess check signal, tries to leave the pipe |
| vent_gas | Called to vent all gas in holder to a location |
Var Details
active 
True if the holder is moving, otherwise inactive
count 
Can travel 1000 steps before going inactive (in case of loops)
destinationTag 
Changes if contains a delivery container
gas 
Gas used to flush, will appear at exit point
hasmob 
Contains a mob?
tomail 
Contains wrapped package?
Proc Details
findpipe
Finds a matching pipe on a turf
init
Initializes a holder from the contents of a disposal unit
merge
Merge two holder objects, used when a holder meets a stuck holder
movement_stop
Handles what happens to the contents when the qdel signal triggers
nextloc
Finds the turf which should contain the next pipe
pre_move
Handles the preprocess check signal, sets the current pipe as the last pipe
start
Starts the movement process, argument is the disposal unit the holder started in
start_moving
Starts the movement process, persists while the holder is moving through pipes
struggle_free
Completes the struggle code
The linter gets upsetti spaghetti if this is part of the above proc because the do_after is a sleep.
struggle_prep
Starts the struggle code
Called by resist verb (or hotkey) via signal. Makes a sanity check and then calls part 2.
try_expel
Handles the postprocess check signal, tries to leave the pipe
vent_gas
Called to vent all gas in holder to a location