/tg/ Station 13 - Modules - TypesVar Details

find_valid_teleport_location

Finds a random open turf near the keyed target that the target can see, used to pick an ambush teleport destination. Returns SUCCESS if a turf is found, FAILURE if none are available.

Vars

rangeHow many tiles outward from the target to scan.
set_keyBlackboard key to store the chosen turf in.
target_keyBlackboard key holding the atom to teleport next to.

Var Details

range

How many tiles outward from the target to scan.

set_key

Blackboard key to store the chosen turf in.

target_key

Blackboard key holding the atom to teleport next to.