Source:
Local role: Represents one actor-driven state transition in one world and one space.
Big-picture role: Operational unit tying Actor, World, ResourceEffect, and ActionPrerequisite.
Inheritance:
Parameters and fields:
object_type: str = "action"actor_id: ObjectIdworld_id: ObjectIdspace_id: ObjectIdaction_type: str- resource_effects: List[ResourceEffect]
- prerequisites: List[ActionPrerequisite]
outcome_description: strstate_changes: JsonMap
Methods:
add_resource_effect(...)add_prerequisite(...)set_state_change(...)to_dict(...),from_dict(...)
See also:
