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

disposalholder

Vars

activeTrue if the holder is moving, otherwise inactive
countCan travel 1000 steps before going inactive (in case of loops)
destinationTagChanges if contains a delivery container
gasGas used to flush, will appear at exit point
hasmobContains a mob?
tomailContains wrapped package?

Procs

findpipeFinds a matching pipe on a turf
initInitializes a holder from the contents of a disposal unit
mergeMerge two holder objects, used when a holder meets a stuck holder
movement_stopHandles what happens to the contents when the qdel signal triggers
nextlocFinds the turf which should contain the next pipe
pre_moveHandles the preprocess check signal, sets the current pipe as the last pipe
startStarts the movement process, argument is the disposal unit the holder started in
start_movingStarts the movement process, persists while the holder is moving through pipes
struggle_freeCompletes the struggle code
struggle_prepStarts the struggle code
try_expelHandles the postprocess check signal, tries to leave the pipe
vent_gasCalled 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