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
|
|
@ -89,7 +89,7 @@ func _process(delta: float) -> void:
|
|||
_sub.text = "Night · sunrise in %s" % left
|
||||
hint = on_the_farm(enemies)
|
||||
CampaignController.Phase.DAWN:
|
||||
_sub.text = "Dawn · the thieves are fleeing (%s)" % left
|
||||
_sub.text = "Dawn · the aliens are fleeing (%s)" % left
|
||||
CampaignController.Phase.FARMERS_RETURN:
|
||||
_sub.text = "The farmers are back"
|
||||
CampaignController.Phase.GAME_OVER:
|
||||
|
|
@ -137,7 +137,7 @@ func _on_phase_changed(phase: CampaignController.Phase, _previous: CampaignContr
|
|||
CampaignController.Phase.DAY:
|
||||
text = "Day %d: gather and build" % s.night
|
||||
CampaignController.Phase.DUSK:
|
||||
text = "Dusk: %s" % _tonight_title("the thieves come at nightfall")
|
||||
text = "Dusk: %s" % _tonight_title("the aliens come at nightfall")
|
||||
CampaignController.Phase.NIGHT:
|
||||
text = "Night %d: %s" % [s.night, _tonight_title("")] if _tonight_title("") != "" else "Night %d" % s.night
|
||||
CampaignController.Phase.DAWN:
|
||||
|
|
@ -169,7 +169,7 @@ static func on_the_farm(es: EnemySystem) -> String:
|
|||
var parts := PackedStringArray()
|
||||
for t in [EnemySystem.TYPE_CROW, EnemySystem.TYPE_THIEF, EnemySystem.TYPE_BREAKER]:
|
||||
if counts[t] == 1:
|
||||
parts.append("a " + EnemySystem.NAMES[t])
|
||||
parts.append(EnemySystem.ARTICLES[t] + " " + EnemySystem.NAMES[t])
|
||||
elif counts[t] > 1:
|
||||
parts.append("%d %s" % [counts[t], EnemySystem.PLURALS[t]])
|
||||
if parts.is_empty():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue