Il Trebbio si raggiunge dalla Fortezza, con la salita

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 00:53:04 +02:00
co-authored by Claude Opus 5.5
parent a855b5805f
commit 7133c46891
2 changed files with 8 additions and 6 deletions
+4 -4
View File
@@ -86,9 +86,6 @@ export const story = {
{ {
id: 'vicolo', name: 'vicolo verso la Fortezza', box: [330, 190, 34, 48], at: [345, 234], exit: { scene: 'fortezza', at: [175, 352], face: 'right' }, id: 'vicolo', name: 'vicolo verso la Fortezza', box: [330, 190, 34, 48], at: [345, 234], exit: { scene: 'fortezza', at: [175, 352], face: 'right' },
}, },
{
id: 'verso_trebbio', name: 'strada per il Trebbio', box: [604, 290, 36, 70], at: [632, 335], exit: { scene: 'trebbio', at: [110, 345], face: 'right' },
},
], ],
enter: [{ if: '!intro', then: [{ set: 'intro' }, { say: 'Il drappo del Palio è sparito! E la festa è domani.' }, { say: 'Se nessuno lo ritrova, il Palio salta. Tocca a me.' }] }], enter: [{ if: '!intro', then: [{ set: 'intro' }, { say: 'Il drappo del Palio è sparito! E la festa è domani.' }, { say: 'Se nessuno lo ritrova, il Palio salta. Tocca a me.' }] }],
}, },
@@ -133,6 +130,9 @@ export const story = {
], ],
}, },
}, },
{
id: 'sentiero_trebbio', name: 'salita per il Trebbio', box: [0, 300, 26, 60], at: [6, 340], exit: { scene: 'trebbio', at: [110, 345], face: 'right' },
},
{ {
id: 'verso_piazza', name: 'verso la Piazza', box: [120, 344, 110, 16], at: [175, 356], exit: { scene: 'piazza', at: [345, 240], face: 'left' }, id: 'verso_piazza', name: 'verso la Piazza', box: [120, 344, 110, 16], at: [175, 356], exit: { scene: 'piazza', at: [345, 240], face: 'left' },
}, },
@@ -169,7 +169,7 @@ export const story = {
}, },
}, },
{ {
id: 'verso_paese', name: 'verso San Piero', box: [80, 318, 26, 42], at: [92, 345], exit: { scene: 'piazza', at: [628, 335], face: 'left' }, id: 'verso_fortezza', name: 'discesa verso la Fortezza', box: [80, 318, 26, 42], at: [92, 345], exit: { scene: 'fortezza', at: [20, 340], face: 'right' },
}, },
], ],
}, },
+3 -1
View File
@@ -78,8 +78,10 @@ try {
// Una partita a metà riprende da dove era rimasta. // Una partita a metà riprende da dove era rimasta.
await page.click('#restart'); await page.click('#restart');
await settle(page); await settle(page);
await clickScene(page, await hotspotCenter(page, 'verso_trebbio')); for (const exit of ['vicolo', 'sentiero_trebbio']) {
await clickScene(page, await hotspotCenter(page, exit));
await settle(page); await settle(page);
}
await page.click('#verbs [data-verb="talk"]'); await page.click('#verbs [data-verb="talk"]');
await clickScene(page, await hotspotCenter(page, 'torre')); await clickScene(page, await hotspotCenter(page, 'torre'));
await page.locator('#choices li', { hasText: 'bloccato' }).click(); await page.locator('#choices li', { hasText: 'bloccato' }).click();