Files
DariusandGitHub 893a63cd11 [PORT] New quirk: DNC Order (#293)
* Port DNC quirt

Ports the do-not-clone quirk from SPLURT. This change is not modular.

- Added a fix for cloning heads and brains
- Removed flavor text implications that the order was voluntary
- Quirk renamed from `DNC` to `DNC Order`
- Trait renamed from `TRAIT_NO_CLONE` to `TRAIT_DNC_ORDER`

* Modularize cloning machine DNC check

Moves the code for DNC Order quirk check in the cloning machine into modular space, and removes it from base code.
2023-01-25 18:47:49 -03:00

25 lines
1.1 KiB
Plaintext

/datum/quirk/sheltered
name = "Sheltered"
desc = "You never learned galactic common."
value = 0
mob_trait = TRAIT_SHELTERED
gain_text = span_danger("You do not understand galactic common.")
lose_text = span_notice("You start to put together what people are saying in galactic common.")
medical_record_text = "Patient looks perplexed when questioned in galactic common."
/datum/quirk/sheltered/on_spawn()
var/mob/living/carbon/human/H = quirk_holder
H.remove_language(/datum/language/common)
// You can pick languages for your character, if you don't pick anything, enjoy the rest of the round understanding nothing.
/datum/quirk/sheltered/remove() //i mean, the lose text explains it, so i'm making it actually work
var/mob/living/carbon/human/H = quirk_holder
H.grant_language(/datum/language/common)
/datum/quirk/dnc_order
name = "DNC Order"
desc = "You have a Do Not Clone order on your record, stating that you may not be cloned. You can still be revived by other means."
value = -2
mob_trait = TRAIT_DNC_ORDER
medical_record_text = "Patient has a DNC (Do Not Clone) order and will be rejected by cloning mechanisms as a result."