Skip to content

Instantly share code, notes, and snippets.

@nex3
Created July 7, 2020 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nex3/44d90f2bd94d058c41e3ca139a96eaaf to your computer and use it in GitHub Desktop.
Save nex3/44d90f2bd94d058c41e3ca139a96eaaf to your computer and use it in GitHub Desktop.
picker: {type: FirstToScore, threshold: 80}
otherwise: {type: Meander}
choices:
- consider: [{type: Bladder, weight: 3}]
then:
type: Thinker
picker: {type: FirstToScore, threshold: 80}
choices:
- consider: [{type: Bladder, weight: 3}]
then: {type: Pee}
- consider: [{type: Thirst, weight: 2}]
then: {type: Drink}
- consider: [{type: Hunger, weight: 2}]
then: {type: Eat}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment