diff options
Diffstat (limited to 'crawl-ref/source/dat/clua/ziggurat.lua')
-rw-r--r-- | crawl-ref/source/dat/clua/ziggurat.lua | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/crawl-ref/source/dat/clua/ziggurat.lua b/crawl-ref/source/dat/clua/ziggurat.lua index 2e95545451..9df1acade1 100644 --- a/crawl-ref/source/dat/clua/ziggurat.lua +++ b/crawl-ref/source/dat/clua/ziggurat.lua @@ -190,11 +190,23 @@ local function clamp_in_bounds(x, y) end local function set_tiles_for_place(place) - local rock = dgn.lev_rocktile(place) - dgn.change_rock_tile(rock) +-- local rock = dgn.lev_rocktile(place) +-- local floor = dgn.lev_floortile(place) + local tileset = { + blue = "wall_zot_blue", + red = "wall_zot_red", + lightblue = "wall_zot_cyan", + magenta = "wall_zot_magenta", + green = "wall_zot_green", + white = "wall_vault" + } - local floor = dgn.lev_floortile(place) - dgn.change_floor_tile(floor) + local wall = tileset[ziggurat_wall_colour()] + if (wall == nil) then + wall = "wall_vault" + end + dgn.change_rock_tile(wall) + dgn.change_floor_tile("floor_vault") end local function set_floor_colour(colour) @@ -299,7 +311,7 @@ mset(with_props("place:Slime:$", { jelly_protect = true }), with_props("place:Lair:$", { weight = 5 }), "place:Crypt:$", "place:Abyss", - with_props("place:Shoal:$", { weight = 5 }), +-- with_props("place:Shoal:$", { weight = 5 }), with_props("place:Coc:$", { weight = 5 }), with_props("place:Geh:$", { weight = 5 }), with_props("place:Dis:$", { weight = 5 }), |