-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Structure placeholders in palette (#2086)
Closes #1647 ``` scripts/play.sh -i data/scenarios/Testing/2086-structure-palette.yaml --autoplay ``` ![Screenshot from 2024-07-31 10-49-57](https://github.com/user-attachments/assets/594cfc2f-a6d0-4143-a95d-43e7b5443c95)
- Loading branch information
Showing
7 changed files
with
96 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,3 +68,4 @@ Achievements | |
1533-sow-seed-maturation.yaml | ||
231-requirements | ||
2085-toplevel-mask.yaml | ||
2086-structure-palette.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
version: 1 | ||
name: Structure markers | ||
description: | | ||
Reference structures in the palette | ||
seed: 0 | ||
objectives: | ||
- goal: | ||
- | | ||
`grab` a `tree`{=entity}. | ||
condition: | | ||
as base {has "tree"}; | ||
solution: | | ||
move; move; grab; | ||
robots: | ||
- name: base | ||
dir: east | ||
devices: | ||
- treads | ||
- logger | ||
- grabber | ||
structures: | ||
- name: rect | ||
structure: | ||
palette: | ||
'o': [dirt, tree] | ||
map: | | ||
ooo | ||
ooo | ||
known: [water, tree] | ||
world: | ||
dsl: | | ||
{grass} | ||
offset: false | ||
palette: | ||
'B': [stone, erase, base] | ||
'.': [stone] | ||
'x': | ||
structure: | ||
name: rect | ||
cell: [grass] | ||
'z': | ||
structure: | ||
name: rect | ||
orientation: | ||
up: east | ||
cell: [grass] | ||
map: |- | ||
...... | ||
...z.. | ||
...... | ||
.B.... | ||
...... | ||
.x.... | ||
...... | ||
...... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters