From 46c0efe1eb98a4d755c707d6ff711fc4b5e9abf7 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Sun, 10 Sep 2023 00:20:34 -0500 Subject: [PATCH] add test scenario + solution for `RobotIntoWater` achievement --- .../Testing/Achievements/RobotIntoWater.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 data/scenarios/Testing/Achievements/RobotIntoWater.yaml diff --git a/data/scenarios/Testing/Achievements/RobotIntoWater.yaml b/data/scenarios/Testing/Achievements/RobotIntoWater.yaml new file mode 100644 index 000000000..f1e32944c --- /dev/null +++ b/data/scenarios/Testing/Achievements/RobotIntoWater.yaml @@ -0,0 +1,37 @@ +version: 1 +name: RobotIntoWater achievement test +description: Drive a robot into the water +solution: | + build { turn right; move; move; move } +robots: + - name: base + loc: [0,0] + dir: [0,1] + heavy: true + display: + char: Ω + attr: robot + devices: + - 3D printer + - dictionary + - grabber + - welder + - life support system + - logger + - toolkit + - solar panel + - workbench + - clock + inventory: + - [5, 3D printer] + - [100, treads] + - [70, grabber] + - [100, solar panel] + - [50, scanner] + - [50, clock] + - [5, toolkit] +seed: 0 +world: + offset: true + dsl: | + "classic"