diff --git a/examples/basic.ron b/examples/basic.ron new file mode 100644 index 0000000000000000000000000000000000000000..2b4addb86bb95c1aef5aef59b6b4ef275ee02dc1 --- /dev/null +++ b/examples/basic.ron @@ -0,0 +1,21 @@ +( + picker: {"FirstToScore": (threshold: 80.0)}, + choices: [( + consider: [{"Bladder": (weight: 3.0)}], + then: {"Thinker": ( + picker: {"FirstToScore": (threshold: 80.0)}, + choices: [( + consider: [{"Bladder": (weight: 3.0)}], + then: {"Pee": ()} + )] + )} + ), ( + consider: [{"Thirst": (weight: 2.0)}], + then: {"Drink": ()}, + ), ( + consider: [{"Hunger": (weight: 2.0)}], + then: {"Eat": ()}, + )], + otherwise: Some({"Meander": ()}), +) +