regalrat.yml 758 B

12345678910111213141516171819202122232425262728
  1. - type: htnCompound
  2. id: RatServantCompound
  3. branches:
  4. - preconditions:
  5. - !type:HasOrdersPrecondition
  6. orders: enum.RatKingOrderType.Stay
  7. tasks:
  8. - !type:HTNCompoundTask
  9. task: IdleCompound
  10. - preconditions:
  11. - !type:HasOrdersPrecondition
  12. orders: enum.RatKingOrderType.Follow
  13. tasks:
  14. - !type:HTNCompoundTask
  15. task: FollowCompound
  16. - preconditions:
  17. - !type:HasOrdersPrecondition
  18. orders: enum.RatKingOrderType.CheeseEm
  19. tasks:
  20. - !type:HTNCompoundTask
  21. task: RatServantTargetAttackCompound
  22. - preconditions:
  23. - !type:HasOrdersPrecondition
  24. orders: enum.RatKingOrderType.Loose
  25. tasks:
  26. - !type:HTNCompoundTask
  27. task: SimpleHostileCompound