From 1b723eb9256ca343c1a18652bdbe88f0ed41761f Mon Sep 17 00:00:00 2001 From: Forrest Date: Mon, 5 Oct 2026 13:43:31 -0400 Subject: [PATCH] Rename Turret/Tar Patch display labels Change UI-visible names for automated_defense ("Turret") and slowing_trap ("Tar patch") in StructureSystem.NAMES, plus the matching upgrade descriptions in game_config.gd/.tres. Internal dictionary keys/ids are unchanged for save compatibility. Co-Authored-By: Claude Sonnet 5 --- game/resources/game_config.tres | 4 ++-- game/scripts/game_config.gd | 4 ++-- game/scripts/structure_system.gd | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/game/resources/game_config.tres b/game/resources/game_config.tres index 7d1e403..0298342 100644 --- a/game/resources/game_config.tres +++ b/game/resources/game_config.tres @@ -88,7 +88,7 @@ upgrades = { "mult": 1.3, "name": "Long-range defenses", "stat": "turret_range", -"text": "Automated defenses reach 30% farther", +"text": "Turrets reach 30% farther", "track": "Defenses" }, "pumpkin_bomb": { @@ -127,7 +127,7 @@ upgrades = { "mult": 1.5, "name": "Sticky tar", "stat": "trap_slow_time", -"text": "Slowing traps hold 50% longer", +"text": "Tar patches hold 50% longer", "track": "Defenses" }, "straw_stuffing": { diff --git a/game/scripts/game_config.gd b/game/scripts/game_config.gd index ce280c5..fa960fa 100644 --- a/game/scripts/game_config.gd +++ b/game/scripts/game_config.gd @@ -135,8 +135,8 @@ extends Resource "straw_stuffing": {"name": "Straw stuffing", "text": "+2 max health", "track": "Scarecrow", "stat": "scarecrow_max_hp", "add": 2}, "sprint": {"name": "Sprint", "text": "Sprint 60% faster for 3 s at a time, every 10 s", "track": "Scarecrow"}, "reinforced_fences": {"name": "Reinforced fences", "text": "Fences and gates +50% health", "track": "Defenses", "stat": "barrier_hp", "mult": 1.5}, - "long_range": {"name": "Long-range defenses", "text": "Automated defenses reach 30% farther", "track": "Defenses", "stat": "turret_range", "mult": 1.3}, - "sticky_tar": {"name": "Sticky tar", "text": "Slowing traps hold 50% longer", "track": "Defenses", "stat": "trap_slow_time", "mult": 1.5}, + "long_range": {"name": "Long-range defenses", "text": "Turrets reach 30% farther", "track": "Defenses", "stat": "turret_range", "mult": 1.3}, + "sticky_tar": {"name": "Sticky tar", "text": "Tar patches hold 50% longer", "track": "Defenses", "stat": "trap_slow_time", "mult": 1.5}, } @export_group("Assessment") diff --git a/game/scripts/structure_system.gd b/game/scripts/structure_system.gd index 0a52b34..672aad1 100644 --- a/game/scripts/structure_system.gd +++ b/game/scripts/structure_system.gd @@ -31,8 +31,8 @@ const ORDER: Array[String] = ["fence", "gate", "slowing_trap", "automated_defens const NAMES := { "fence": "Fence", "gate": "Gate", - "slowing_trap": "Slowing trap", - "automated_defense": "Automated defense", + "slowing_trap": "Tar patch", + "automated_defense": "Turret", } const GRID := 0.5 const FENCE_LENGTH := 2.0