Files
Alexis 21b4095dfd [MDB IGNORE] [IDB IGNORE] Upstream Sync - 04/17/2026 (#5453)
Upstream 04/17/2026

fixes https://github.com/Bubberstation/Bubberstation/issues/5549

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com>
Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com>
Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com>
Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com>
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com>
Co-authored-by: loganuk <fakeemail123@aol.com>
Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com>
Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com>
Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com>
Co-authored-by: Lucy <lucy@absolucy.moe>
Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com>
Co-authored-by: Isratosh <Isratosh@hotmail.com>
Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com>
Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com>
Co-authored-by: Alexander V. <volas@ya.ru>
Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com>
Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com>
Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com>
Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com>
Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com>
Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com>
Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com>
Co-authored-by: Josh <josh.adam.powell@gmail.com>
Co-authored-by: Josh Powell <josh.powell@softwire.com>
Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com>
Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com>
Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com>
Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
2026-05-16 00:56:00 +02:00

152 lines
4.7 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"
should_update_preview = FALSE
/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