swarm-0.6.0.0: data/scenarios/Testing/_Validation/1575-recognized-placements-disallow-reorientation.yaml
version: 1
name: Structure recognizer - placement occlusion
description: |
Disallow recognized structures from being placed with non-default orientation.
creative: false
robots:
- name: base
dir: east
devices:
- treads
structures:
- name: red_jewel
recognize: [east]
structure:
mask: '.'
palette:
'r': [stone, pixel (R)]
map: |
rrrr
rrrr
known: [pixel (R), pixel (G)]
world:
name: root
dsl: |
{blank}
palette:
'.': [grass]
'B': [grass, null, base]
upperleft: [0, 0]
placements:
- src: red_jewel
offset: [2, -2]
orient:
up: west
map: |
.......
.......
B......
.......
.......