[Alternative to #6407] Makes mutant bodyparts and mutcolors into editable genetic traits (#6750)

* Makes mutant bodyparts and mutcolors into editable genetic traits (plus a whole shitload of otherwise out of scope code improvements because I just HAD to touch old code)

* Mirror

* genetically-editable mutant bodyparts and colors - skyrat edition

Co-authored-by: Funce <funce.973@gmail.com>
This commit is contained in:
Y0SH1M4S73R
2021-07-08 16:04:19 +01:00
committed by GitHub
co-authored by Funce
parent 091024586d
commit 93d03dc6bb
62 changed files with 731 additions and 138 deletions
@@ -776,6 +776,7 @@
originalname = H.real_name
H.dna.copy_dna(originalDNA)
randomize_human(H)
H.dna.update_dna_identity()
return ..()
/datum/status_effect/stabilized/green/tick() //Only occasionally give examiners a warning.
@@ -606,6 +606,7 @@
switch(activation_type)
if(SLIME_ACTIVATE_MINOR)
user.dna.features["mcolor"] = pick("FFFFFF","7F7F7F", "7FFF7F", "7F7FFF", "FF7F7F", "7FFFFF", "FF7FFF", "FFFF7F")
user.dna.update_uf_block(DNA_MUTANT_COLOR_BLOCK)
user.updateappearance(mutcolor_update=1)
species.update_glow(user)
to_chat(user, span_notice("You feel different..."))