###############################################################################
# layout_pan_divisions.des: A layout_type_divisions layout for Pandemonium
#                           Primary vaults are ignored but often look OK.
###############################################################################


##############################################################
# layout_pan_divisions
#
# These are either very randomized encompass vaults, or
# subvault-based layouts.  Take your pick.
#
# Inspired by layout_subdivisions (previously layout_dis) and
# grunt_profane_halls.  Also sort of like Vaults:$.
#
# Theses are the only layout_type_divisions layout in
# Pandemonium and are intended to have a total weight of 25.
# If more forms or other layout_type_divisions layouts are
# added to the branch, the existing weights should be adjusted
# to avoid increasuing the total weight.
#



##############################################################
# layout_pan_divisions_a
#
# This is the original pan_divisions layout.
#
# This layout uses 5 subvaults to place a maze of adjoining
# rooms.  There are 4 quadrants (as in Vaults:$) and an octagon
# for the center.  Subvaults should have randomization and the
# allow_dup tag.  More quadrants and centers are welcome.
#
# Quadrants for this map should have the tag
# "pan_division_quadrant_a".
#
# Octagons should have the tag "pan_division_octagon".
#
NAME:     layout_pan_divisions_a
DEPTH:    Pan
WEIGHT:   15
ORIENT:   encompass
TAGS:     overwritable layout allow_dup unrand layout_type_divisions
SUBVAULT: A : pan_division_quadrant_a
SUBVAULT: B : pan_division_quadrant_a
SUBVAULT: C : pan_division_quadrant_a
SUBVAULT: D : pan_division_quadrant_a
SUBVAULT: E : pan_division_octagon
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBB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DDDDDDDDDDDDDDxxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP



##############################################################
#
# These are the quadrants for the layout_pan_divisions_a map.
#  They all must have the "pan_division_quadrant_b" tag.
#
# The octagons for themap center are farther down.
#

# Here in case people want to see or start from an empty
# quadrant for layout_pan_divisions_a.  The 'x's are areas that
# are normally not used.
NAME:    pan_division_quadrant_a_base
WEIGHT:  0
TAGS:    pan_division_quadrant_a allow_dup unrand
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxx.......................
xxxxxxxx.......................
xxxxxxxx........................
xxxxxxxx........................
xxxxxxxx........................
xxxxxxxx........................
xxxxxxxx..........................
xxxxxxxx..........................
xxxxxxxx..........................
xxxxxxxx..........................
xxxxxxxx.........................
xxxxxxxx.........................
xxxxxxxx.........................
xxxxxxxx..........................
xxxxxxxx.....................   ..
xxxxxxxx..................
xxxxxxxx.................
xxxxxxxx..........   ...
xxxxxxxx...
xxxxxxxx...
xxxxxxxx.
xxxxxxx
ENDMAP

# This one gets a lower weight and luniq because it is bigger
# than most.  If four of these were placed, the map would be too
# big.
NAME:    pan_division_quadrant_a1
WEIGHT:  5
TAGS:    pan_division_quadrant_a allow_dup unrand luniq
SHUFFLE: aa / yz
SHUFFLE: pq
SHUFFLE: rr / su
SHUFFLE: DE
SHUFFLE: FF / HZ
SHUFFLE: JK / LM
SHUFFLE: NO
SUBST:   aprDFJKN = .
SUBST:   qsyEHLO = x
SUBST:   uzZM = +
MAP
xxxxxxxpppppp....x.x.......xxx
xxxxxxxppppp....xx.xx......xxx
xxxxxxxpppp.....x...x.......xx
xxxxxxxppp.....xx...xx......xx
xxxxxxxpp......+.....+.......x
xxxxxxxp......xx.....xx......x
xxxxxxx.......x.......x.......
xxxxxxxxxx+xxxxyyyzyyyxxxx+xxx
xrrrrr.s....xxx.......JL.....x.
xrrrr..s...xx.xx.....JJLL...xx.
xrrr...u..xx...+.....K..M...x...
xrr....s.xx....xx...JJ..LL.xx...
xr.....sxx......x...J....L.+....
x......xx.......xx.JJ....Lxx....
xxxx+xxx.........x.J......x.......
DDD....xD........xxxxx+xxxxxxx+xxx
DD.....EDD.......Fx.......x.......
D......E.DD.....FFH.......x.......
.......EEEx+xxxxxHH.......x......
D......E.DD....x..HHH.....+......
DD.....EDD.....x....HZH...x......
DDD....xD......x......HHH.x.......
xxxx+xxx.......+........HHx..   ..
.......x.......x..........
N......x.......x.........
NN.....+.......x..   ...
NNN....x...
NNNN...x...
NNNNN..x.
NNNNNN.
ENDMAP

NAME:    pan_division_quadrant_a2
WEIGHT:  10
TAGS:    pan_division_quadrant_a allow_dup unrand
SHUFFLE: pq / rs
SHUFFLE: yz / uu
SHUFFLE: DE
SHUFFLE: FG
SHUFFLE: HJ / KL
SHUFFLE: MNO / PQR
SHUFFLE: SZ
SUBST:   pquDFHJMOS = .
SUBST:   ryEGKNPZ = x
SUBST:   szLQR = +
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxDxxxxxxxxxxxxxxxxxxxxxx
xxxxxxDDxxxxxxxxxxxxxxxxxxxxxx
xxxxE....EExxxxxFxxxxxxxxxxxxx
xxxx.....EExxxxFFFxxxxxxxxxxxx
xxxD......Exxx....PMxxxxxxxxxx
xxDD......Exx.....P.Mxxxxxxxxx
xxxx.......+......R..MxPx......
xxxxEE.....xx.....P.MM.Px......
xxxxEEEE...Dxx....PMM...x.......
xxxxxxxx+xDDxxx+xxxM....N.......
xxxxxxxx.xxxx.....x.....Q.......
xxxxxxx...xxx.....x.....x.......
xxxxxx.....xx.....x.....x.........
xxxxx.......+.....+....pxxx+xxxxxx
xxxxxx.....KxKK...x...ppr....y....
xxxxxxx...KKH.KLK.x..pp.s....yy...
xxxxxxxxJxxHHHHJxxx.pp..r.....z..
xxxxxxxxLK........xxxrsrr.....yy.
xxxxxxxx..........s.p...r......y.
xxxxxxZxxx........xqp...s......yy.
xxxxxxZZ.xxx.....xx.pp..r....   y.
xxxxxx.....x+x..xx...pp.rr
xxxxSS.......xxxx.....ppr
xxSSSS.........x..   ..p
xxxxSS.....
xxxxxx.....
xxxxxxZZ.
xxxxxxZx
ENDMAP

NAME:    pan_division_quadrant_a3
WEIGHT:  10
TAGS:    pan_division_quadrant_a allow_dup unrand
SHUFFLE: pq / rs
SHUFFLE: ua / yz
SHUFFLE: DE / FF
SHUFFLE: HH / JK
SUBST:   pqyFH = .
SUBST:   ruaDJ = x
SUBST:   szEK = +
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxyyyyyxxxxxxxxxxxxxxxxxx
xxxxxxxyyyyyxxxxxxxxxxxxxxxxxx
xxxxxxyyyyyyyxxxxxxxxxxxxxxxxx
xxxxxxyyyyyyyxxxxxxxxxxxxxxxxx
xxxxxxyyyyyyyz.....xxxxxxxxxxx
xxxxxxxyyyyyxx.....xxxxxxxxxxx
xxxxxxxyyyyyx.......xx.p..r....
xxxxxxxxxzxxx.......xx.pp.r....
xxxxxxx.....+.......+...p.r.....
xxxxxxx.....xx.....xx...pps.....
xxxxxx.......x.....x.....qr.....
xxxxxx......Jxxx+xxx.....px.....
xxxxxx......JHH...x.......x.......
xxxxxxx.....xH....xx+xxx+xxx+xxxxx
xxxxxFxDD...+.....xH.HH.......xx..
xxxxxFFFx+xxx....Hx...HH.....xx...
xxxxxFF...DDx...HHJ....HH...xx...
xxxxxFF.....xx+xxKJ.....HH.xx....
xxxxxFF...DDD..x..JJJKJJJxxx.....
xxxxxFF.DED....x..........x.......
xxxxxFxDD......+..........+..   ..
xxxxxxxD.......x..........
xxxxxxxD.......x.........
xxxxxxxD.......x..   ...
xxxxxxxD...
xxxxxxxD...
xxxxxxxD.
xxxxxxx
ENDMAP

NAME:    pan_division_quadrant_a4
WEIGHT:  10
TAGS:    pan_division_quadrant_a allow_dup unrand
SHUFFLE: pq / rs
SHUFFLE: ua
SHUFFLE: yz
SHUFFLE: DE
SHUFFLE: HH / JK
SHUFFLE: LM / NN
SUBST:   pquyDJL = .
SUBST:   razEHN = x
SUBST:   sKM = +
MAP
xxxxxxxxxxxxxxxxLLLxxxxxxxxxxx
xxxxxxxxxxxxxLLLLLLLLLxxxxxxxx
xxxxxxxxxxxxxxxxLLLxxxxxxxxxxx
xxxxxxxxxxxxxxxxxMxxxxxxxxxxxx
xxxxxxxxxxxxxxDDD.DDDxDDDDxxxx
xxxxxxxxxxxxxxD.....DxD...xxxx
xxxxxxuu...uuxD.....DxD...Dxxx
xxxxxx.......+.......+.....xxx
xxxxxx.......xD.....Dx.....Dxx.
xxxxxx.......xD.....DE......xx.
xxxxxx.......xDDD.DDDE......x...
xxxxxx.......xxxx+xxxx.....xx...
xxxxxxuu...uux.......x.....+....
xxxxxxxxx+xxxx.......xD...xx....
xxxxxxxx...xxx.......xD...x.......
xxxxxx.......x.......xx+xxxxxx+xxx
xxxxxx.......x.......xx.xyy.......
xxxxxx.......+.......xx.xxy.......
xxxxxx.......x.......+...xy......
xxxxxx.......xxxx+xxxx...xx......
xxxxxxKx...xxx.p....x.....+......
xxxJJJJxxx+x.r.p....x.....xz......
xxJJJJJxxx...rrp....xx...xxz.   ..
xJJJJJJx......sq.....+...x
JJJJJJJK......rx.....xx.x
JJJJJJxx.......x..   .x.
JJJJJxxx...
JJJJxxxx...
xxxxxxxx.
xxxxxxx
ENDMAP

# This one has a lower weight so the false center will be unusual.
NAME:     pan_division_quadrant_a5
WEIGHT:   5
TAGS:     pan_division_quadrant_a allow_dup unrand
SHUFFLE:  pq / rs
SHUFFLE:  yz
SHUFFLE:  DE
SHUFFLE:  JK
SHUFFLE:  LM / NO
SHUFFLE:  PQ / RS
SUBST:    pyDJLP = .
SUBST:    rszEKNOQR = x
SUBST:    qMS = +
SUBVAULT: A : pan_division_octagon
MAP
xxxxxxxxxxxxxxLLLLLLLxxxxxxxxx
xxxxxxxxxxxxxLLLLLLLxxxxxxxxxx
xxxxxxxxxxxxLLLLLLLxxxxxxxxxxx
xxxxxxxxxxxLLLLLLLxxxxxxxxxxxx
xxxxxxxxxxxxxMxxMxxxxxxxxxxxxx
xxxxxxxxppppp..x.JJJJJJxxxxxxx
xxxxxxxxxpp....x...JJJJxxxxxPx
xxxxxxxxxr.....x.....JJxxxxPPx
xxxxxxxrrrr....+.......QRR.....
xxxxxxxxxrrr...x.......xx......
xxxxxxxzxsxrr..x.......xP.......
xxxxxxx...xxxr.x.......SPP......
xxxxxyy.....xxxxxxx+xxxxPP......
xxxxxyy.....zzxxAA...AAxxPP.....
xxxxxyy.....xxxAAAAAAAAAxxP.......
xxxxxxx...xxxxAAAAAAAAAAAxxxxx+xxx
xxxxxxxzx+x.xAAAAAAAAAAAAAx.......
xxxxxxxxx...xAAAAAAAAAAAAAx.......
xxxxxxx.....x.AAAAAAAAAAA.x......
xxxxx.......+.AAAAAAAAAAA.+......
xxxEEEE.....x.AAAAAAAAAAA.x......
xxxEEEEEE.DDxAAAAAAAAAAAAAx.......
xxxEEEE.x+x.xAAAAAAAAAAAAAx..   ..
xxxEEExDD.EExxAAAAAAAAAAAx
xxxExxx.....xxxAAAAAAAAAx
xxxxxxx.......xxAA   AAx
xxxxxxx....
xxxxxxx....
xxxxxxx..
xxxxxxx
ENDMAP

NAME:    pan_division_quadrant_a6
WEIGHT:  10
TAGS:    pan_division_quadrant_a allow_dup unrand
SHUFFLE: pq / rs
SHUFFLE: yz
SHUFFLE: DD / EF
SHUFFLE: JK
SHUFFLE: LM / NO
SHUFFLE: PQ / RS
SHUFFLE: 12 / 34
SUBST:   pqyDJLMPQ12 = .
SUBST:   rzEKNR3 = x
SUBST:   sFOS4 = +
SUBST:   Z : xx.
MAP
xxxxxxxxxxxxxxxpppppxxxxxxxxxx
xxxxxxxxxxxxxxxppppppxxxxxxxxx
xxxxxxxxxxxxxxxpppppppxxxxxxxx
xxxxxxxxxxxxxxx........xxxxxxx
xxxxxxxxxxxxxxx.......xxxxxxxx
xxxxxxxxxxxxxxrrsr....x..xxxxx
xxxxxxxxxxxxxx...rr..xx....xxx
xxxxxxxxxxxxx.....rr.+.......x
xxxxxxxxxxxxp......rxx.......x.
xxxxxxxxxxxp........x.......xx.
xxxxxxxxxxxppppqppppx.......+...
xxxxxxxxxxx.........xxx....xx...
xxxxxxyyxxxx......Kxxxx+xKKx....
xxxxyyyyyyxxx.....xJJ...JJxx....
xxyy.......yxP...Px.......+..LML..
xxyy.......yxxxQPPx.......xNxxOxxN
xxyy.......yx.RSR.x.......xLL...LL
xxxy.......xx...RRx.......x.LL.LL.
xxxy.......+......+.......+..LML.
xxxx......zx......xJJ...JJx......
xxxx......zy.....xxKxx+xxxx......
xxxxxxxx+xxy.....+..E.....x.......
xxxxxxxx.xxx3433xx..EE....x..   ..
xxxxxxZZ...121.31....F....
xxxxZZZZ.....11x1....EE..
xxZZZZZZ.......x..   .E.
xxxxZZZZ...
xxxxxxZZ...
xxxxxxxx.
xxxxxxx
ENDMAP



##############################################################
# layout_pan_divisions_b
#
# The center of this map may be a simple wall plus, a pillar,
# or a small room.
#
# Quadrants for this map should have the tag
#  "pan_division_quadrant_b".
#
NAME:     layout_pan_divisions_b
DEPTH:    Pan
WEIGHT:   10
ORIENT:   encompass
TAGS:     overwritable layout allow_dup unrand layout_type_divisions
SHUFFLE: yz
SHUFFLE: as
SUBST:   y = a
SUBST:   z = s
SUBST:   a : suuu
SHUFFLE: pqrsu/pqrsu/JKLMN/OPQRS
SUBST:   R : S
SUBST:   S : P..
SUBST:   qsuJK = .
SUBST:   prLNOPQ = x
SUBST:   M = +
SUBVAULT: A : pan_division_quadrant_b
SUBVAULT: B : pan_division_quadrant_b
SUBVAULT: C : pan_division_quadrant_b
SUBVAULT: D : pan_division_quadrant_b
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxBBBBBBBBBBBBBBBBBBBBBBBBBBx
xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xDDDDDDDDDDDDDDDDDDDDDDDDDDxCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP



##############################################################
#
# These are the quadrants for the layout_pan_divisions_b map.
#  They all must have the "pan_division_quadrant_b" tag.
#

# An empty/base quadrant for layout_pan_divisions_b.  The 'x's
# are areas that are normally not used.
NAME:    pan_division_quadrant_b_base
WEIGHT:  0
TAGS:    pan_division_quadrant_b allow_dup unrand
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxx...........................
xxxxxxx...........................
xxxxxxx..........................
xxxxxxx..........................
xxxxxxx..........................
xxxxxxx...........................
xxxxxxx...........................
xxxxxxx...........................
xxxxxxx...........................
xxxxxxx..........................
xxxxxxx..........................
xxxxxxx........................
xxxxxxx........................
xxxxxxx........................
xxxxxxx........................
xxxxxxx.......................
xxxxxxx.......................
xxxxxxx.......................
xxxxxxx..   .................
                 ............
                     ......
                     ......
                       ..
ENDMAP

NAME:    pan_division_quadrant_b1
WEIGHT:  10
TAGS:    pan_division_quadrant_b allow_dup unrand
SHUFFLE: pq/rs
SUBST:   a : z.
SHUFFLE: yza
SHUFFLE: D/E
NSUBST:  M = 1:M / *:L
SHUFFLE: JK/LM
SHUFFLE: NOP/QRS
SUBST:   u : x..
SUBST:   z : x....
SUBST:   pqaDJKNO = .
SUBST:   ryzELPQ = x
SUBST:   sMRS = +
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxyxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxyxxxxxxuu..p..r....NQQ.....
xxxxxxyyyxxxxxu...p.rr....NQ......
xxxxxxyyyxxxxu....p.r.....xQ.....
xxxxx.....xxx.....qrr.....+......
xxxxx.....xx......ps.....QxQQ....
xxxx.......+......xr.....RN.QRQ...
xxxxz.....axx.....x......QN...QQQ.
xxxzz.....aax....xxxNNOxSxxNNNONxx
xxxzzz...aaaxx.xxx.x.QQQ..x.......
xxzzzz...aaaax+x...xxQ....xx.....
xxxxxxx+xxxxxx......+......+.....
xxE........x........xx.....xx..
xxxE.......xx........x......x..
xxxx........x........xx.....xx.
xxxxx.......xx........x......x.
xxxxxD.......+......xxxxxx+xxx
xxxxxxD......xx...x+x.J..L....
xxxxxxDD......x.xxx...J.LL....
xxxxxxxDD   ..xxx.....J.M....
                 .....KLL....
                     .JM...
                     .xL...
                       ..
ENDMAP

# This one has a lower weight so the octagon will be unusual.
NAME:     pan_division_quadrant_b2
WEIGHT:   5
TAGS:     pan_division_quadrant_b allow_dup unrand
SHUFFLE:  pq/rs
SUBST:    u : x.
SHUFFLE:  yz/aa
SHUFFLE:  DE/FF
SUBST:    H : x.
SHUFFLE:  JK/LM
SUBST:    pqaFJK = .
SUBST:    ryDL = x
SUBST:    szEM = +
SUBVAULT: A : pan_division_octagon
MAP
xxxxxxxxxxxxxxxxxxxxxxuxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxuxxxxxxxxxx
xxxxxxxxxxFxxxxxxxxx.xxuuxxxxxxxxx
xxxxxxxxxxFFFxxxxxxx.xxuu.xxxxxxxx
xxxxxxxxxFFFFFFxxxx...xxu..xxxxxxx
xxxxxxxxx........xx...xxu...xJxxxx
xxxxxxFFxDD......+.....xu...LJJJxx
xxxxxxFF..DED...xx.....xx...L.J...
xxxxxxFF....DDD.x.......+...MJJ...
xxxxxxF.......Dxxxxx+xxxx...LK...
xxxxxxF........xxAA...AAxx..xJ...
xxxxxx........xxAAAAAAAAAxx.x....
xxxxxxxxx+xxxxxAAAAAAAAAAAxxxpp...
xxxxxx.......xAAAAAAAAAAAAAx..pqp.
xxxxxx.......xAAAAAAAAAAAAAxrrsrxx
xxxxxx.......x.AAAAAAAAAAA.x......
xxxxxx.......+.AAAAAAAAAAA.+.....
xxxxxx.......x.AAAAAAAAAAA.x.....
xxxxxx.......xAAAAAAAAAAAAAx...
xxxxxx.......xAAAAAAAAAAAAAx...
xxxxxxxxx+xxxxxAAAAAAAAAAAxxx..
xxxxHHHH......xxAAAAAAAAAxx.xx.
xxxxxHH........xxAA...AAxx...x
xxxxxH..........xxxx+xxxx.....
xxxxxx..........+.......y.....
xxxxxx...   ....x......yy....
                 ......z.....
                     .yy...
                     .y....
                       ..
ENDMAP

NAME:    pan_division_quadrant_b3
WEIGHT:  10
TAGS:    pan_division_quadrant_b allow_dup unrand
SHUFFLE: pq/rs
SUBST:   u : x.
SHUFFLE: yz/aa
SHUFFLE: DD/EF
SHUFFLE: JK/LM
SHUFFLE: NO/PP
SUBST:   Z : x.
SUBST:   pqaEJKN = .
SUBST:   ryDLP = x
SUBST:   szFMO = +
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxNNNNNNxxxxxxxxxx.xuuxxxxxxxxxxx
xxxNNNNNxxxxxxxxx...xuuuuxxxxxxxxx
xxNNNNNNxxxxxxx.....xuuuuuuxxxxxxx
xxNNNNNxxxxxx.......+........x....
xNNNNNNxxxxZxxx.....x.......px....
xNNNNNxxxZZZZZx+x...x.......qr...
NNNNNNO.........xxx.x......pps...
xxxxxxx.........x.xxxxx....p.r...
xxxxxxxy.......Lx.....xxx.pp.r....
xxxxaaayy......MJ.....x.x+x..r....
xxxaaaa.yy....LLK....xx...xxxxxxxx
xxaaaaa..y....L.J....+......x.....
xxaaaaa..z...LL.JJJ.xx.....xx....
xxaaaaa..y...L..J.x+x......+.....
xxxaaaaaxx+xxxx+xLL.xxx...xx...
xxxxaaayy.....x.xx....x+x.x....
xxxxxxxy......x..xx.....xxx....
xxxxxxx.......x...xx.....+.....
xxxxxxx.......+....xx...Exxx+x
xxxxxxx.......x.....xx.EED....
xxxxxxx.......x......xxFDD....
xxxxxxx..   ..x.......x......
                 .....x......
                     .+....
                     .x....
                       ..
ENDMAP

NAME:    pan_division_quadrant_b4
WEIGHT:  10
TAGS:    pan_division_quadrant_b allow_dup unrand
SHUFFLE: pq/rs
SUBST:   u : x.
SHUFFLE: yz
SHUFFLE: DE/FF
SHUFFLE: JKL/MNO
SHUFFLE: PQH/RSZ
SUBST:   pqyDJKPQ = .
SUBST:   rzFLMHR = x
SUBST:   sENOSZ = +
MAP
xxxxxxxxxxxxxxxxxyxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxyyxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxyyyxxxxxxxxxxxxxxxx
xxxxxxxxxxxzzz....xxxxxxxxxxxxxxxx
xxxxxxxxxxxzz.....xxxxxxxxxxxxxxxx
xxxxxxxxxxxz......xxxxxxxxxxxxxxxx
xxxxxxxxxxx.......xxxxxxxxxxxxxxxx
xxxxxxxxxxy.......x.......xrrrrrr.
xxxxxxxxxyy.......+.......xrrrr...
xxxxxxxxyyy.......x.......xrr....
xxxxxxxxxxxxxx+xxxx.......+......
xxxxxxxuuuuu......x.......xrr....
xxxxxxxuuuuu......+.......x.rrr...
xxxxxxxuuuu.......x.......x...rsr.
xxxxxxxxuuu.....Mxxxx+xxxxxpppqpxx
xxDDDDDxuu......MK......x.x.......
xxDDDDDxxu......OJ.....xx.xx.....
xDDDDDDDE.......x......x...x.....
xDDDDDDDxxxx+xxxx.....xx...xx..
DDDDDDDDDx.....JM.....+.....+..
xDDDDDDDxx.....KN....xx.....xx.
xDDDDDDDE......JM....x.......x.
xxDDDDDxx......xxxxxxxxHxxZHxx
xxDDDDDx.......x......R..P....
xxxxxxxx......xx......R.PP....
xxxxxxx..   ..x.......R.Q....
                 .....SPP....
                     .RP...
                     .xP...
                       ..
ENDMAP

# This one is kind of big, so it has a lower weight.
NAME:    pan_division_quadrant_b5
WEIGHT:  5
TAGS:    pan_division_quadrant_b allow_dup unrand
NSUBST:  s = 1:s / *:r
SHUFFLE: pq/rs
SUBST:   u : x.
SHUFFLE: yza
SHUFFLE: DE/FF
SHUFFLE: HZ
SHUFFLE: JKL/MNO
SHUFFLE: PQ/RS
SUBST:   pqaDHJKPQ = .
SUBST:   ryzFZLMR = x
SUBST:   sENOS = +
MAP
xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx.xxx...xxx
xxxxxxxxxxxxxyxxxxxxxxx..xx.....xx
xxxxxxxxxxxxyyyxxxxxxxx..x.......x
xxxxxxxxzzz.....zzzxxx...+.......x
xxxxxxDxzz.......zzxxx...x.......x
xxxxDDDxz.........zxx....xx.....xx
xxDDDDDx...........xx.....xx...xx.
DDDDDDDE...........+.......xx+xx..
DDDDDDDx...........x......rx.....
DDDDDDDxxxxxx+xxxxxx......sq.....
DDDDDxxx.x.......x.xxx...rrp.....
DDDxEx...x......Rx...x+x.r.p......
Dxxx.....x......SP.....xxx.p......
xx.......+.....RRQ.....R.xxxxxxxxx
xxHH.....x.....R.P....RxPP.P..R...
xxHHHH...x....RR.P...P+P...P.RR..
xxHHHHHxZx....R..P.PPxR....P.R...
xxHHHxxxxxxxx+xxxxxx.R.....QRR.
xxHxxxxuuu......MJ.x+x.....PS..
xxxxxxxuuu......xJ...xxx...xR..
xxxxxxxuu.......x......xxx.x...
xxxxxxxuu......JO........xxxxx
xxxxxxxu.......KM.......xx....
xxxxxxxu......JJM.......+.....
xxxxxxx..   ..J.M......xx....
                 ......x.....
                     .xx...
                     .x....
                       ..
ENDMAP

NAME:    pan_division_quadrant_b6
WEIGHT:  10
TAGS:    pan_division_quadrant_b allow_dup unrand
SUBST:   u : xrr
SHUFFLE: pq/rs
SHUFFLE: yza
SHUFFLE: DE/FF
SHUFFLE: JKL/MNO
SHUFFLE: PQ/RS
SUBST:   Z : x.
SUBST:   pqyzDJKPQ = .
SUBST:   raFLMR = x
SUBST:   sENOS = +
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxDDDDDDDxxxxxxxxxxu
xxxxxxxxxxxxxxxxxDDDDDDDxxxxxxxxxu
xxxxxxxxxxxxxxxxxxDDDDDDDxxxxxxxuu
xxxxxxxxxxxxxxxxxxxDDDDDDDxxxxxxuu
xxxxxxxxxxxxxxxxxxxxDDDDDDDxxxxuuu
xxxxxxxxxxxxxxxxxxxxxxxxExxxxxxuuu
xxxxxxxxxxxxxxxxxxxxxx....r..p....
xxxxxxxxxxxxxxxxxxxxx.....r.pp....
xxxxxxxxxxxz...yyxxx......r.q....
xZZZ....xxzz....yxx.......spp....
xZZ.....xzzz.....x........rp.....
xZ......x........+........xp......
x.......+........x........x.......
xZ......x.....zzzx+xxx+xxxxxxx+xxx
xZZ.....xy....zzxx.x......x.......
xZZZ....xyy...zxx..xx.....xx.....
xxxxxxx+xxxx+xxx....+......x.....
xxxxxxx.......+.....xx.....xx..
xxxxxxx.......xxx....x......+..
xxxxxxxJJ.....x.x+x..xx.....xx.
xxxxxxxMxxOMMMx...xxx.x......x.
xxxxxxx...JKJ.x.....xxxxxx+xxx
xxxxxxx.....JJx.....R.P.......
xxxxxxx.......x.....R.P.......
xxxxxxx..   ..x.....RRP......
                 ....SQ......
                     Rx....
                     .x....
                       ..
ENDMAP



##############################################################
#
# These are the octagons.  They are mostly used for the center
#  of the layout_pan_divisions_a map.  Thay all must have the
#  "pan_division_octagon" tag.
#


NAME:    pan_division_octagon_empty
WEIGHT:  10
TAGS:    pan_division_octagon allow_dup unrand
MAP
   ..   ..
  .........
 ...........
.............
.............
 ...........
 ...........
 ...........
.............
.............
 ...........
  .........
   ..   ..
ENDMAP

NAME:    pan_division_octagon_box
WEIGHT:  10
TAGS:    pan_division_octagon allow_dup unrand luniq
SHUFFLE: py / rz
SHUFFLE: pqy / uuu
SUBST:   pq = x
SUBST:   y = +
SUBST:   ruz = .
SUBST:   A : .:35 I:5 Y:10
KFEAT:   I = exit_pandemonium
MAP
   ..   ..
  .........
 ....pyp....
...rqqzqqr...
...qp...pq...
 .pq.....qp.
 .yz..A..zy.
 .pq.....qp.
...qp...pq...
...rqqzqqr...
 ....pyp....
  .........
   ..   ..
ENDMAP

NAME:    pan_division_octagon_halves
WEIGHT:  10
TAGS:    pan_division_octagon allow_dup unrand
SHUFFLE: pq/rs
SUBST:   s = z
SUBST:   p = y
SHUFFLE: yz
SHUFFLE: JK/LM
SUBST:   L = D
SUBST:   M = E
SHUFFLE: DE/FF/FF
SUBST:   qyFJK = .
SUBST:   rzDL = x
SUBST:   EM = +
MAP
   .q   J.
  ..q...J..
 ...q...J...
....q...K....
rrrsz...DLMLL
 .yyx...D...
 ...xx+xx...
 ...D...xyy.
LLMLD...zsrrr
....K...q....
 ...J...q...
  ..J...q..
   .J   q.
ENDMAP

NAME:    pan_division_octagon_rings
WEIGHT:  5
TAGS:    pan_division_octagon allow_dup unrand
SHUFFLE: DEFH
NSUBST:  D = 1=+ / *=x
NSUBST:  E = 1=x+++ / *=x
NSUBST:  F = 1=x+ / *=x
NSUBST:  H = 1=xxx+ / *=x
SUBST:   p : xq
SUBST:   q : xxx.
SHUFFLE: rs
SUBST:   u = xy
SHUFFLE: yz
SUBST:   ry = .
SUBST:   sz = x
MAP
   ..   ..
  ..xHHHx..
 ..qp...pq..
..qq..r..qq..
.xp..xxx..px.
 D..xyyyx..F
 D.rxyuyxr.F
 D..xyyyx..F
.xp..xxx..px.
..qq..r..qq..
 ..qp...pq..
  ..xEEEx..
   ..   ..
ENDMAP

NAME:    pan_division_octagon_divided
WEIGHT:  5
TAGS:    pan_division_octagon allow_dup unrand
SUBST:   Z : pyy
SUBST:   S : xpp
SHUFFLE: py / qz
SUBST:   z = u
SUBST:   u : x...
SUBST:   y : x....
SUBST:   p = .
SUBST:   q = x
SUBST:   s : r.
SUBST:   r : x..
MAP
   .x   x.
  r.+...+.r
 rs.xx.xx.sr
.....xqx.....
x+x.upSpu.x+x
 .xxpyZypxx.
 ..qSZZZSq..
 .xxpyZypxx.
x+x.upSpu.x+x
.....xqx.....
 rs.xx.xx.sr
  r.+...+.r
   .x   x.
ENDMAP

NAME:    pan_division_octagon_altar
WEIGHT:  1
TAGS:    pan_division_octagon allow_dup unrand luniq
SHUFFLE: pqrs
SHUFFLE: uyz
SUBST:   p : xxx.
SUBST:   q : xx..
SUBST:   u : Y...
SUBST:   rsyz : .
SUBST:   B : A B:5 C
KFEAT:   A = altar_kikubaaqudgha
KFEAT:   B = altar_makhleb
KFEAT:   C = altar_yredelemnul
MAP
   ..   ..
  s.y.z.y.s
 ssr.....rss
..rqqp.pqqr..
.y.qqp.pqq.y.
 ..pppuppp..
 z...uBu...z
 ..pppuppp..
.y.qqp.pqq.y.
..rqqp.pqqr..
 ssr.....rss
  s.y.z.y.s
   ..   ..
ENDMAP
