La fessura nel bastione si nota solo quando le impronte la indicano

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApqNBvNbNCwXqR2RLo8QJh
This commit is contained in:
2026-10-24 19:59:47 +02:00
co-authored by Claude Opus 5.5
parent e99a424bbd
commit bde9a790e5
12 changed files with 32 additions and 52 deletions
+4 -2
View File
@@ -407,9 +407,11 @@ test('il Trebbio ha un indizio per ogni tappa della torcia, e la torcia usata tr
assert.equal(new Set(stages).size, stages.length, 'ogni tappa il suo indizio:\n' + stages.join('\n'));
assert.match(stages[0], /Tosca/);
assert.match(stages.at(-1), /luce/);
// Senza le impronte la fessura non si nota: non c'è niente su cui usare la torcia.
const early = new Game(story, { state: { scene: 'fortezza', x: 462, y: 310, facing: 1, inventory: ['torcia'], flags: {}, used: {}, ended: false } });
early.act('use', 'fessura', 'torcia'); settle(early);
assert.ok(!early.state.ended && !early.state.flags.palio_trovato, 'senza le impronte la fessura è solo buia');
assert.ok(!early.hotspot('fessura'), 'la fessura compare solo dopo le impronte');
early.state.flags.indizio_regolo = true;
assert.ok(early.hotspot('fessura'), 'dopo le impronte la fessura si vede');
});
test('ogni posto della mappa ha la sua miniatura (make miniature)', () => {