//**************************************************************************** //SPHERE by : Menasoft ©1997-2000 //www.sphereserver.com // All SPHERE script files and formats are copyright Menasoft & Partners. // This file may be freely edited for personal use, but may not be distributed // in whole or in part, in any format without express written permission from // Menasoft & Partners. All donations and contributions // become the property of Menasoft & Partners. //**************************************************************************** // FILE LAST UPDATED: Friday, April 28, 2000 // Purpose: UNKNOWN // Notes: General Shopkeeper Speech File. // Current Keyword List: // buy, supplies, wares, sell, *thou*purchase*, *you*purchase*, *you*buy* // *I*sale*, *what*thou*sell*, *what*thou*sale*, *what*you*sell*, *what*you*sale*, // *can*you*sell*, *can*you*sale* // [SPEECH spk_shopkeep] ON=*what*thou*sell* ON=*what*thou*sale* ON=*what*you*sell* ON=*what*you*sale* ON=*can*you*sell* ON=*can*you*sale* DORAND 4 SAY Why, I sell the same things that any other would sell. SAY If thou dost look around my shop, I'm sure it will become obvious to thee. SAY I am a . What wouldst thou expect me to sell? SAY I sell fairy dust. What dost thou think a would sell? ENDDO ON=*sell* ON=*thou*purchase* ON=*you*purchase* ON=*you*buy* ON=*I*sale* IF (> > 0) DORAND 4 SAY Your coin is not accepted in these realms. Get thee gone, street peddler! SAY Thou art trying to swindle me! Get thee hence! SAY Begone, ere I make thee wash my dinner plate with thy filty coin. SAY Why, thou art pushing counterfeit coin upon me! Avaunt, ere I call the guards! ENDDO RETURN 1 ENDIF IF ( || ) IF ( ) DORAND 3 SAY Doubtless aught thou hast to sell would be stolen goods. SAY I trust not aught that ye sell, given thy reputation. SAY Thou wouldst doubtless try to cheat me, wert thou trying to sell me aught. ENDDO ELIF ( ) DORAND 3 SAY I am not a fence, so sell me not thy stolen goods. SAY Thou'rt untrustworthy--anything thou sellest must be bad. SAY Thou wishest to sell aught? I might buy, though I suspect thou'rt a cheat. ENDDO ELSE DORAND 3 SAY Thou'rt wantin' to sell to me? I can't afford the price thou wants... the price thou'rt willin' to break me head to get... SAY Thou wants to sell somethin'? 'Tis probably stolen. SAY Thou'rt a cheat, but I might buy from thee anyway. ENDDO ENDIF ELSE IF ( ) DORAND 7 SAY If thou hast aught to sell, mayhap I am interested--give it to me and I shall value it for thee. Otherwise thou art welcome to buy my goods. SAY Depending on what thou hast to sell, I may be interested in purchasing it to add to my stock. Hand it to me and I shall decide its worth. SAY If thou art interested in selling an item to me, then thou must give it to me and I'll decide if I need it in my stock. Otherwise, thou can buy anything that I sell here. SAY I might be willing to purchase some supplies from thee. Thou wouldst need to hand them to me for appraisal. But if thou wouldst like to buy something, just say so. SAY Let me see what thou art offering to sell me, if indeed that is thy intent. Or thou couldst buy something of mine. SAY I am a . I could purchase those things that I supply. SAY If thou dost wish to sell something to me, hand it over and I shall determine its value. Otherwise thou art welcome to buy some of my items. ENDDO ELIF ( ) DORAND 7 SAY I may be interested in what thou have-let me see it. Otherwise thou art welcome to buy my goods. SAY I could be interested in purchasing what thou has to add to my stock. Hand it to me and I shall decide its worth. SAY If thou art interested in selling an item to me, then thou must give it to me and I'll decide if I need it in my stock. Or thou can buy anything that I sell here. SAY I may be willing to purchase some supplies from thee. Hand them to me for appraisal. And if thou wouldst like to buy something from me, just say so. SAY Let me see what thou art offering to sell me, if indeed that is what thou dost mean. Or thou couldst buy something of mine. SAY I am a . I could purchase those things that I supply. SAY If thou dost wish to sell something to me, hand it over and I shall determine its value. Otherwise thou art welcome to buy some of my items. ENDDO ELSE DORAND 7 SAY What's thou got to sell? Give it here. Or buy somethin'. Or go 'way. SAY If I sell it, I buys it too. Let me see it. Oh, and if thou'rt wantin' to buy somethin', jus' say so. SAY Thee got summat to sell? Give it here. SAY If thou'rt wantin' to but somethin', then say the word. Buy... that's the word. Or give me what thou'rt wantin' to sell me. SAY Thou wants to sell me somethin'? Hand it over and I'll see if it's worth nothin'. SAY I could take some supplies off thy hands. Give 'em to me for a once-over. And look around abit. Just say thou wants to buy somethin' and I'll see if I got it. SAY I could purchase those things that I supply. ENDDO ENDIF ENDIF IF (> = 0) IF (> = 0) TAG.NORMALMARKUP=1 ELSE TAG.NORMALMARKUP=> ENDIF ENDIF TAG.VENDORMARKUP= + ( / 10000)> TAG.VENDORMARKUP= +(-1)> IF () EMOTE yawn sleepily TAG.VENDORMARKUP= + 10> ENDIF IF (> > 80) //Anything more and they'll start selling for 65536 gold, etc. TAG.VENDORMARKUP=80 ENDIF IF () TAG.VENDORMARKUP=0 ENDIF SELL ON=*buy* ON=*supplies* ON=*wares* IF (> > 0) DORAND 4 SAY Your coin is not accepted in these realms. Get thee gone, street peddler! SAY Thou art trying to swindle me! Get thee hence! SAY Begone, ere I make thee wash my dinner plate with thy filty coin. SAY Why, thou art pushing counterfeit coin upon me! Avaunt, ere I call the guards! ENDDO RETURN 1 ENDIF IF ( ) || ) IF ( || ) IF ( ) DORAND 3 SAY If thou needest to buy something, I can supply things from my wares. No stealing needed. SAY Thou'rt more like to steal than to buy supplies, but nonetheless I can offer thee what I sell. SAY Life is bad enough that I have no qualms about selling my stock to a known . ENDDO ELIF ( ) DORAND 3 SAY 'Twould be just my ill-luck if thou were to steal from me. SAY Prithee, steal not! I can sell thee supplies. SAY Well, I could hardly get in worse trouble... even if I do help a criminal such as thee. I can sell thee supplies. ENDDO ELSE DORAND 3 SAY Aww, no stealin', by thy ship's leave! SAY Sure, I can sell thee stuff even if thou'rt a bit whiffy. SAY I can sell thee things if thou ain't hurtin' me. ENDDO ENDIF ELSE IF ( ) DORAND 3 SAY Thou must not steal from me, mind! I can sell thee supplies. SAY If thou needest supplies, why art thou not looking to steal them? I can sell them to thee if thou dost behave. SAY I trust thee not, but will offer to sell thee supplies. ENDDO ELIF ( ) DORAND 3 SAY Prithee, harm me not! I am but a merchant of supplies! SAY Thou'rt speaking of buying, yes? Not of stealing? SAY Thou'rt unsavory, but I am willing to sell to thee. ENDDO ELSE DORAND 3 SAY Don' hurt me! I can sell thee stuff. SAY Please, don' steal nothin'. SAY If thou don' beat me up, I can sell to thee. ENDDO ENDIF ENDIF ELSE IF ( || ) IF ( ) DORAND 3 SAY Thou canst buy supplies from me if thou art willing to waste thy time with one my mine humble station. SAY If thou'rt willing to interact with one as miserable as I, thou canst buy supplies from me. SAY I can sell thee supplies. 'Tis hardly a hardship--not at all like the rest of my hopeless life. ENDDO ELIF ( ) DORAND 3 SAY Thou meanest one such as thee dost not have everything thou needest already? SAY If thou wilt buy from one such as me, I have much to sell. SAY Making money may be th'only thing to cheer my dismal life. ENDDO ELSE DORAND 3 SAY Thou wishes to buy from me? Thee? A big type? SAY I'm a little worm to thee, but I can make thee spend money in my shop! SAY I could use anythin' to cheer me up. Want to buy from me? ENDDO ENDIF ELSE IF ( ) DORAND 3 SAY I sell many wares and thou'rt welcome to buy from me! SAY If thou seekest supplies, thou canst buy from me. SAY If thou seekest to buy, I can sell to thee. ENDDO ELIF ( ) DORAND 3 SAY Thou mayst purchase supplies from me. SAY I would gladly sell to thee of my many wares. SAY My shop sells many things. ENDDO ELSE DORAND 3 SAY I'm here to sell thee supplies. SAY I got lots to sell! SAY Thou surely wants all the things that I can sell thee. ENDDO ENDIF ENDIF ENDIF IF (> = 0) IF (> = 0) TAG.NORMALMARKUP=1 ELSE TAG.NORMALMARKUP=> ENDIF ENDIF TAG.VENDORMARKUP= + ( / 10000)> TAG.VENDORMARKUP= +(-1)> IF (> > 80) //The problem with selling isn't applicable here, but I'd prefer not //to take risks in case someone slips by this. TAG.VENDORMARKUP=80 ENDIF IF () TAG.VENDORMARKUP=0 ENDIF BUY //PROVISIONER ON=Hi ON=Hello ON=Hail ON=Greet SAY=Greetings, adventurer. ON=Bye ON=Goodbye ON=Farewell SAY=Fare thee well. BYE return 1 ON=What do you do ON=Job SAY=I equip adventurers for their travels. ON=undress IF (==1) SAY=This is so embarassing... FINDLAYER(1).BOUNCE FINDLAYER(2).BOUNCE FINDLAYER(3).BOUNCE FINDLAYER(4).BOUNCE FINDLAYER(5).BOUNCE FINDLAYER(6).BOUNCE FINDLAYER(7).BOUNCE FINDLAYER(8).BOUNCE FINDLAYER(9).BOUNCE FINDLAYER(10).BOUNCE FINDLAYER(12).BOUNCE FINDLAYER(13).BOUNCE FINDLAYER(14).BOUNCE FINDLAYER(15).BOUNCE FINDLAYER(17).BOUNCE FINDLAYER(18).BOUNCE FINDLAYER(19).BOUNCE FINDLAYER(20).BOUNCE // FINDLAYER(21).BOUNCE //Their pack FINDLAYER(22).BOUNCE FINDLAYER(23).BOUNCE FINDLAYER(24).BOUNCE ELSE SAY=Get thee gone, ye have a sick mind. ENDIF [SPEECH playervendor] ON=*payment* IF !() RETURN 0 ENDIF IF () SAY I am working on a )> percent commission. ELSE SAY I am working on a 50 gold per day wage. ENDIF RETURN 1 ON=*wage* IF !() RETURN 0 ENDIF IF () FINDID.i_vendor_timer.REMOVE SAY I shall now work for a daily wage of 50 gold coins. ELSE SAY I am already working for a daily wage. ENDIF RETURN 1 ON=*commission* IF !() RETURN 0 ENDIF IF () SAY I am already working on commission. ELSE NEWITEM i_vendor_timer ACT.CONT= SAY I am now working on a )> percent commission. ENDIF [EOF]