From 4ac0fa1fa82fbbd53d2ff8b3ca02f21c35b3e1d1 Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Mon, 15 Sep 2025 03:01:34 +0200 Subject: [PATCH] Buffs non-hydroponics tree logs (#92957) ## About The Pull Request In https://github.com/tgstation/tgstation/pull/92884, someone pointed out that logs from tree flora only yielded **one** plank when cut, which isn't enough to make a bonfire, and also is ridiculously low. This PR ups that amount from 1 to 10, just enough to craft a bonfire. I'd also make tree chopping not so instantaneous and slightly more realistic, however that's outside the scope of this PR. ## Why It's Good For The Game Trees are weak af source of wood compared to hydroponics. ## Changelog :cl: balance: Tree logs (not hydroponics towercaps) give more planks when cut. From 1 -> 10. /:cl: --- code/modules/hydroponics/grown/towercap.dm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/code/modules/hydroponics/grown/towercap.dm b/code/modules/hydroponics/grown/towercap.dm index f0db7a02282..f2d611b1aef 100644 --- a/code/modules/hydroponics/grown/towercap.dm +++ b/code/modules/hydroponics/grown/towercap.dm @@ -42,7 +42,11 @@ throw_range = 3 attack_verb_continuous = list("bashes", "batters", "bludgeons", "whacks") attack_verb_simple = list("bash", "batter", "bludgeon", "whack") + /// Type of plank you can get from this type of log var/plank_type = /obj/item/stack/sheet/mineral/wood + /// How many planks you can get from this type of log, without counting seed potency + var/plank_count = 1 + /// Name of plank, shown in context tips and balloon alerts when cutting the log var/plank_name = "wooden planks" var/static/list/accepted = typecacheof(list( /obj/item/food/grown/tobacco, @@ -56,6 +60,8 @@ /obj/item/grown/log/Initialize(mapload, obj/item/seeds/new_seed) . = ..() register_context() + if(seed) + plank_count += round(seed.potency / 25) /obj/item/grown/log/add_context( atom/source, @@ -80,9 +86,6 @@ /obj/item/grown/log/attackby(obj/item/attacking_item, mob/user, list/modifiers, list/attack_modifiers) if(attacking_item.get_sharpness()) - var/plank_count = 1 - if(seed) - plank_count += round(seed.potency / 25) user.balloon_alert(user, "made [plank_count] [plank_name]") new plank_type(user.loc, plank_count) @@ -111,6 +114,7 @@ seed = null name = "wood log" desc = "TIMMMMM-BERRRRRRRRRRR!" + plank_count = 10 /obj/item/grown/log/steel seed = /obj/item/seeds/tower/steel