wolves_among_sheep 
Vars | |
banished_airlocks | List of airlocks we've removed, so we can re-place them once the effect expires |
---|---|
center_turf | Central turf where the spell was initially casted |
greatest_dist | Max distance our effect has actually reached |
max_range | Max distance our effect is expected to reach |
ongoing_arena | Reference to the arena so we can clear it if we need to |
revert_timer | Timer before the effects of the spell ends. It's a variable here so we can end it prematurely |
to_transform | List of all the turfs we've affected, built during /cast(). We use this to make things appear/disappear and revert once the spell expires |
Procs | |
apply_visual | Applies a visual to each turf |
create_arena | Sets up the proximity monitor which handles things that are within the area and leave once they get someone to crit |
on_arena_delete | Clears the timer if the arena is deleted |
on_caster_crit | If the caster goes into crit, the arena falls apart right away |
revert_effects | Undoes our changes |
revert_terrain | Transforms all the turfs and restores the airlocks |
Var Details
banished_airlocks 
List of airlocks we've removed, so we can re-place them once the effect expires
center_turf 
Central turf where the spell was initially casted
greatest_dist 
Max distance our effect has actually reached
max_range 
Max distance our effect is expected to reach
ongoing_arena 
Reference to the arena so we can clear it if we need to
revert_timer 
Timer before the effects of the spell ends. It's a variable here so we can end it prematurely
to_transform 
List of all the turfs we've affected, built during /cast(). We use this to make things appear/disappear and revert once the spell expires
Proc Details
apply_visual
Applies a visual to each turf
create_arena
Sets up the proximity monitor which handles things that are within the area and leave once they get someone to crit
on_arena_delete
Clears the timer if the arena is deleted
on_caster_crit
If the caster goes into crit, the arena falls apart right away
revert_effects
Undoes our changes
revert_terrain
Transforms all the turfs and restores the airlocks