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

🆑
balance: Tree logs (not hydroponics towercaps) give more planks when
cut. From 1 -> 10.
/🆑
This commit is contained in:
Ghom
2025-09-15 03:01:34 +02:00
committed by GitHub
parent b8edbac3b0
commit 4ac0fa1fa8
+7 -3
View File
@@ -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