Yogstation 13 - Modules - TypesVar Details - Proc Details

crack in reality

HERETIC ID SECTION (SORRY)

Vars

destinationThe knock portal we teleport to
our_airlockThe airlock we are linked to, we delete if it is destroyed

Procs

async_opendoorAsynchronous proc to unbolt, then open the passed door
delete_on_door_deleteDeletes us and our destination portal if our_airlock is destroyed
find_random_airlockReturns a random airlock on the same Z level as our portal, that isnt our airlock
on_enteredSignal handler for when our location is entered, calls teleport on the victim, if their old_loc didnt contain a portal already (to prevent loops)
teleportTeleports the teleportee, to a random airlock if the teleportee isnt a heretic, or the other portal if they are one

Var Details

destination

The knock portal we teleport to

our_airlock

The airlock we are linked to, we delete if it is destroyed

Proc Details

async_opendoor

Asynchronous proc to unbolt, then open the passed door

delete_on_door_delete

Deletes us and our destination portal if our_airlock is destroyed

find_random_airlock

Returns a random airlock on the same Z level as our portal, that isnt our airlock

on_entered

Signal handler for when our location is entered, calls teleport on the victim, if their old_loc didnt contain a portal already (to prevent loops)

teleport

Teleports the teleportee, to a random airlock if the teleportee isnt a heretic, or the other portal if they are one