From ea97d2a78963752bcf7010a45467fe11fd5d700c Mon Sep 17 00:00:00 2001 From: brightkitsune Date: Fri, 24 Jan 2025 18:05:36 +0000 Subject: [PATCH] So that's why it wasn't compiling. Missing Vars. --- code/modules/surgery/organs/augments_chest.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/surgery/organs/augments_chest.dm b/code/modules/surgery/organs/augments_chest.dm index c96f1d20d2..23b8cb3384 100644 --- a/code/modules/surgery/organs/augments_chest.dm +++ b/code/modules/surgery/organs/augments_chest.dm @@ -13,6 +13,8 @@ var/hunger_threshold = NUTRITION_LEVEL_STARVING var/synthesizing = 0 var/poison_amount = 5 + var/nutrition_amount = 50 // GS13 + var/message = "You feel less hungry..." // GS13 slot = ORGAN_SLOT_STOMACH_AID /obj/item/organ/cyberimp/chest/nutriment/on_life() @@ -26,9 +28,9 @@ if(owner.nutrition <= hunger_threshold) synthesizing = TRUE - to_chat(owner, "You feel less hungry...") - owner.adjust_nutrition(50) - addtimer(CALLBACK(src, PROC_REF(synth_cool)), 50) + to_chat(owner, message) + owner.nutrition += nutrition_amount + addtimer(CALLBACK(src,PROC_REF(synth_cool)), 50) /obj/item/organ/cyberimp/chest/nutriment/proc/synth_cool() synthesizing = FALSE