mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-24 05:39:04 +01:00
[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.
This commit is contained in:
@@ -94,6 +94,10 @@
|
||||
C.dna.copy_dna(brainmob.stored_dna)
|
||||
if(HAS_TRAIT(L, TRAIT_NOCLONE))
|
||||
LAZYSET(brainmob.status_traits, TRAIT_NOCLONE, L.status_traits[TRAIT_NOCLONE])
|
||||
// Sandstorm edit: DNC Order quirk
|
||||
if(HAS_TRAIT(L, TRAIT_DNC_ORDER))
|
||||
LAZYSET(brainmob.status_traits, TRAIT_DNC_ORDER, L.status_traits[TRAIT_DNC_ORDER])
|
||||
// End Sandstorm edit
|
||||
var/obj/item/organ/zombie_infection/ZI = L.getorganslot(ORGAN_SLOT_ZOMBIE)
|
||||
if(ZI)
|
||||
brainmob.set_species(ZI.old_species) //For if the brain is cloned
|
||||
|
||||
Reference in New Issue
Block a user