fix: align audiovisual and narrative feedback

This commit is contained in:
2026-07-23 23:20:50 +09:00
parent 8cf0886d7d
commit e06b15ce7a
27 changed files with 1368 additions and 142 deletions

View File

@@ -45,6 +45,13 @@ assert.match(saveSource, /pendingBattleEvents\?: BattleSavePendingEvent\[\]/, 'p
const pendingOutcome = privateMethodBody(battleSource, 'pendingBattleOutcome');
assert.match(pendingOutcome, /requiredVictoryObjectiveStates\(\)/, 'victory must consult required narrative objectives');
assert.match(pendingOutcome, /victory-gate-pending/, 'an unmet narrative gate must explain why battle continues');
const objectiveState = privateMethodBody(battleSource, 'objectiveState');
assert.match(
objectiveState,
/triggeredBattleEvents\.has\(this\.objectiveEventKey\(objective\.id, 'achieved'\)\)/,
'a secured terrain objective must remain complete after its achievement feedback is recorded'
);
assert.match(objectiveState, /const secured = previouslySecured \|\| securedNow/);
const triggerTacticalEvent = privateMethodBody(battleSource, 'triggerTacticalEvent');
const tacticalReaction = privateMethodBody(battleSource, 'tacticalEventReaction');