TILEMASTER2004 DATA V1
SCRIPT: 50
0 Look
0 AddKeyWords bye 2 look 3 name 4 job 5 dangers 6 buy 100 sell 200
0 Message "Well met.  Would you like to buy or sell shipping goods?"
1 DoConvInput "I cannot help with that."
2 BREAK
3 Look
0 GOTO 1
4 Message "[He looks surprised that you bothered to ask.]  Lyaes.  Pleased to meet you."
0 GOTO 1
5 Message "I am a cargo trader.  I buy and sell large amounts of goods in the form of cargo.  Ships can carry a lot of goods to and from other cities and are usually worth a profit, although it is a risky business with all the dangers at sea."
0 GOTO 1
6 Message "Wow, there are so many... Let's see... [He starts counting on his fingers...] There's pirates, of course.  Sea monsters.  Storms.  Whirlpools.  Yep, not safe.  But worth a lot."
0 GOTO 1
100 PMessage "They are " -PMP 25 -PRICE 100 " gp per 500 pounds.  How many would you like? "
0 SelectAmount 1
0 Pay 100 1 -PMP 25 -QMULT -CHECKONLY
0 GiveCargo 170 1 1 -QMULT
0 Pay 100 1 -PMP 25 -QMULT
0 Message "Excellent!  I'll have the goods sent immediately."
0 GOTO 1
200 Message "From which vehicle, which item would you like to sell?"
0 SelectCargo 170 210 171 211 172 212 173 214 0 201
0 GOTO 1
201 Message "Sorry, I do not purchase that."
0 GOTO 1
202 Message "Excellent!  I'll send for the goods immediately."
0 GOTO 1
210 Message "Just so you know, I can't buy these back for the same price as I sell them, so you'd be taking a loss."
0 SellSelectedCargo 75 1 -PMP 25
0 GOTO 202
211 Message "Great!  We're needing some items from there."
0 SellSelectedCargo 101 1 -PMP 25
0 GOTO 202
212 Message "Wow!  All the way from Harbourside!"
0 SellSelectedCargo 110 1 -PMP 25
0 GOTO 202
214 Message "Wow!  All the way from the desert lands!"
0 SellSelectedCargo 112 1 -PMP 25
0 GOTO 202
