Open 0ffz opened 3 years ago
A pathfinder that would take a list of GearyConditions and map of ints to other pathfinders.
GearyCondition
If the conditions are met, try to run the pathfinders based on priority as defined by the map.
Syntax goal:
goals: 1: !<if> conditions: - !<health> within: 0..10 run: 1: !<mobzy:behaviour.throw_items> {} 2: !<anothergoal> {}
Check out geary's ConditionalAction for a really similar example
ConditionalAction
P.S. if someone has a better name than conditions for the list of conditions, lemme know!
conditions
A pathfinder that would take a list of
GearyCondition
s and map of ints to other pathfinders.If the conditions are met, try to run the pathfinders based on priority as defined by the map.
Syntax goal:
Check out geary's
ConditionalAction
for a really similar exampleP.S. if someone has a better name than
conditions
for the list of conditions, lemme know!