mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-26 00:46:58 +01:00
nukes some unmanaged global variables (probably merge this fast as it touches a hundred+ files) (#2829)
* replacements * indents
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
if(EVENT_LEVEL_MODERATE)
|
||||
meteor_types = meteors_catastrophic.Copy()
|
||||
|
||||
direction = pick(cardinal) // alldirs doesn't work with current meteor code unfortunately.
|
||||
direction = pick(GLOB.cardinal) // GLOB.alldirs doesn't work with current meteor code unfortunately.
|
||||
waves = rand(5, 8)
|
||||
switch(direction)
|
||||
if(NORTH)
|
||||
@@ -63,7 +63,7 @@
|
||||
while(waves)
|
||||
message_admins("[waves] more wave\s of meteors remain.")
|
||||
spawn(1) // Dir is reversed because the direction describes where meteors are going, not what side it's gonna hit.
|
||||
spawn_meteors(rand(8, 12), meteors_threatening, reverse_dir[direction])
|
||||
spawn_meteors(rand(8, 12), meteors_threatening, GLOB.reverse_dir[direction])
|
||||
waves--
|
||||
sleep(30 SECONDS)
|
||||
announcement = "The station has cleared the incoming debris."
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
/datum/gm_action/surprise_meteors/start()
|
||||
..()
|
||||
spawn(1)
|
||||
spawn_meteors(rand(4, 8), meteors_normal, pick(cardinal))
|
||||
message_admins("Surprise meteors event has ended.")
|
||||
spawn_meteors(rand(4, 8), meteors_normal, pick(GLOB.cardinal))
|
||||
message_admins("Surprise meteors event has ended.")
|
||||
|
||||
Reference in New Issue
Block a user