area_teleport ![code/modules/spells/spell_types/teleport/_teleport.dm 91](git.png)
Area Teleport Spell
A subtype of teleport that will teleport the caster to a random turf within a selected (or random) area.
Vars | |
invocation_says_area | If the invocation appends the selected area when said. Requires invocation mode shout or whisper. |
---|---|
last_chosen_area_name | The last area we chose to teleport / where we're currently teleporting to, if mid-cast |
randomise_selection | If FALSE, the caster can select the destination area. If TRUE, they will teleport to somewhere randomly instead. |
Var Details
invocation_says_area ![code/modules/spells/spell_types/teleport/_teleport.dm 99](git.png)
If the invocation appends the selected area when said. Requires invocation mode shout or whisper.
last_chosen_area_name ![code/modules/spells/spell_types/teleport/_teleport.dm 95](git.png)
The last area we chose to teleport / where we're currently teleporting to, if mid-cast
randomise_selection ![code/modules/spells/spell_types/teleport/_teleport.dm 97](git.png)
If FALSE, the caster can select the destination area. If TRUE, they will teleport to somewhere randomly instead.