E2: Port narrative events and puzzles #37
-33
@@ -1,33 +0,0 @@
|
|||||||
# Task E2 — Narrative Events and Puzzles
|
|
||||||
|
|
||||||
## Scope
|
|
||||||
|
|
||||||
Implemented E2 only:
|
|
||||||
|
|
||||||
- Load and execute the authored narrative-event and puzzle definitions already present in the ASCII content catalog.
|
|
||||||
- Add serializable `EventState` and an `EventEngine` for one-shot event triggering, condition-filtered choices, skill checks, node transitions, and authored effects.
|
|
||||||
- Preserve event progress in `FloorState.events`, including compatibility with the existing `resolved` field.
|
|
||||||
- Add a keyboard-driven `EventPanel` and connect player-cell interaction to opening, selecting, completing, dismissing, and journaling events.
|
|
||||||
- Cover narrative-note completion and pressure-plate rewards with unit and live-input end-to-end tests.
|
|
||||||
|
|
||||||
No E3 NPC/companion lifecycle or unrelated systems were added.
|
|
||||||
|
|
||||||
## Verification and capture
|
|
||||||
|
|
||||||
`./scripts/verify.sh` completed successfully on the finalized E2 tree:
|
|
||||||
|
|
||||||
```text
|
|
||||||
- Unit: 144 / 144 tests, 1,106 assertions
|
|
||||||
- Integration: 8 / 8 tests, 59,453 assertions
|
|
||||||
- E2E: 41 / 41 tests, 418 assertions
|
|
||||||
- Visual: passed (initial and exit captures)
|
|
||||||
```
|
|
||||||
|
|
||||||
Visual captures were generated and measured successfully:
|
|
||||||
|
|
||||||
```text
|
|
||||||
artifacts/visual-check.png: dungeon_non_black_pixels=489308
|
|
||||||
artifacts/visual-check-exit.png: dungeon_non_black_pixels=489252
|
|
||||||
```
|
|
||||||
|
|
||||||
The run reported no script or parse errors. Its only diagnostics were the pre-existing Godot/GUT third-party invalid-UID and resource-cleanup warnings; the verification runner completed with success.
|
|
||||||
Reference in New Issue
Block a user