mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
## About The Pull Request As the code currently is, if any missing limb is selected, command is locked. This PR adjusts the logic so that command is locked only if both arms are missing. ## Why It's Good For The Game Disabled captains and other heads of staff offer more character creation and roleplay opportunities. This change removes such logic discrepancies such as a paraplegic captain being fine bug a legless captain being disallowed. Crew with one hand are still very capable and do not need to be blocked from command roles. ## Proof Of Testing Code compiles with 0 errors, 0 warnings. Tested locally and working as expected. <details> <summary>Screenshots/Videos</summary> </details> ## Changelog 🆑 balance: Heads of staff are free to be missing as many roundstart limbs as they want, as long as they have at least one hand. /🆑
17 lines
1.4 KiB
Plaintext
17 lines
1.4 KiB
Plaintext
// Just keeping this easy to maintain in the future.
|
|
#define JOB_UNAVAILABLE_QUIRK (JOB_UNAVAILABLE_AGE + 1)
|
|
#define JOB_UNAVAILABLE_SPECIES (JOB_UNAVAILABLE_QUIRK + 1)
|
|
#define JOB_UNAVAILABLE_LANGUAGE (JOB_UNAVAILABLE_SPECIES + 1)
|
|
#define JOB_UNAVAILABLE_FLAVOUR (JOB_UNAVAILABLE_LANGUAGE + 1)
|
|
#define JOB_UNAVAILABLE_AUGMENT (JOB_UNAVAILABLE_FLAVOUR + 1)
|
|
#define JOB_UNAVAILABLE_NOHANDS (JOB_UNAVAILABLE_AUGMENT + 1)
|
|
|
|
#define SEC_RESTRICTED_QUIRKS "Blind" = TRUE, "Brain Tumor" = TRUE, "Deaf" = TRUE, "Paraplegic" = TRUE, "Hemiplegic" = TRUE, "Mute" = TRUE, "Foreigner" = TRUE, "Pacifist" = TRUE, "No Guns" = TRUE, "Illiterate" = TRUE, "Nerve Stapled" = TRUE
|
|
//#define HEAD_RESTRICTED_QUIRKS "Blind" = TRUE, "Deaf" = TRUE, "Mute" = TRUE, "Foreigner" = TRUE, "Brain Tumor" = TRUE, "Illiterate" = TRUE //Bubberstation edit original
|
|
#define HEAD_RESTRICTED_QUIRKS "Deaf" = TRUE, "Mute" = TRUE, "Foreigner" = TRUE, "Brain Tumor" = TRUE, "Illiterate" = TRUE //BUBBERSTATION edit! This is the the new one! the old one is up there
|
|
#define GUARD_RESTRICTED_QUIRKS "Blind" = TRUE, "Deaf" = TRUE, "Foreigner" = TRUE, "Pacifist" = TRUE, "Nerve Stapled" = TRUE
|
|
|
|
#define RESTRICTED_QUIRKS_EXCEPTIONS list("Mute" = "Signer")
|
|
|
|
#define SEC_RESTRICTED_AUGMENTS /obj/item/bodypart/arm/left/self_destruct, /obj/item/bodypart/arm/right/self_destruct, /obj/item/bodypart/leg/left/self_destruct, /obj/item/bodypart/leg/right/self_destruct
|