feat: define authoritative action effects

This commit is contained in:
Rijad Zuzo
2026-08-12 20:21:14 +02:00
parent e27fc1a5c8
commit dd0fc7542c
8 changed files with 165 additions and 9 deletions
+5 -1
View File
@@ -4,5 +4,9 @@ extends RefCounted
# Offers are advisory presentation values. Implementations must not mutate
# authoritative state while answering this query.
func get_action_offers(_actor_id: StringName, _target: WorldTargetHandle) -> Array[ActionOffer]:
func get_offers(_actor: WorldEntityRef, _target: WorldTargetHandle) -> Array[ActionOffer]:
return []
func get_action_offers(actor_id: StringName, target: WorldTargetHandle) -> Array[ActionOffer]:
return get_offers(WorldEntityRef.create(SimulationIds.ENTITY_PERSON, actor_id), target)