Files
GS13NG/code/citadel/cit_miscreants.dm
T

66 lines
2.8 KiB
Plaintext

/datum/controller/subsystem/ticker/proc/generate_miscreant_objectives(var/datum/mind/crewMind)
if(GLOB.master_mode == "extended")
return //Thinking about it, extended's chaos whether or not mini-antags are present. But eh, whatever. Here's a sanity check.
if(!crewMind)
return
if(!crewMind.current || !crewMind.objectives || crewMind.special_role)
return
if(!crewMind.assigned_role)
return
var/list/objectiveTypes = typesof(/datum/objective/miscreant) - /datum/objective/miscreant
if(!objectiveTypes.len)
return
var/selectedType = pick(objectiveTypes)
var/datum/objective/miscreant/newObjective = new selectedType
if(!newObjective)
return
newObjective.owner = crewMind
crewMind.objectives += newObjective
crewMind.special_role = "miscreant"
to_chat(crewMind, "<B><font size=3 color=red>You are a Miscreant.</font></B>")
to_chat(crewMind, "Pursuing your objective is entirely optional, but it isn't tracked. Performing traitorous acts not directly related to your objective may result in permanent termination of your employment.")
crewMind.announce_objectives()
/datum/objective/miscreant
explanation_text = "Something broke. Horribly. Dear god, im so sorry. Yell about this in the development discussion channel of citadels discord."
/* Goon's Miscreant Objectives */
/datum/objective/miscreant/blockade
explanation_text = "Try to completely block off access to an area, under the pretense that it's too dangerous."
/datum/objective/miscreant/incompetent
explanation_text = "Be as useless and incompetent as possible without getting killed."
/datum/objective/miscreant/strike
explanation_text = "Try to convince your department to go on strike, and refuse to do any work."
/datum/objective/miscreant/litterbug
explanation_text = "Make a huge mess wherever you go."
/datum/objective/miscreant/stalk
explanation_text = "Single out a crew member and stalk them everywhere."
/datum/objective/miscreant/creepy
explanation_text = "Sneak around looking as suspicious as possible without actually doing anything illegal."
/datum/objective/miscreant/construction
explanation_text = "Perform obnoxious construction and renovation projects. Insist that you're just doing your job."
/datum/objective/miscreant/access
explanation_text = "Make as much of the station as possible accessible to the public."
/datum/objective/miscreant/whiny
explanation_text = "Complain incessantly about every minor issue you find."
/datum/objective/miscreant/damage
explanation_text = "Cause as much property damage as possible without actually harming anyone."
/* Citadel's Miscreant Objectives */
/datum/objective/miscreant/immersions
explanation_text = "Act as out of character as you possibly can."
/datum/objective/miscreant/racism
explanation_text = "Attempt to establish superiority of your race."