Enemy roster reskin: thief -> Alien, breaker -> Alien Robot display names
Renames player-visible text only (toasts, HUD hints, wave labels, night and scenario titles, tutorial tips, review/end panel text): thief/thieves display as alien/aliens, fence breaker/fence breakers display as alien robot/alien robots. Crows keep their name; night 1's dusk hint and night 3's hint get brief alien-mind-control framing. All TYPE_* ids, "thief"/ "breaker"/"crow" data keys, class/function/variable names, and code comments are unchanged. Adds EnemySystem.ARTICLES so "a"/"an" still agrees with the new names. Updates the two tests that assert the old display strings (test_flow.gd, test_save.gd); test_roster.gd and test_theft.gd are untouched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
fb90f3ecc6
commit
8146567aac
17 changed files with 38 additions and 33 deletions
|
|
@ -105,21 +105,24 @@ func tonight_entries() -> Array:
|
|||
return out
|
||||
|
||||
|
||||
## What a [type, want] pair is called: "Crows", "Fence breakers", "Animal thieves", "Supply
|
||||
## thieves", or "Thieves" (any target).
|
||||
## What a [type, want] pair is called: "Crows", "Alien robots", "Aliens after the animals",
|
||||
## "Aliens after the supplies", or "Aliens" (any target).
|
||||
static func entry_label(entry: Array) -> String:
|
||||
match int(entry[0]):
|
||||
EnemySystem.TYPE_CROW:
|
||||
return "Crows"
|
||||
EnemySystem.TYPE_BREAKER:
|
||||
return "Fence breakers"
|
||||
if TARGET_NAMES.has(entry[1]):
|
||||
return "%s thieves" % String(TARGET_NAMES[entry[1]]).capitalize()
|
||||
return "Thieves"
|
||||
return "Alien robots"
|
||||
match int(entry[1]):
|
||||
LootSystem.Category.ANIMAL:
|
||||
return "Aliens after the animals"
|
||||
LootSystem.Category.SUPPLY:
|
||||
return "Aliens after the supplies"
|
||||
return "Aliens"
|
||||
|
||||
|
||||
## Tonight's warning as lines for the HUD: "Tonight, from every side: crows, supply thieves and
|
||||
## fence breakers".
|
||||
## Tonight's warning as lines for the HUD: "Tonight, from every side: crows, aliens after the
|
||||
## supplies and alien robots".
|
||||
func tonight_warning() -> PackedStringArray:
|
||||
var labels := PackedStringArray()
|
||||
for e in tonight_entries():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue