feat: enforce activity site capacity

This commit is contained in:
2026-07-07 16:12:13 +02:00
parent 9d87372a15
commit 1c389ec23d
7 changed files with 87 additions and 26 deletions
+5 -4
View File
@@ -534,10 +534,11 @@ transactions. Successful food transfers emit serializable economic events, and
an active NPC visibly carries food between source, pantry, and consumption.
Guard, study, and rest are now authored `ActivitySite` instances at
`JajceWorld/WorldObjects/ActivitySites`. The adapter chooses the nearest loaded
site that supports the requested action. Capacity is currently presentation
metadata; reservation/enforced occupancy can be added when multiple NPCs
compete for the same social/workstation site.
`JajceWorld/WorldObjects/ActivitySites`. The adapter exposes loaded activity
site candidates with capacity metadata, and `ActionTargetResolver` skips sites
whose current NPC target claims already meet that capacity. These claims are
derived from authoritative NPC target state rather than a presentation-only
counter.
**Exit:** temporary activity markers and task-to-marker mapping are deleted,
not merely unused.