From 82bb61532c2be7ca09d86f486e20fecf2ec6c564 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 9 Apr 2023 10:59:31 +0300 Subject: [PATCH] Bigrm-4 fix and variation The "butterfly" shaped bigroom was missing the four fountains in the corners of the room - this was due to my copy-paste error when converting the bigrooms from des to lua. Also add some variation to the bigroom. --- dat/bigrm-4.lua | 20 ++++++++++++++++---- doc/fixes3-7-0.txt | 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/dat/bigrm-4.lua b/dat/bigrm-4.lua index 2e81c2aef..84fe424c0 100644 --- a/dat/bigrm-4.lua +++ b/dat/bigrm-4.lua @@ -14,10 +14,10 @@ des.map([[ -|.............................|-------|.............................|- -|.................................................................|- -|...............................................................|- - -|.............................................................|- - -|...........................................................|- - -|...........................................................|- - -|.............................................................|- + -|......LLLLL........................................LLLLL.....|- + -|.....LLLLL........................................LLLLL....|- + -|.....LLLLL........................................LLLLL....|- + -|......LLLLL........................................LLLLL.....|- -|...............................................................|- -|.................................................................|- -|.............................|-------|.............................|- @@ -27,6 +27,18 @@ des.map([[ ----------- ----------- ]]); +local terrains = { ".", ".", ".", ".", "P", "L", "-", "T", "W", "Z" }; +local tidx = math.random(1, #terrains); +local toterr = terrains[tidx]; +if (toterr ~= "L") then + des.replace_terrain({ fromterrain = "L", toterrain = toterr }); +end + +des.feature("fountain", 05,02); +des.feature("fountain", 05,15); +des.feature("fountain", 69,02); +des.feature("fountain", 69,15); + des.region(selection.area(01,01,73,16), "lit"); des.stair("up"); diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 03712543f..163b3893a 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -976,6 +976,7 @@ wielding a bec de corbin makes ravens generate peaceful moving with 'm' prefix allows hero to enter a known pit carefully rangers always succeed in disarming bear traps, unless impaired bigroom variant 2 may have ice floor in unlit areas +bigroom variant 4 may have two large squares of terrain in the middle some large monsters can knock back smaller monsters with a hit change Demonbane to a mace, make it the first sac gift for priests, and give it an invoke ability to banish demons