TILEMASTER2004 DATA V1
SCRIPT: 100
0 AddKeyWords bye 2  look 3  name 4  job 5  buy 6  wares 6  joreth 7  directions 12  seaport 12  Ightys 27  _ExitAskGoods 22
0 CheckFlag 2 1 15
0 CheckFlag 2 2 15
0 CheckFlag 2 3 14
0 CheckFlag 2 4 15
0 CheckFlag 2 5 15
0 Look
0 Message "Well met!  [He bows] My name's Corelith, and, as you can probably see, I'm a merchant.  But not just any merchant!  You really must see my wares!  Coins well spent!"
0 SetFlag 2 1
1 DoConvInput "I cannot help with that."
2 DoKeyWord _ExitAskGoods
3 Look
0 GOTO 1
4 Message "[He grins]  Not good with names, eh?  Corelith."
0 GOTO 1
5 Message "I'm a merchant of some renoun!  Just take a look ... [Before you can say anything, he presents his wares]"
0 GOTO 6
6 Message "Just take a look at these! [He has a variety of exotic foods, crafts, and other goods, but nothing of interest to you]  Nothing?!  Alas, you miss out!  Oh, well, return when you change your mind, as I know you will!"
0 GOTO 1
7 Message "Ah, Joreth sent you.  [For the first time, he appears serious]  His cause is noble, so I am willing to sell you what I have.  These are very difficult to come by, and I could sell them to a selfish noble for a great deal more, but I hold them back for Joreth at a minimum cost.  So use them wisely."
0 AddKeyWords _ExitAskGoods 23
0 GOTO 100
8 CheckItem 80 1 1
0 Message "[He squints at you a moment]  Say ... you look like you can take care of yourself.  Any interest in taking some goods to Seaport for me? [He grins at you]"
0 AddKeyWords no 9  yes 10
0 GOTO 1
9 Message "No problem, no problem ... just thought I would ask"
0 CheckFlag 2 4 19
0 CheckFlag 2 5 19
0 SetFlag 2 2
0 GOTO 1
10 Message "Great!  I'm sure you know where it is, but let me know if you need directions there.  Now, I get a good sense about you, so I shouldn't have to tell you that if you sell these yourself you may not want to come back to Friel ... but I'm not worried about that [he grins widely at you].  Anyway, when you get to Seaport, find Ightys and he'll give you a letter of receipt to bring back to me.  When you do, I'll pay you 300 gold.  Agreed?  [He grins widely at you]"
0 AddKeyWords yes 11
0 GOTO 1
11 Message "Just a moment... [he rummages around chaotically and begins to pile a variety of mundane goods in front of you].  Wheh!  I think that's it!  Now I don't have to tell you to be VERY careful with these!  Wouldn't be worth much damaged!  Well, thank you, good luck ... I mean, uh ... safe journey!"
0 GiveItem 80
0 SetFlag 2 3
0 AddKeyWords yes 1  no 1
0 GOTO 1
12 Message "Seaport is on the east coast, far south.  Great town, huge.  And sooo many customers!  [You can almost see him drooling]  I've only ever taken a ship there, don't go there often myself.  I usually pay other people to transport my stuff, but my last employees ... [he winces] ... uh, nevermind.  Anyway [he hurries on], we started out heading south and sailed around the coast.  Monsters, pirates, storms, ... uh, I mean, lovely trip.  Anyway [he hurries on], as far as going by land, I'll tell you what most around here know.  Head south then east off of Friel Peninsula.  Go east and a little north to the pass.  Then go east until you hit the coast of Serpent Bay.  From there, go south along the coast until it turns east.  I'm a little fuzzier from there since I've heard that there are a few ways to go, but don't worry, I'm sure it'll be obvious once you get there!  [He grins at you ... a bit too widely]  The way I know is to follow the coast east along the shore until it turns north ... the bay, that is, not you ... then you head south away from the coast to a pass somewhere in the mountains.  Seaport is on the south side of the river.  Big port town, hard to miss it.  It's a very long trip either way."
0 GOTO 1
14 TakeItem 81 1 15
0 CMessage -PCNAME "!  Welcome back!  Well, done, well done!  Ok, here's your payment. [He hands you 300 gold coins.]" -NL
0 GiveItem 1 300
0 Give XP 150 -SHOW
0 SetFlag 2 4
0 SetFlag 19 +1
0 AddKeyWords _ExitAskGoods 23
0 GOTO 1
15 Message "Hello again! [He grins widely]"
0 CheckFlag 2 1 8
0 CheckFlag 2 2 17
0 CheckFlag 2 5 17
0 CheckFlag 2 3 16
0 CheckFlag 2 4 18
0 GOTO 1
16 Message "I hope things are going well with taking the goods to Seaport.  Let me know if you need me to explain anything again."
0 AddKeyWords yes 25  explain 25  goods 25  again 25
0 GOTO 1
17 Message "Say, you wouldn't happen to have changed your mind about taking the goods to Seaport, have you?"
0 CheckFlag 2 5 21
0 AddKeyWords no 9  yes 10
0 GOTO 1
18 CheckFlag 19 3 1
0 Message "Say ... I've got more stuff to take to Seaport, interested?"
0 AddKeyWords no 9  yes 20
0 GOTO 1
19 SetFlag 2 5
0 GOTO 1
20 Message "Ok, let me see ... [the chaotic rummaging begins and soon a new pile of mundane goods builds up in front of you].  Wheh!  Ok, then, safe journey, my friend!"
0 GiveItem 80
0 SetFlag 2 3
0 BREAK
21 AddKeyWords no 9  yes 20
0 GOTO 1
22 Message "Farewell."
0 BREAK
23 AddKeyWords _ExitAskGoods 22
0 CheckFlag 2 1 8
0 CheckFlag 2 4 24
0 GOTO 22
24 CheckFlag 19 3 22
0 GOTO 18
25 Message "Ok, would you like to know what to do with the goods again, directions to Seaport, or for me to tell you about Ightys?"
0 AddKeyWords do 26  goods 26  again 26
0 GOTO 1
26 Message "Well, basically just take the goods to Ightys in Seaport and he'll give you the letter to bring back to me."
0 GOTO 1
27 Message "[He laughs] Well, to be honest there's not much to say about him.  He doesn't really stand out in a crowd or anything.  He's a merchant like me and has about the same taste in clothing.  Uh, let's see ... he's about medium build, dark hair ... had a beard last time I saw him.  Last time I was there in person he had a shop in the middle of town, but that was a long time ago and he was talking about selling it for something cheaper so that he could afford a new house.  So, uh ... yeah ... sorry I can't be more specific.  But don't worry!  I'm sure you'll have no problem finding him.  [He grins reassuringly]"
0 GOTO 1
100 AddKeyWords buy 101  joreth 101  no 2  yes 101
101 Message "Here's what I have:"
0 Buy 1
0 Message "Anything else?"
0 GOTO 1
