Module veloren_rtsim::ai

source ·

Modules

Structs

Constants

Traits

  • A trait that describes ‘actions’: long-running tasks performed by rtsim NPCs. These can be as simple as walking in a straight line between two locations or as complex as taking part in an adventure with players or performing an entire daily work schedule.

Functions

  • Perform an action with CASUAL priority (see choose).
  • An action that allows implementing a decision tree, with action prioritisation.
  • An action that immediately finishes without doing anything.
  • Perform an action with IMPORTANT priority (see choose).
  • An action that executes some code just once when performed.
  • Start a new action based on the state of the world (ctx) at the moment the action is started.
  • An action that consumes and performs an iterator of actions in sequence, one after another.
  • Perform an action with URGENT priority (see choose).
  • An action that allows implementing a decision tree, with action prioritisation.

Type Aliases