/tg/ Station 13 - Modules - TypesProc Details

crawl_through_vents

We hop into the vents through a vent outlet, and then crawl around a bit. Jolly good times. This also assumes that we are on the turf that the vent outlet is on. If it isn't, shit. Warning: this was really snowflake code lifted from an obscure feature that likely has not been touched for over five years years. Something that isn't implemented is the ability to actually crawl through vents ourselves because I think that's just a waste of time for the same effect (instead of psuedo-teleportation, do REAL forceMoving) If you are seriously considering using this component, it would be a great idea to extend this proc to be more versatile/less overpowered - the mobs that currently implement this benefit the most since they are weak as shit with only five health. Up to you though, don't take what's written here as gospel.

Procs

calculate_exit_ventFigure out an exit vent that we should head towards. If we don't have one, default to the entry vent. If they're all kaput, we die.
delayed_suicide_pillWraps a delayed defeat, so we gotta handle the return value properly ya feel?
exit_the_ventsWe've had enough horsing around in the vents, it's time to get out.
is_vent_validIncredibly stripped down version of the overarching can_enter_vent proc on `/mob, just meant for rapid rechecking of a vent. Will be TRUE if not blocked, FALSE otherwise.
suicide_pillAw fuck, we may have been bested somehow. Regardless of what we do, we can't exit through a vent! Let's end our misery and prevent useless endless calculations.

Proc Details

calculate_exit_vent

Figure out an exit vent that we should head towards. If we don't have one, default to the entry vent. If they're all kaput, we die.

delayed_suicide_pill

Wraps a delayed defeat, so we gotta handle the return value properly ya feel?

exit_the_vents

We've had enough horsing around in the vents, it's time to get out.

is_vent_valid

Incredibly stripped down version of the overarching can_enter_vent proc on `/mob, just meant for rapid rechecking of a vent. Will be TRUE if not blocked, FALSE otherwise.

suicide_pill

Aw fuck, we may have been bested somehow. Regardless of what we do, we can't exit through a vent! Let's end our misery and prevent useless endless calculations.