Long ago the Gnome Gardeners' people dug into the hills. Walk far from the Green and you'll come upon their diggings in a steep hillside: a timbered tunnel with old cart tracks, a slope down into the rock, a forge room, a store room and a long dark drift beyond. Bring a light. Burnt-out lanterns light again with a piece of coal, and gnome crates hold what the diggers left behind: tools, ore, ingots, seeds, a brass compass for collectors, and torn maps that lead to a crate buried out on the land.
| 1 | name = "Gnome Diggings" |
| 2 | by = "Potluck" |
| 3 | kind = "world" |
| 4 | about = "Long ago the Gnome Gardeners' people dug into the hills. Walk far from the Green and you'll come upon their diggings in a steep hillside: a timbered tunnel with old cart tracks, a slope down into the rock, a forge room, a store room and a long dark drift beyond. Bring a light. Burnt-out lanterns light again with a piece of coal, and gnome crates hold what the diggers left behind: tools, ore, ingots, seeds, a brass compass for collectors, and torn maps that lead to a crate buried out on the land." |
| 5 | main = "main.luau" |
| 6 | version = 1 |
| 7 | license = "CC-BY-4.0" |
| 8 | |
| 9 | [needs] |
| 10 | world = "0.33" |
| 11 | tweak = "0.1" |
| 12 | store = "0.1" |
| 13 | ui = "0.2" |
| 14 | sound = "0.2" |
| 15 | |
| 16 | # planks in a frame, with the diggers' red hat burnt into the front |
| 17 | [blocks.gnome_crate] |
| 18 | name = "Gnome crate" |
| 19 | kind = "wood" |
| 20 | hardness = 2 |
| 21 | colors = { k = "#2e1c0c", a = "#5a3a1e", b = "#7a5030", c = "#94643a", r = "#a8382c", d = "#3a2412" } |
| 22 | side = """ |
| 23 | kkkkkkkkkkkkkkkk |
| 24 | kcbbbbbbbbbbbbck |
| 25 | kbcbbbbbbbbbbcbk |
| 26 | kbbcbbbrrbbbcbbk |
| 27 | kbbbcbbrrbbcbbbk |
| 28 | kaaaacrrrrcaaaak |
| 29 | kbbbbbrrrrbbbbbk |
| 30 | kbbbbrrrrrrbbbbk |
| 31 | kbbbbrrrrrrbbbbk |
| 32 | kbbbrrrrrrrrbbbk |
| 33 | kaaarrrrrrrraaak |
| 34 | kbbrrrrrrrrrrbbk |
| 35 | kbbcddddddddcbbk |
| 36 | kbcbbbbbbbbbbcbk |
| 37 | kcbbbbbbbbbbbbck |
| 38 | kkkkkkkkkkkkkkkk |
| 39 | """ |
| 40 | top = """ |
| 41 | kkkkkkkkkkkkkkkk |
| 42 | kbbbbbbbbbbbbbbk |
| 43 | kbbbbbbbbbbbbbbk |
| 44 | kaaaaaaaaaaaaaak |
| 45 | kbbbcbbbbbbcbbbk |
| 46 | kbbbbbbbbbbbbbbk |
| 47 | kaaaaaaaaaaaaaak |
| 48 | kbbbbbbbbbbbbbbk |
| 49 | kbbcbbbbbbbbcbbk |
| 50 | kaaaaaaaaaaaaaak |
| 51 | kbbbbbbbbbbbbbbk |
| 52 | kbbbbbbcbbbbbbbk |
| 53 | kaaaaaaaaaaaaaak |
| 54 | kbbbbbbbbbbbbbbk |
| 55 | kbbbbbbbbbbbbbbk |
| 56 | kkkkkkkkkkkkkkkk |
| 57 | """ |
| 58 | bottom = """ |
| 59 | kkkkkkkkkkkkkkkk |
| 60 | kaaaaaaaaaaaaaak |
| 61 | kaaaaaaaaaaaaaak |
| 62 | kaaaaaaaaaaaaaak |
| 63 | kaaaaaaaaaaaaaak |
| 64 | kaaaaaaaaaaaaaak |
| 65 | kaaaaaaaaaaaaaak |
| 66 | kaaaaaaaaaaaaaak |
| 67 | kaaaaaaaaaaaaaak |
| 68 | kaaaaaaaaaaaaaak |
| 69 | kaaaaaaaaaaaaaak |
| 70 | kaaaaaaaaaaaaaak |
| 71 | kaaaaaaaaaaaaaak |
| 72 | kaaaaaaaaaaaaaak |
| 73 | kaaaaaaaaaaaaaak |
| 74 | kkkkkkkkkkkkkkkk |
| 75 | """ |
| 76 | |
| 77 | # an old iron lantern hanging by its hook, its glass gone black with soot |
| 78 | [blocks.burnt_lantern] |
| 79 | name = "Burnt-out lantern" |
| 80 | kind = "glass" |
| 81 | hardness = 0.5 |
| 82 | solid = false |
| 83 | boxes = [[5, 2, 5, 11, 12, 11], [7, 12, 7, 9, 16, 9]] |
| 84 | colors = { k = "#1e1c1a", i = "#3a3633", g = "#4a4640", s = "#2a2724" } |
| 85 | picture = """ |
| 86 | .......kk....... |
| 87 | .......ii....... |
| 88 | .......kk....... |
| 89 | .......ii....... |
| 90 | .....kkkkkk..... |
| 91 | .....isgsgi..... |
| 92 | .....igggsi..... |
| 93 | .....igsggi..... |
| 94 | .....iggsgi..... |
| 95 | .....isgggi..... |
| 96 | .....igsgsi..... |
| 97 | .....iggggi..... |
| 98 | .....isgsgi..... |
| 99 | .....kkkkkk..... |
| 100 | ................ |
| 101 | ................ |
| 102 | """ |
| 103 | |
| 104 | # Use it on nothing to see where its cross is. |
| 105 | [items.torn_map] |
| 106 | name = "Torn map" |
| 107 | stack = 16 |
| 108 | colors = { p = "#dccb98", d = "#b8a46e", i = "#5a3418", r = "#b0302a" } |
| 109 | picture = """ |
| 110 | ................ |
| 111 | .p.d.pp.pppp.p.. |
| 112 | .pppppdpppppppp. |
| 113 | ..pppppppdppppp. |
| 114 | ..pdpppppprprpp. |
| 115 | .pppppdpppprppp. |
| 116 | .ppppppppdrprp.. |
| 117 | .ppdpppppippdpp. |
| 118 | ..ppppdiipppppp. |
| 119 | .pppppippdpppp.. |
| 120 | .ppdiippppppdpp. |
| 121 | .ppippdppppppp.. |
| 122 | ..pppppppdppppp. |
| 123 | .ppdppppppppdpp. |
| 124 | ..p.pp.pp.pp.pp. |
| 125 | ................ |
| 126 | """ |
| 127 | |
| 128 | # A relic: its needle points to the nearest diggings. |
| 129 | [items.brass_compass] |
| 130 | name = "Brass compass" |
| 131 | stack = 1 |
| 132 | relic = "A brass compass gone green at the edges. The gnomes made one for every digging, and its needle still finds them." |
| 133 | colors = { d = "#6e4e18", b = "#c89a3a", f = "#efe6cc", r = "#b0302a", n = "#2a2a2a" } |
| 134 | picture = """ |
| 135 | .......dd....... |
| 136 | .....dddddd..... |
| 137 | ...ddbbbbbbdd... |
| 138 | ..ddbbffrfbbdd.. |
| 139 | ..dbfffrrfffbd.. |
| 140 | .dbbfffrrfffbbd. |
| 141 | .dbffffrrffffbd. |
| 142 | .dbffffbbffffbd. |
| 143 | .dbffffbbffffbd. |
| 144 | .dbffffnnffffbd. |
| 145 | .dbbfffnnfffbbd. |
| 146 | ..dbfffnffffbd.. |
| 147 | ..ddbbfnffbbdd.. |
| 148 | ...ddbbbbbbdd... |
| 149 | .....dddddd..... |
| 150 | ................ |
| 151 | """ |
| 152 | |
| 153 | # The diggers' own pick: digs stone as well as a copper one, and never wears out. |
| 154 | [items.gnome_pick] |
| 155 | name = "Gnome's pick" |
| 156 | kind = "tool" |
| 157 | digs = { hard = 5, level = 3 } |
| 158 | colors = { s = "#a8b0b6", d = "#5a6066", w = "#7a5030", h = "#4e3018", r = "#b0302a" } |
| 159 | picture = """ |
| 160 | ................ |
| 161 | ....sssssss..... |
| 162 | ..ssdddddddss... |
| 163 | .sd.....r...ds.. |
| 164 | .s......rwh..s.. |
| 165 | ........wh...... |
| 166 | .......wh....... |
| 167 | .......wh....... |
| 168 | ......wh........ |
| 169 | ......wh........ |
| 170 | .....wh......... |
| 171 | .....wh......... |
| 172 | ....wh.......... |
| 173 | ....wh.......... |
| 174 | ...wh........... |
| 175 | ................ |
| 176 | """ |
| 177 | |
| 178 | # Relics (world 0.26): the Curator collects them and tells their stories. |
| 179 | [items.gnome_teapot] |
| 180 | name = "Gnome's teapot" |
| 181 | stack = 1 |
| 182 | relic = "A tin teapot no bigger than a fist, dented where it was dropped. The gnomes stopped for tea at every turn of the gallery, and left it warm on the forge." |
| 183 | colors = { d = "#3e4a52", t = "#8a9aa4", l = "#c9d4da", h = "#2a2a2a" } |
| 184 | picture = """ |
| 185 | ................ |
| 186 | ................ |
| 187 | .......dd....... |
| 188 | ......dttd...... |
| 189 | ....ddddddd..... |
| 190 | ...dttlttttd.... |
| 191 | .d.dtlltttttdd.. |
| 192 | dtddtltttttttdhd |
| 193 | .dttttttttttd.hd |
| 194 | ..dtttttttttdhd. |
| 195 | ...dttttttttdd.. |
| 196 | ...dttttttttd... |
| 197 | ....dttttttd.... |
| 198 | .....dddddd..... |
| 199 | ................ |
| 200 | ................ |
| 201 | """ |
| 202 | |
| 203 | [items.carved_gnome] |
| 204 | name = "Carved gnome" |
| 205 | stack = 1 |
| 206 | relic = "A little gnome carved from pine, its red hat worn pink by a thumb. Every digging had one by the forge, for luck, and to keep an eye on the fire." |
| 207 | colors = { r = "#b0302a", p = "#e07a6a", s = "#e8c9a0", w = "#f4f1e8", b = "#6b4a2a", d = "#3a2a1a" } |
| 208 | picture = """ |
| 209 | .......rr....... |
| 210 | ......rrrr...... |
| 211 | ......rprr...... |
| 212 | .....rrrrrr..... |
| 213 | .....rrrrrr..... |
| 214 | ....rrrrrrrr.... |
| 215 | .....ssssss..... |
| 216 | .....sdssds..... |
| 217 | .....wwssww..... |
| 218 | .....wwwwww..... |
| 219 | ......wwww...... |
| 220 | .....bbwwbb..... |
| 221 | ....bbbbbbbb.... |
| 222 | ....bbbbbbbb.... |
| 223 | .....dd..dd..... |
| 224 | ................ |
| 225 | """ |