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

headslug

Headslugs

Player-controlled slugs that arise from a changeling ability in order to live on in an extremely limited capacity until they can find a suitable corpse to inhabit.

Vars

egg_lainSet to true once we've implanted our egg

Procs

check_and_implantSignal Handler proc that runs on every attack and checks to see if this is a valid target for implantation. If so, it implants the egg and starts the countdown to death.
infectSimply infects the target corpse with our changeling eggs. This shouldn't fail, because all checks should have been done in check_and_implant() Just to be super-duper safe to the player, we do return TRUE if all goes well and read that value in check_and_implant() to be nice to the player.

Var Details

egg_lain

Set to true once we've implanted our egg

Proc Details

check_and_implant

Signal Handler proc that runs on every attack and checks to see if this is a valid target for implantation. If so, it implants the egg and starts the countdown to death.

infect

Simply infects the target corpse with our changeling eggs. This shouldn't fail, because all checks should have been done in check_and_implant() Just to be super-duper safe to the player, we do return TRUE if all goes well and read that value in check_and_implant() to be nice to the player.