Fix: missing filled flags in various levels
This is an omission in the filled/prefilled unification. The default for filled on regions now being 0 meant that regions that had previously had no need for any fill declaration at all (regions' prefilled defaulted to 0 before this, the effect being to fill them) now failed to get filled. The rule of thumb is that all des.regions with a type for which filled is meaningful (e.g. special rooms) should declare the fill status. I added it to a bunch of temples even though this doesn't really seem to affect anything there (the priest and altar come with the altar definition). I assigned temples filled=1 and filled=2 loosely based on if there is ever being some other generation that would put other furniture or items in a temple, but the distinction should not affect anything right now. Cases fixed where non-temple regions weren't getting filled: - Barracks, a graveyard, and shops in Tou-goal - The beehive in the Wizard's Tower
This commit is contained in:
committed by
Pasi Kallinen
parent
441bb345d7
commit
78d46b3a76
@@ -82,9 +82,9 @@ des.region({ region={61,05,74,14},lit=1,type="ordinary",irregular=1 })
|
||||
-- A Sanctum for each alignment
|
||||
-- The shrines' alignments are shuffled for
|
||||
-- each game
|
||||
des.region({ region={04,07,10,11},lit=1,type="temple" })
|
||||
des.region({ region={34,03,40,07},lit=1,type="temple" })
|
||||
des.region({ region={64,07,70,11},lit=1,type="temple" })
|
||||
des.region({ region={04,07,10,11},lit=1,type="temple",filled=2 })
|
||||
des.region({ region={34,03,40,07},lit=1,type="temple",filled=2 })
|
||||
des.region({ region={64,07,70,11},lit=1,type="temple",filled=2 })
|
||||
|
||||
des.altar({ x=07, y=09, align=align[1],type="sanctum" })
|
||||
des.altar({ x=37, y=05, align=align[2],type="sanctum" })
|
||||
|
||||
Reference in New Issue
Block a user