TILEMASTER2004 DATA V1
SCRIPT: 75
0 Look
0 AddKeyWords bye 2  look 3  name 4  job 5  yes 20  drink 20  no 15  tip 40  food 30
0 Message "Well met.  Do you want a drink?"
1 DoStringInput -PROMPT -IMESSAGE "Hmm, don't know.  Another drink?" -ITAG 10
2 Message "Good day"
0 BREAK
3 Look
0 GOTO 1
4 Message "Awtur.  [He grins]  And no, not like the animal.  I've heard all the jokes; I am NOT a good swimmer, I do NOT eat shellfish, and so on."
0 GOTO 1
5 Message "To get you drunk!  [He laughs]  I'm the barkeep.  Do you want a drink?"
0 GOTO 1
10 AddKeyWords yes 20
0 GOTO 1
15 Message "No problem, let me know if you change your mind."
0 GOTO 1
16 Message "Sorry, it looks like you are a little low on gold."
0 GOTO 1
20 Message "That's 1 gold piece.  Of course, you can always tip me another coin if you want."
0 CMessage "[Do you pay for the drink?] "
0 Verify 21
0 GOTO 15
21 TakeItem 1 1 16
0 Message "Here you are.  [The drink is very good]  I also serve food, want some?"
0 AddKeyWords yes 30
0 GiveItem 2
0 GivePCMB 0 8 15
0 GOTO 1
30 Message "That's 2 gold pieces.  Of course, you can always tip me another coin if you want."
0 CMessage "[Do you pay for the food?] "
0 Verify 31
0 GOTO 15
31 TakeItem 1 2 16
0 Message "Here you are.  [The food is very good, if a bit overpriced]"
0 GiveItem 2 3
0 GivePCMB 1 15 30
0 GOTO 1
40 CMessage "[Do you hand him a coin?] "
0 Verify 41
0 GOTO 1
41 TakeItem 1 1 16
0 Message "[You hand him a coin]"
0 CRandom 20 101  20 102  5 103  20 104  30 105  20 106  5 -
0 GOTO 100
100 Message "Thanks"
0 GOTO 1
101 Message "Thanks.  Interesting work, being a barkeep.  You wouldn't believe all the interesting things people have to say.  Some of it is just interesting but not really very useful, some people make jokes, and so on ... but some people have some very useful information."
0 GOTO 1
102 Message "Thanks.  By the way, healing at the shrine is free if you get hurt.  In fact, I didn't realize it, but the local cleric was telling me the other day that since so many of the gods approve of slaying evil monsters and villains, it is ok for anyone doing so that gets hurt a lot to use their healing as much as they need.  I'd have thought the gods would have considered them to be tempting fate and so limit their healing, but I guess that makes sense; you do something they like and they are happy to heal you."
0 GOTO 1
103 Message "Thanks.  By the way, I'm no warrior, but a while back a man told me an interesting story that may be useful in these dangerous times.  So what happened is that there was a group of bandits right outside town who attacked him.  He told me how he barely managed to slay one of them and badly wound another, then ran for his life, figuring the rest would be chasing right behind him.  Instead, they were apparently so surprised by his success that it ran them off.  He figured that they were so overconfident that it threw them, being that they were many against just one, and in these times.  And why not find easier victims?  Probably that sort of thinking."
0 GOTO 1
104 Message "Thanks.  By the way, Friel is a free city; we have no king.  Yes, that may get us killed since we have very little protection, but I'd still rather be free than owe my life to some corrupt noble.  Anyway, if you're looking for a leader, Joreth is head of the council.  And he's definitely worth talking to, as he's a very smart and worthy leader."
0 GOTO 1
105 Message "Thanks.  By the way, a while back a warrior stumbled into town with terrible wounds.  I wasn't there myself, so I only can tell you what I heard.  And he left town soon after, so I wasn't able to ask him myself.  Anyway, apparently he got to the cleric in time, but was the only survivor of his group.  He said that they had stumbed onto one of those dungeons and decided to go in to look for treasure.  Well, he said they thought that they could handle it, but they were wrong.  They weren't skilled enough, they didn't have good enough weapons and armor, and they didn't even have enough torches.  But even so, they were apparently ok at first.  What went wrong was that the place was very big, full of twists and turns, and they were having trouble finding any treasure.  Well, the monsters aren't just going to put their treasure out in plain sight, right?  I could even have told them that.  Anyway, by the time they realized that they had gotten dangerously far from the entrance and were running into more monsters than they could handle, it was already too late.  And to make matters worse, they were running low on torches.  [He shivers]  I hate the thought of getting trapped like that.  If I were a warrior, I'd stick close to town until I was really sure I could handle something that dangerous.  Or at the very least try not to get too far from the entrance."
0 GOTO 1
106 Message "Thanks.  By the way, I was talking to an explorer one time about some old ruins he had been in and he started talking about secret doors.  Apparently, there's a few different ways they usually work.  The most common one is to start pushing up against walls where you suspect that there may be a secret door.  Another is to step in a particular place so a pressure plate causes it to open.  But you have to be careful about that one because those can also do things like set off a trap.  Anyway, he said there's even more complicated ways some of them work, but those were the most common."
0 GOTO 1
