-
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.
out-of-band identifier for root subworld
- Loading branch information
Showing
14 changed files
with
212 additions
and
29 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 |
---|---|---|
|
@@ -82,6 +82,7 @@ subworlds: | |
.p..f...P. | ||
b..b..b..b | ||
world: | ||
name: root | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
|
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 |
---|---|---|
|
@@ -89,6 +89,7 @@ subworlds: | |
.p......P. | ||
b..b..b..b | ||
world: | ||
name: root | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
|
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 |
---|---|---|
|
@@ -90,6 +90,7 @@ subworlds: | |
.p.t....P. | ||
b..b..b..b | ||
world: | ||
name: root | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
|
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 |
---|---|---|
|
@@ -170,6 +170,7 @@ subworlds: | |
..... | ||
..... | ||
world: | ||
name: root | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
|
87 changes: 87 additions & 0 deletions
87
data/scenarios/Testing/_Validation/144-subworld-uniqueness-enforcement-default.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,87 @@ | ||
version: 1 | ||
name: Subworld uniqueness (default name) | ||
description: | | ||
Has two unnamed subworlds, which fail uniquenss | ||
attrs: | ||
- name: portal_in | ||
fg: "#ff9a00" | ||
bg: "#ff5d00" | ||
- name: portal_out | ||
fg: "#00a2ff" | ||
bg: "#0065ff" | ||
entities: | ||
- name: telepad entrance | ||
display: | ||
attr: portal_in | ||
char: "o" | ||
description: | ||
- Portal entrance | ||
properties: [known] | ||
- name: telepad exit | ||
display: | ||
attr: portal_out | ||
char: "o" | ||
description: | ||
- Portal exit | ||
properties: [known] | ||
robots: | ||
- name: base | ||
dir: [1, 0] | ||
devices: | ||
- ADT calculator | ||
- branch predictor | ||
- comparator | ||
- compass | ||
- dictionary | ||
- GPS receiver | ||
- grabber | ||
- lambda | ||
- lodestone | ||
- logger | ||
- strange loop | ||
- treads | ||
- name: judge | ||
dir: [1, 0] | ||
system: true | ||
display: | ||
char: 'J' | ||
invisible: true | ||
known: [flower, boulder] | ||
subworlds: | ||
- default: [blank] | ||
palette: | ||
'.': [dirt] | ||
'f': [dirt, flower] | ||
'b': [dirt, boulder] | ||
'p': | ||
cell: [dirt, telepad exit] | ||
waypoint: | ||
name: portal_out2 | ||
'P': | ||
cell: [dirt, telepad entrance] | ||
waypoint: | ||
name: portal_in2 | ||
upperleft: [-1, 1] | ||
map: | | ||
b..b..b..b | ||
.p..f...P. | ||
b..b..b..b | ||
world: | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
'B': [grass, null, base] | ||
't': [ice, null, judge] | ||
'p': | ||
cell: [grass, telepad exit] | ||
waypoint: | ||
name: portal_out1 | ||
'P': | ||
cell: [grass, telepad entrance] | ||
waypoint: | ||
name: portal_in1 | ||
upperleft: [-1, 1] | ||
map: | | ||
.......... | ||
.p.Bt...P. | ||
.......... |
89 changes: 89 additions & 0 deletions
89
data/scenarios/Testing/_Validation/144-subworld-uniqueness-enforcement-named.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,89 @@ | ||
version: 1 | ||
name: Subworld uniqueness (explicit name) | ||
description: | | ||
Has two identically-named subworlds | ||
attrs: | ||
- name: portal_in | ||
fg: "#ff9a00" | ||
bg: "#ff5d00" | ||
- name: portal_out | ||
fg: "#00a2ff" | ||
bg: "#0065ff" | ||
entities: | ||
- name: telepad entrance | ||
display: | ||
attr: portal_in | ||
char: "o" | ||
description: | ||
- Portal entrance | ||
properties: [known] | ||
- name: telepad exit | ||
display: | ||
attr: portal_out | ||
char: "o" | ||
description: | ||
- Portal exit | ||
properties: [known] | ||
robots: | ||
- name: base | ||
dir: [1, 0] | ||
devices: | ||
- ADT calculator | ||
- branch predictor | ||
- comparator | ||
- compass | ||
- dictionary | ||
- GPS receiver | ||
- grabber | ||
- lambda | ||
- lodestone | ||
- logger | ||
- strange loop | ||
- treads | ||
- name: judge | ||
dir: [1, 0] | ||
system: true | ||
display: | ||
char: 'J' | ||
invisible: true | ||
known: [flower, boulder] | ||
subworlds: | ||
- name: foo | ||
default: [blank] | ||
palette: | ||
'.': [dirt] | ||
'f': [dirt, flower] | ||
'b': [dirt, boulder] | ||
'p': | ||
cell: [dirt, telepad exit] | ||
waypoint: | ||
name: portal_out2 | ||
'P': | ||
cell: [dirt, telepad entrance] | ||
waypoint: | ||
name: portal_in2 | ||
upperleft: [-1, 1] | ||
map: | | ||
b..b..b..b | ||
.p..f...P. | ||
b..b..b..b | ||
world: | ||
name: foo | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
'B': [grass, null, base] | ||
't': [ice, null, judge] | ||
'p': | ||
cell: [grass, telepad exit] | ||
waypoint: | ||
name: portal_out1 | ||
'P': | ||
cell: [grass, telepad entrance] | ||
waypoint: | ||
name: portal_in1 | ||
upperleft: [-1, 1] | ||
map: | | ||
.......... | ||
.p.Bt...P. | ||
.......... |
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
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