From 0e8eecb407a3746cee77f6848510a05cdfa4211e Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Fri, 14 Apr 2023 00:29:53 +0100 Subject: [PATCH] Lipozine Plus Adds a drug called Lipozine plus, made with lipozine plus diethylamine. Causes both a nutrition drain and a steady drain of actual weight from the person who has drunk it. Drains weight at a rate of 3 lbs per 1u. Does not check for weight loss rate, as it's pretty much a scene tool used to modify weight directly. --- .../reagents/reactions/instant/instant_vr.dm | 7 +++++++ code/modules/reagents/reagents/medicine_vr.dm | 16 +++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/reactions/instant/instant_vr.dm b/code/modules/reagents/reactions/instant/instant_vr.dm index 638c7a2b41..e452985406 100644 --- a/code/modules/reagents/reactions/instant/instant_vr.dm +++ b/code/modules/reagents/reactions/instant/instant_vr.dm @@ -163,6 +163,13 @@ required_reagents = list("carbon" = 3, "iron" = 1, "nitrogen" = 3) result_amount = 7 +/decl/chemical_reaction/instant/lipozineplus + name = "Lipozine Plus" + id = "Lipozine Plus" + result = "lipozineplus" + required_reagents = list("lipozine" = 1, "diethylamine" = 1) + result_amount = 2 + /////////////////////////////////////////////////////////////////////////////////// /// Reagent colonies. /decl/chemical_reaction/instant/meatcolony diff --git a/code/modules/reagents/reagents/medicine_vr.dm b/code/modules/reagents/reagents/medicine_vr.dm index deab52a8dd..2728f576c7 100644 --- a/code/modules/reagents/reagents/medicine_vr.dm +++ b/code/modules/reagents/reagents/medicine_vr.dm @@ -110,4 +110,18 @@ if(alien == IS_DIONA) return if(prob(10)) //Miniscule chance of removing some toxins. - M.adjustToxLoss(-10 * removed) \ No newline at end of file + M.adjustToxLoss(-10 * removed) + +/datum/reagent/lipozineplus // The anti-nutriment that rapidly removes weight. + name = "Lipozine Plus" + id = "lipozineplus" + description = "A chemical compound that causes a dangerously powerful fat-burning reaction." + taste_description = "mothballs" + reagent_state = LIQUID + color = "#47AD6D" + overdose = REAGENTS_OVERDOSE + +/datum/reagent/lipozineplus/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) + M.adjust_nutrition(-20 * removed) + if(M.weight > 50) + M.weight -= 0.3