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

marionette

Marionette component

Upon being grabbed, we will align the direction of the parent with the direction of the grabber when they rotate. While grabbed, will also speak out whatever the original person says

Vars

grabberReference to the mob that is grabbing us, which we hook signals to for marionette stuff.

Procs

on_pullCalled when something starts pulling us, we now listen in to that thing for rotation.
on_puller_qdelCalled when our puller is somehow deleted, we simply clear the reference to them.
on_puller_speechCalled when the person grabbing us speaks, we lower their volume to 1 tile and speak what they said through us.
on_puller_turnCallled when the person grabbin us turns, we rotate to match their direction.
on_stop_pullStopped pulling, we clear out signals and references.

Var Details

grabber

Reference to the mob that is grabbing us, which we hook signals to for marionette stuff.

Proc Details

on_pull

Called when something starts pulling us, we now listen in to that thing for rotation.

on_puller_qdel

Called when our puller is somehow deleted, we simply clear the reference to them.

on_puller_speech

Called when the person grabbing us speaks, we lower their volume to 1 tile and speak what they said through us.

on_puller_turn

Callled when the person grabbin us turns, we rotate to match their direction.

on_stop_pull

Stopped pulling, we clear out signals and references.