From f794ebce5a4b5cf2377dee7e0092efe479cbb368 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Sat, 19 Feb 2011 17:06:30 +0000 Subject: [PATCH] Syndi-Cakes now have a delicious cream filling that heals extra to people with a special role (changelings, traitors, revheads, nuke ops, wizards, technically malf AIs, but I dont think you can feed them to begin with) Made by copypasting and modifying the sprinkles reagent. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1072 316c924e-a436-60f5-8080-3fe189b3f50e --- code/WorkInProgress/Chemistry-Reagents.dm | 17 +++++++++++++++++ code/WorkInProgress/Chemistry-Tools.dm | 1 + 2 files changed, 18 insertions(+) diff --git a/code/WorkInProgress/Chemistry-Reagents.dm b/code/WorkInProgress/Chemistry-Reagents.dm index 48ed72a95bd..c762278f78b 100644 --- a/code/WorkInProgress/Chemistry-Reagents.dm +++ b/code/WorkInProgress/Chemistry-Reagents.dm @@ -1301,6 +1301,23 @@ datum return ..() + syndicream + name = "Cream filling" + id = "syndicream" + description = "Delicious cream filling of a mysterious origin. Tastes criminally good." + nutriment_factor = 1 * REAGENTS_METABOLISM + on_mob_life(var/mob/M) + M:nutrition += nutriment_factor + if(istype(M, /mob/living/carbon/human) && M.mind) + if(M.mind.special_role) + if(!M) M = holder.my_atom + M:bruteloss-- + M:fireloss-- + M:nutrition += nutriment_factor + ..() + return + ..() + cornoil name = "Corn Oil" id = "cornoil" diff --git a/code/WorkInProgress/Chemistry-Tools.dm b/code/WorkInProgress/Chemistry-Tools.dm index dc92d466de1..6055a45a367 100644 --- a/code/WorkInProgress/Chemistry-Tools.dm +++ b/code/WorkInProgress/Chemistry-Tools.dm @@ -1856,6 +1856,7 @@ New() ..() reagents.add_reagent("nutriment", 4) + reagents.add_reagent("syndicream", 2) bitesize = 2 /obj/item/weapon/reagent_containers/food/snacks/loadedbakedpotato