Glowcap spread endurance loss is 10 times bigger (#56885)

Co-authored-by: MLGTASTICa <ak9bc01d@yahoo.com>
This commit is contained in:
MLGTASTICa
2021-02-15 14:10:40 -08:00
committed by GitHub
co-authored by MLGTASTICa
parent b571fe14db
commit da0b4f7d1b
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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
+1 -1
View File
@@ -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)