mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
* 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:
@@ -56,7 +56,7 @@
|
||||
var/list/prints = sniffed.return_fingerprints()
|
||||
if(prints)
|
||||
for(var/mob/living/carbon/C in GLOB.carbon_list)
|
||||
if(prints[md5(C.dna.uni_identity)])
|
||||
if(prints[md5(C.dna.unique_identity)])
|
||||
possible |= C
|
||||
if(!length(possible))
|
||||
to_chat(user,span_warning("Despite your best efforts, there are no scents to be found on [sniffed]..."))
|
||||
|
||||
@@ -36,12 +36,15 @@
|
||||
to_chat(owner, text_gain_indication)
|
||||
var/mob/new_mob
|
||||
if(prob(95))
|
||||
if(prob(50))
|
||||
new_mob = owner.easy_randmut(NEGATIVE + MINOR_NEGATIVE)
|
||||
else
|
||||
new_mob = owner.randmuti()
|
||||
switch(rand(1,3))
|
||||
if(1)
|
||||
new_mob = owner.easy_random_mutate(NEGATIVE + MINOR_NEGATIVE)
|
||||
if(2)
|
||||
new_mob = owner.random_mutate_unique_identity()
|
||||
if(3)
|
||||
new_mob = owner.random_mutate_unique_features()
|
||||
else
|
||||
new_mob = owner.easy_randmut(POSITIVE)
|
||||
new_mob = owner.easy_random_mutate(POSITIVE)
|
||||
if(new_mob && ismob(new_mob))
|
||||
owner = new_mob
|
||||
. = owner
|
||||
|
||||
Reference in New Issue
Block a user