-
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.
- Loading branch information
Showing
7 changed files
with
153 additions
and
19 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
data/scenarios/Testing/1780-structure-merge-expansion/00-ORDER.txt
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
nonoverlapping-structure-merge.yaml | ||
root-map-expansion.yaml | ||
structure-composition.yaml | ||
structure-composition.yaml | ||
sequential-placement.yaml |
62 changes: 62 additions & 0 deletions
62
data/scenarios/Testing/1780-structure-merge-expansion/sequential-placement.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,62 @@ | ||
version: 1 | ||
name: Flipped structure placement | ||
author: Karl Ostmo | ||
description: | | ||
Sequentially place structures that are larger than the map | ||
with flipped orientation. | ||
creative: false | ||
robots: | ||
- name: base | ||
dir: north | ||
known: [boulder, mountain] | ||
seed: 0 | ||
world: | ||
structures: | ||
- name: house | ||
structure: | ||
palette: | ||
'x': [stone, boulder] | ||
'A': [stone, mountain] | ||
'.': [stone] | ||
map: | | ||
xxxx | ||
x..x | ||
x..A | ||
xxAA | ||
- name: street pair | ||
structure: | ||
palette: | ||
'.': [grass] | ||
placements: | ||
- src: house | ||
offset: [-1, 0] | ||
orient: | ||
up: south | ||
map: | | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
- name: block | ||
structure: | ||
placements: | ||
- src: street pair | ||
orient: | ||
flip: true | ||
- src: street pair | ||
map: "" | ||
palette: | ||
'Ω': [grass, erase, base] | ||
placements: | ||
- src: block | ||
offset: [-2, -1] | ||
upperleft: [0, 0] | ||
dsl: | | ||
{grass} | ||
map: | | ||
Ω |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,47 @@ | ||
structures: | ||
- name: house | ||
structure: | ||
palette: | ||
'x': "#ff0000" | ||
'A': "#ff8800" | ||
'.': "#ffff00" | ||
map: | | ||
xxxx | ||
x..x | ||
x..A | ||
xxAA | ||
- name: street pair | ||
structure: | ||
palette: | ||
'.': "#00ff00" | ||
placements: | ||
- src: house | ||
offset: [-1, 0] | ||
orient: | ||
up: south | ||
map: | | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
. | ||
- name: block | ||
structure: | ||
placements: | ||
- src: street pair | ||
orient: | ||
flip: true | ||
- src: street pair | ||
map: "" | ||
palette: | ||
'Ω': "#00ffff" | ||
placements: | ||
- src: block | ||
offset: [-2, -1] | ||
upperleft: [0, 0] | ||
map: | | ||
Ω |
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