The sun never moves in the Long Dusk. Make a Dusk mirror (glass, gold and crystal, at the Workbench) and use it to step into the Gold, where duskwood hangs with ember pods and lanternbacks graze. West lie the salt flats of the Glare, where glints wait and sunstone runs under the crust; east, the Gloaming and the Long Night, frozen under the stars, where starglass grows and hushers drift. Sunstone, starglass and moonsilver make evensteel. A mirror waits where you came out, to take you home.
| 1 | name = "The Long Dusk" |
| 2 | by = "Potluck" |
| 3 | kind = "world" |
| 4 | about = "The sun never moves in the Long Dusk. Make a Dusk mirror (glass, gold and crystal, at the Workbench) and use it to step into the Gold, where duskwood hangs with ember pods and lanternbacks graze. West lie the salt flats of the Glare, where glints wait and sunstone runs under the crust; east, the Gloaming and the Long Night, frozen under the stars, where starglass grows and hushers drift. Sunstone, starglass and moonsilver make evensteel. A mirror waits where you came out, to take you home." |
| 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 | # The way there and back: a standing mirror that shows the dusk. |
| 17 | [blocks.dusk_mirror] |
| 18 | name = "Dusk mirror" |
| 19 | kind = "glass" |
| 20 | hardness = 1.5 |
| 21 | turns = true |
| 22 | glow = "so" |
| 23 | boxes = [[2, 0, 5, 14, 2, 11], [2, 2, 7, 14, 16, 9]] |
| 24 | colors = { g = "#c8963c", w = "#4a2a1a", a = "#241a48", b = "#46387e", c = "#b8606e", o = "#f08a40", s = "#ffc868", d = "#18122c" } |
| 25 | picture = """ |
| 26 | ..gggggggggggg.. |
| 27 | ..gwwwwwwwwwwg.. |
| 28 | ..gwaaaaaaaawg.. |
| 29 | ..gwaaaabaaawg.. |
| 30 | ..gwaabbbbaawg.. |
| 31 | ..gwbbbbbbbbwg.. |
| 32 | ..gwbbccccbbwg.. |
| 33 | ..gwccccccccwg.. |
| 34 | ..gwcoooooocwg.. |
| 35 | ..gwoossssoowg.. |
| 36 | ..gwddddddddwg.. |
| 37 | ..gwddadddadwg.. |
| 38 | ..gwwwwwwwwwwg.. |
| 39 | ..gggggggggggg.. |
| 40 | ..wwwwwwwwwwww.. |
| 41 | ..wwwwwwwwwwww.. |
| 42 | """ |
| 43 | |
| 44 | # Sunstone's light in a duskwood frame. |
| 45 | [blocks.sun_lamp] |
| 46 | name = "Sun lamp" |
| 47 | kind = "glass" |
| 48 | hardness = 0.8 |
| 49 | light = true |
| 50 | glow = "oys" |
| 51 | colors = { w = "#4a2a1a", k = "#6e3e20", o = "#e8802a", y = "#ffb848", s = "#fff0b8" } |
| 52 | picture = """ |
| 53 | wwwwwwwwwwwwwwww |
| 54 | wkkkkkkkkkkkkkkw |
| 55 | wkooooyyyyookkkw |
| 56 | wkooyyyyyyyyookw |
| 57 | wkoyyyssssyyyokw |
| 58 | wkoyysssssssyokw |
| 59 | wkyyssssssssyykw |
| 60 | wkyyssssssssyykw |
| 61 | wkyyssssssssyykw |
| 62 | wkyyssssssssyykw |
| 63 | wkoyysssssssyokw |
| 64 | wkoyyyssssyyyokw |
| 65 | wkooyyyyyyyyookw |
| 66 | wkkkooyyyyookkkw |
| 67 | wkkkkkkkkkkkkkkw |
| 68 | wwwwwwwwwwwwwwww |
| 69 | """ |
| 70 | |
| 71 | # ---- what the Long Dusk gives ---- |
| 72 | |
| 73 | # What sunstone ore breaks into, in the Glare's rock. |
| 74 | [items.sunstone] |
| 75 | name = "Sunstone" |
| 76 | colors = { k = "#6a2c08", o = "#e07a20", y = "#ffb840", s = "#fff0b0" } |
| 77 | picture = """ |
| 78 | ................ |
| 79 | ................ |
| 80 | .......kk....... |
| 81 | .....kkookk..... |
| 82 | ....koyyyyok.... |
| 83 | ...koyyssyyok... |
| 84 | ...koysssyyok... |
| 85 | ..koyysssyyyok.. |
| 86 | ..koyyssyyyyok.. |
| 87 | ..koyyyyyyysok.. |
| 88 | ...koyyyyysok... |
| 89 | ...kooyyyyook... |
| 90 | ....kkooookk.... |
| 91 | ......kkkk...... |
| 92 | ................ |
| 93 | ................ |
| 94 | """ |
| 95 | |
| 96 | # What starglass breaks into, under an iron pickaxe or better. |
| 97 | [items.starglass_shard] |
| 98 | name = "Starglass shard" |
| 99 | colors = { k = "#28447c", a = "#4468aa", b = "#7098d6", c = "#a4c4f2", s = "#f6fcff" } |
| 100 | picture = """ |
| 101 | ................ |
| 102 | .........s...... |
| 103 | ........ks...... |
| 104 | ........kcs..... |
| 105 | .......kbcs..... |
| 106 | .......kbcc..... |
| 107 | ......kabcs..... |
| 108 | ......kabcc..... |
| 109 | .....kaabcc..... |
| 110 | .....kabbcs..... |
| 111 | ....kaabbc...... |
| 112 | ....kabbcc...... |
| 113 | ....kabbc....... |
| 114 | .....kbc........ |
| 115 | ......k......... |
| 116 | ................ |
| 117 | """ |
| 118 | |
| 119 | # Moonsilver folded with sunstone and starglass. |
| 120 | [items.evensteel_ingot] |
| 121 | name = "Evensteel ingot" |
| 122 | recipe = { "Moonsilver ingot" = 1, Sunstone = 2, "Starglass shard" = 1 } |
| 123 | colors = { k = "#2a2a40", a = "#4e4e72", b = "#7676a6", c = "#a8a8d4", g = "#f0c878" } |
| 124 | picture = """ |
| 125 | ................ |
| 126 | ................ |
| 127 | ................ |
| 128 | ................ |
| 129 | ................ |
| 130 | .....kkkkkkkk... |
| 131 | ....kcccgcccbk.. |
| 132 | ...kccgcccccbk.. |
| 133 | ..kccccccccbak.. |
| 134 | ..kbbbbbbbbaak.. |
| 135 | ..kaaaaaaaaaak.. |
| 136 | ..kaaaaaaaaak... |
| 137 | ..kkkkkkkkkk.... |
| 138 | ................ |
| 139 | ................ |
| 140 | ................ |
| 141 | """ |
| 142 | |
| 143 | [items.evensteel_pickaxe] |
| 144 | name = "Evensteel pickaxe" |
| 145 | kind = "tool" |
| 146 | digs = { hard = 10, level = 6 } |
| 147 | recipe = { "Evensteel ingot" = 3, "Duskwood planks" = 2 } |
| 148 | colors = { s = "#a8a8d4", d = "#4e4e72", g = "#f0c878", w = "#7a3a1e", h = "#4a2212" } |
| 149 | picture = """ |
| 150 | ................ |
| 151 | ....sssssss..... |
| 152 | ..ssdddddddss... |
| 153 | .sd.....g...ds.. |
| 154 | .s......gwh..s.. |
| 155 | ........wh...... |
| 156 | .......wh....... |
| 157 | .......wh....... |
| 158 | ......wh........ |
| 159 | ......wh........ |
| 160 | .....wh......... |
| 161 | .....wh......... |
| 162 | ....wh.......... |
| 163 | ....wh.......... |
| 164 | ...wh........... |
| 165 | ................ |
| 166 | """ |
| 167 | |
| 168 | [items.evensteel_axe] |
| 169 | name = "Evensteel axe" |
| 170 | kind = "tool" |
| 171 | digs = { wood = 10, level = 6 } |
| 172 | recipe = { "Evensteel ingot" = 3, "Duskwood planks" = 2 } |
| 173 | colors = { s = "#a8a8d4", d = "#4e4e72", g = "#f0c878", w = "#7a3a1e", h = "#4a2212" } |
| 174 | picture = """ |
| 175 | ................ |
| 176 | .......sss...... |
| 177 | ......ssdds..... |
| 178 | .....sdddgwh.... |
| 179 | .....sddd.wh.... |
| 180 | ......sdwwh..... |
| 181 | .........wh..... |
| 182 | ........wh...... |
| 183 | ........wh...... |
| 184 | .......wh....... |
| 185 | .......wh....... |
| 186 | ......wh........ |
| 187 | ......wh........ |
| 188 | .....wh......... |
| 189 | .....wh......... |
| 190 | ................ |
| 191 | """ |
| 192 | |
| 193 | [items.evensteel_shovel] |
| 194 | name = "Evensteel shovel" |
| 195 | kind = "tool" |
| 196 | digs = { soft = 10, level = 6 } |
| 197 | recipe = { "Evensteel ingot" = 1, "Duskwood planks" = 2 } |
| 198 | colors = { s = "#a8a8d4", d = "#4e4e72", g = "#f0c878", w = "#7a3a1e", h = "#4a2212" } |
| 199 | picture = """ |
| 200 | ................ |
| 201 | ..........sss... |
| 202 | .........sddds.. |
| 203 | .........sddds.. |
| 204 | ........sdddds.. |
| 205 | .........sgds... |
| 206 | .........gw..... |
| 207 | ........wh...... |
| 208 | .......wh....... |
| 209 | .......wh....... |
| 210 | ......wh........ |
| 211 | ......wh........ |
| 212 | .....wh......... |
| 213 | ....hwh......... |
| 214 | ....hh.......... |
| 215 | ................ |
| 216 | """ |
| 217 | |
| 218 | [items.evensteel_sword] |
| 219 | name = "Evensteel sword" |
| 220 | kind = "weapon" |
| 221 | power = 6 |
| 222 | recipe = { "Evensteel ingot" = 2, "Glint scale" = 2, "Duskwood planks" = 1 } |
| 223 | colors = { k = "#2a2a40", m = "#a8a8d4", s = "#eeeeff", h = "#4a2212", g = "#f0c878" } |
| 224 | picture = """ |
| 225 | ..............ks |
| 226 | .............ksm |
| 227 | ............ksmk |
| 228 | ...........ksmk. |
| 229 | ..........ksmk.. |
| 230 | .........ksmk... |
| 231 | ........ksmk.... |
| 232 | .......ksmk..... |
| 233 | ..g...ksmk...... |
| 234 | ...g.ksmk....... |
| 235 | ....gsmk........ |
| 236 | ....hgk......... |
| 237 | ...hk.g......... |
| 238 | ..hk............ |
| 239 | .kk............. |
| 240 | ................ |
| 241 | """ |
| 242 | |
| 243 | [items.evensteel_helmet] |
| 244 | name = "Evensteel helmet" |
| 245 | kind = "armor" |
| 246 | slot = "head" |
| 247 | guard = 4 |
| 248 | warm = true |
| 249 | recipe = { "Evensteel ingot" = 4, "Hush silk" = 1 } |
| 250 | colors = { k = "#2a2a40", a = "#4e4e72", b = "#7676a6", c = "#a8a8d4", g = "#f0c878" } |
| 251 | picture = """ |
| 252 | ................ |
| 253 | ................ |
| 254 | ................ |
| 255 | .....kkkkkk..... |
| 256 | ....kccccccbk... |
| 257 | ...kccgccccbak.. |
| 258 | ...kcccccccbak.. |
| 259 | ...kcbbbbbbbak.. |
| 260 | ...kbaaaaaaaak.. |
| 261 | ...kbk....kaak.. |
| 262 | ...kbk....kak... |
| 263 | ...kak....kak... |
| 264 | ....k......k.... |
| 265 | ................ |
| 266 | ................ |
| 267 | ................ |
| 268 | """ |
| 269 | |
| 270 | [items.evensteel_coat] |
| 271 | name = "Evensteel coat" |
| 272 | kind = "armor" |
| 273 | slot = "body" |
| 274 | guard = 9 |
| 275 | warm = true |
| 276 | recipe = { "Evensteel ingot" = 7, "Hush silk" = 2 } |
| 277 | colors = { k = "#2a2a40", a = "#4e4e72", b = "#7676a6", c = "#a8a8d4", g = "#f0c878" } |
| 278 | picture = """ |
| 279 | ................ |
| 280 | .....kk..kk..... |
| 281 | ....kbbkkbbk.... |
| 282 | ...kbcbbbbcbk... |
| 283 | ..kbbbbbbbbbbk.. |
| 284 | ..kabbbggbbbak.. |
| 285 | ..kabbbbbbbbak.. |
| 286 | ..kaabbbbbbaak.. |
| 287 | ..kkaabbbbaakk.. |
| 288 | ...kaabbbbaak... |
| 289 | ...kaabbbbaak... |
| 290 | ...kaabggbaak... |
| 291 | ...kaaaaaaaak... |
| 292 | ...kkkkkkkkkk... |
| 293 | ................ |
| 294 | ................ |
| 295 | """ |
| 296 | |
| 297 | [items.evensteel_leggings] |
| 298 | name = "Evensteel leggings" |
| 299 | kind = "armor" |
| 300 | slot = "legs" |
| 301 | guard = 7 |
| 302 | warm = true |
| 303 | recipe = { "Evensteel ingot" = 6, "Hush silk" = 2 } |
| 304 | colors = { k = "#2a2a40", a = "#4e4e72", b = "#7676a6", c = "#a8a8d4", g = "#f0c878" } |
| 305 | picture = """ |
| 306 | ................ |
| 307 | ................ |
| 308 | ....kkkkkkkk.... |
| 309 | ....kggggggk.... |
| 310 | ....kbbbbbbk.... |
| 311 | ....kbcbbcbk.... |
| 312 | ....kbcbkcbk.... |
| 313 | ....kbbk.kbk.... |
| 314 | ....kbak.kbk.... |
| 315 | ....kbak.kbk.... |
| 316 | ....kbak.kbk.... |
| 317 | ....kbak.kbk.... |
| 318 | ....kaak.kaak... |
| 319 | ....kkkk.kkkk... |
| 320 | ................ |
| 321 | ................ |
| 322 | """ |
| 323 | |
| 324 | [items.evensteel_boots] |
| 325 | name = "Evensteel boots" |
| 326 | kind = "armor" |
| 327 | slot = "feet" |
| 328 | guard = 3 |
| 329 | warm = true |
| 330 | recipe = { "Evensteel ingot" = 3, "Hush silk" = 1 } |
| 331 | colors = { k = "#2a2a40", a = "#4e4e72", b = "#7676a6", c = "#a8a8d4", g = "#f0c878" } |
| 332 | picture = """ |
| 333 | ................ |
| 334 | ................ |
| 335 | ................ |
| 336 | ................ |
| 337 | ................ |
| 338 | ...kkkk..kkkk... |
| 339 | ...kcbk..kcbk... |
| 340 | ...kcbk..kcbk... |
| 341 | ...kcbk..kcbk... |
| 342 | ...kgbk..kgbk... |
| 343 | ...kbbak.kbbak.. |
| 344 | ..kbbbak.kbbbak. |
| 345 | ..kaaaak.kaaaak. |
| 346 | ..kkkkkk.kkkkkk. |
| 347 | ................ |
| 348 | ................ |
| 349 | """ |
| 350 | |
| 351 | # What ember pods break into: warm, sweet and a little glowing. |
| 352 | [items.ember_fruit] |
| 353 | name = "Ember fruit" |
| 354 | kind = "food" |
| 355 | food = 5 |
| 356 | says = "Warm and sweet, like the last of the sun." |
| 357 | colors = { k = "#56402a", r = "#a0260a", o = "#ff6a20", y = "#ffb860", s = "#ffecb8", l = "#7a8a30" } |
| 358 | picture = """ |
| 359 | ................ |
| 360 | ........k....... |
| 361 | ........kl...... |
| 362 | .......kll...... |
| 363 | ......rrrr...... |
| 364 | ....rroooorr.... |
| 365 | ...rooyyyooor... |
| 366 | ...roysyyyoor... |
| 367 | ..rooyyyyyoorr.. |
| 368 | ..roooyyyoooor.. |
| 369 | ..rrooooooooor.. |
| 370 | ...rrooooooorr.. |
| 371 | ....rrrooorrr... |
| 372 | ......rrrrr..... |
| 373 | ................ |
| 374 | ................ |
| 375 | """ |
| 376 | |
| 377 | # What a broken glint leaves: an evensteel sword takes two. |
| 378 | [items.glint_scale] |
| 379 | name = "Glint scale" |
| 380 | colors = { k = "#8a6a3a", a = "#e8dcc0", b = "#fff6e0", c = "#c8b894", s = "#ffffff" } |
| 381 | picture = """ |
| 382 | ................ |
| 383 | ................ |
| 384 | .......kk....... |
| 385 | ......kabk...... |
| 386 | .....kabbak..... |
| 387 | ....kacbsbak.... |
| 388 | ....kabbbbak.... |
| 389 | ...kacbbbbcak... |
| 390 | ...kabbbbbbak... |
| 391 | ...kacbbbbcak... |
| 392 | ....kabbbbak.... |
| 393 | ....kcabback.... |
| 394 | .....kcaack..... |
| 395 | ......kkkk...... |
| 396 | ................ |
| 397 | ................ |
| 398 | """ |
| 399 | |
| 400 | # What a husher leaves: evensteel armor is lined with it. |
| 401 | [items.hush_silk] |
| 402 | name = "Hush silk" |
| 403 | colors = { k = "#5a6078", a = "#c8cee0", b = "#e8ecf6", s = "#ffffff" } |
| 404 | picture = """ |
| 405 | ................ |
| 406 | ................ |
| 407 | .....kkkkk...... |
| 408 | ....kabbbak..... |
| 409 | ...kabsbbbak.... |
| 410 | ...kabbbbbbak... |
| 411 | ....kkabbbbak... |
| 412 | ......kabbbak... |
| 413 | .....kabbbak.... |
| 414 | ....kabbbak..... |
| 415 | ...kabbbbak..... |
| 416 | ...kabsbbak..... |
| 417 | ....kabbak...... |
| 418 | .....kkkk....... |
| 419 | ................ |
| 420 | ................ |
| 421 | """ |
| 422 | |
| 423 | # ---- sounds ---- |
| 424 | |
| 425 | [sounds.mirror] |
| 426 | caption = "The mirror's glass clouds over" |
| 427 | wave = "sine" |
| 428 | notes = [523, 659, 784, 1047, 784] |
| 429 | each = 0.18 |
| 430 | attack = 0.05 |
| 431 | decay = 0.4 |
| 432 | lowpass = 3000 |
| 433 | |
| 434 | [[sounds.mirror.layers]] |
| 435 | wave = "noise" |
| 436 | pitch = [800, 300] |
| 437 | length = 1.2 |
| 438 | gain = 0.2 |
| 439 | lowpass = 1200 |
| 440 | |
| 441 | [sounds.chitter] |
| 442 | caption = "Something chitters on the salt" |
| 443 | wave = "square" |
| 444 | notes = [1760, 1480, 1760, 1320] |
| 445 | each = 0.04 |
| 446 | attack = 0.002 |
| 447 | decay = 0.03 |
| 448 | lowpass = 5000 |
| 449 | |
| 450 | [sounds.hush] |
| 451 | caption = "A husher breathes out" |
| 452 | wave = "noise" |
| 453 | pitch = [2400, 900] |
| 454 | length = 1.1 |
| 455 | attack = 0.3 |
| 456 | decay = 0.6 |
| 457 | lowpass = 2600 |
| 458 | |
| 459 | [sounds.low] |
| 460 | caption = "A lanternback lows" |
| 461 | wave = "sine" |
| 462 | pitch = [140, 110] |
| 463 | length = 1.0 |
| 464 | attack = 0.15 |
| 465 | decay = 0.5 |
| 466 | lowpass = 600 |