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

beach_towel

Structure that represents the Beach towel item placed down.

Vars

our_towelThe beach towel we came from

Procs

do_pick_upActually pick up the towel, moving the item to [picker_up], and deleting [src]. If any mobs walk onto the towel while being picked up, give them a slip.
mouse_drop_draggedOn click-drag, try to pick up the towel.
on_enteredSignal from whenever an atom enters a turf with a towel on top.
on_exitedSignal from whenever an atom exits a turf with a towel on top.
try_pick_upAttempt to pick up the towel. Run through a few checks and a do-after, then call [do_pick_up]

Var Details

our_towel

The beach towel we came from

Proc Details

do_pick_up

Actually pick up the towel, moving the item to [picker_up], and deleting [src]. If any mobs walk onto the towel while being picked up, give them a slip.

picker_up - the mob who is picking up the towel.

mouse_drop_dragged

On click-drag, try to pick up the towel.

on_entered

Signal from whenever an atom enters a turf with a towel on top.

on_exited

Signal from whenever an atom exits a turf with a towel on top.

try_pick_up

Attempt to pick up the towel. Run through a few checks and a do-after, then call [do_pick_up]

picker_up - the mob who is trying to pick up the towel.

return FALSE if we cannot pick up the towel and TRUE otherwise