13 lines
464 B
GDScript
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)
|