Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Offer show and give in a character's action sheet

Abierto
#31 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area: engine area: web priority: medium type: feature

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 show when the player carries an item or clue, and give when 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 check results 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
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
28 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nullthrone/lexvm

Todos los issues de nullthrone/lexvm

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.