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

bump_teleporter

Abstract effect, that when a mob touches it, it will forceMove them to the teleporter-exit point (that matches the ID set map-side).

Vars

AllTeleportersList of all teleporters in the world.
idid of this bump_teleporter.
id_targetid of bump_teleporter which this moves you to.

Procs

teleport_actionActually move our target atom from one position to another. Return TRUE if everything is fine. Override this proc on subtypes for specific teleportation methods.
validate_setupCheck to see if our teleporter was set up correctly mapside. Return TRUE if everything is fine, FALSE if not.

Var Details

AllTeleporters

List of all teleporters in the world.

id

id of this bump_teleporter.

id_target

id of bump_teleporter which this moves you to.

Proc Details

teleport_action

Actually move our target atom from one position to another. Return TRUE if everything is fine. Override this proc on subtypes for specific teleportation methods.

validate_setup

Check to see if our teleporter was set up correctly mapside. Return TRUE if everything is fine, FALSE if not.