[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 11:04:19 -04:00
committed by GitHub
parent 091024586d
commit 93d03dc6bb
62 changed files with 731 additions and 138 deletions
@@ -18,10 +18,11 @@
if(iscarbon(L) && L.has_dna())
var/mob/living/carbon/C = L
if(prob(80))
C.easy_randmut(NEGATIVE + MINOR_NEGATIVE)
C.easy_random_mutate(NEGATIVE + MINOR_NEGATIVE)
else
C.easy_randmut(POSITIVE)
C.randmuti()
C.easy_random_mutate(POSITIVE)
C.random_mutate_unique_identity()
C.random_mutate_unique_features()
C.domutcheck()
else
L.adjustFireLoss(rand(5, 15))