Offer show and give in a character's action sheet
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend, documentation, frontend
Direzione di ricerca
Start with packages/engine/src/affordances.ts and apps/web/src/logic/actions.ts, then read the action sheet guidance in docs/spec/content-pack.md section 7 and the interaction ADR. Check the existing coverage in apps/web/test/actions.test.ts and find the engine and end-to-end test entry points. Done when character sheets offer the specified actions, the canonical command and exploration results remain unchanged, tests cover the flow, and both named docs are updated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
Interrogations are built on showing clues to characters. By default view offers show and give only on carried objects while a character is present (item first). Tapping a character offers look and talk, although "tap the character, Show, pick the item" is the natural flow. The player already supports that flow (apps/web/src/logic/actions.ts, targetModel with slot object), but it is reachable only when a pack lists show or give in the character's verbs, which neither bundled pack does.
Scope
- Engine affordances: for a character present in the room, offer
showwhen the player carries an item or clue, andgivewhen the player carries a non-clue item, without the pack listing them. - Player: the command stays
show <item> <npc>, so logs are identical to the item-first path. - Spec section 7 (action sheets) updated. The offered actions of section 14 do not change (the same commands are already offered item first), so exploration results stay the same.
- Prompt kit regenerated because the spec changes.
Acceptance criteria
- Tapping a character while carrying items offers Show, and Give for non-clue items.
- Choosing an item issues the same canonical command as the item-first path.
-
lexvm checkresults for both packs are unchanged, including the number of explored states. - Engine and player unit tests cover the new sheet; an end-to-end test shows an item through the character.
- docs/spec/content-pack.md and prompts/oneshot.md are updated.
References
- packages/engine/src/affordances.ts
- apps/web/src/logic/actions.ts
- apps/web/test/actions.test.ts
- docs/spec/content-pack.md (sections 7 and 14)
- docs/adr/0002-tap-first-interaction-with-optional-parser.md
- 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
-
[Feature]: 建议导入源后,自动切换到新导入的源Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
lyswhut/lx-music-desktop#3026 ·
-
area: ci type: test
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
schlessera/brain-kit#2769 ·
I maintainer di solito rispondono entro 1 giorno
-
Read a vector index's quantization back on Neo4j 2026.10, which reports vector.quantization.typeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
liberation-data/drivine#231 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
alveusgg/alveusgg#2502 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno