# File: t000001.txt

# Outpost


############### Additional default terrain settings ###############

# Default for castle reward
F:!:1:3

# Default for inn reward
F:@:1:3

# Default for Quest 1 = entrance is tree
F:z:96:3

# Default for Quest 18 = entrance is tree
F:y:96:3

# Default for Quest 25 = entrance is stone
F:x:63:3

# Default for Quest 28 = entrance is stone
F:w:63:3

# Default for Quest 27 = entrance is grass
F:v:89:3

# Default for Quest 31 = entrance is grass
F:s:89:3

# Default for Quest 32 = entrance is stone
F:r:63:3

# Default for Quest 33 = entrance is stone
F:q:63:3

# Default for Quest 12 = entrance is floor
F:p:1:3


############### Quest 1 - Thieves Hideout ###############

# Quest 1 untaken
?:[EQU $QUEST1 0]
F:b:129:3:0:0:0:0:0:1

# Quest 1 taken, entrance is quest entrance
?:[EQU $QUEST1 1]
F:z:8:3:0:0:0:0:0:1
F:b:129:3:0:0:0:0:0:1

# Quest 1 completed
?:[EQU $QUEST1 2]
F:b:129:3:0:0:0:0:0:1

# Quest 1 rewarding, reward is a Longsword, continue with quest 14
?:[EQU $QUEST1 3]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:17

# Quest 1 rewarding, reward is a Bastard Sword (Warrior), continue with quest 14
?:[AND [EQU $QUEST1 3] [EQU $CLASS Warrior]]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:20

# Quest 1 rewarding, reward is a War Hammer (Priest), continue with quest 14
?:[AND [EQU $QUEST1 3] [EQU $CLASS Priest]]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:37

# Quest 1 rewarding, reward is a Long bow (Ranger, Archer), continue with quest 14
?:[AND [EQU $QUEST1 3] [EQU $CLASS Ranger Archer]]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:72

# Quest 1 rewarding, reward is a Mattock (Archaeologist), continue with quest 14
?:[AND [EQU $QUEST1 3] [EQU $CLASS Archaeologist]]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:92

# Quest 1 rewarding, reward is a Light Xbow (Sniper), continue with quest 14
?:[AND [EQU $QUEST1 3] [EQU $CLASS Sniper]]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:73

# Quest 1 rewarding, reward is a wand of Acid Bolt (Device-User), continue with quest 14
?:[AND [EQU $QUEST1 3] [EQU $CLASS Device-User]]
F:b:129:3:0:0:0:0:0:14
F:!:1:3:0:293

# Quest 1 finished, continue with quest 14
?:[EQU $QUEST1 4]
F:b:129:3:0:0:0:0:0:14

# Quest 1 failed, wait for the player to enter the castle
?:[EQU $QUEST1 5]
F:b:129:3:0:0:0:0:0:1

# Quest 1 failed but done, continue with quest 14
?:[EQU $QUEST1 6]
F:b:129:3:0:0:0:0:0:14

?:1


############### Quest 14 - Warg problem ###############

# Quest 14 unfinished
?:[EQU $QUEST14 1]
F:b:129:3:0:0:0:0:0:14

# Quest 14 completed
?:[EQU $QUEST14 2]
F:b:129:3:0:0:0:0:0:14

# Quest 14 rewarding, reward is a Large Metal Shield,
# continue with quest 25
?:[EQU $QUEST14 3]
F:b:129:3:0:0:0:0:0:25
F:!:1:3:0:149

# Archaeologists: continue with quest 12
?:[AND [EQU $QUEST14 3] [EQU $CLASS Archaeologist]]
F:b:129:3:0:0:0:0:0:12
F:!:1:3:0:149

# Continue with quest 25
?:[EQU $QUEST14 4]
F:b:129:3:0:0:0:0:0:25

# Archaeologists: continue with quest 12
?:[AND [EQU $QUEST14 4] [EQU $CLASS Archaeologist]]
F:b:129:3:0:0:0:0:0:12

?:1


############### Quest 12 - Mistc City ###############

# Quest 12 unfinished, entrance is quest entrance
?:[EQU $QUEST12 1]
F:p:8:3:0:0:0:0:0:12
F:b:129:3:0:0:0:0:0:12

# Quest 12 completed
?:[EQU $QUEST12 2]
F:b:129:3:0:0:0:0:0:12

# Quest 12 no rewarding
# continue with quest 25
?:[EQU $QUEST12 3]
F:b:129:3:0:0:0:0:0:25

# Continue with quest 25
?:[EQU $QUEST12 4]
F:b:129:3:0:0:0:0:0:25

# Quest 12 failed, wait for the player to enter the castle
?:[EQU $QUEST12 5]
F:b:129:3:0:0:0:0:0:12

# Quest 12 failed but done, continue with quest 25
?:[EQU $QUEST12 6]
F:b:129:3:0:0:0:0:0:25

?:1


############### Quest 25 - Haunted House ###############

# Quest 25 assigned, entrance is quest entrance
?:[EQU $QUEST25 1]
F:x:8:3:0:0:0:0:0:25
F:b:129:3:0:0:0:0:0:25

# Quest 25 completed
?:[EQU $QUEST25 2]
F:b:129:3:0:0:0:0:0:25

# Quest 25 rewarding, reward is Staff of Dispel Evil,
# continue with quest 18
?:[EQU $QUEST25 3]
F:b:129:3:0:0:0:0:0:18
F:!:1:3:0:338

# Quest 25 finished, continue with quest 18
?:[EQU $QUEST25 4]
F:b:129:3:0:0:0:0:0:18

# Quest 25 failed, wait for the player to enter the castle
?:[EQU $QUEST25 5]
F:b:129:3:0:0:0:0:0:25

# Quest 25 failed but done, continue with quest 18
?:[EQU $QUEST25 6]
F:b:129:3:0:0:0:0:0:18

?:1


############### Quest 18 - Water Cave ###############

# Quest 18 assigned, entrance is quest entrance
?:[EQU $QUEST18 1]
F:y:8:3:0:0:0:0:0:18
F:b:129:3:0:0:0:0:0:18

# Quest 18 completed
?:[EQU $QUEST18 2]
F:b:129:3:0:0:0:0:0:18

# Quest 18 rewarding, reward is Ring of Poison Resistance,
# continue with quest 28
?:[EQU $QUEST18 3]
F:b:129:3:0:0:0:0:0:28
F:!:1:3:0:178

# Quest 18 finished, continue with quest 28
?:[EQU $QUEST18 4]
F:b:129:3:0:0:0:0:0:28

?:1


############### Quest 28 - The Royal Crypt ###############

# Quest 28 assigned, entrance is quest entrance
?:[EQU $QUEST28 1]
F:w:8:3:0:0:0:0:0:28
F:b:129:3:0:0:0:0:0:28

# Quest 28 completed
?:[EQU $QUEST28 2]
F:b:129:3:0:0:0:0:0:28

# Quest 28 rewarding, you don't get none, no new quest available
?:[EQU $QUEST28 3]
F:b:129:3

# Quest 28 finished, no new quest available
?:[EQU $QUEST28 4]
F:b:129:3

# Quest 28 failed, no new quest available
?:[EQU $QUEST28 5]
F:b:129:3:0:0:0:0:0:28

# Quest 28 failed but done, no new quest available
?:[EQU $QUEST28 6]
F:b:129:3

?:1


############### Quest 31 - Old Man Willow Quest ###############

# Quest 31 untaken
?:[EQU $QUEST31 0]
F:a:128:3:0:0:0:0:0:31

# Quest 31 taken, entrance is quest entrance
?:[EQU $QUEST31 1]
F:s:8:3:0:0:0:0:0:31
F:a:128:3:0:0:0:0:0:31

# Quest 31 completed
?:[EQU $QUEST31 2]
F:a:128:3:0:0:0:0:0:31

# Quest 31 rewarding, Ring of confusion resistance
# continue with quest 32
?:[EQU $QUEST31 3]
F:a:128:3:0:0:0:0:0:32
F:@:1:3:0:182

# Quest 31 finished, continue with quest 32
?:[EQU $QUEST31 4]
F:a:128:3:0:0:0:0:0:32

# Quest 31 failed, wait for the player to enter the Inn
?:[EQU $QUEST31 5]
F:a:128:3:0:0:0:0:0:31

# Quest 31 failed but done, continue with quest 32
?:[EQU $QUEST31 6]
F:a:128:3:0:0:0:0:0:32

?:1


############### Quest 32 - Dark Elven Lords Quest ###############

# Quest 32 taken, entrance is quest entrance
?:[EQU $QUEST32 1]
F:r:8:3:0:0:0:0:0:32
F:a:128:3:0:0:0:0:0:32

# Quest 32 completed
?:[EQU $QUEST32 2]
F:a:128:3:0:0:0:0:0:32

# Quest 32 rewarding, The Incandescent Light of Edison
# continue with quest 33
?:[EQU $QUEST32 3]
F:a:128:3:0:0:0:0:0:33
F:@:1:3:0:0:0:7

# Quest 32 finished, continue with quest 33
?:[EQU $QUEST32 4]
F:a:128:3:0:0:0:0:0:33

# Quest 32 failed, wait for the player to enter the Inn
?:[EQU $QUEST32 5]
F:a:128:3:0:0:0:0:0:32

# Quest 32 failed but done, continue with quest 33
?:[EQU $QUEST32 6]
F:a:128:3:0:0:0:0:0:33

?:1


############### Quest 33 - The Cloning Pits ###############

# Quest 33 taken, entrance is quest entrance
?:[EQU $QUEST33 1]
F:q:8:3:0:0:0:0:0:33
F:a:128:3:0:0:0:0:0:33

# Quest 33 completed
?:[EQU $QUEST33 2]
F:a:128:3:0:0:0:0:0:33

# Quest 33 rewarding
# reward is The Pair of Soft Leather Boots of Shiva's Avatar
# no new quest is available
?:[EQU $QUEST33 3]
F:a:128:3:0:0:0:0:0:27
F:@:1:3:0:0:0:63

# Quest 33 finished, no new quest is available
?:[EQU $QUEST33 4]
F:a:128:3:0:0:0:0:0:27

# Quest 33 failed, wait for the player to enter the Inn
?:[EQU $QUEST33 5]
F:a:128:3:0:0:0:0:0:33

# Quest 33 failed but done, no new quest is available
?:[EQU $QUEST33 6]
F:a:128:3:0:0:0:0:0:27

?:1


############### Quest 27 - The Old Castle ###############

# Quest 27 assigned, entrance is quest entrance
?:[EQU $QUEST27 1]
F:v:8:3:0:0:0:0:0:27
F:a:128:3:0:0:0:0:0:27

# Quest 27 completed
?:[EQU $QUEST27 2]
F:a:128:3:0:0:0:0:0:27

# Quest 27 rewarding (default reward if not given one from below)
# the Executioner's Sword 'Slayer'
# continue with quest 33
?:[EQU $QUEST27 3]
F:a:128:3
F:@:1:3:0:0:0:123

# Quest 27 rewarding (Rogue gets Cloak of Houdini)
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Rogue] ]
F:a:128:3
F:@:1:3:0:0:0:43

# Quest 27 rewarding (Monk gets The Leather Jacket of Shiva's Avatar)
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Monk] ]
F:a:128:3
F:@:1:3:0:0:0:26

# Quest 27 rewarding (Mage, High-Mage, Mindcrafter, and Priest)
# get Hard Leather Cap of Ben Franklin
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Mage High-Mage Mindcrafter Priest]]
F:a:128:3
F:@:1:3:0:0:0:33

# Quest 27 rewarding (Ranger)
# get Trident of Ulmo
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Ranger]]
F:a:128:3
F:@:1:3:0:0:0:108

# Quest 27 rewarding (Archer)
# get Long Bow of Bard
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Archer]]
F:a:128:3
F:@:1:3:0:0:0:125

# Quest 27 rewarding (Archaeologist)
# get Mattck of Nine
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Archaeologist] ]
F:a:128:3
F:@:1:3:0:0:0:155

# Quest 27 rewarding (Elementalist)
# get The Stone of Flying
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Elementalist]]
F:a:128:3
F:@:1:3:0:0:0:14

# Quest 27 rewarding (Sniper)
# get The Shadow Cloak of Tuor
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Sniper]]
F:a:128:3
F:@:1:3:0:0:0:50

# Quest 27 rewarding (Snatcher)
# get The Jewel 'Evenstar'
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Snatcher]]
F:a:128:3
F:@:1:3:0:0:0:168

# Quest 27 rewarding (Device-User gets a wand of disintegrate)
# continue with quest 33
?:[AND [EQU $QUEST27 3] [EQU $CLASS Device-User] ]
F:a:128:3
F:@:1:3:0:316

# Quest 27 finished, continue with quest 33
?:[EQU $QUEST27 4]
F:a:128:3

# Quest 27 failed, wait for the player to enter the inn
?:[EQU $QUEST27 5]
F:a:128:3:0:0:0:0:0:27

# Quest 27 failed but done, continue with quest 33
?:[EQU $QUEST27 6]
F:a:128:3

?:1


############### Buildings ###############

B:$0:N:The White Horse Inn:Otick:Human
B:0:N:旅の宿『白馬亭』:オティック:人間
B:$0:A:0:Rest for the night:20:20:r:17:0
B:0:A:0:一泊する:20:20:r:17:0
B:$0:A:1:buy Food and drink:1:1:f:18:1
B:0:A:1:食事をする:1:1:f:18:1
B:$0:A:2:Listen for rumors:5:5:u:19:0
B:0:A:2:噂を聞く:5:5:u:19:0
B:$0:A:3:request Quest:0:0:q:6:0
B:0:A:3:クエスト:0:0:q:6:0
B:$0:R:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:0:0:0:0:0:0:1
B:0:R:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:0:0:0:0:0:0:1

B:$1:N:Mayor:Uldrik:Human
B:1:N:村長:ウルドリック:人間
B:$1:A:0:Request quest:0:0:q:6:0
B:1:A:0:クエスト:0:0:q:6:0



############### Town Layout ###############

D:######################################################################################################################################################################################################
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.-TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT-.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT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TTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.-TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTWWWWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT--------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.----TTTTTTTTTTTTTTTTTTTTTTTTTTTTT-------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#WWWWTTTTTWWWWWWWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT-------------------------------------------.-----------------------------------------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT-------------------------------------------.-----------------------------------------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.............................................................................----TTTTTTTTTTTT.............TTTTTTTT--s---TTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTWWWWWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT--.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.-----TTTTTT.....TTTTTTTTTTTT......T---------TTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTWWWWTTTTTTTTTTTTTTTTTTTTTTTTTT---.-WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW,.------.....TTTTTTTTTTTTTTTTTTTTTT-----------TTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWWWTTTTTTTTTTTTTTTTTTTTT---.-W####WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW####W,.----...TTTTTTTTTTTTTTTTTTTTTTTTTT------v-----TTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWWTTTTTTTTTTTTTTTTT---.-W#######################################################################W,......TTTTTTTTTTTTTTTTTTTTTTTTTTTT-----------TTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTTT---.-W###################################w###################################W,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT--------TTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTT---.-W###.................................................................###W,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT..-----TTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTT---.-WW##..########....#####.......#############................######....##WW,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTT---.-WW##..########....#####.......#############................######....##WW,.----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT..TTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTT----.-WW##..########....#####.......#############................######....##WW,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWWTTTTTTTTTT--.-WW##..###.........#####.......######b######..........................##WW,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTT---.-WW##..###...........................!................................##WW,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTT---.-WW##.......#########.....#########...................................##WW,.---TTTTTTTTT^^^^^TTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWTTTTT----.-WW##.......#########.....#########.....#########.....#########.......##WW,.---TTTTTTTT^^^^^^^TTTTTTTTTTTTTTT..TTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWW-----WW.WWW##.......#########.....#########.....#########.....#########.......##WW,.----TTTTTT^^^^^^^^TTTTTTTTTTTTTT..TTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTVWV-WW--.-W####......####4####.....####3####.....#########.....####1####......####W,.-----TTTTTT^^>^^^TTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTT.............TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWW----.-W####..................................####2####....................####W,.------TTTTTT,.,TTTTT...............TTTTTTTTTTTTTTTTTTTTTTTTT#
D:#......TTTTTTTTTTT.............TTTT................V...........p..............................................................................................TTTTTTTTTTTTT..TTTTTTTTTT..............#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTT......TTTTTTTTTTWWWWW---------.-W####...............................................................####W,.------TTTTTTTTTTTTTTTTTTTTTTTTTTTTT............TTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWVTTTTT--------.-W####.......########................................................####W,.-----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTzTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTT------.-WW##........########.....................................@...........##WW,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTTTT-----.-WW##........########.....####5####..................#####a######.....##WW,.--TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTT---.-WW##........#######9.....#########......####6####...############.....##WW,.--TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWWTTTTTTTTTTTTTTT----.-WW##........########.....#########......#########...############.....##WW,.--TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWTTTTTTTTTTTTTTTTTTTT---.,WW##........########.....#########......#########...############.....##WW,.--TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTWWWTTTTTTTTTTTTTTTTTTTTTTTT--.,WW##........########.....#########......#########....................##WW,.--TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTTTTTTTTTTTT----.,WW##....................................#########....................##WW,.--TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTTTTTTTTTTTTT---.,WW##.............###########.........................................##WW,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTTTTTTTTTTTTTTT---.,WW##....##x##....###########....#######...................####.......##WW,.----TTTTTTTTTTTTTTTTTT..................TTTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.,WW##....#####....#####7#####....#######.....###q###.......###8.......##WW,.----TTTTT.............TTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.,WW##....#####...................#######.....###r###.......####.......##WW,..........TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTTWWWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.,W###.................................................................###W,.----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTTTWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT----.,W#######################################################################W,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT--.,W#######################################################################W,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTTWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.,W####WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW####W,.---TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTTTTTT#
D:#TTTTTTTTTTTTTTWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT---.,WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW,.----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...TTTTTTTTTTT#
D:#TTTTTTTTTTVVWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT------.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTTT#
D:#TTTTTTTTTVWWVTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT-------.............................................................................----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTT#
D:#TTTTTTTTTWWWWTTTTTTTTTTTTTTTTTTTTTTTTT...............---------------------------------------------------------------------------------------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTT#
D:#TTTTTTTTWWWWWWTyTTTTT..................TTTTTTTTTTTTTTTT----------TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT-----TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTT#
D:#TTTTTTTVWWWWWWWW......TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT.TTTTTTTTT#
D:#TTTTTTVWWWWWWWWWWVTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT^^^^TTTTT#
D:#TTTTTTWWWWWWWWWWWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT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TTTTTTTTTTTTTTTTTT^^^^^^^^^TTTTTTT#
D:#TTTTTTTTTTTTTTTTTWWTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT#
D:######################################################################################################################################################################################################


############### Starting positions ###############

# Starting position when coming from the dungeon
?:[EQU $LEAVING_DUNGEON 1]
P:31:150

# Standard starting position for normal races
?:[AND [EQU $LEAVING_QUEST 0] [NOT [EQU $RACE Vampire] ] ]
P:33:131

# Standard starting position for vampires (at the dungeon entrance)
?:[AND [EQU $LEAVING_QUEST 0] [EQU $RACE Vampire] ]
P:31:150

# Starting position when coming from quest 1
?:[EQU $LEAVING_QUEST 1]
P:34:177

# Starting position when coming from quest 25
?:[EQU $LEAVING_QUEST 25]
P:43:72

# Starting position when coming from quest 18
?:[EQU $LEAVING_QUEST 18]
P:56:17

# Starting position when coming from quest 27
?:[EQU $LEAVING_QUEST 27]
P:19:176

# Starting position when coming from quest 28
?:[EQU $LEAVING_QUEST 28]
P:22:92

# Starting position when coming from quest 31
?:[EQU $LEAVING_QUEST 31]
P:16:176

# Starting position when coming from quest 32
?:[EQU $LEAVING_QUEST 32]
P:46:109

# Starting position when coming from quest 33
?:[EQU $LEAVING_QUEST 33]
P:45:109

# Starting position when coming from quest 12
?:[EQU $LEAVING_QUEST 12]
P:33:63
