feat: enforce activity site capacity
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user