diff --git a/assets/voices/andrea-4501d3c7f8.mp3 b/assets/voices/andrea-4501d3c7f8.mp3 new file mode 100644 index 0000000..404933d Binary files /dev/null and b/assets/voices/andrea-4501d3c7f8.mp3 differ diff --git a/assets/voices/andrea-9309e50d5c.mp3 b/assets/voices/andrea-9309e50d5c.mp3 new file mode 100644 index 0000000..07fe014 Binary files /dev/null and b/assets/voices/andrea-9309e50d5c.mp3 differ diff --git a/assets/voices/index.json b/assets/voices/index.json index ae794b7..1f5d39b 100644 --- a/assets/voices/index.json +++ b/assets/voices/index.json @@ -1887,6 +1887,18 @@ "file": "andrea-d38b6e49ef.mp3", "sec": 3.49 }, + "andrea|Lo zio Mario nel suo orto, col sole che va giù dietro la casa.": { + "file": "andrea-9309e50d5c.mp3", + "sec": 3.78 + }, + "andrea|Zio, tutto bene coi pomodori?": { + "file": "andrea-4501d3c7f8.mp3", + "sec": 2.65 + }, + "zio_mario|I pomodori sì. Il problema è chi passa e li guarda troppo.": { + "file": "zio_mario-7ebc17b4fc.mp3", + "sec": 4.71 + }, "andrea|Le case coi balconi pieni di vasi: qui ogni finestra è un giardino.": { "file": "andrea-ec81875c47.mp3", "sec": 5.22 diff --git a/assets/voices/zio_mario-7ebc17b4fc.mp3 b/assets/voices/zio_mario-7ebc17b4fc.mp3 new file mode 100644 index 0000000..ba566c9 Binary files /dev/null and b/assets/voices/zio_mario-7ebc17b4fc.mp3 differ diff --git a/docs/STATO.md b/docs/STATO.md index 33c1788..88a1948 100644 --- a/docs/STATO.md +++ b/docs/STATO.md @@ -18,6 +18,8 @@ Online su 50037.manzolo.it tutto fino agli effetti ambientali di Codex. Aperto, ## Dove siamo arrivati +- **Lo zio Mario negli orti al tramonto (30 ottobre)**: dal tramonto (`indizio_regolo`) non è più davanti alla + Ghiacciomobile ma accanto al suo orto (`orti_zio_mario`), con una battuta provvisoria [DA ANDREA]. - **La Condor al campone delle poste (29 ottobre)**: la gara col Taglia (Andrea Tagliaferri, consenso dato) con la pistola ad aria compressa coi pallini gialli (`condor.js`, `condor-render.js`, primo piano `condor`, sfondo di Codex). Come la cerbottana: il mirino ondeggia col respiro; tenere premuto trattiene il fiato (il mirino si ferma), lasciare diff --git a/src/story/ambience.js b/src/story/ambience.js index 83225f2..2547b1f 100644 --- a/src/story/ambience.js +++ b/src/story/ambience.js @@ -241,7 +241,7 @@ export const ambience = { { type: 'insect', kind: 'dragonfly', phase: day, area: [440, 228, 110, 30], every: 31000, duration: 8500, offset: 15000 }, ], orti_zio_mario: [ - { type: 'clouds', area: [80, 20, 500, 90], count: 3, big: true }, + { type: 'clouds', area: [60, 20, 330, 70], count: 3, big: true }, // solo fino all'abete: dentro le fronde che ondeggiano le nuvole si tagliano { type: 'birds', phase: day, area: [300, 30, 250, 60], count: 3, every: 24000, duration: 5000, offset: 2000 }, { type: 'sway', rects: [[180, 10, 140, 180], [430, 10, 210, 240]], amount: 2 }, butterfly([10, 240, 140, 50], 8000), diff --git a/src/story/story.js b/src/story/story.js index b0ea423..cee2860 100644 --- a/src/story/story.js +++ b/src/story/story.js @@ -3336,6 +3336,10 @@ export const story = { walk: [[150, 360], [300, 250], [280, 236], [340, 236], [420, 248], [640, 330], [640, 360]], depth: [[236, 0.45], [360, 1.35]], entry: [400, 352], + // Al tramonto, quando la Ghiacciomobile è già un ricordo con la targa, lo zio Mario è nel suo orto (Andrea, + // 30 ottobre). [DA ANDREA: le sue battute] + speakers: { zio_mario: [250, 240] }, + people: [{ who: 'zio_mario', when: 'indizio_regolo', at: [250, 318], facing: -1, idle: 'stand', talk: ['talk', 'explain', 'point'] }], hotspots: [ { id: 'casa_zio', name: 'casa dello zio Mario', box: [80, 90, 200, 90], at: [260, 290], face: 'left', @@ -3355,6 +3359,13 @@ export const story = { { id: 'indietro', name: 'indietro, verso il ponte delle poste', box: [150, 336, 490, 24], at: [400, 352], exit: { scene: 'ponte_stazione', at: [158, 192], face: 'down' }, }, + { + id: 'zio_mario', name: 'lo zio Mario', box: [228, 248, 44, 72], at: [300, 330], face: 'left', default: 'talk', when: 'indizio_regolo', + actions: { + look: [{ say: 'Lo zio Mario nel suo orto, col sole che va giù dietro la casa.' }], + talk: [{ say: 'Zio, tutto bene coi pomodori?' }, { say: 'I pomodori sì. Il problema è chi passa e li guarda troppo.', who: 'zio_mario', pose: 'laugh' }], + }, + }, ], }, // La strada fra il bivio della Provinciale (alle spalle) e la stazione (in fondo); a destra si va al campone delle diff --git a/tests/veicoli.test.mjs b/tests/veicoli.test.mjs index 9d784a8..ad40b97 100644 --- a/tests/veicoli.test.mjs +++ b/tests/veicoli.test.mjs @@ -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')); +});