TILEMASTER2004 DATA V1
SCRIPT: 110
0 AddKeyWords bye 2  name 1  job 1  1 20  drink 20  2 21  food 21  3 30  tip 30  4 25  room 25
0 CM "Welcome!  "
1 M "What can I get for you?"
0 M "1: Drink for 1 gp"
0 M "2: Food for 3 gp"
0 M "3: Tip"
0 CCheckPos -MAP 50 -MAP 53 -MAP 90 -MAP 448 -TAG 11
10 DoStringInput -PROMPT -IMESSAGE "Hmm, don't know." -ITAG 1
0 GOTO N2
11 M "4: Room for 5 gp"
0 GOTO P10
2 M "Good day"
0 BREAK
3 M "You don't have that much"
0 Pause
0 GOTO 1
20 TakeItem 1 1 3
0 M "Here you are"
0 GiveItem 2
0 GivePCMB 0 5 10
0 Pause
0 GOTO 1
21 TakeItem 1 3 3
0 M "Here you are"
0 GiveItem 2 2
0 GivePCMB 1 10 20
0 Pause
0 GOTO 1
25 CCheckPos -MAP 50 -MAP 53 -MAP 90 -MAP 448 -TAG 100
0 M "Sorry, we don't rent any rooms here"
0 Pause
0 GOTO 1
30 TakeItem 1 1 3
0 CheckPos 90 -1 -1 40
31 CRandom 1 50  1 51  1 52  3 -
32 M "Thanks"
0 Pause
0 GOTO 1
40 Random 50 31
0 GOTO 60
50 M "Thanks.  Hey, you look like the type who can take care of yourself.  If you need some gold, there's a lot of ways to get it.  I've heard that there's dungeons and old ruins and stuff around where you can find huge treasures, but you have to be very careful of all the dangers.  You can take it directly from monsters or other enemies, but you'd have to be pretty skilled with your weaponry.  Some monsters don't care about gold, but goblins and orcs and things like that love it, from what I've heard.  If you find some decent gear, some merchants will buy those from you.  Of course, its got to be something interesting, not just an old torch or something.  Sometimes there's various odd jobs if you ask around.  In some towns, you can buy trade goods and sell it for a profit in another town, if they need it.  You can earn a lot doing that if you have a large boat or a ship, but those are very expensive.  And it is dangerous work, from what I hear."
0 Pause
0 GOTO 1
51 M "Thanks.  Hey, you look like the type who does a lot of traveling.  You probably know this, but you've got to be really prepared or you won't survive.  Be careful to bring enough food with you.  And if you're by yourself, you have to have a good weapon and armor.  I'd try not to get too far away from a town, myself, since that way the temples are close in case you get hurt.  Or if you can manage to find them, I've heard some people carry healing potions with them.  Or even powerful magic items, but finding those is even more difficult."
0 Pause
0 GOTO 1
52 M "Thanks.  I've heard its really dangerous to travel between the more distant towns.  I don't think I'd want to do it myself.  There's all those bandits and monsters, and all it takes is getting delayed by bad weather, outmaneuvered in rough terrain, or cornered by more than one group of them, and suddenly they've got you.  You could take a ship, but I've heard that's even worse, because now not not only do you have pirates and sea monsters and heavy weather, but also issues with the winds on sailing ships, storms, and even whirlpools.  Of course, it can also save you a lot of time and you can get to places you couldn't get to otherwise."
0 Pause
0 GOTO 1
60 M "Thanks.  Say, do you know about our settlement's mystic?  You should really pay him a visit.  Speaking with him is really enlightening.  He usually spends his time meditating at the outskirts of town."
0 Pause
0 GOTO 1
100 Pay 5 1
0 M "Enjoy your stay!"
0 Pause
0 CCheckPos -MAP 50 -TAG 101  -MAP 53 -TAG 102  -MAP 90 -TAG 103  -MAP 448 -TAG 104
0 M "ERROR (script 116): Undefined room specifics"
0 BREAK
101 SetMapCreatures RESETPOS 36 40 38 44
0 SetMapCreatures SHIFTPOS 4 0 36 40 38 44
0 Teleport 0 37 41
0 CM -PARTYONLY -DEF 500 -NL
0 Pause
0 M "Although there is a little noise from the common room, this inn room is reasonably comfortable and it is nice to sleep on a bed."
0 GOTO 150
102 SetMapCreatures RESETPOS 42 27 44 30
0 SetMapCreatures SHIFTPOS 4 0 42 27 44 30
0 Teleport 0 42 28
0 CM -PARTYONLY -DEF 500 -NL
0 Pause
0 M "Although the bed is a little hard, this inn room is otherwise quite comfortable and cozy, and it is nice to sleep on a bed in any case."
0 GOTO 150
103 SetMapCreatures RESETPOS 21 44 24 46
0 SetMapCreatures SHIFTPOS 16 0 21 44 24 46
0 Teleport 0 22 44
0 CM -PARTYONLY -DEF 500 -NL
0 Pause
0 M "Although there are some faint unpleasant odors in this room coming from the camel pen next door and some noise from the nearby common room, it is otherwise quite comfortable and cozy, and it is nice to sleep on a bed in any case."
0 GOTO 150
104 SetMapCreatures RESETPOS 43 16 45 18
0 SetMapCreatures SHIFTPOS -4 0 43 16 45 18
0 Teleport 0 45 17
0 CM -PARTYONLY -DEF 500 -NL
0 Pause
0 M "Despite rather strange, unsettling howling of wolves and other unusual noises from outside, this inn room is reasonably comfortable and it is nice to sleep on a bed."
0 GOTO 150
150 Pause
0 CM "You drift off"
0 Script 501
0 AlterPCTile 1004
0 Script 500
151 CM -NL
0 AlterPCTile BASE
0 DeleteTile 1004
0 DeleteFrame 1004
0 M "You wake up well-rested."
0 PartyIterator -INIT
1 PartyIterator -ETAG N2 -PNAME
0 GivePCMB 2 10 20
0 Heal 8% SKIPNE
0 GiveSP 80%
0 GOTO P1
2 BREAK
500 Def "Your party finds various places to sleep."
