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 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-05 13:43:31 -04:00
parent fb90f3ecc6
commit 1b723eb925
3 changed files with 6 additions and 6 deletions

View file

@ -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")

View file

@ -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