feat: validate expanded resource discovery

This commit is contained in:
2026-07-07 16:08:40 +02:00
parent 4bfc09d5f6
commit b74573fe0e
6 changed files with 116 additions and 11 deletions
+6 -5
View File
@@ -652,11 +652,12 @@ Completed after the architecture gate:
The practical next sequence is:
1. Expand resource discovery with many finite `ResourceNode` instances placed
in meaningful foliage, animal-camp, berry, and village-stockpile contexts.
The first distance/safety/comfort scoring pass and small authored resource
spread exist; next, validate placement rules and grow the authored set
carefully rather than reintroducing abstract resource zones.
1. Continue growing resource discovery with finite `ResourceNode` instances
placed in meaningful foliage, animal-camp, berry, and village-stockpile
contexts. The first distance/safety/comfort scoring pass, twelve authored
resources, and placement validation exist; next additions should increase
authored variety only when they preserve reachability, stable IDs, scoring
metadata, and clear player interaction ranges.
2. Expand persistence only when schedules, player state, or a real save menu
creates a concrete requirement.
+6
View File
@@ -550,6 +550,12 @@ profession, and NPC comfort range. The first scoring pass stores
`safety_risk`, `comfort_distance`, and `discovery_priority` on resource state
and uses them when selecting NPC resource targets.
The first validated spread contains twelve finite resources: berry bushes and
patches, animal camps, trees, and one village woodpile. Placement is guarded by
headless tests for stable IDs, food/wood coverage, semantic contexts,
discovery metadata, navigation reachability, and non-overlapping pantry/player
interaction range.
## Test scenarios
At minimum, exercise: