Imposter and department revolt are now bugtested and fully functional.

We feature complete save for the nitpicks!
This commit is contained in:
Incoming
2014-08-23 16:31:29 -04:00
parent e10b108c0d
commit 4639bcec55
2 changed files with 23 additions and 17 deletions
+17 -11
View File
@@ -8,9 +8,9 @@
/datum/round_event/wizard/deprevolt/start()
var/list/tidecolor
var/list/jobs_to_revolt
var/list/jobs_to_revolt = list()
var/nation
var/list/citizens
var/list/citizens = list()
tidecolor = pick("grey", "white", "yellow", "purple", "brown", "whatevercolorrepresentstheservicepeople")
switch(tidecolor)
@@ -36,12 +36,18 @@
nation += pick("stan", "topia", "land")
for(var/mob/living/carbon/human/H in mob_list)
if(H.mind && H.mind.assigned_role in jobs_to_revolt && !(H.mind in ticker.mode.traitors))
citizens += H
ticker.mode.traitors += H.mind
H.mind.special_role = "separatist"
H.attack_log += "\[[time_stamp()]\] <font color='red'>Was made into a separatist, long live [nation]!</font>"
H << "<B>You are a separatist! [nation] forever! Protect the soverignty of your newfound land with your comrades in arms!</B>"
if(citizens)
message_admins("The nation of [nation] has been formed. Affected jobs are [jobs_to_revolt].")
if(H.mind)
var/datum/mind/M = H.mind
if(M.assigned_role && !(M in ticker.mode.traitors))
for(var/job in jobs_to_revolt)
if(M.assigned_role == job)
citizens += H
ticker.mode.traitors += M
M.special_role = "separatist"
H.attack_log += "\[[time_stamp()]\] <font color='red'>Was made into a separatist, long live [nation]!</font>"
H << "<B>You are a separatist! [nation] forever! Protect the soverignty of your newfound land with your comrades in arms!</B>"
if(citizens.len)
var/message
for(var/job in jobs_to_revolt)
message += "[job],"
message_admins("The nation of [nation] has been formed. Affected jobs are [message]")
+6 -6
View File
@@ -24,12 +24,12 @@
I.dna.uni_identity = W.dna.uni_identity
I.dna.struc_enzymes = W.dna.struc_enzymes
updateappearance(I)
if(W.ears) I.equip_to_slot_or_del(new W.ears(I), slot_ears)
if(W.w_uniform) I.equip_to_slot_or_del(new W.w_uniform(I), slot_w_uniform)
if(W.shoes) I.equip_to_slot_or_del(new W.shoes(I), slot_shoes)
if(W.wear_suit) I.equip_to_slot_or_del(new W.wear_suit(I), slot_wear_suit)
if(W.head) I.equip_to_slot_or_del(new W.head(I), slot_head)
if(W.back) I.equip_to_slot_or_del(new W.back(I), slot_back)
if(W.ears) I.equip_to_slot_or_del(new W.ears.type, slot_ears)
if(W.w_uniform) I.equip_to_slot_or_del(new W.w_uniform.type , slot_w_uniform)
if(W.shoes) I.equip_to_slot_or_del(new W.shoes.type, slot_shoes)
if(W.wear_suit) I.equip_to_slot_or_del(new W.wear_suit.type, slot_wear_suit)
if(W.head) I.equip_to_slot_or_del(new W.head.type, slot_head)
if(W.back) I.equip_to_slot_or_del(new W.back.type, slot_back)
I.key = C.key
//Operation: Fuck off and scare people