mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Cytology organs can mutate again (#95545)
closes #95453 Not soon after the coroner organ thing got merged, "someone" removed being able to mutate objects I can't really be that pissed because I did merge the PR that did that ## Changelog 🆑 fix: Coroner cytology grown organs can mutate again /🆑
This commit is contained in:
@@ -90,11 +90,11 @@
|
||||
ADD_TRAIT(thing, TRAIT_VATGROWN, "vatgrowing")
|
||||
vat.visible_message(span_nicegreen("[thing] pops out of [vat]!"))
|
||||
//We maybe add some color. the chance is static for now, but idewally we would be able to manipulate it in the future.
|
||||
if(prob(CYTO_SHINY_CHANCE) && isbasicmob(thing))
|
||||
if(prob(CYTO_SHINY_CHANCE))
|
||||
var/mob/living/basic/vat_creature = thing
|
||||
//if the mob has a special mutation interaction don't do any other mutations.
|
||||
// Once we add more mutations that are stackable with shiny we should probably roll for each type independently.
|
||||
if(!vat_creature.mutate())
|
||||
if(!isbasicmob(vat_creature) || !vat_creature.mutate())
|
||||
mutate_color(thing)
|
||||
|
||||
SEND_SIGNAL(vat.biological_sample, COMSIG_SAMPLE_DEPOSITED, thing)
|
||||
|
||||
Reference in New Issue
Block a user