Allow configuring ruin/empty space level count - #36191

Allows map configs to set how many ruin levels (def. 7) and how many empty levels (def. 1) that will be created. Most useful for landlocked stations, event/one-off stations with unusual composition, or testing situations such as RuntimeStation.
This commit is contained in:
Tad Hardesty
2018-03-06 23:48:22 -08:00
committed by CitadelStationBot
parent 4d0b7133c8
commit 6402912a32
4 changed files with 27 additions and 4 deletions

View File

@@ -9,6 +9,12 @@
earliest_start = 30 MINUTES
gamemode_blacklist = list("nuclear")
/datum/round_event_control/pirates/preRunEvent()
if (!SSmapping.empty_space)
return EVENT_CANT_RUN
return ..()
/datum/round_event/pirates
startWhen = 60 //2 minutes to answer
var/datum/comm_message/threat