Daedalus Dock - Modules - TypesVar Details - Proc Details

Vacuum Component

Adds a vacuum functionality to an atom, requires a trashbag to be linked using signals

Vars

vacuum_bagThe linked trash bag to vacuum trash into

Procs

attach_bagHandler for when a new trash bag is attached
detach_bagHandler for when a trash bag is detached
suckCalled when parent moves, deligates vacuuming functionality
suck_itemsSucks up items as possible from a provided turf into the connected trash bag

Var Details

vacuum_bag

The linked trash bag to vacuum trash into

Proc Details

attach_bag

Handler for when a new trash bag is attached

Arguments:

detach_bag

Handler for when a trash bag is detached

Arguments:

suck

Called when parent moves, deligates vacuuming functionality

Arguments:

suck_items

Sucks up items as possible from a provided turf into the connected trash bag

Arguments: