Restrict dust, meteors and space carp events to space z-levels only.

This commit is contained in:
Leshana
2020-03-17 20:58:27 -04:00
committed by Aronai Sieyes
parent f2a582569b
commit c8129e24fb
4 changed files with 13 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
endWhen += severity * 25
carp_cap = 2 + 3 ** severity // No more than this many at once regardless of waves. (5, 11, 29)
/datum/event/carp_migration/start()
affecting_z -= global.using_map.sealed_levels // Space levels only please!
..()
/datum/event/carp_migration/announce()
var/announcement = ""
if(severity == EVENT_LEVEL_MAJOR)

View File

@@ -2,6 +2,10 @@
startWhen = 10
endWhen = 30
/datum/event/carp_migration/start()
affecting_z -= global.using_map.sealed_levels // Space levels only please!
..()
/datum/event/dust/announce()
if(victim)
command_announcement.Announce("The [location_name()] is now passing through a belt of space dust.", "[location_name()] Sensor Array")

View File

@@ -162,7 +162,7 @@
startedAt = world.time
if(!affecting_z)
affecting_z = using_map.station_levels
affecting_z = using_map.station_levels.Copy()
setup()
..()

View File

@@ -19,6 +19,10 @@
start_side = pick(cardinal)
endWhen = worst_case_end()
/datum/event/meteor_wave/start()
affecting_z -= global.using_map.sealed_levels // Space levels only please!
..()
/datum/event/meteor_wave/announce()
switch(severity)
if(EVENT_LEVEL_MAJOR)