Merge pull request #6434 from Kyep/check_antags_ert

Adds ERT to Check Antagonists
This commit is contained in:
Crazy Lemon
2017-02-14 13:24:12 -08:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -5,6 +5,9 @@
#define ERT_TYPE_RED 2
#define ERT_TYPE_GAMMA 3
/datum/game_mode
var/list/datum/mind/ert = list()
var/list/response_team_members = list()
var/responseteam_age = 21 // Minimum account age to play as an ERT member
var/datum/response_team/active_team = null
@@ -187,6 +190,7 @@ var/ert_request_answered = 0
M.mind.special_role = SPECIAL_ROLE_ERT
if(!(M.mind in ticker.minds))
ticker.minds += M.mind //Adds them to regular mind list.
ticker.mode.ert += M.mind
M.forceMove(spawn_location)
active_team.equip_officer(class, M)
+3
View File
@@ -538,6 +538,9 @@
spider_minds += S.mind
dat += check_role_table("Terror Spiders", spider_minds)
if(ticker.mode.ert.len)
dat += check_role_table("ERT", ticker.mode.ert)
dat += "</body></html>"
usr << browse(dat, "window=roundstatus;size=400x500")
else