Show character lines from dialogue option effects as speech
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript, yaml
- Ambito
- backend-api-design, full-stack
Direzione di ricerca
Read CONTRIBUTING.md’s “Changing the content pack format” guidance and docs/spec/content-pack.md sections 9 and 12 first. Then trace the say effect through packages/engine/src/effects.ts and its rendering in apps/web/src/components/transcript.ts; inspect the noir pack’s dialogues.yaml and check the demo pack and authoring guide for similar cases. Choose and implement an option, convert the 17 reactions, bump the pack version, and verify the player rendering and the specified lexvm check results.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
The player renders the say of a dialogue node (block kind npc) with a speaker bar, but a say effect in an option's do produces a narration block (text). In the noir pack 17 such effects are direct speech, for example Asmussen's »Oben? Da lagert nichts. Und wenn doch, fragen Sie Kröger.« after the option »Ich war oben, Asmussen. Vierter Boden.« (dialogues.yaml). Between two npc blocks the line looks like narration, so it is less clear who is speaking; it showed up on a phone screenshot of Asmussen's interrogation during the v0.1 review. It was left unchanged in v0.1 because the pack YAML was changed only for real bugs.
Options
- A. Pack only: move each reaction into a node's
sayandgotoback. No format change, but more nodes, and possibly a tap more per reaction. - B. Additive format change: a
sayeffect can name a speaker (for examplesay: { text: "…", npc: asmussen }) and is then rendered as annpcblock. Spec, schema, JSON Schema and prompt kit change. - C. Engine rule: every
sayeffect run by a dialogue option becomes annpcblock. Simple, but wrong for narration in option effects such as »Dann ist sie fort.«
Scope
- Choose an option here. B is an additive change to
lexvm-pack/1and follows CONTRIBUTING.md (Changing the content pack format). - Convert the 17 lines in the noir pack and bump its
version, keeping the walkthrough and thelexvm checkresults. - Check the demo pack and the authoring guide for the same pattern.
Acceptance criteria
- Character reactions in the noir pack's dialogues render in the speaker style in the player.
- Narration in option effects stays narration.
-
lexvm checkfor the noir pack still reports no errors, with the same walkthrough and a complete exploration.
References
- packs/letzte-nacht-der-reichsmark/dialogues.yaml
- packages/engine/src/effects.ts
- apps/web/src/components/transcript.ts
- docs/spec/content-pack.md (sections 9 and 12)
- CONTRIBUTING.md (Changing the content pack format)
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 28m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nullthrone/lexvm
-
area: web good first issue priority: low type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
nullthrone/lexvm#49 ·
-
area: infra good first issue priority: low type: chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
nullthrone/lexvm#41 ·
-
area: engine good first issue priority: low type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
nullthrone/lexvm#27 ·
-
area: web priority: low type: research
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
nullthrone/lexvm#63 ·
-
area: infra area: web priority: medium type: chore
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
nullthrone/lexvm#62 ·
Tutte le issue di nullthrone/lexvm
Issue simili
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixForse già presa @ItsDeadlyProgrammer l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
appsmithorg/appsmith#42471 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ehmpathy/rhachet-roles-bhrain#705 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Status: Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
mermaid-js/mermaid#8546 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
I maintainer di solito rispondono entro 1 giorno