diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents.dm index cd20ab43708..d86016f96ab 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents.dm @@ -395,6 +395,34 @@ datum/reagent/slimetoxin description = "A corruptive toxin produced by slimes." color = "#13BC5E" // rgb: 19, 188, 94 +datum/reagent/unstableslimetoxin + name = "Unstable Mutation Toxin" + id = "unstablemutationtoxin" + description = "An unstable and unpredictable corruptive toxin produced by slimes." + color = "#5EFF3B" //RGB: 94, 255, 59 + metabolization_rate = INFINITY //So it instantly removes all of itself + +datum/reagent/unstableslimetoxin/on_mob_life(var/mob/living/carbon/human/H as mob) + ..() + H << "You crumple in agony as your flesh wildly morphs into new forms!" + H.visible_message("[H] falls to the ground and screams as their skin bubbles and froths!") //'froths' sounds painful when used with SKIN. + H.Weaken(3) + sleep(30) + var/list/blacklisted_species = list(/datum/species/zombie, /datum/species/skeleton, /datum/species/human, /datum/species/golem, /datum/species/golem/adamantine, /datum/species/shadow) + var/list/possible_morphs = typesof(/datum/species/) - blacklisted_species + var/datum/species/mutation = pick(possible_morphs) + if(prob(90) && mutation && H.dna.species != /datum/species/golem && H.dna.species != /datum/species/golem/adamantine) + H << "The pain subsides. You feel... different." + H.dna.species = new mutation() + H.regenerate_icons() + if(mutation == /datum/species/slime) + H.faction |= "slime" + else + H.faction -= "slime" + else + H << "The pain vanishes suddenly. You feel no different." + return 1 + datum/reagent/aslimetoxin name = "Advanced Mutation Toxin" id = "amutationtoxin" diff --git a/code/modules/reagents/Chemistry-Recipes.dm b/code/modules/reagents/Chemistry-Recipes.dm index c5348ba6616..c3240ad51ea 100644 --- a/code/modules/reagents/Chemistry-Recipes.dm +++ b/code/modules/reagents/Chemistry-Recipes.dm @@ -473,6 +473,19 @@ datum/chemical_reaction/pestkiller /datum/chemical_reaction/slimemutate/on_reaction(var/datum/reagents/holder) feedback_add_details("slime_cores_used","[replacetext(name," ","_")]") +//Mutated Green +/datum/chemical_reaction/slimemutate_unstable + name = "Unstable Mutation Toxin" + id = "unstablemutationtoxin" + result = "unstablemutationtoxin" + required_reagents = list("radium" = 1) + result_amount = 1 + required_other = 1 + required_container = /obj/item/slime_extract/green + mix_message = "The mixture rapidly expands and contracts, its appearance shifting into a sickening green." +/datum/chemical_reaction/slimemutate_unstable/on_reaction(var/datum/reagents/holder) + feedback_add_details("slime_cores_used","[replacetext(name," ","_")]") + //Metal /datum/chemical_reaction/slimemetal name = "Slime Metal" diff --git a/html/changelogs/Xhuis-UnstableMutationToxin.yml b/html/changelogs/Xhuis-UnstableMutationToxin.yml new file mode 100644 index 00000000000..7ee9a1e1609 --- /dev/null +++ b/html/changelogs/Xhuis-UnstableMutationToxin.yml @@ -0,0 +1,5 @@ +author: Xhuis +delete-after: True + +changes: + - rscadd: "Nanotrasen scientists have recently observed a strange genome shift in green slimes. Experiments have shown that injection of radium into an active green slime extract will create a very unstable mutation toxin. Use with caution."