feat: share village needs with helpers

This commit is contained in:
Rijad Zuzo
2026-07-16 12:13:54 +02:00
parent 0332c57a89
commit d6e6a63048
17 changed files with 716 additions and 41 deletions
+20 -7
View File
@@ -472,7 +472,9 @@ follow camera.
The UI subscribes to village, task, event, knowledge, relationship, and
opportunity changes. It formats aggregate state and resolves known facts,
relationship causes, and opportunity lifecycle details through manager queries
without owning or recomputing simulation facts.
without owning or recomputing simulation facts. `village_whisper_hud.gd` is a
separate transient player layer that formats the same authoritative signals and
remains independent of the development overlays.
## Current runtime flow
@@ -556,6 +558,7 @@ NpcVisual navigates through the active world
│ ├── knowledge_retention_consequence_test.gd
│ ├── jajce_runtime_integration_test.gd
│ ├── npc_visual_lifecycle_test.gd
│ ├── opportunity_communication_helper_test.gd
│ ├── relationship_consequence_test.gd
│ ├── resource_node_player_parity_test.gd
│ ├── simulation_definitions_test.gd
@@ -579,7 +582,9 @@ NpcVisual navigates through the active world
│ │ └── ResourceNode.tscn
│ ├── active_world_adapter.gd
│ ├── world_view_manager.gd
│ └── ui/ui.gd
│ └── ui/
│ ├── ui.gd
│ └── village_whisper_hud.gd
├── main.tscn
└── project.godot
```
@@ -922,11 +927,19 @@ The ordinary in-progress NPC task can save normally, but no helper assignment,
quest acceptance, reward, or opportunity-specific event is persisted; ordinary
task-start history remains unchanged.
Milestone 7 remains in progress. The immediate next slice should prove the
combined information-to-help path: communicate an open need's exact trigger
once at a real shared activity, then re-derive the newly informed trusted NPC as
the autonomous helper. Keep the transfer direct and source-backed rather than
introducing generic dialogue or multi-hop rumours.
The first direct information-to-help path is complete. At shared activity, a
performer or direct witness now discusses the active need's exact trigger before
newer unrelated facts. The original event and first-source provenance remain
authoritative and one-hop. A newly informed trusted, supplied villager is then
re-derived and autonomously responds through ordinary action selection. A
single cardless warm-amber HUD ribbon presents the real need, named report,
helper response, and resolution without entering simulation or save state.
Milestone 7 remains in progress. The immediate next slice should add one
bounded player response hint only when no capable helper exists, derived from
the current player-usable finite source and real destination. It should clear
when help emerges or the need closes, without quest acceptance, waypoint state,
or a generic tracker.
The remaining simulation-garden target still aims for: