/tg/ Station 13 - Modules - Types

code/datums/helper_datums/teleport.dm

/proc/find_safe_turfAttempts to find a "safe" floor turf within some given z-levels
/proc/is_safe_turfChecks to see if a given turf is a "safe" location. Being safe requires the following to be true:
/proc/get_valid_teleport_turfCheck for turfs within range of the center turf and perform simple checks to see which is a valid teleportation target. If so, add it to a list to pick the final destination from at the end.
/proc/check_teleport_validValidates that the teleport being attempted is valid or not