
;
; The Quest of the Book

;---------
SCENE 80 book, SCENE, "Prophet's books"
      COMPARE #<nomoney>, -1
	IF= ,@skip
	COMPARE #<nomoney>, 1
      IF=, @checkformoney 	
	IF T59 @lookingforabook
@skip
	IF T7 @t7
      IF T98,   @98
      IF T99,   @99
	THEME	0
	ACTOR	1,	"Prophet", joshTownsfolk, 8, 0, 83
	SEL		1
	POSE	12,
	MOVE	1,	15, 85
	SOUND	spell.wav
	WAIT	10
	POSE 8
	GIVE	L1
	GIVE	H1000
	GIVE	M1000 
        OFFER	1,2,100,101,120,121,122,140,141,160,161,186,202,203,204,222,220,240,50,51,70,71
	OFFER2	0,99,0,10,20
        1: Hi!! I didn't see you there I was reciting a spell that I am learning!
        1: When you seem less snertish I may spare my knowledge of spells with you
        1: The spell that I just recited was stun, when you are not a snert I will give you it!
        1: no offence to you but all people who seem new I call snerts!
        1: maybe if you do some kind of good deed I'll stop calling you a snert!
         
        END

@98
        ACTOR	1,	"Prophet", joshTownsfolk, 8, 20, 100
        OFFER	1,2,100,101,120,121,122,140,141,160,161,186,202,203,204,222,220,240,50,51,70,71
	OFFER2	0,99,0,10,20
        1: What you have fallen out with Ike and Dwight my friends, why?? 
        1: YOU LEFT THEM TO DIE IN THE DESERT AND WOULDNT GIVE THEM AN ALE WHEN THEY ASKED??? 
        1:That proves it you are a snert and shall be punished for it! You will never get the spell "stun" now! 
        1:Wait if you save Ike and Dwight and appoligise by saying the word "sorry" i may change my mind! 
        1:After all you will have saved my friends' lives!! Please help them, if not for yourself, do it for me! I will then stop calling you a snert!

        END

@99
        ACTOR	1,	"Prophet", joshTownsfolk, 8, 20, 100
        OFFER	1,2,100,101,120,121,122,140,141,160,161,186,202,203,204,222,220,240,50,51,70,71
	OFFER2	0,99,0,10,20
        IF T7 @t7
        1: I guess you're not a snert after all!!
        1: Thank you for saving my friends "Ike and "Dwight" I thought i'd never see them again!
        1: I have been practicing my spell stun! here is how it goes!
        SELECT 1
        POSE 12
        SOUND    spell.wav
        WAIT 10
        POSE 8
        1: I thought you might like it as a reward for being such a kind guy! here!
        GIVE	T7
	GIVE	S8			; this is the STUN spell
	SOUND	"thunder1.wav"
        1: Have fun with it! it's a cool spell!
         
        END
@t7
        ACTOR	1,	"Prophet", joshTownsfolk, 8, 20, 100
        OFFER	1,2,100,101,120,121,122,140,141,160,161,186,202,203,204,222,220,240,50,51,70,71
	OFFER2	0,99,0,10,20
        1: Hi %1, I haven't seen you in a while!
        1: I hope nobody has been calling you a snert!
        1: Goto Smugglerz Cove to see how NOT to behave!
        1: My tips are, don't rez kill ppl and keep a positive attitude!
        1: Make sure you never kill anybody more than once without a reason!
        1: enough with my tips, I hope you are liking the spell stun I gave you!!!
        1: Check out the stuff I have for sale.
        END

@lookingforabook
ACTOR	1,	"Prophet", joshTownsfolk, 8, 20, 100
1:hi %1 what can I do for ya??
h: well I'm looking for a book for Peacemaker
1:PEACEMAKER! I remember him from ages ago! He is a sound guy!
1:I haven't seen him in ages because he got lost somewhere or he has just gone into hiding!!
1:Anyways what type of book does he need?
h: He needs a book about learning to play a keyboard!
1:hmmmm! let's see what i've got - "buying pets", "karma sutra", "exotic plants", "110 ways to die"
1:I don't seem to have it for some reason!
1:hang on a minute there is a book hidden behind some others!!
1:AHA!!! "Learning how to play a keyboard"
1:will that do ya??
h: Yes that is fine thanks!
1:I will charge you 200 gp for this book since I know peacemaker!
1:The normal retail price for this book is 2k but only a few people are willing to pay so much!!
1:It's a shame really because it's such a great book!!!!
1:anyway have you got 200 gp???
WAIT 2
IF -G200 @no
@yes
SET nomoney, -1
h: yes i have got enough for it
1:ok then I'll take your money and give you the book!
TAKE G200
GIVE I14
SET nomoney, -1
1:since you are a book user this shop will be very useful to you so come back any time!!
1:I hope Peacemaker enjoys his book!!
h: I think he will! Thanks again!
1:no problem, I hope to see ya again!!!
END
@no
h: I don't seem to have enough sorry!
ADD nomoney, 0
SET nomoney, 1
1:It's ok I will just save it for you and you can come back when you have enough!
h: I'll go and find 200 gp and i'll be straight back!
1:ok cya soon
END
@checkformoney 
ACTOR	1,	"Prophet", joshTownsfolk, 8, 20, 100
1:That didn't take ya too long!
1:Have you got the money yet???
IF -G200 @no2
GOTO @yes
END
@no2
h:nope not yet
1:well come back when you have
1:cya!
END
	





; we need a comment at the end, or bad things happen



