-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add drill test challenge! - add recipes with metal drill - make iron veins slightly more likely
- Loading branch information
Showing
6 changed files
with
138 additions
and
6 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
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 |
---|---|---|
|
@@ -6,6 +6,9 @@ robots: | |
- name: base | ||
loc: [0,0] | ||
dir: [0,0] | ||
display: | ||
char: Ω | ||
attr: robot | ||
world: | ||
seed: null | ||
offset: true |
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,76 @@ | ||
name: Test drill | ||
description: This is a developer playground and will be replaced with more suitable challenges soon. | ||
entities: | ||
- name: goal | ||
display: | ||
attr: device | ||
char: 'X' | ||
description: | ||
- Send robots to mine rock, iron and copper. | ||
properties: [portable] | ||
- name: knownwater | ||
display: | ||
attr: water | ||
char: ' ' | ||
description: | ||
- An infinite ocean of water. | ||
properties: [known, portable, growable, liquid] | ||
growth: [0,0] | ||
yields: water | ||
- name: knownwater' | ||
display: | ||
attr: water | ||
char: '~' | ||
description: | ||
- An infinite ocean of water. | ||
properties: [known, portable, growable, liquid] | ||
growth: [0,0] | ||
yields: water | ||
win: | | ||
try { | ||
i <- as base {has "iron ore"}; | ||
c <- as base {has "copper ore"}; | ||
s <- as base {has "rock"}; | ||
return (i && c && s) | ||
} { return false } | ||
robots: | ||
- name: base | ||
loc: [0,-2] | ||
dir: [1,0] | ||
display: | ||
char: Ω | ||
attr: robot | ||
devices: | ||
- logger | ||
- grabber | ||
- plasma cutter | ||
- 3D printer | ||
inventory: | ||
- [1, goal] | ||
- [2, metal drill] | ||
- [1, drill] | ||
- [2, logger] | ||
world: | ||
default: [ice, knownwater] | ||
palette: | ||
'.': [grass, null] | ||
' ': [ice, knownwater] | ||
'L': [grass, Linux] | ||
'T': [grass, tree] | ||
'~': [ice, knownwater'] | ||
'┌': [stone, upper left corner] | ||
'┐': [stone, upper right corner] | ||
'└': [stone, lower left corner] | ||
'┘': [stone, lower right corner] | ||
'─': [stone, horizontal wall] | ||
'│': [stone, vertical wall] | ||
'A': [stone, mountain] | ||
'C': [stone, copper vein] | ||
'I': [stone, iron vein] | ||
upperleft: [-1, 1] | ||
map: | | ||
┌──── ~~ | ||
│IAAT~ ~L~ | ||
│..AAA│ ~~ | ||
│....C│ ~ | ||
└─────┘ ~ |
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