swarm-0.6.0.0: data/scenarios/Testing/836-pathfinding/836-path-exists-find-location.yaml
version: 1
name: Builtin pathfinding - location target
description: |
Use `path` command to navigate to a location
creative: false
objectives:
- goal:
- Get the flower.
condition: |
as base {has "flower";}
solution: |
run "scenarios/Testing/836-pathfinding/_836-path-exists/find-location-solution.sw";
entities:
- name: wayfinder
display:
char: 'w'
description:
- Enables `path` command
properties: [known, pickable]
capabilities: [path]
robots:
- name: base
dir: east
devices:
- ADT calculator
- branch predictor
- comparator
- compass
- dictionary
- logger
- grabber
- treads
- wayfinder
known: [flower, mountain]
world:
palette:
'B': [grass, null, base]
'.': [grass]
'x': [stone, mountain]
'f': [grass, flower]
upperleft: [0, 0]
map: |
xxxxfx
x.Bx.x
x.xx.x
x....x
xxxxxx