feat: replace activity markers with typed sites
This commit is contained in:
@@ -14,7 +14,7 @@ func resolve(
|
||||
npc, origin, definition, simulation_manager, active_world_adapter
|
||||
)
|
||||
SimulationIds.TARGET_ACTIVITY:
|
||||
return active_world_adapter.get_activity_target(npc.current_task)
|
||||
return active_world_adapter.get_activity_target(npc.current_task, origin)
|
||||
SimulationIds.TARGET_FREE:
|
||||
return {
|
||||
"target_id": "", "position": origin + simulation_manager.get_wander_offset(npc.id)
|
||||
|
||||
Reference in New Issue
Block a user