mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Restrict dust, meteors and space carp events to space z-levels only.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
startedAt = world.time
|
||||
|
||||
if(!affecting_z)
|
||||
affecting_z = using_map.station_levels
|
||||
affecting_z = using_map.station_levels.Copy()
|
||||
|
||||
setup()
|
||||
..()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user