mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Coronal Mass Ejection Event (#3280)
* a * Update cme.dm * Update _cme_defines.dm * Update cme.dm * Update cme.dm * Update cme.dm * a * Update cme.dm * a * random! * TEMP DEBUG STATS, UNDO ONCE READY TO MERGE! * a * Update cme.dm * better sfx * Update cme.dm * Update cme.dm * Update cme.dm * Neutralize! * Update cme.dm * Update cme.dm * a * Update cme.dm * Update cme.dm * Update cme.dm * CME changes * Update anomaly_neutralizer.dm * aa * Update cme.dm * a * Update admin_verbs.dm * Fix gamma loop * Update cme.dm * Update set_security_level.dm * Update code/controllers/subsystem/events.dm
This commit is contained in:
@@ -3,6 +3,8 @@ SUBSYSTEM_DEF(events)
|
||||
init_order = INIT_ORDER_EVENTS
|
||||
runlevels = RUNLEVEL_GAME
|
||||
|
||||
var/manual_mode = FALSE //SKYRAT EDIT ADDITION: Is this subsystem being manually operated by the admins?
|
||||
|
||||
var/list/control = list() //list of all datum/round_event_control. Used for selecting events based on weight and occurrences.
|
||||
var/list/running = list() //list of all existing /datum/round_event
|
||||
var/list/currentrun = list()
|
||||
@@ -60,7 +62,10 @@ SUBSYSTEM_DEF(events)
|
||||
set waitfor = FALSE //for the admin prompt
|
||||
if(!CONFIG_GET(flag/allow_random_events))
|
||||
return
|
||||
|
||||
//SKYRAT EDIT ADDITION
|
||||
if(manual_mode)
|
||||
return
|
||||
//SKYRAT EDIT END
|
||||
var/gamemode = SSticker.mode.config_tag
|
||||
var/players_amt = get_active_player_count(alive_check = 1, afk_check = 1, human_check = 1)
|
||||
// Only alive, non-AFK human players count towards this.
|
||||
|
||||
Reference in New Issue
Block a user