From 01ac4be99177b479461f2ecd3203535bf5eeb3eb Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 24 Aug 2013 18:35:10 +0200 Subject: [PATCH] Ported Rezadone (Heals clone damage without cryo) from tg-station --- code/modules/reagents/Chemistry-Reagents.dm | 27 +++++++++++++++++++++ code/modules/reagents/Chemistry-Recipes.dm | 7 ++++++ 2 files changed, 34 insertions(+) diff --git a/code/modules/reagents/Chemistry-Reagents.dm b/code/modules/reagents/Chemistry-Reagents.dm index 5b107276a0..d37b9160ed 100644 --- a/code/modules/reagents/Chemistry-Reagents.dm +++ b/code/modules/reagents/Chemistry-Reagents.dm @@ -1657,6 +1657,33 @@ datum ..() return + rezadone + name = "Rezadone" + id = "rezadone" + description = "A powder derived from fish toxin, this substance can effectively treat genetic damage in humanoids, though excessive consumption has side effects." + reagent_state = SOLID + color = "#669900" // rgb: 102, 153, 0 + + on_mob_life(var/mob/living/M as mob) + if(!M) M = holder.my_atom + if(!data) data = 1 + data++ + switch(data) + if(1 to 15) + M.adjustCloneLoss(-1) + M.heal_organ_damage(1,1) + if(15 to 35) + M.adjustCloneLoss(-2) + M.heal_organ_damage(2,1) + M.status_flags &= ~DISFIGURED + if(35 to INFINITY) + M.adjustToxLoss(1) + M.make_dizzy(5) + M.make_jittery(5) + + ..() + return + spaceacillin name = "Spaceacillin" id = "spaceacillin" diff --git a/code/modules/reagents/Chemistry-Recipes.dm b/code/modules/reagents/Chemistry-Recipes.dm index 5d639fc3ba..dcf05ce94a 100644 --- a/code/modules/reagents/Chemistry-Recipes.dm +++ b/code/modules/reagents/Chemistry-Recipes.dm @@ -458,6 +458,13 @@ datum required_reagents = list("carpotoxin" = 5, "stoxin" = 5, "copper" = 5) result_amount = 2 + rezadone + name = "Rezadone" + id = "rezadone" + result = "rezadone" + required_reagents = list("carpotoxin" = 1, "cryptobiolin" = 1, "copper" = 1) + result_amount = 3 + mindbreaker name = "Mindbreaker Toxin" id = "mindbreaker"