Files
SkyratBot 1c91f745cd [MIRROR] Adds Jaywalkers [MDB IGNORE] (#22235)
* Adds Jaywalkers (#76474)

## About The Pull Request

Adds Jaywalking as a prisoner crime
Also moved Mass Murder so it's alphabetically ordered.

## Why It's Good For The Game

I was pretty surprised such a serious crime was somehow overlooked.

But more seriously, I feel it fits the tone of this game to have
something a little silly there. Hopefully the warden and sec won't be
too hard on people put away for this crime.

## Changelog

🆑
add: Prisoners can now be jaywalkers
qol: reordered a crime so it appears on the choice list alphabetically.
/🆑

* Adds Jaywalkers

---------

Co-authored-by: YehnBeep <86855173+YehnBeep@users.noreply.github.com>
2023-07-04 15:49:17 -07:00

151 lines
4.6 KiB
Plaintext

/// Which crime is the prisoner permabrigged for. For fluff!
/datum/preference/choiced/prisoner_crime
category = PREFERENCE_CATEGORY_NON_CONTEXTUAL
savefile_identifier = PREFERENCE_CHARACTER
savefile_key = "prisoner_crime"
/datum/preference/choiced/prisoner_crime/init_possible_values()
return assoc_to_keys(GLOB.prisoner_crimes) + "Random"
/datum/preference/choiced/prisoner_crime/apply_to_human(mob/living/carbon/human/target, value)
return
/datum/preference/choiced/prisoner_crime/create_default_value()
return "Random"
/datum/preference/choiced/prisoner_crime/is_accessible(datum/preferences/preferences)
if (!..(preferences))
return FALSE
return istype(preferences.get_highest_priority_job(), /datum/job/prisoner)
/// Types of Crimes Prisoners will have on their record roundstart.
/// (They also can choose Random, which picks from these options... randomly!)
GLOBAL_LIST_INIT(prisoner_crimes, init_prisoner_crimes())
/proc/init_prisoner_crimes()
var/list/instances = list()
for(var/datum/prisoner_crime/crime as anything in subtypesof(/datum/prisoner_crime))
crime = new crime()
instances[crime.name] = crime
return instances
/datum/prisoner_crime
/// crime name
var/name = "Bugged the Game"
/// what the record will say about the crime
var/desc = "Engaged in widespread gamebreaking, didn't report on Github. By the way, report this on Github!"
/// how many tattoos come from the crime. People who committed murder have more than tax evaders!
var/tattoos = -1
/datum/prisoner_crime/New()
. = ..()
if(tattoos == -1)
tattoos = 1
stack_trace("\"[src]\" prisoner_crime does not have a set amount of tattoos!")
/datum/prisoner_crime/negligence
name = "Abhorrent Criminal Negligence"
desc = "Incompetently risked numerous lives."
tattoos = 0
/datum/prisoner_crime/cloning
name = "Attempted Development of Cloning"
desc = "Attempted illegal research in the cloning sphere. Cloning, cloning construction, and cloning-related R&D was outlawed in 2560."
tattoos = 0
/datum/prisoner_crime/attempted_murder
name = "Attempted Murder"
desc = "Attempted to maliciously kill someone."
tattoos = 2
/datum/prisoner_crime/bio_terrorism
name = "Biological Terrorism"
desc = "Created and or released a lethal biological agent/lifeform."
tattoos = 3
/datum/prisoner_crime/classified
name = "Classified"
desc = "Consult Legal."
tattoos = 0
/datum/prisoner_crime/espionage
name = "Corporate Espionage"
desc = "Conducted espionage against Nanotrasen for commercial purposes."
tattoos = 1
/datum/prisoner_crime/counterfeiting
name = "Counterfeiting"
desc = "Engaged in widespread fraud."
tattoos = 1
/datum/prisoner_crime/enemy_of_the_corp
name = "Enemy of the Corporation"
desc = "Acted as, or knowingly aided, an enemy of Nanotrasen."
tattoos = 1
/datum/prisoner_crime/grand_sabo
name = "Grand Sabotage"
desc = "Engaged in malicious destructive actions, seriously threatening Nanotrasen employees and or infrastructure."
tattoos = 2
/datum/prisoner_crime/grand_theft
name = "Grand Theft"
desc = "Stole items of high value or sensitive nature."
tattoos = 1
/datum/prisoner_crime/identity_theft
name = "Identity Theft of High-Ranking Figure"
desc = "Impersonated a high-ranking figure."
tattoos = 0 //well, obviously can't impersonate people with tats. if they want to go back to doing that
/datum/prisoner_crime/jaywalker
name = "Jaywalker"
desc = "Jaywalked across non-green tram crossings, shuttle docking zones, and/or through space."
tattoos = 0 // Or should it be 6?
/datum/prisoner_crime/kidnapping
name = "Kidnapping"
desc = "Planned and executed a kidnapping."
tattoos = 1
/datum/prisoner_crime/mass_murder
name = "Mass Murder"
desc = "Maliciously planned and executed the slaughter of many people."
tattoos = 6
/datum/prisoner_crime/malpractice
name = "Medical Malpractice"
desc = "Engaged in organ harvesting, limb theft, or other malicious medical procedures."
tattoos = 2
/datum/prisoner_crime/murder
name = "Murder"
desc = "Maliciously killed someone."
tattoos = 3
/datum/prisoner_crime/mutiny
name = "Mutiny"
desc = "Attempted to overthrow/subvert Chain of Command."
tattoos = 5 //+rep for trying
/datum/prisoner_crime/other
name = "Other"
desc = "Consult Legal."
tattoos = 1
/datum/prisoner_crime/ai_tampering
name = "Tampering of Artificial Intelligence"
desc = "Uploaded malicious, negligent, or otherwise blacklisted directives to an Artificial Intelligence."
tattoos = 3
/datum/prisoner_crime/tax_evasion
name = "Tax Evasion"
desc = "Outstanding amount of tax evasion."
tattoos = 1
/datum/prisoner_crime/cultist
name = "Worship of Blacklisted Deities"
desc = "Practiced worship of blacklisted deities."
tattoos = 1