Lo zio Mario al tramonto nel suo orto; negli orti le nuvole restano fuori dalle fronde che ondeggiano (Andrea)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GiECd9KMfjthRUnujCGSzZ
This commit is contained in:
@@ -75,3 +75,17 @@ test('Via Liguri Magelli: prima la Ghiacciomobile nel muro (senza targa), dal tr
|
||||
assert.ok(g.hotspot('targa') && !g.hotspot('ghiacciomobile'));
|
||||
assert.ok(existsSync(new URL('../assets/scenes/via-liguri-magelli-muro.png', import.meta.url)));
|
||||
});
|
||||
|
||||
test('lo zio Mario: davanti alla Ghiacciomobile fino al tramonto, poi nel suo orto', () => {
|
||||
const g = new Game(story);
|
||||
g.go('via_liguri_magelli'); settle(g);
|
||||
assert.ok(g.hotspot('zio_mario'));
|
||||
g.go('orti_zio_mario'); settle(g);
|
||||
assert.ok(!g.hotspot('zio_mario'));
|
||||
g.state.flags.indizio_regolo = true;
|
||||
assert.ok(g.hotspot('zio_mario'));
|
||||
assert.ok(inside(story.scenes.orti_zio_mario.walk, g.hotspot('zio_mario').at));
|
||||
g.act('talk', 'zio_mario'); settle(g);
|
||||
g.go('via_liguri_magelli'); settle(g);
|
||||
assert.ok(!g.hotspot('zio_mario'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user