/tg/ Station 13 - Modules - TypesProc Details

cocoon

Procs

cancelCancels the incubation process, destroying the cocoon early.
check_consumed_bloodChecks if the blood worm has consumed enough blood to use this action.
finalizeCalled upon successfully finishing the incubation process.
handle_timerOverride this if you want special timer behaviors like polling ghosts for hatchling candidates.
shared_unregister_cocoonUnregisters the cocoon. Used by both [proc/cancel] and [proc/finalize].
transferTransfers the owning blood worm from one worm mob to another.

Proc Details

cancel

Cancels the incubation process, destroying the cocoon early.

check_consumed_blood

Checks if the blood worm has consumed enough blood to use this action.

finalize

Called upon successfully finishing the incubation process.

handle_timer

Override this if you want special timer behaviors like polling ghosts for hatchling candidates.

shared_unregister_cocoon

Unregisters the cocoon. Used by both [proc/cancel] and [proc/finalize].

transfer

Transfers the owning blood worm from one worm mob to another.