From 1683761d6a67b1b851eade325ad4b3d12c116b72 Mon Sep 17 00:00:00 2001 From: Kelenius Date: Mon, 21 Mar 2016 14:22:44 +0300 Subject: [PATCH] Fixes #1171 --- code/modules/clothing/spacesuits/rig/modules/utility.dm | 6 +++--- code/modules/hydroponics/trays/tray.dm | 2 +- .../Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm | 7 +++++++ code/modules/virus2/effect.dm | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/code/modules/clothing/spacesuits/rig/modules/utility.dm b/code/modules/clothing/spacesuits/rig/modules/utility.dm index 0171c11746..679a822aec 100644 --- a/code/modules/clothing/spacesuits/rig/modules/utility.dm +++ b/code/modules/clothing/spacesuits/rig/modules/utility.dm @@ -139,7 +139,7 @@ list("dexalin plus", "dexalinp", 0, 80), list("antibiotics", "spaceacillin", 0, 80), list("antitoxins", "anti_toxin", 0, 80), - list("nutrients", "nutriment", 0, 80), + list("nutrients", "glucose", 0, 80), list("hyronalin", "hyronalin", 0, 80), list("radium", "radium", 0, 80) ) @@ -156,7 +156,7 @@ list("dexalin plus", "dexalinp", 0, 20), list("antibiotics", "spaceacillin", 0, 20), list("antitoxins", "anti_toxin", 0, 20), - list("nutrients", "nutriment", 0, 80), + list("nutrients", "glucose", 0, 80), list("hyronalin", "hyronalin", 0, 20), list("radium", "radium", 0, 20) ) @@ -245,7 +245,7 @@ list("synaptizine", "synaptizine", 0, 30), list("hyperzine", "hyperzine", 0, 30), list("oxycodone", "oxycodone", 0, 30), - list("nutrients", "nutriment", 0, 80), + list("nutrients", "glucose", 0, 80), ) interface_name = "combat chem dispenser" diff --git a/code/modules/hydroponics/trays/tray.dm b/code/modules/hydroponics/trays/tray.dm index d49680bd41..cfafd90ea2 100644 --- a/code/modules/hydroponics/trays/tray.dm +++ b/code/modules/hydroponics/trays/tray.dm @@ -152,7 +152,7 @@ return if(weedlevel > 0) - nymph.reagents.add_reagent("nutriment", weedlevel) + nymph.reagents.add_reagent("glucose", weedlevel) weedlevel = 0 nymph.visible_message("[nymph] begins rooting through [src], ripping out weeds and eating them noisily.","You begin rooting through [src], ripping out weeds and eating them noisily.") else if(nymph.nutrition > 100 && nutrilevel < 10) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index 47d03e5974..637470e7cc 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -22,6 +22,13 @@ M.nutrition += nutriment_factor * removed // For hunger and fatness M.add_chemical_effect(CE_BLOODRESTORE, 4 * removed) +/datum/reagent/nutriment/glucose + name = "Glucose" + id = "glucose" + color = "#FFFFFF" + + injectable = 1 + /datum/reagent/nutriment/protein // Bad for Skrell! name = "animal protein" id = "protein" diff --git a/code/modules/virus2/effect.dm b/code/modules/virus2/effect.dm index 0d6e696b5e..8ca82b96a1 100644 --- a/code/modules/virus2/effect.dm +++ b/code/modules/virus2/effect.dm @@ -292,7 +292,7 @@ else data = pick("bicaridine", "kelotane", "anti_toxin", "inaprovaline", "space_drugs", "sugar", "tramadol", "dexalin", "cryptobiolin", "impedrezene", "hyperzine", "ethylredoxrazine", - "mindbreaker", "nutriment") + "mindbreaker", "glucose") var/datum/reagent/R = chemical_reagents_list[data] name = "[initial(name)] ([initial(R.name)])"