This commit is contained in:
2026-07-11 14:47:08 -05:00
parent 6dccf5fc23
commit 03185c9c68
17 changed files with 408 additions and 105 deletions
+11 -6
View File
@@ -1,6 +1,9 @@
[world]
name = "Dark Maze"
start = "cave"
# The player's own torch is small, so external lights clearly matter. Remove this
# line to fall back to the default radius of 10.
torch = 4
[scripts]
# An always-talking object. Placed behind a wall so it starts out of the player's
@@ -31,9 +34,10 @@ height = 15
dark = true
floor = { generator = "stone" }
# A room the player stands in, with a wall dividing it. The 'H' object sits in
# the far chamber behind the wall (out of sight until you walk around); the 'L'
# lantern sits in the open with the player.
# The 'H' object glows magenta inside a walled chamber: its light fills that room
# but the player can't see in until they line up with the gap in the wall. 'L' is
# an amber lantern out in the open, and 'T' is a wall torch (glowing terrain) off
# in a far corner — a warm point of light you'll only reach by walking to it.
[boards.cave.grid]
content = """
########################################
@@ -46,7 +50,7 @@ content = """
# #### ###### #
# #
# #
# #
# T #
# #
# #
# #
@@ -55,5 +59,6 @@ content = """
[boards.cave.grid.palette]
"#" = { kind = "wall", tile = "#", fg = "#808080", bg = "#404040" }
"@" = { kind = "player" }
"H" = { kind = "object", tile = 2, fg = "#cc66cc", bg = "#000000", solid = true, name = "hidden", script_name = "hidden" }
"L" = { kind = "object", tile = 15, fg = "#ffdd88", bg = "#000000", solid = true, name = "lantern", script_name = "lantern" }
"T" = { kind = "torch" } # glowing terrain: emits its own warm light
"H" = { kind = "object", tile = 2, fg = "#cc66cc", bg = "#000000", solid = true, light = 5, name = "hidden", script_name = "hidden" }
"L" = { kind = "object", tile = 15, fg = "#ffcc55", bg = "#000000", solid = true, light = 6, name = "lantern", script_name = "lantern" }