* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
54 lines
2.6 KiB
Plaintext
54 lines
2.6 KiB
Plaintext
/datum/round_event_control/wizard/deprevolt //stationwide!
|
|
name = "Departmental Uprising"
|
|
weight = 0 //An order that requires order in a round of chaos was maybe not the best idea. Requiescat in pace departmental uprising August 2014 - March 2015
|
|
typepath = /datum/round_event/wizard/deprevolt
|
|
max_occurrences = 1
|
|
earliest_start = 0
|
|
|
|
/datum/round_event/wizard/deprevolt/start()
|
|
|
|
var/list/tidecolor
|
|
var/list/jobs_to_revolt = list()
|
|
var/nation
|
|
var/list/citizens = list()
|
|
|
|
tidecolor = pick("grey", "white", "yellow", "purple", "brown", "whatevercolorrepresentstheservicepeople")
|
|
switch(tidecolor)
|
|
if("grey") //God help you
|
|
jobs_to_revolt = list("Assistant")
|
|
nation = pick("Assa", "Mainte", "Tunnel", "Gris", "Grey", "Liath", "Grigio", "Ass", "Assi")
|
|
if("white")
|
|
jobs_to_revolt = list("Chief Medical Officer", "Medical Doctor", "Chemist", "Geneticist", "Virologist")
|
|
nation = pick("Mede", "Healtha", "Recova", "Chemi", "Geneti", "Viro", "Psych")
|
|
if("yellow")
|
|
jobs_to_revolt = list("Chief Engineer", "Station Engineer", "Atmospheric Technician")
|
|
nation = pick("Atomo", "Engino", "Power", "Teleco")
|
|
if("purple")
|
|
jobs_to_revolt = list("Research Director","Scientist", "Roboticist")
|
|
nation = pick("Sci", "Griffa", "Explosi", "Mecha", "Xeno")
|
|
if("brown")
|
|
jobs_to_revolt = list("Quartermaster", "Cargo Technician", "Shaft Miner")
|
|
nation = pick("Cargo", "Guna", "Suppli", "Mule", "Crate", "Ore", "Mini", "Shaf")
|
|
if("whatevercolorrepresentstheservicepeople") //the few, the proud, the technically aligned
|
|
jobs_to_revolt = list("Bartender", "Cook", "Botanist", "Clown", "Mime", "Janitor", "Chaplain")
|
|
nation = pick("Honka", "Boozo", "Fatu", "Danka", "Mimi", "Libra", "Jani", "Religi")
|
|
|
|
nation += pick("stan", "topia", "land", "nia", "ca", "tova", "dor", "ador", "tia", "sia", "ano", "tica", "tide", "cis", "marea", "co", "taoide", "slavia", "stotzka")
|
|
|
|
for(var/mob/living/carbon/human/H in GLOB.mob_list)
|
|
if(H.mind)
|
|
var/datum/mind/M = H.mind
|
|
if(M.assigned_role && !(M in SSticker.mode.traitors))
|
|
for(var/job in jobs_to_revolt)
|
|
if(M.assigned_role == job)
|
|
citizens += H
|
|
SSticker.mode.traitors += M
|
|
M.special_role = "separatist"
|
|
H.log_message("<font color='red'>Was made into a separatist, long live [nation]!</font>", INDIVIDUAL_ATTACK_LOG)
|
|
to_chat(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]")
|