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

disposal

Vars

air_contentsThe internal air reservoir of the disposal
flush_countThis var adds 1 once per tick. When it reaches flush_every_ticks it resets and tries to flush.
flush_every_ticksEvery 30 ticks it will look whether it is ready to flush
flushingTrue if flushing in progress
full_pressureIs the disposal at full pressure
last_soundThe last time a sound was played
pressure_chargingIs the pressure charging
storedThe stored disposal construction pipe
trunkThe attached pipe trunk

Procs

attempt_escapeChecks if a mob can climb out of the disposal, and lets them if they can
ejectEjects the contents of the disposal unit
expelCalled when holder is expelled from a disposal
flushPlays the animations and sounds for flushing, and initializes the diposal holder object
flushAnimationPlays the flushing animation of the disposal
go_outMakes a mob in the disposal climb out
mouse_drop_receiveMouse drop another mob or self
newHolderDestinationSets the default destinationTag of the disposal holder object
on_rat_rummageHandles the signal for the rat king looking inside the disposal
on_storage_dumpHow disposal handles getting a storage dump from a storage object
place_item_in_disposalMoves an item into the diposal bin
rat_rummageThe regal rat spawns ratty treasures from the disposal
ready_for_trashCalled when a push broom is trying to sweep items onto the turf this object is standing on. Garbage will be moved inside.
stuff_mob_inHandles stuffing a grabbed mob into the disposal
trash_livingHandles a carbon mob getting shoved into the disposal bin
trunk_checkChecks if there a connecting trunk diposal pipe under the disposal

Var Details

air_contents

The internal air reservoir of the disposal

flush_count

This var adds 1 once per tick. When it reaches flush_every_ticks it resets and tries to flush.

flush_every_ticks

Every 30 ticks it will look whether it is ready to flush

flushing

True if flushing in progress

full_pressure

Is the disposal at full pressure

last_sound

The last time a sound was played

pressure_charging

Is the pressure charging

stored

The stored disposal construction pipe

trunk

The attached pipe trunk

Proc Details

attempt_escape

Checks if a mob can climb out of the disposal, and lets them if they can

eject

Ejects the contents of the disposal unit

expel

Called when holder is expelled from a disposal

flush

Plays the animations and sounds for flushing, and initializes the diposal holder object

flushAnimation

Plays the flushing animation of the disposal

go_out

Makes a mob in the disposal climb out

mouse_drop_receive

Mouse drop another mob or self

newHolderDestination

Sets the default destinationTag of the disposal holder object

on_rat_rummage

Handles the signal for the rat king looking inside the disposal

on_storage_dump

How disposal handles getting a storage dump from a storage object

place_item_in_disposal

Moves an item into the diposal bin

rat_rummage

The regal rat spawns ratty treasures from the disposal

ready_for_trash

Called when a push broom is trying to sweep items onto the turf this object is standing on. Garbage will be moved inside.

stuff_mob_in

Handles stuffing a grabbed mob into the disposal

trash_living

Handles a carbon mob getting shoved into the disposal bin

trunk_check

Checks if there a connecting trunk diposal pipe under the disposal