From 4ec9efb37f61a883fe7061f26befcff660d8d26d Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 24 Oct 2026 11:58:16 +0000 Subject: [PATCH] Notebook entries may not run ahead of the story MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A clue says only what the player has read when its learn runs; the notebook can be opened mid-conversation. »Der Fall Brodersen« named Tadeusz two dialogue nodes before Anni does: world.md wrote clue texts as summaries of a whole source, cast.md placed the learn early, and no stage or check owned the timing of a clue against its text. - lexvm transcript shows each new notebook entry with its text where it is learned, so the editorial review can see the notebook. - Guide, checklist, logic and review prompts state the rule; the logic stage owns clue timing, the review may move a learn within a dialogue. - Die letzte Nacht der Reichsmark 1.1.1: five learns moved within forced dialogue sequences (auftrag, asmussen, zaehlheft, schweigegeld, gestaendnis), one entry trimmed (schluessel). Mechanics otherwise unchanged: exploration 6,869 states, 0 dead ends, 25/25. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01R5RB4cK9E5cLMxHzTdGHXf --- CHANGELOG.md | 6 +++ docs/authoring/guide.md | 4 ++ docs/authoring/pipeline.md | 5 +- packages/cli/src/commands/transcript.ts | 3 +- packages/engine/src/transcript.ts | 48 +++++++++++++++---- packages/engine/test/transcript.test.ts | 12 ++++- .../design/CHANGES.md | 36 ++++++++++++++ .../design/cast.md | 20 ++++---- .../design/puzzles.md | 31 ++++++------ .../design/world.md | 12 ++--- .../dialogues.yaml | 17 ++++--- .../letzte-nacht-der-reichsmark/objects.yaml | 2 +- packs/letzte-nacht-der-reichsmark/pack.yaml | 2 +- prompts/oneshot.md | 2 + prompts/templates/logic.md | 2 + prompts/templates/review.md | 9 ++-- 16 files changed, 156 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97fedd3..86ef3fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,12 @@ First release in preparation: v0.1 "Playable". unchanged mechanics, in plainer language (fewer harbour terms), pacing `narrative`, about 65 minutes. - *The Locked Study*: target play time 7 minutes (the recalibrated estimate). +- Notebook entries may only say what the player has read when they are + learned: `lexvm transcript` shows each new entry with its text where it is + learned, the authoring guide, its checklist and the logic and review + prompts state the rule. *Die letzte Nacht der Reichsmark* 1.1.1 learns six + entries no earlier than their facts are told (»Der Fall Brodersen« named + Tadeusz before Anni did). ### Added diff --git a/docs/authoring/guide.md b/docs/authoring/guide.md index 15bc652..9ba5311 100644 --- a/docs/authoring/guide.md +++ b/docs/authoring/guide.md @@ -216,6 +216,7 @@ deduce something, or *show* a clue to a character to confront them. ## Clues and deductions - A clue is a piece of knowledge: an object with `clue: true` and `location: nowhere`, acquired with the `learn` effect (reading a document, examining something, a dialogue). Clues sit in the notebook and cannot be dropped or lost. - Clue names are short and telling (≤ 24 characters: "Torn ticket", "Alibi gap"); the description states the fact. +- A clue says only what the player has read by the time it is learned: the notebook can be opened in the middle of a conversation, so an entry must not name a person, place or fact that a later line introduces. Put the `learn` after the last line the entry sums up (in a dialogue: in the node or option that says it), or cut the entry down. The exception is a document whose entry is the document itself (a letter, a list): there the notebook is where it is read. - Deductions combine two clues: a rule `on: { verb: use, object: clue_a, with: clue_b }` with `when: { not: { has: clue_c } }` that `learn`s the conclusion `clue_c` (rules are tried in both orders). Only ask for deductions a player can reasonably see; answer plausible wrong combinations gently. - Players tap a clue and choose "Combine with …" ("Kombinieren mit …"), which sends `use`; typed, "combine X with Y" / "kombiniere X mit Y" / "vergleiche X mit Y" work. If the story depends on deductions, teach combining once early (a line of inner voice or the first hint step). - Interrogations and confrontations use clues as evidence (see dialogue). @@ -317,6 +318,7 @@ anyway. The LLM prompts ask the model to go through the same list. 12. **Invisible verbs.** Every pack verb is declared under `verbs:` and listed in the `verbs` of each object it applies to. 13. **One key per condition and effect.** `{ set: a, score: 1 }` is two effects; two conditions go in a list or `all: […]`. 14. **Score.** Each point is awarded once; `maxScore` equals the walkthrough's total. +15. **Notebook entries ahead of the story.** Every clue description states only what the player has read when its `learn` runs. A dialogue that `learn`s a summary in an early node and says the rest later gives the game away; move the `learn` to the node that says the last fact. ## 15. Reviewing a pack (human or generated) @@ -331,6 +333,8 @@ you. Before you publish, play it on a phone and ask: - Read the transcript (`lexvm transcript `) from start to end: could a reader retell what happened, who wanted what, and why the player went where they went? Is there a moment where something happens without a reason? +- Does any notebook entry run ahead of the story? The transcript shows each + entry where it is learned; it may only say what the text above it has said. - Does the text read well on a small screen, in the chosen narrative voice, with consistent quotes? Does the rhythm vary, or is it a chain of fragments? - Are there plausible actions that get a bland default answer where a custom diff --git a/docs/authoring/pipeline.md b/docs/authoring/pipeline.md index 5a48e97..6e0ef69 100644 --- a/docs/authoring/pipeline.md +++ b/docs/authoring/pipeline.md @@ -86,7 +86,10 @@ words when narrative: fewer puzzles, more story. Verification proves a pack can be won; it cannot tell whether a reader can follow it. `lexvm transcript ` replays the walkthrough and prints everything the player reads along it as Markdown (room titles as headings, -commands as quotes; `--out ` writes it to a file). Read it from start to +commands as quotes, each new notebook entry with its text where it is learned; +`--out ` writes it to a file). The entries are there because the player +can read them at that moment: an entry that names something the transcript +has not shown yet is ahead of the story. Read it from start to end, or have it reviewed: ```sh diff --git a/packages/cli/src/commands/transcript.ts b/packages/cli/src/commands/transcript.ts index 9e1df67..ba1d429 100644 --- a/packages/cli/src/commands/transcript.ts +++ b/packages/cli/src/commands/transcript.ts @@ -7,7 +7,8 @@ import { clean, err, formatDiagnostic } from "../term.ts"; export const TRANSCRIPT_HELP = `Usage: lexvm transcript [options] Replay the pack's walkthrough and print everything a player reads along it, -as Markdown: room titles as headings, the player's commands as quotes. This is +as Markdown: room titles as headings, the player's commands as quotes, new +notebook entries with their text where they are learned. This is the text to read (or give to an editor) when reviewing the story: can a reader follow what happens, and why? diff --git a/packages/engine/src/transcript.ts b/packages/engine/src/transcript.ts index 644ba25..a89f714 100644 --- a/packages/engine/src/transcript.ts +++ b/packages/engine/src/transcript.ts @@ -2,16 +2,19 @@ * The walkthrough as a reader sees it: the whole game text of one winning * play, in order, as Markdown. It is the artifact for reviewing the story * (authoring guide, "Story and scenes"): verification proves that a pack can - * be won, the transcript shows whether it can be followed. + * be won, the transcript shows whether it can be followed. New notebook + * entries are shown where they are learned, with their text, because the + * player can read them there: an entry must not be ahead of the story. */ import { parseCanonical } from "./commands.ts"; import { newGame, step } from "./runtime.ts"; -import type { Pack } from "./schema.ts"; -import type { OutputBlock } from "./types.ts"; +import { INVENTORY, type Pack } from "./schema.ts"; +import { objectDescription } from "./text.ts"; +import type { GameState, OutputBlock } from "./types.ts"; export interface Transcript { - /** Markdown: room titles as headings, the player's commands as quotes, system lines left out. */ + /** Markdown: room titles as headings, the player's commands as quotes, new notebook entries with their text, other system lines left out. */ markdown: string; /** Accepted walkthrough steps. */ steps: number; @@ -19,7 +22,30 @@ export interface Transcript { ok: boolean; } -function blocksToMarkdown(blocks: OutputBlock[], out: string[]): void { +/** Clues that are in the notebook in `after` but were not in `before`. */ +function newClues(pack: Pack, before: GameState | null, after: GameState): Set { + const known = (st: GameState | null, id: string) => { + const os = st?.objects[id]; + return os !== undefined && os.location === INVENTORY && !os.hidden; + }; + const ids = new Set(); + for (const [id, def] of Object.entries(pack.objects)) + if (def.clue && known(after, id) && !known(before, id)) ids.add(id); + return ids; +} + +/** + * Render the blocks of one step. A system block naming a clue learned in this + * step becomes a notebook line with the clue's text (resolved against the state + * after the step); every other system block is left out. + */ +function blocksToMarkdown( + pack: Pack, + state: GameState, + learned: Set, + blocks: OutputBlock[], + out: string[], +): void { let prev: OutputBlock["kind"] | null = null; for (const block of blocks) { const text = block.spans @@ -34,8 +60,14 @@ function blocksToMarkdown(blocks: OutputBlock[], out: string[]): void { case "room-title": out.push(`## ${text}`); break; - case "system": + case "system": { + const id = block.spans.find((s) => s.ref !== undefined && learned.has(s.ref))?.ref; + if (id === undefined) break; + learned.delete(id); + const name = pack.objects[id]?.name ?? id; + out.push(`*Notebook: ${name}.* ${objectDescription(pack, state, id).join(" ")}`.trim()); break; + } case "ending": out.push(prev === "ending" ? text : `### ${text}`); break; @@ -51,7 +83,7 @@ export function walkthroughTranscript(pack: Pack): Transcript { const out: string[] = [`# ${pack.title}`]; if (pack.subtitle !== undefined) out.push(`*${pack.subtitle}*`); const game = newGame(pack); - blocksToMarkdown(game.output, out); + blocksToMarkdown(pack, game.state, newClues(pack, null, game.state), game.output, out); let state = game.state; let steps = 0; let failed = false; @@ -67,7 +99,7 @@ export function walkthroughTranscript(pack: Pack): Transcript { break; } steps++; - blocksToMarkdown(result.output, out); + blocksToMarkdown(pack, result.state, newClues(pack, state, result.state), result.output, out); state = result.state; } const ok = !failed && state.ended !== null && pack.endings[state.ended]?.win === true; diff --git a/packages/engine/test/transcript.test.ts b/packages/engine/test/transcript.test.ts index 366b494..11c9155 100644 --- a/packages/engine/test/transcript.test.ts +++ b/packages/engine/test/transcript.test.ts @@ -3,7 +3,7 @@ import { walkthroughTranscript } from "../src/transcript.ts"; import { loadLockedStudy } from "./fixtures/runtime/helpers.ts"; describe("walkthroughTranscript", () => { - it("renders the whole winning play as Markdown, without system lines", () => { + it("renders the whole winning play as Markdown, without system lines but with new notebook entries", () => { const pack = loadLockedStudy(); const t = walkthroughTranscript(pack); expect(t.ok).toBe(true); @@ -13,6 +13,16 @@ describe("walkthroughTranscript", () => { expect(t.markdown).toMatch(/\n> \S/); expect(t.markdown).toMatch(/\n### /); expect(t.markdown).not.toMatch(/\n\(/); + expect(t.markdown).toContain( + "*Notebook: Late reading.* Graves says your uncle was reading in the library late last night.", + ); + }); + + it("shows each new notebook entry once, after the text that came before its learn", () => { + const t = walkthroughTranscript(loadLockedStudy()); + const entry = t.markdown.indexOf("*Notebook: The password.*"); + expect(entry).toBeGreaterThan(0); + expect(t.markdown.indexOf("*Notebook: The password.*", entry + 1)).toBe(-1); }); it("stops at the first rejected step and says so", () => { diff --git a/packs/letzte-nacht-der-reichsmark/design/CHANGES.md b/packs/letzte-nacht-der-reichsmark/design/CHANGES.md index 2af3711..f1a3af0 100644 --- a/packs/letzte-nacht-der-reichsmark/design/CHANGES.md +++ b/packs/letzte-nacht-der-reichsmark/design/CHANGES.md @@ -430,3 +430,39 @@ compiled pack before and after, with every text field, name, synonym and hint step removed, is identical: the revision changes no mechanics. Both tap-walkthrough end-to-end tests pass. `lexvm transcript` prints the text a player reads along the walkthrough (about 5,800 words, before about 3,000). + +## Notebook entries ahead of the story + +A player opened the notebook during Anni's opening conversation and read +»Freund: Tadeusz am Zollkanal« two nodes before Anni names him. The cause +was in the design from the start: world.md wrote each clue's text as a +summary of its whole source, cast.md placed the `learn` in an early node of +that source, and the merge of `an_polizei` into `an_jakob` moved it earlier +still. No stage owned the timing of a clue against its text, and the +transcript, which the review reads, showed no notebook entries. + +The rule now in the authoring guide: a clue says only what the player has +read when its `learn` runs; the exception is an entry that is the text of a +document. Reading the transcript, which now shows every entry where it is +learned, found five more entries ahead of the story: + +| Clue | Ahead of the story | Change | +|---|---|---| +| `clue_auftrag` | Tadeusz and the Zollkanal (`an_bezahlung`) | `learn` moved from `an_jakob` to the end of `an_bezahlung` | +| `clue_asmussen` | his denial, the Ruine, the 500 Reichsmark (`a_w_geld`) | `learn` moved from `a_w_start` to option `a_w_ablehnen` | +| `clue_zaehlheft` | the register and its owner (`t_elise`) | `learn` moved from `t_heft` to `t_elise`; the point stays in `t_heft` | +| `clue_schweigegeld` | that Anni paid Voss with it (`ah_warum`) | `learn` moved from `ah_kuvert` to `ah_warum`; the point stays in `ah_kuvert` | +| `clue_gestaendnis` | where Jakob lies (`k_wo`) | `learn` moved from `k_gestaendnis` to `k_wo`; the points stay in `k_gestaendnis` | +| `clue_schluessel` | »Nissenhütte«, before anyone says where the Brodersens live | text: »bei den Brodersens zu Hause« | + +Each `learn` moved within a forced sequence: the nodes in between offer one +option and a dialogue accepts only `choose`, so no state outside the +conversation changes. Left as they are: `clue_persilschein`, +`clue_anweisung`, `clue_loeschliste` and the card fields of `clue_asmussen` +(the entry is the document), and the lock in `clue_zweitschluessel` +(Voss's own observation of what the player has just seen). Version 1.1.1. + +### Verification + +`lexvm check`: 0 errors, 0 warnings; walkthrough 74 steps, 25/25; +exploration complete, 6,869 states (unchanged), 0 dead ends. diff --git a/packs/letzte-nacht-der-reichsmark/design/cast.md b/packs/letzte-nacht-der-reichsmark/design/cast.md index a09ed97..337e4b2 100644 --- a/packs/letzte-nacht-der-reichsmark/design/cast.md +++ b/packs/letzte-nacht-der-reichsmark/design/cast.md @@ -180,9 +180,9 @@ an_start → an_jakob → an_polizei → an_schluessel → an_bezahlung → (end |---|---|---|---| | `an_start` | »Mein Mann ist weg. Jakob Brodersen, Schauermann. Seit Donnerstagnacht.« Sie sagt es wie eine Adresse, die sie zu oft aufschreiben musste. | – | `an_frag_jakob` »Erzählen Sie mir von ihm.« → `an_jakob` | | `an_jakob` | »Er ist in Krögers Kolonne, Kaischuppen 17. Jakob klaut nicht. Jakob zählt. Seit Russland zählt er jeden Löffel Suppe – und jede Hieve. Alles in ein Heft.« | – | `an_frag_polizei` »Und die Polizei?« → `an_polizei` | -| `an_polizei` | »Freitag früh haben sie seinen Spind aufgemacht, Nummer 23. Kröger hat aufgeschlossen. Zwei Stangen englische Zigaretten. Jetzt ist Jakob ein Dieb, der abgehauen ist.« | `learn: clue_auftrag` | `an_frag_schluessel` »Wer hat einen Schlüssel zu dem Spind?« → `an_schluessel` | +| `an_polizei` | »Freitag früh haben sie seinen Spind aufgemacht, Nummer 23. Kröger hat aufgeschlossen. Zwei Stangen englische Zigaretten. Jetzt ist Jakob ein Dieb, der abgehauen ist.« | – | `an_frag_schluessel` »Wer hat einen Schlüssel zu dem Spind?« → `an_schluessel` | | `an_schluessel` | Sie legt einen kleinen Schlüssel auf den Schreibtisch. »Jakob. Und der hängt seit Donnerstagmittag bei uns am Haken. Er hatte ihn vergessen.« | `learn: clue_schluessel`; `move: spindschluessel → inventory` | `an_annehmen` »Ich übernehme den Fall.« → `an_bezahlung` | -| `an_bezahlung` | Sie schiebt dir ein Bündel Scheine hin. »Zweihundert Reichsmark. Ab morgen ist es Papier, also nehmen Sie es heute. Den Rest brauch ich Sonntag an der Kartenstelle: vierzig für mich, vierzig für Lotte, vierzig für Jakob.« | `move: reichsmark → inventory`; `set: auftrag_angenommen`; `move: anni → nissenhuette` | `an_abschied` »Ich finde ihn, Frau Brodersen.« do: `say` »Fragen Sie Tadeusz am Zollkanal. Jakobs Freund. Ich bin in der Siedlung, Hütte 14.« Dann ist sie fort. Auf dem Besucherstuhl bleibt ein nasser Fleck. → end | +| `an_bezahlung` | Sie schiebt dir ein Bündel Scheine hin. »Zweihundert Reichsmark. Ab morgen ist es Papier, also nehmen Sie es heute. Den Rest brauch ich Sonntag an der Kartenstelle: vierzig für mich, vierzig für Lotte, vierzig für Jakob.« | `move: reichsmark → inventory`; `learn: clue_auftrag` (after the farewell line: the entry names Tadeusz); `set: auftrag_angenommen`; `move: anni → nissenhuette` | `an_abschied` »Ich finde ihn, Frau Brodersen.« do: `say` »Fragen Sie Tadeusz am Zollkanal. Jakobs Freund. Ich bin in der Siedlung, Hütte 14.« Dann ist sie fort. Auf dem Besucherstuhl bleibt ein nasser Fleck. → end | Yields: `clue_auftrag`, `clue_schluessel`, `spindschluessel`, `reichsmark`, `auftrag_angenommen`. @@ -198,8 +198,8 @@ ah_hub ─┬─ ah_kuvert* → ah_kuvert ── ah_warum → ah_warum ── ah | Node | `say` (draft) | Node `do` | Options | |---|---|---|---| | `ah_hub` | Variant `has: clue_schweigegeld`: »Haben Sie ihn gefunden, Voss?« · Else: Anni flickt eine Hose, die keinem mehr passt. »Und? Haben Sie was?« | – | `ah_kuvert` »Kröger war Freitagabend hier. Mit einem Kuvert.« when `has: clue_lene`, `not: { has: clue_schweigegeld }` → `ah_kuvert` · `ah_lotte` »Wie geht es Lotte?« → `ah_lotte` · `ah_tschuess` »Ich melde mich.« → end | -| `ah_kuvert` | Lange sagt sie nichts. Dann holt sie die Blechdose vom Bord. Darin ein leeres Kuvert mit Stempel: ›A. & Co. · Speicher K‹. »Zweihundert Reichsmark. ›Von der Kolonne‹, hat er gesagt.« | `learn: clue_schweigegeld`; `score: 1` | `ah_warum` »Und wo ist das Geld jetzt?« → `ah_warum` | -| `ah_warum` | Variant `has: reichsmark`: »In Ihrer Tasche, Voss. Ich hab Sie davon bezahlt. Wenn es schon Schweigegeld ist, soll es wenigstens für Jakob reden.« · Else: »Ich hab Sie davon bezahlt, Voss. Wo es jetzt ist, will ich nicht wissen. Wenn es schon Schweigegeld ist, soll es wenigstens für Jakob reden.« | – | `ah_gehen` »Das wird es.« → end | +| `ah_kuvert` | Lange sagt sie nichts. Dann holt sie die Blechdose vom Bord. Darin ein leeres Kuvert mit Stempel: ›A. & Co. · Speicher K‹. »Zweihundert Reichsmark. ›Von der Kolonne‹, hat er gesagt.« | `score: 1` | `ah_warum` »Und wo ist das Geld jetzt?« → `ah_warum` | +| `ah_warum` | Variant `has: reichsmark`: »In Ihrer Tasche, Voss. Ich hab Sie davon bezahlt. Wenn es schon Schweigegeld ist, soll es wenigstens für Jakob reden.« · Else: »Ich hab Sie davon bezahlt, Voss. Wo es jetzt ist, will ich nicht wissen. Wenn es schon Schweigegeld ist, soll es wenigstens für Jakob reden.« | `learn: clue_schweigegeld` (the entry says she paid Voss with it) | `ah_gehen` »Das wird es.« → end | | `ah_lotte` | »Sie schläft. Wer schläft, hat keinen Hunger.« | – | `ah_zurueck` »Verstehe.« → `ah_hub` | `ah_kuvert` (the node) is entered only through the gated option, so its @@ -257,8 +257,8 @@ why D4 needs both halves. | Node | `say` (draft) | Node `do` | Options | |---|---|---|---| -| `k_gestaendnis` | Kröger starrt in sein Glas. Lange. »Ich wollt ihn nicht schubsen. Er is auf der Lukentreppe ausgerutscht, das Bein war ab. Ich wollt 'n Arzt holen.« Er schluckt. »Seitdem bring ich ihm jeden Abend Wasser. Jeden Abend.« | `learn: clue_gestaendnis`; `score: 2` | `k_g_wo` »Wo ist er, Kröger?« → `k_wo` | -| `k_wo` | »Speicher K. Vierter Boden.« Er legt einen Schlüssel auf den Tisch, dann ein gefaltetes Papier. »Das hat Asmussen mir geschrieben. Persilschein. Ohne den Wisch bin ich wieder der Kröger von dreiunddreißig.« | `move: bodenschluessel → inventory`; `learn: clue_persilschein` | `k_g_weiter` »Und die Brücke? Nachts ist sie zu.« → `k_boot` | +| `k_gestaendnis` | Kröger starrt in sein Glas. Lange. »Ich wollt ihn nicht schubsen. Er is auf der Lukentreppe ausgerutscht, das Bein war ab. Ich wollt 'n Arzt holen.« Er schluckt. »Seitdem bring ich ihm jeden Abend Wasser. Jeden Abend.« | `score: 2` | `k_g_wo` »Wo ist er, Kröger?« → `k_wo` | +| `k_wo` | »Speicher K. Vierter Boden.« Er legt einen Schlüssel auf den Tisch, dann ein gefaltetes Papier. »Das hat Asmussen mir geschrieben. Persilschein. Ohne den Wisch bin ich wieder der Kröger von dreiunddreißig.« | `learn: clue_gestaendnis` (the entry says where Jakob lies); `move: bodenschluessel → inventory`; `learn: clue_persilschein` | `k_g_weiter` »Und die Brücke? Nachts ist sie zu.« → `k_boot` | | `k_boot` | »Ich nehm jeden Abend das Boot vom Wächter am Zollkanal. Der sieht weg. Der sieht immer weg.« Kröger hebt den Kopf. »Was wird jetzt aus mir?« | – | `k_g_zeuge` »Sagen Sie gegen Asmussen aus. Dann sag ich für Sie aus.« do: `set: kroeger_zeuge`, `say` Kröger nickt einmal, wie beim Verladen. → end · `k_g_richter` »Das entscheidet ein Richter.« do: `say` Kröger nickt. Er hat nichts anderes erwartet. → end | | `k_weg` | »Übers Wasser. Fragen Se den Wächter am Zollkanal.« | – | none → end | @@ -278,8 +278,8 @@ the scene adds no optional state. | Node | `say` (draft) | Node `do` | Options | |---|---|---|---| -| `a_w_start` | Unter dem Viadukt tritt ein Mann im Kamelhaarmantel aus dem Regen. Sein Hut ist der einzige trockene in Hamburg. »Voss? Asmussen, Kaffee-Import. Sie haben vor dem Krieg meine Ladungen versichert. Jetzt stellen Sie Fragen im Hafen.« | `learn: clue_asmussen` | `a_w_wer` »Kennen Sie Jakob Brodersen?« → `a_w_geld` | -| `a_w_geld` | »Ich kenne keinen Brodersen. Und Speicher K ist seit dreiundvierzig eine Ruine, da lagert keiner was.« Er zählt Scheine ab. »Fünfhundert Reichsmark. Für Ihre Mühe. Gehen Sie nach Hause, Voss.« | – | `a_w_ablehnen` »Behalten Sie's. Ab morgen ist es Altpapier.« do: `move: asmussen → kontor`, `say` Er lächelt, als kenne er den Witz schon. »Wie Sie meinen.« Der Mantel verschwindet Richtung Speicherstadt. → end | +| `a_w_start` | Unter dem Viadukt tritt ein Mann im Kamelhaarmantel aus dem Regen. Sein Hut ist der einzige trockene in Hamburg. »Voss? Asmussen, Kaffee-Import. Sie haben vor dem Krieg meine Ladungen versichert. Jetzt stellen Sie Fragen im Hafen.« | – | `a_w_wer` »Kennen Sie Jakob Brodersen?« → `a_w_geld` | +| `a_w_geld` | »Ich kenne keinen Brodersen. Und Speicher K ist seit dreiundvierzig eine Ruine, da lagert keiner was.« Er zählt Scheine ab. »Fünfhundert Reichsmark. Für Ihre Mühe. Gehen Sie nach Hause, Voss.« | – | `a_w_ablehnen` »Behalten Sie's. Ab morgen ist es Altpapier.« do: `move: asmussen → kontor`, `say` Er lächelt, als kenne er den Witz schon. »Wie Sie meinen.« Der Mantel verschwindet Richtung Speicherstadt., `learn: clue_asmussen` (last: the entry sums up the encounter) → end | Nobody asked him about Speicher K. Its description in `clue_asmussen` points that out. @@ -320,8 +320,8 @@ t_hub ─┬─ t_jakob [no clue_zaehlheft] → t_jakob ── t_zurueck1 → t_ |---|---|---|---| | `t_hub` | Variant `has: clue_zaehlheft`: »Voss.« Tadeusz nickt. Die Thermoskanne steht offen. · Else: »Guten Abend.« Tadeusz schraubt die Thermoskanne zu, als wäre das Gespräch damit beendet. | – | `t_jakob` »Sie sind Jakobs Freund.« when `not: { has: clue_zaehlheft }` → `t_jakob` · `t_kein_dieb` »Jakob ist kein Dieb. Ich kann es beweisen.« when `has: clue_untergeschoben`, `not: { has: clue_zaehlheft }` → `t_heft` · `t_ueberfahrt` »Jakob lebt. Speicher K, vierter Boden.« when `has: clue_gestaendnis`, `not: { flag: tadeusz_rudert }`; do `set: tadeusz_rudert` → `t_rudern` · `t_halina` »Worauf warten Sie, Tadeusz?« → `t_halina` · `t_tschuess` »Gute Nacht, Tadeusz.« → end | | `t_jakob` | »Wir trinken jede Nacht Muckefuck zusammen. Seit einem Jahr.« Er sieht aufs Wasser. »Wenn Jakob ein Dieb ist, bin ich der Freund eines Diebes. Wenn nicht … dann ist das etwas anderes.« | – | `t_zurueck1` »Verstehe.« → `t_hub` | -| `t_heft` | Er hört zu, ohne zu nicken. Dann holt er ein Heft aus der Wachbude. »Von Jakob. Um halb zwei. ›Wenn ich bis morgen nicht zurück bin, gib es Anni.‹ Ich habe es nicht gegeben.« | `learn: clue_zaehlheft`; `score: 1` | `t_wohin` »Wohin ist er gegangen?« → `t_elise` | -| `t_elise` | »Hinter der Schute ›Elise 7‹ her, am Kanal entlang. Im Register steht, wem sie gehört: A. & Co., Speicher K.« | – | `t_angst` »Warum haben Sie geschwiegen?« → `t_dp` | +| `t_heft` | Er hört zu, ohne zu nicken. Dann holt er ein Heft aus der Wachbude. »Von Jakob. Um halb zwei. ›Wenn ich bis morgen nicht zurück bin, gib es Anni.‹ Ich habe es nicht gegeben.« | `score: 1` | `t_wohin` »Wohin ist er gegangen?« → `t_elise` | +| `t_elise` | »Hinter der Schute ›Elise 7‹ her, am Kanal entlang. Im Register steht, wem sie gehört: A. & Co., Speicher K.« | `learn: clue_zaehlheft` (the entry quotes the register) | `t_angst` »Warum haben Sie geschwiegen?« → `t_dp` | | `t_dp` | »Am Freitag hat die Polizei ›die Polen‹ befragt. Für Ihre Polizei bin ich ein DP, ein Mensch am falschen Ort. Und wer am falschen Ort ist, hat immer etwas gestohlen.« | – | `t_danke` »Danke, Tadeusz.« → end | | `t_rudern` | Tadeusz steht auf. »Kröger nimmt jeden Abend mein Boot. Ich habe weggesehen. Ich habe fünf Jahre gelernt, nichts zu sehen.« Er macht das Boot los. »Die Brücke ist zu. Das Wasser nicht.« | – | none → end | | `t_halina` | »Auf Papiere. Kanada, als Holzfäller. Und auf einen Namen auf einer Suchliste: Halina Wrona, meine Schwester.« Er lächelt kaum. »Sie suchen einen Mann, ich suche eine Schwester. Wir haben beide nur Papier in der Hand.« | – | `t_zurueck2` »Ich hoffe, Sie finden sie.« → `t_hub` | diff --git a/packs/letzte-nacht-der-reichsmark/design/puzzles.md b/packs/letzte-nacht-der-reichsmark/design/puzzles.md index fa83229..72e0f92 100644 --- a/packs/letzte-nacht-der-reichsmark/design/puzzles.md +++ b/packs/letzte-nacht-der-reichsmark/design/puzzles.md @@ -375,9 +375,8 @@ rules. - **Prerequisites:** `clue_untergeschoben` (P3). - **Solution:** `talk tadeusz` (or `show clue_untergeschoben tadeusz`, which opens the same conversation), then: - 1. `choose t_kein_dieb` → node `t_heft` learns `clue_zaehlheft`. - 1 point. - 2. `choose t_wohin`. + 1. `choose t_kein_dieb` → node `t_heft`, 1 point. + 2. `choose t_wohin` → node `t_elise` learns `clue_zaehlheft`. 3. `choose t_angst`. His answer ends the conversation. - Showing only one half of the frame-up proof (`clue_frisch_an_land` or `clue_nur_kroeger`) gets »Ein halber Beweis, Voss. Für Ihre Polizei ist @@ -406,9 +405,9 @@ rules. - **Goal:** get the truth about the envelope. - **Prerequisites:** `clue_lene` (P4b). - **Solution:** `talk anni` (or `show clue_lene anni`), then: - 1. `choose ah_kuvert` → node `ah_kuvert` learns `clue_schweigegeld`. - 1 point. - 2. `choose ah_warum`. Her answer ends the conversation. + 1. `choose ah_kuvert` → node `ah_kuvert`, 1 point. + 2. `choose ah_warum` → node `ah_warum` learns `clue_schweigegeld`. Her + answer ends the conversation. - **Signposting:** - Lene: »Am Abend is er bei den Brodersens rein. Mit ’nem Kuvert.« - `look blechdose`: Anni sits between you and the shelf. @@ -643,9 +642,9 @@ pass dropped `take sturmlaterne`, see [CHANGES.md](CHANGES.md).) **Act I: Der Auftrag (`detektei`)** 1. `talk anni` -2. `choose an_frag_jakob` (Anni tells about Jakob and the police; learn `clue_auftrag`) +2. `choose an_frag_jakob` (Anni tells about Jakob and the police) 3. `choose an_frag_schluessel` (learn `clue_schluessel`, get `spindschluessel`; the notebook habit) -4. `choose an_annehmen` (get `reichsmark`, set `auftrag_angenommen`; Anni goes home, the dialogue ends) +4. `choose an_annehmen` (get `reichsmark`, learn `clue_auftrag` after she names Tadeusz, set `auftrag_angenommen`; Anni goes home, the dialogue ends) **Act II: Drei Spuren** @@ -662,13 +661,13 @@ pass dropped `take sturmlaterne`, see [CHANGES.md](CHANGES.md).) 15. `talk kroeger` (`clue_kroeger_version`) 16. `choose k_tschuess` 17. `go east` (`baumwall`; the ambush starts `asmussen_warnung`) -18. `choose a_w_wer` (`clue_asmussen`) -19. `choose a_w_ablehnen` (Asmussen goes to `kontor`) +18. `choose a_w_wer` +19. `choose a_w_ablehnen` (`clue_asmussen`; Asmussen goes to `kontor`) 20. `go east` (`zollkanal`) 21. `take bootshaken` 22. `talk tadeusz` -23. `choose t_kein_dieb` (`clue_zaehlheft`, +1) -24. `choose t_wohin` +23. `choose t_kein_dieb` (+1) +24. `choose t_wohin` (`clue_zaehlheft`) 25. `choose t_angst` (his answer ends the conversation) 26. `go west` (`baumwall`) 27. `go south` (`kaischuppen`) @@ -684,8 +683,8 @@ pass dropped `take sturmlaterne`, see [CHANGES.md](CHANGES.md).) 37. `go east` (`baumwall`) 38. `go strassenbahn` (`nissenhuette`) 39. `talk anni` -40. `choose ah_kuvert` (`clue_schweigegeld`, +1) -41. `choose ah_warum` (her answer ends the conversation) +40. `choose ah_kuvert` (+1) +41. `choose ah_warum` (`clue_schweigegeld`; her answer ends the conversation) 42. `go stadt` (`baumwall`) 43. `go west` (`kneipe`) 44. `talk kroeger` @@ -693,8 +692,8 @@ pass dropped `take sturmlaterne`, see [CHANGES.md](CHANGES.md).) 46. `choose k_s1_kein_schwund` (stage 1, +1) 47. `choose k_s2_heft` (stage 2, +1) 48. `choose k_s3_untergeschoben` (stage 3, +1) -49. `choose k_s4_kuvert` (confession: `clue_gestaendnis`, +2) -50. `choose k_g_wo` (`bodenschluessel`, `clue_persilschein`, the way across) +49. `choose k_s4_kuvert` (confession, +2) +50. `choose k_g_wo` (`clue_gestaendnis`, `bodenschluessel`, `clue_persilschein`, the way across) 51. `choose k_g_zeuge` (set `kroeger_zeuge`) **Act III: Über das Wasser** diff --git a/packs/letzte-nacht-der-reichsmark/design/world.md b/packs/letzte-nacht-der-reichsmark/design/world.md index cc9ddce..84a01c0 100644 --- a/packs/letzte-nacht-der-reichsmark/design/world.md +++ b/packs/letzte-nacht-der-reichsmark/design/world.md @@ -265,10 +265,10 @@ inputs. | # | id | `name` | Source | Description (draft) | |---|---|---|---|---| -| 1 | `clue_auftrag` | Der Fall Brodersen | `anni_auftrag` node `an_polizei` | Jakob Brodersen, Schauermann in Krögers Kolonne, Kaischuppen 17. Verschwunden seit Donnerstagnacht. Zählt alles in ein Heft. Freitag, 7 Uhr: zwei Stangen NAAFI-Zigaretten in seinem verschlossenen Spind 23; Kröger schloss für die Polizei auf. Freund: Tadeusz am Zollkanal. | -| 2 | `clue_schluessel` | Der vergessene Schlüssel | `anni_auftrag` node `an_schluessel` | Jakobs Spindschlüssel hing seit Donnerstagmittag zu Hause in der Nissenhütte am Haken. Jakob hatte ihn vergessen. | +| 1 | `clue_auftrag` | Der Fall Brodersen | `anni_auftrag` node `an_bezahlung` (after Anni names Tadeusz) | Jakob Brodersen, Schauermann in Krögers Kolonne, Kaischuppen 17. Verschwunden seit Donnerstagnacht. Zählt alles in ein Heft. Freitag, 7 Uhr: zwei Stangen NAAFI-Zigaretten in seinem verschlossenen Spind 23; Kröger schloss für die Polizei auf. Freund: Tadeusz am Zollkanal. | +| 2 | `clue_schluessel` | Der vergessene Schlüssel | `anni_auftrag` node `an_schluessel` | Jakobs Spindschlüssel hing seit Donnerstagmittag bei den Brodersens zu Hause am Haken. Jakob hatte ihn vergessen. | | 3 | `clue_kroeger_version` | Krögers Version | `kroeger_verhoer` node `k_hub` (first talk) | Kröger behauptet:
1. 180 Kisten, sauber gezählt, der Rest ist Schwund.
2. Brodersen hat um Mitternacht Schluss gemacht.
3. Im Spind lag die Ware: Dieb bleibt Dieb.
4. Mit den Brodersens hat er nichts zu schaffen. | -| 4 | `clue_asmussen` | Asmussens Karte | `asmussen_warnung` node `a_w_start` | Konrad Asmussen, Kaffee-Import, Speicher K, Kehrwieder. Kennt angeblich keinen Brodersen. Speicher K sei seit 1943 eine Ruine. Bot dir 500 Reichsmark fürs Nachhausegehen. Nach Speicher K hatte ihn niemand gefragt. | +| 4 | `clue_asmussen` | Asmussens Karte | `asmussen_warnung` option `a_w_ablehnen` | Konrad Asmussen, Kaffee-Import, Speicher K, Kehrwieder. Kennt angeblich keinen Brodersen. Speicher K sei seit 1943 eine Ruine. Bot dir 500 Reichsmark fürs Nachhausegehen. Nach Speicher K hatte ihn niemand gefragt. | | 5 | `clue_loeschliste` | Löschliste: 200 Kisten | `lesen aushang` | Kaischuppen 17, Donnerstag, 17. Juni, Nachtschicht: Dampfer »Elspeth Gray«, NAAFI-Ware Los 4471, 200 Kisten Zigaretten. Abtransport ins NAAFI-Depot Freitag, 5 Uhr, unter Bewachung. | | 6 | `clue_zweitschluessel` | Zweitschlüssel | `open spind_jakob` (P1) | Innen an der Tür von Spind 23, schabloniert: »Zweitschlüssel beim Vorarbeiter«. Ein Bartschloss: Auf- und zuschließen geht nur mit Schlüssel. | | 7 | `clue_los4471` | Los 4471 | `take zigarettenpaeckchen` (P1) | Ein Päckchen aus Jakobs Spind, NAAFI-Banderole »LOT 4471«. Losnummern vergibt die NAAFI pro Lieferung: ein Los, ein Schiff. | @@ -279,9 +279,9 @@ inputs. | 12 | `clue_zwanzig_kisten` | Zwanzig Kisten fehlen | **D1** | 200 Kisten laut Löschliste, 180 auf Krögers Tallyzettel. Zwanzig Kisten sind zwischen Schiff und Schuppen verschwunden. Gezählt hat Kröger. | | 13 | `clue_lene` | Lenes Aussage | Lene (P4b): `show zigarettenpaeckchen lene`, `show clue_los4471 lene`, or option `l_los` | Freitag, 6 Uhr früh, hat Kröger Lene fünf Stangen Los 4471 verkauft: »Der Rest gehört dem Kaffeemann aus der Speicherstadt.« Am Freitagabend ging er mit einem Kuvert in die Hütte der Brodersens. | | 14 | `clue_kein_schwund` | Kein Schwund | **D5** | Zwanzig Kisten Los 4471 fehlen, und Kröger verkauft Los 4471 auf dem Schwarzmarkt. Das ist kein Schwund. Das ist Krögers Ware – und die des Kaffeemanns. | -| 15 | `clue_zaehlheft` | Jakobs Zählheft | `tadeusz_gespraech` node `t_heft` (P5) | Jakobs Heft, von Tadeusz: »200 Hieven, letzte 01:20. Tally 180?! K. lässt 20 Ki. in Elise 7. Geh hinterher.« Tadeusz sah Jakob um 01:30 der Schute folgen. Laut Register gehört die »Elise 7« A. & Co., Speicher K. | -| 16 | `clue_schweigegeld` | Zweihundert Reichsmark | `anni_huette` node `ah_kuvert` (P6) | Kröger brachte Anni am Freitagabend 200 Reichsmark, »von der Kolonne«. Auf dem Kuvert der Stempel »A. & Co. · Speicher K«. Mit diesem Geld hat Anni dich bezahlt. | -| 17 | `clue_gestaendnis` | Krögers Geständnis | `kroeger_verhoer` node `k_gestaendnis` (P7) | Kröger hat Jakob Donnerstagnacht in Speicher K erwischt. Jakob stürzte die Lukentreppe hinunter, das Bein gebrochen. Kröger wollte einen Arzt holen. Seitdem bringt er ihm jeden Abend Wasser. Jakob liegt auf dem vierten Boden. | +| 15 | `clue_zaehlheft` | Jakobs Zählheft | `tadeusz_gespraech` node `t_elise` (P5) | Jakobs Heft, von Tadeusz: »200 Hieven, letzte 01:20. Tally 180?! K. lässt 20 Ki. in Elise 7. Geh hinterher.« Tadeusz sah Jakob um 01:30 der Schute folgen. Laut Register gehört die »Elise 7« A. & Co., Speicher K. | +| 16 | `clue_schweigegeld` | Zweihundert Reichsmark | `anni_huette` node `ah_warum` (P6) | Kröger brachte Anni am Freitagabend 200 Reichsmark, »von der Kolonne«. Auf dem Kuvert der Stempel »A. & Co. · Speicher K«. Mit diesem Geld hat Anni dich bezahlt. | +| 17 | `clue_gestaendnis` | Krögers Geständnis | `kroeger_verhoer` node `k_wo` (P7) | Kröger hat Jakob Donnerstagnacht in Speicher K erwischt. Jakob stürzte die Lukentreppe hinunter, das Bein gebrochen. Kröger wollte einen Arzt holen. Seitdem bringt er ihm jeden Abend Wasser. Jakob liegt auf dem vierten Boden. | | 18 | `clue_persilschein` | Krögers Persilschein | `kroeger_verhoer` node `k_wo` (P7) | »Ich kenne Herrn Kröger seit 1934 als fleißigen, unpolitischen Arbeiter.« Datiert 28. Mai 1948, gezeichnet Konrad Asmussen. Grüne Tinte, steile Schrift, jedes »g« mit einer Schleife nach rechts. | | 19 | `clue_anweisung` | Die Anweisung | `lesen zettel` or `take zettel` (P8) | »W. – Der Mann bleibt oben. Wasser ja, Licht nein. Montag sechs Uhr geht die Ware raus, dann lass ihn laufen. Wer glaubt schon einem Dieb.« Keine Unterschrift. Grüne Tinte, steile Schrift, jedes »g« mit einer Schleife nach rechts. | | 20 | `clue_jakob_aussage` | Jakobs Aussage | `jakob_gespraech` node `j_was` (P8) | Kröger erwischte Jakob an der Luke, Jakob stürzte. Dann kam einer im Kamelhaarmantel. Kröger wollte einen Arzt holen. Der Mantel sagte: »Kein Arzt. Ärzte reden.« | diff --git a/packs/letzte-nacht-der-reichsmark/dialogues.yaml b/packs/letzte-nacht-der-reichsmark/dialogues.yaml index 4985fc0..0f6eeb6 100644 --- a/packs/letzte-nacht-der-reichsmark/dialogues.yaml +++ b/packs/letzte-nacht-der-reichsmark/dialogues.yaml @@ -28,7 +28,6 @@ dialogues: say: "»Er ist in Krögers Kolonne, Schuppen 17. Jakob klaut nicht. Jakob zählt.« Zum ersten Mal sieht sie weg, auf ihre Hände. »Seit Russland zählt er jeden Löffel Suppe, jede Stufe, jede Kiste, die der Kran aus einem Schiff hebt. Alles schreibt er in ein Heft. Das hat ihn durch die Gefangenschaft gebracht, sagt er.«" do: - say: "Sie holt Luft, und ihre Stimme wird härter. »Freitag früh haben sie seinen Spind aufgemacht, Nummer 23. Kröger hat aufgeschlossen, das ist sein Vorarbeiter, und Kommissar Petersen hat zugesehen. Drin lagen zwei Stangen englische Zigaretten. Jetzt ist Jakob ein Dieb, der mit der Beute abgehauen ist. Das schreibt Petersen in seine Akte, und dann sucht er nicht weiter.«" - - learn: clue_auftrag options: - id: an_frag_schluessel text: "»Wer hat einen Schlüssel zu dem Spind?«" @@ -48,6 +47,8 @@ dialogues: do: - say: "»Fragen Sie Tadeusz am Zollkanal. Er ist Jakobs Freund, sie trinken nachts zusammen Muckefuck, Ersatzkaffee aus der Thermoskanne. Ich bin in der Siedlung, Hütte 14.« Dann ist sie fort, so schnell, wie man geht, wenn man nicht weinen will. Auf dem Besucherstuhl bleibt ein nasser Fleck." - say: Du ordnest, was du hast. Ein Spind, zu dem Jakob seit Donnerstagmittag keinen Schlüssel mehr hatte, und in dem trotzdem Diebesgut lag. Ein Freund am Zollkanal. Ein Vorarbeiter, der beim Aufschließen dabei war. Das ist nicht viel. Aber es ist mehr, als der Kommissar aufgeschrieben hat. + # Learned last: the entry names Tadeusz, whom Anni names only here. + - learn: clue_auftrag - move: { object: reichsmark, to: inventory } - set: auftrag_angenommen - move: { object: anni, to: nissenhuette } @@ -85,7 +86,6 @@ dialogues: ah_kuvert: say: "Lange sagt sie nichts. Die Nadel steckt im Stoff, ihre Hand liegt daneben. Dann steht sie auf, holt die Blechdose vom Bord und stellt sie vor dich hin, wie man einen Beweis vor Gericht hinlegt. Darin liegt nur noch ein leeres Kuvert mit einem Stempel: ›A. & Co. · Speicher K‹. »Zweihundert Reichsmark«, sagt sie. »›Von der Kolonne‹, hat er gesagt. Die Kolonne hat noch nie für irgendwen gesammelt.«" do: - - learn: clue_schweigegeld - score: 1 - if: when: { has: clue_asmussen } @@ -102,6 +102,9 @@ dialogues: - when: { has: reichsmark } text: "Zum ersten Mal lächelt sie, und es ist kein freundliches Lächeln. »In Ihrer Tasche, Voss. Ich hab Sie davon bezahlt. Ich hab mir gedacht: Wenn es schon Schweigegeld ist, soll es wenigstens für Jakob reden.« Sie nimmt die Nadel wieder auf. »Jetzt reden Sie.«" - text: "Zum ersten Mal lächelt sie, und es ist kein freundliches Lächeln. »Ich hab Sie davon bezahlt, Voss. Wo es jetzt ist, will ich nicht wissen. Ich hab mir gedacht: Wenn es schon Schweigegeld ist, soll es wenigstens für Jakob reden.« Sie nimmt die Nadel wieder auf. »Jetzt reden Sie.«" + # Learned here, not in ah_kuvert: the entry says Anni paid Voss with it. + do: + - learn: clue_schweigegeld # No options: her line closes the scene. ah_lebt: say: @@ -317,7 +320,6 @@ dialogues: say: "»Von der Kolonne«, sagst du. »In einem Kuvert mit dem Stempel von Speicher K.« Kröger starrt in sein Glas. Lange. Dann schiebt er es weg, und du merkst, dass er die ganze Zeit nur darauf gewartet hat, dass jemand fragt. »Ich hab ihn nicht geschubst, ehrlich. Er is mir nach, bis rauf zur Luke. Da is er auf der Treppe an der Ladeluke ausgerutscht, und das Bein war hin. Ich hab’s knacken hören.«" do: - say: "Er schluckt. »Ich wollt ’n Arzt holen. Wirklich. Aber dann kam … es kam einer, der hat gesagt, das geht nich. Seitdem bring ich ihm jeden Abend Wasser. Jeden Abend, Voss. Mit dem Boot.« Er sieht dich an wie einer, der eine Last abgesetzt hat und nicht weiß, wohin mit den Händen." - - learn: clue_gestaendnis - score: 2 options: - id: k_g_wo @@ -330,6 +332,8 @@ dialogues: - say: "»Über die Brücke kommen Se nachts nicht, da is der Zoll. Ich nehm jeden Abend das Boot vom Wächter am Zollkanal. Der sieht weg. Der sieht immer weg.« Kröger hebt den Kopf, und zum ersten Mal an diesem Abend fragt er etwas. »Was wird jetzt aus mir?«" - say: "Ein Persilschein, so nennt man diese Gefälligkeitsbescheinigungen, mit denen einer dem anderen bestätigt, er sei nie ein richtiger Nazi gewesen. Asmussen also. Der Mann, der Kröger damit reingewaschen hat, ist derselbe, dem Speicher K gehört und der am Baumwall nichts von Brodersen wissen wollte. Kröger hat einen Herrn, und er hat ihn gerade genannt, ohne es zu merken. Wer den Arzt verboten hat, kann dir nur einer sagen, der dabei war: Jakob." - move: { object: bodenschluessel, to: inventory } + # Learned here, not in k_gestaendnis: the entry says where Jakob lies. + - learn: clue_gestaendnis - learn: clue_persilschein options: - id: k_g_zeuge @@ -354,8 +358,6 @@ dialogues: nodes: a_w_start: say: "Unter dem Viadukt löst sich ein Mann aus dem Regen, als hätte er auf dich gewartet. Kamelhaarmantel, Siegelring, und sein Hut ist der einzige trockene in Hamburg. Er reicht dir eine Karte, bevor du ausweichen kannst. »Voss, nicht wahr? Asmussen, Kaffee-Import. Sie haben vor dem Krieg meine Ladungen versichert.« Er lächelt. »Und jetzt fragen Sie im Hafen herum, höre ich.«" - do: - - learn: clue_asmussen options: - id: a_w_wer text: "»Kennen Sie Jakob Brodersen?«" @@ -369,6 +371,8 @@ dialogues: - move: { object: asmussen, to: kontor } - say: "Er lächelt, als kenne er den Witz schon. »Wie Sie meinen.« Der Mantel verschwindet Richtung Speicherstadt, und der Regen schließt sich hinter ihm." - say: Du siehst auf die Karte in deiner Hand. Nach Speicher K hatte ihn niemand gefragt, und trotzdem war es das Erste, was er abgestritten hat. Ein Mann, der fünfhundert Mark bietet, damit du aufhörst, hat Angst vor dem, was du findest, wenn du weitermachst. + # Learned last: the entry sums up the whole encounter. + - learn: clue_asmussen # ------------------------------------------------------------------------- # P4b: the backyard. Default dialogue of lene (in hinterhof). @@ -464,7 +468,6 @@ dialogues: t_heft: say: "Du erklärst es ihm: die Ware, die erst Donnerstagnacht an Land kam, und der Schlüssel, der seit Mittag zu Hause hing. Er hört zu, ohne zu nicken. Dann steht er auf, geht in die Wachbude und kommt mit einem Heft zurück, dessen Ecken vom vielen Blättern rund sind. »Von Jakob. Um halb zwei hat er es mir gegeben. ›Wenn ich bis morgen nicht zurück bin, gib es Anni.‹« Er hält es dir hin. »Ich habe es ihr nicht gegeben.«" do: - - learn: clue_zaehlheft - score: 1 - say: "Du blätterst bis zur letzten beschriebenen Seite. Jakobs Schrift ist klein und ordentlich, Zahl unter Zahl: ›200 Kisten, letzte 01:20. Zählung 180?! K. lässt 20 Ki. in Elise 7. Geh hinterher.‹ Jakob hat gesehen, was du dir erst zusammenrechnen musstest, und er ist der Ware nachgegangen." options: @@ -473,7 +476,9 @@ dialogues: goto: t_elise t_elise: say: "»Hinter dem Lastkahn ›Elise 7‹ her, am Kanal entlang, Richtung Speicherstadt. Ich habe ihm nachgesehen, bis der Regen ihn hatte.« Tadeusz schlägt das Register der Lastkähne in der Wachbude auf und legt den Finger auf eine Zeile. »Hier steht, wem sie gehört: A. & Co., Speicher K.«" + # Learned here, not in t_heft: the entry quotes the register. do: + - learn: clue_zaehlheft - if: when: { has: clue_asmussen } then: diff --git a/packs/letzte-nacht-der-reichsmark/objects.yaml b/packs/letzte-nacht-der-reichsmark/objects.yaml index dba088a..9b4d869 100644 --- a/packs/letzte-nacht-der-reichsmark/objects.yaml +++ b/packs/letzte-nacht-der-reichsmark/objects.yaml @@ -489,7 +489,7 @@ objects: synonyms: [vergessener Schlüssel] location: nowhere clue: true - description: Jakobs Spindschlüssel hing seit Donnerstagmittag zu Hause in der Nissenhütte am Haken. Jakob hatte ihn vergessen. Wer kam dann noch an den Spind? + description: Jakobs Spindschlüssel hing seit Donnerstagmittag bei den Brodersens zu Hause am Haken. Jakob hatte ihn vergessen. Wer kam dann noch an den Spind? clue_kroeger_version: name: Krögers Version diff --git a/packs/letzte-nacht-der-reichsmark/pack.yaml b/packs/letzte-nacht-der-reichsmark/pack.yaml index 78d076f..15423db 100644 --- a/packs/letzte-nacht-der-reichsmark/pack.yaml +++ b/packs/letzte-nacht-der-reichsmark/pack.yaml @@ -7,7 +7,7 @@ # dialogues are in the other YAML files of this directory. format: lexvm-pack/1 id: letzte-nacht-der-reichsmark -version: 1.1.0 +version: 1.1.1 title: Die letzte Nacht der Reichsmark subtitle: Ein Hamburger Kriminalfall, Juni 1948 description: "Hamburg, 19. Juni 1948: Morgen wird die Reichsmark zu Altpapier, und der Hafenarbeiter Jakob Brodersen ist verschwunden – angeblich mit gestohlenen Zigaretten. Ein Noir-Krimi aus Indizien und Verhören über Schwarzmarkt, Persilscheine und Schuld." diff --git a/prompts/oneshot.md b/prompts/oneshot.md index df863c7..89e042b 100644 --- a/prompts/oneshot.md +++ b/prompts/oneshot.md @@ -105,6 +105,7 @@ Everything below up to "How to answer" is reference material: first the authorin ## Clues and deductions - A clue is a piece of knowledge: an object with `clue: true` and `location: nowhere`, acquired with the `learn` effect (reading a document, examining something, a dialogue). Clues sit in the notebook and cannot be dropped or lost. - Clue names are short and telling (≤ 24 characters: "Torn ticket", "Alibi gap"); the description states the fact. +- A clue says only what the player has read by the time it is learned: the notebook can be opened in the middle of a conversation, so an entry must not name a person, place or fact that a later line introduces. Put the `learn` after the last line the entry sums up (in a dialogue: in the node or option that says it), or cut the entry down. The exception is a document whose entry is the document itself (a letter, a list): there the notebook is where it is read. - Deductions combine two clues: a rule `on: { verb: use, object: clue_a, with: clue_b }` with `when: { not: { has: clue_c } }` that `learn`s the conclusion `clue_c` (rules are tried in both orders). Only ask for deductions a player can reasonably see; answer plausible wrong combinations gently. - Players tap a clue and choose "Combine with …" ("Kombinieren mit …"), which sends `use`; typed, "combine X with Y" / "kombiniere X mit Y" / "vergleiche X mit Y" work. If the story depends on deductions, teach combining once early (a line of inner voice or the first hint step). - Interrogations and confrontations use clues as evidence (see dialogue). @@ -1171,6 +1172,7 @@ Metadata: 12. **Invisible verbs.** Every pack verb is declared under `verbs:` and listed in the `verbs` of each object it applies to. 13. **One key per condition and effect.** `{ set: a, score: 1 }` is two effects; two conditions go in a list or `all: […]`. 14. **Score.** Each point is awarded once; `maxScore` equals the walkthrough's total. +15. **Notebook entries ahead of the story.** Every clue description states only what the player has read when its `learn` runs. A dialogue that `learn`s a summary in an early node and says the rest later gives the game away; move the `learn` to the node that says the last fact. # When the user sends diagnostics diff --git a/prompts/templates/logic.md b/prompts/templates/logic.md index 312be25..6434872 100644 --- a/prompts/templates/logic.md +++ b/prompts/templates/logic.md @@ -9,6 +9,8 @@ The walkthrough length and the texts of rules, dialogues and endings decide whet The dialogues and rule messages carry most of the story. Write the conversations' turning points, the responses that solve puzzles, the deductions and the endings from the story's scenes and key-scene prose: what the player learns, how the character reacts, and in a sentence or two of the player character's voice what it means. Write the transitions between chapters (a `once` rule on `enter`, or the solving response). Follow the voice and rhythm of the story document. +You decide when each clue is learned, so you own its timing: put every `learn` after the last line its clue description sums up (in a dialogue, in the node or option that says it), because the player can open the notebook at once. If an earlier `learn` is needed, cut the clue description in `objects.yaml` down to what has been said and return that file. + Return these files: 1. `rules.yaml` — the `rules` list: every puzzle solution from the puzzle design, the custom responses to plausible wrong attempts, deductions (`use clue_a clue_b`), confrontations (`show clue npc`), `enter` and `start` events. Specific rules before general ones; every rule has an `id`. diff --git a/prompts/templates/review.md b/prompts/templates/review.md index 2f1cef2..d940565 100644 --- a/prompts/templates/review.md +++ b/prompts/templates/review.md @@ -10,14 +10,15 @@ Read the transcript from start to end as a player would, then judge it against t 1. **Can it be followed?** After each chapter, could a reader retell what happened, who wants what, and why? Mark every step that happens without a reason the player can see, and every fact the ending relies on that the transcript never states. 2. **Arrivals and transitions:** does each first arrival say where the player is, who is here and what is at stake? Is it clear why the player goes on, and where? 3. **What a clue means:** after each key clue or deduction, does the player character say in a sentence or two what it changes? -4. **Turning points:** is the turning point of every major conversation written out as a scene, with a reaction, or reduced to one line of information? -5. **Characters:** does each one want something visible and speak like themselves? -6. **Rhythm:** varied sentence lengths, thoughts joined by their logic. Rewrite telegram-style chains of fragments; cut adjective padding and repeated atmosphere. +4. **Notebook entries:** the transcript shows each new entry (`*Notebook: …*`) where it is learned; the player can read it there, even in the middle of a conversation. Does any entry name a person, place or fact the transcript has not shown yet? Then move its `learn` behind the line that says it (a structural change you may make here), or cut the entry down; an entry that is the text of a document is fine. +5. **Turning points:** is the turning point of every major conversation written out as a scene, with a reaction, or reduced to one line of information? +6. **Characters:** does each one want something visible and speak like themselves? +7. **Rhythm:** varied sentence lengths, thoughts joined by their logic. Rewrite telegram-style chains of fragments; cut adjective padding and repeated atmosphere. Then improve the **text** of the pack: - Change player-facing text only: descriptions and their variants, `say` texts, dialogue lines, the intro, endings. Add text variants or `once` rules on `enter` for arrivals and chapter transitions where a scene is missing. -- Do not change ids, conditions, effects, exits, scores, hints' conditions or the walkthrough, unless a new transition rule needs a flag (declare it in `pack.yaml`). Every `{id}` reference must stay valid, and every interactable object must stay mentioned in its room. +- Do not change ids, conditions, effects, exits, scores, hints' conditions or the walkthrough, unless a new transition rule needs a flag (declare it in `pack.yaml`) or a notebook entry is ahead of the story (point 4: move its `learn` within the same dialogue or rule). Every `{id}` reference must stay valid, and every interactable object must stay mentioned in its room. - Keep within the text budgets of the pack's pacing and keep the reading share near its target: write out scenes where the transcript is thin, cut where it repeats itself. - Return **only the files you changed**, each one **complete**, in fenced blocks named with `file=` as usual. Then list your five most important changes, one line each.