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
|
|
@ -352,7 +352,7 @@ func _ending() -> void:
|
|||
and panel._rating.text.contains("points") and panel._bars.visible and panel._menu.visible and panel._menu.has_focus()
|
||||
and not panel._retry.visible, "then the final assessment ('%s')" % panel._rating.text)
|
||||
var a := Assessment.of(c.state, cfg)
|
||||
r.check(panel._rating.text == "%s · %d points" % [a["tier"], a["score"]] and panel._stats.text.contains("Enemies defeated: 40 crows and 8 thieves")
|
||||
r.check(panel._rating.text == "%s · %d points" % [a["tier"], a["score"]] and panel._stats.text.contains("Enemies defeated: 40 crows and 8 aliens")
|
||||
and panel._stats.text.contains("Gathered 48 wood"), "with the rating, the shares kept, and the vacation's totals")
|
||||
r.info("assessment: %s\n%s\n%s" % [panel._rating.text, panel._detail.text, panel._stats.text])
|
||||
ending.clear()
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ func _assessment(r: GameTestRunner) -> void:
|
|||
var b := Assessment.of(no_animals, cfg)
|
||||
r.check(not (b["parts"] as Dictionary).has("animals") and b["score"] == roundi(100.0 * (0.5 * 0.5 + 0.2) / 0.7),
|
||||
"categories not in play are left out and the weights renormalized")
|
||||
r.check(Assessment.enemies_line({"killed_crow": 3, "killed_thief": 1, "killed_breaker": 0}) == "3 crows and 1 thief"
|
||||
r.check(Assessment.enemies_line({"killed_crow": 3, "killed_thief": 1, "killed_breaker": 0}) == "3 crows and 1 alien"
|
||||
and Assessment.materials_line({"spent_wood": 4, "spent_straw": 2}, "spent_") == "4 wood, 2 straw"
|
||||
and Assessment.materials_line({}, "gathered_") == "nothing", "the totals read as words")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue