Files
gamedev-the-steward/simulation/commands/InteractionService.gd
T
2026-08-12 20:21:14 +02:00

13 lines
464 B
GDScript

class_name InteractionService
extends RefCounted
# Offers are advisory presentation values. Implementations must not mutate
# authoritative state while answering this query.
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)