From da0b4f7d1bf0ae7662840283eca0f082dccdc5e2 Mon Sep 17 00:00:00 2001 From: MLGTASTICa <61350382+MLGTASTICa@users.noreply.github.com> Date: Tue, 16 Feb 2021 00:10:40 +0200 Subject: [PATCH] Glowcap spread endurance loss is 10 times bigger (#56885) Co-authored-by: MLGTASTICa --- code/__DEFINES/botany.dm | 3 +++ code/game/objects/effects/glowshroom.dm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/__DEFINES/botany.dm b/code/__DEFINES/botany.dm index 0614a4fa46d..80872245e2b 100644 --- a/code/__DEFINES/botany.dm +++ b/code/__DEFINES/botany.dm @@ -40,3 +40,6 @@ /// -- Flags for traits. -- /// Caps the plant's yield at 5 instead of 10. #define TRAIT_HALVES_YIELD (1<<0) + +/// Define for how much endurance a glowcap loses per spread +#define GLOWCAP_ENDURANCE_SPREAD_COST 20 diff --git a/code/game/objects/effects/glowshroom.dm b/code/game/objects/effects/glowshroom.dm index 7eb778128f3..c1e07acc6eb 100644 --- a/code/game/objects/effects/glowshroom.dm +++ b/code/game/objects/effects/glowshroom.dm @@ -168,7 +168,7 @@ if(shroomCount >= placeCount) continue - Decay(TRUE, 2) // Decay before spawning new mushrooms to reduce their endurance + Decay(TRUE, GLOWCAP_ENDURANCE_SPREAD_COST) // Decay before spawning new mushrooms to reduce their endurance if(QDELETED(src)) //Decay can end us return var/obj/structure/glowshroom/child = new type(newLoc, myseed, TRUE, TRUE)