Bigroom 2 can have ice floor in unlit areas
This commit is contained in:
@@ -29,17 +29,27 @@ des.map([[
|
|||||||
-- Dungeon Description
|
-- Dungeon Description
|
||||||
des.region(selection.area(01,01,73,16),"lit");
|
des.region(selection.area(01,01,73,16),"lit");
|
||||||
|
|
||||||
|
local darkness;
|
||||||
|
|
||||||
local choice = math.random(0, 3)
|
local choice = math.random(0, 3)
|
||||||
if choice == 0 then
|
if choice == 0 then
|
||||||
des.region(selection.area(01,07,22,09),"unlit");
|
darkness = selection.area(01,07,22,09)
|
||||||
des.region(selection.area(24,01,50,05),"unlit");
|
| selection.area(24,01,50,05)
|
||||||
des.region(selection.area(24,11,50,16),"unlit");
|
| selection.area(24,11,50,16)
|
||||||
des.region(selection.area(52,07,73,09),"unlit");
|
| selection.area(52,07,73,09);
|
||||||
elseif choice == 1 then
|
elseif choice == 1 then
|
||||||
des.region(selection.area(24,01,50,16),"unlit");
|
darkness = selection.area(24,01,50,16);
|
||||||
elseif choice == 2 then
|
elseif choice == 2 then
|
||||||
des.region(selection.area(01,01,22,16),"unlit");
|
darkness = selection.area(01,01,22,16)
|
||||||
des.region(selection.area(52,01,73,16),"unlit");
|
| selection.area(52,01,73,16);
|
||||||
|
end
|
||||||
|
|
||||||
|
if darkness ~= nil then
|
||||||
|
des.region(darkness,"unlit");
|
||||||
|
if percent(25) then
|
||||||
|
des.replace_terrain({ selection = darkness:grow(),
|
||||||
|
fromterrain = ".", toterrain = "I" });
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Stairs
|
-- Stairs
|
||||||
|
|||||||
@@ -970,6 +970,7 @@ make taming via magic harp be consistent with scroll of taming and charm
|
|||||||
wielding a bec de corbin makes ravens generate peaceful
|
wielding a bec de corbin makes ravens generate peaceful
|
||||||
moving with 'm' prefix allows hero to enter a known pit carefully
|
moving with 'm' prefix allows hero to enter a known pit carefully
|
||||||
rangers always succeed in disarming bear traps, unless impaired
|
rangers always succeed in disarming bear traps, unless impaired
|
||||||
|
bigroom variant 2 may have ice floor in unlit areas
|
||||||
|
|
||||||
|
|
||||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
Reference in New Issue
Block a user