From 0e8eecb407a3746cee77f6848510a05cdfa4211e Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Fri, 14 Apr 2023 00:29:53 +0100 Subject: [PATCH 1/4] 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 From 9a95dc8a193b3efff102c2595e889b691d7f1a08 Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Fri, 14 Apr 2023 10:38:58 +0100 Subject: [PATCH 2/4] Lipostipo and name change Adds another drug called lipostipo, which increases your weight without adding nutrition. Made using lipozine, nutriment and fluorine. Essentially acts as a reverse of the other drug, adding 3lbs per 1u, same overdose. Max of 500lbs. Also changes the name of Lipozine Plus to Lipozilase, on account of it still sounding fantasy, it cleaving away fat and being fun to say. Lipostipo comes from the latin for "stuffing full", so stuffing full of fat and is equally fun to say. Both changes tested locally and work fine. --- .../reagents/reactions/instant/instant_vr.dm | 15 ++++++++--- code/modules/reagents/reagents/medicine_vr.dm | 27 +++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/code/modules/reagents/reactions/instant/instant_vr.dm b/code/modules/reagents/reactions/instant/instant_vr.dm index e452985406..ae1b3974c5 100644 --- a/code/modules/reagents/reactions/instant/instant_vr.dm +++ b/code/modules/reagents/reactions/instant/instant_vr.dm @@ -163,13 +163,20 @@ 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" +/decl/chemical_reaction/instant/lipozilase + name = "Lipozilase" + id = "Lipozilase" + result = "lipozilase" required_reagents = list("lipozine" = 1, "diethylamine" = 1) result_amount = 2 +/decl/chemical_reaction/instant/lipostipo + name = "Lipostipo" + id = "Lipostipo" + result = "lipostipo" + required_reagents = list("lipozine" = 1, "nutriment" = 1, "fluorine" = 1) + result_amount = 3 + /////////////////////////////////////////////////////////////////////////////////// /// 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 2728f576c7..e1fe4b347f 100644 --- a/code/modules/reagents/reagents/medicine_vr.dm +++ b/code/modules/reagents/reagents/medicine_vr.dm @@ -125,3 +125,30 @@ M.adjust_nutrition(-20 * removed) if(M.weight > 50) M.weight -= 0.3 + +/datum/reagent/lipozilase // The anti-nutriment that rapidly removes weight. + name = "Lipozilase" + id = "lipozilase" + description = "A chemical compound that causes a dangerously powerful fat-burning reaction." + taste_description = "blandness" + reagent_state = LIQUID + color = "#47AD6D" + overdose = REAGENTS_OVERDOSE + +/datum/reagent/lipozilase/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) + M.adjust_nutrition(-20 * removed) + if(M.weight > 50) + M.weight -= 0.3 + +/datum/reagent/lipostipo // The drug that rapidly increases weight. + name = "Lipostipo" + id = "lipostipo" + description = "A chemical compound that causes a dangerously powerful fat-adding reaction." + taste_description = "blubber" + reagent_state = LIQUID + color = "#61731C" + overdose = REAGENTS_OVERDOSE + +/datum/reagent/lipostipo/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) + if(M.weight < 500) // No nutrition addedn from this horribly unhealthy drug, just makes you fat without even filling you up. + M.weight += 0.3 From 6a51cf9908a7ae9f40217086417cd1757dfb0133 Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Sat, 15 Apr 2023 13:59:50 +0100 Subject: [PATCH 3/4] Lipostipo now drains nutrition Lipostipo now drains nutrition at the same rate as lipozilase, simulating turning energy into fat. --- code/modules/reagents/reagents/medicine_vr.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/reagents/medicine_vr.dm b/code/modules/reagents/reagents/medicine_vr.dm index e1fe4b347f..fb80df695b 100644 --- a/code/modules/reagents/reagents/medicine_vr.dm +++ b/code/modules/reagents/reagents/medicine_vr.dm @@ -150,5 +150,6 @@ overdose = REAGENTS_OVERDOSE /datum/reagent/lipostipo/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) - if(M.weight < 500) // No nutrition addedn from this horribly unhealthy drug, just makes you fat without even filling you up. + M.adjust_nutrition(-20 * removed) + if(M.weight < 500) M.weight += 0.3 From a55ef3a8cebfe240f3c18efdeeacff7b74f1b23d Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Sat, 15 Apr 2023 14:03:49 +0100 Subject: [PATCH 4/4] Removed Lipozine Plus I had accidentally left a copy of Lipozine Plus in from when I changed it to lipozilase. Removed that redundant copy. --- code/modules/reagents/reagents/medicine_vr.dm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/code/modules/reagents/reagents/medicine_vr.dm b/code/modules/reagents/reagents/medicine_vr.dm index fb80df695b..f862990bbc 100644 --- a/code/modules/reagents/reagents/medicine_vr.dm +++ b/code/modules/reagents/reagents/medicine_vr.dm @@ -112,20 +112,6 @@ if(prob(10)) //Miniscule chance of removing some toxins. 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 - /datum/reagent/lipozilase // The anti-nutriment that rapidly removes weight. name = "Lipozilase" id = "lipozilase"