; dwarven kingdom
; Prince Bolim
; Farin
; Dorak
; Belur

; Needs more actors and plot for take over and some more shops

SCENE 180 throne, "Palace"

	IF T186, @back
	IF T185, @hidden
	IF T181, @negotiate
	GIVE T180
        ACTOR	1,	"King Thorain",	Pic003b, 	1,	25,	90
	1: Who in blazes are you?
	1: I bet the boys gave you a nice welcome on your way here.
	1: Well, as long as you're here, you may as well go talk to the sage.
	1: He's fascinated with news of the outside world.
	1: Hmph. Waste of time, if you ask me...
	END
@negotiate
     ACTOR	1,	"King Thorain",	Pic003b, 	1,	25,	90   
     ACTOR	2,	"Grumbor",		josh96, 	1,	50,	55
	FACE 2, 0
	2: Your Majesty, there is something most important that I must discuss with you.
	1: Bah! Grumbor, how many times have I told you?! Don't call me `Your Majesty`!
	2: My apologies, Your Majesty!
	2: I have received word that Prince Bolim has been sighted near the human dwelling called `Innleach`.
	2: This adventurer has agreed to search for him.
	2: The king's son left Anabarr and has taken to travelling in human lands.  He usually camps outside of cities.
	FACE 2, 2
	2: You should begin your search around Innleach.
	1: Can we really trust this outsider?
	FACE 2, 0
	2: We have no choice, Your Majesty.
	2: No one else will leave the kingdom to search for the prince.
	1: That's true... Very well, then, if it's all we can do...
	2: It's settled. Remember,  the prince prefers to camp near cities.
	FACE 2, 2
	2: You must camp near Innleach to begin your search for him.
	HOST_GIVE T182
	END

@hidden
     ACTOR	2,	"Grumbor",		josh96, 	1,	25,	90
     ACTOR	3,	"Prince Bolim",	josh97, 	1,	-20,	-20

	2: What? What are you doing back here so soon?
	H: Where's King Thorain?
	2: He's indisposed at the moment.
	MOVE 3, 50,55
	2: Get out of here and find Prince Bolim!
	2: It's very important that he return to Anabarr.
	MOVE 3, 50,55
	WAIT 4
	3: I'm already here! Now, where's my father?!

	H: I wish someone would tell me what the heck is going on...
	2: Heh heh! This is good! Very good!
	2: King Grumbor! It has a certain ring to it, doesn't it?
	FACE 3, 0
	3: What are you talking about, Grumbor??
	2: Your father is dead. You'll follow him shortly.
	2: And then, the dwarves shall appoint their wise sage as king.
	3: You're mad! It's you and your hired lackey that will die!
	H: Hired lackey?!
	3: Did you think I'd come unprepared? My personal guards are with me!
	2: Personal guards? Curse you!!
	MOVE 2, -20, -20
	H: Wait! Wait!
	FACE 3, 1
	H: I don't work for the sage!
	3: Guards! Seize that murderer!
	FIGHT 101
	IF LOSE, @end
	H: Would you listen to me?! I was sent to find you by your father!
	FIGHT 101, 102
	IF LOSE, @end
	H: It was the sage's idea, but I didn't know what he was up to!
	FIGHT 101, 102, 103
	IF LOSE, @end
	H: Call off these guards!
	3: Hm. All right, I'll let you go.
	3: It wouldn't be wise to make enemies on my first day as king of my people.
	3: You may use the stores here in Anabarr, if you like.
	HOST_GIVE T186
@end
	END

@back
	
     ACTOR	3,	"Prince Bolim",	josh97, 	1,	25,	90

	IF T295, @done
	IF T189, @wb
	IF T188, @rewardreturn
	IF T187, @back2
	3: Hm. I never expected to see you again.
	3: While you're here, I could use a few items.
	3: Donating them would be a good way to prove your innocence.
	3: I need 3 Whet stones and 5 Pieces of Steel.
	3: Toss them all to me and you'll be rewarded.
	SET whetstones, "0"
	SET steel, "0"
	SET handles, "0"
	SET whetstones1, "3"
	SET steel1, "5"
	SET handles1, "3"
	HOST_GIVE T187
	END
@back2
	3: Welcome back.
	3: I still need #<whetstones1> Whet stones, and #<steel1> Pieces of Steel.
	END

@eventActorGive3
IF T188, @second
IF T290, @1
COMPARE #<item.id>, "131"
IF= @whetstone
@1
IF T291, @2
COMPARE #<item.id>, "137"
IF= @steel
@2
END
@second
IF T292, @3
COMPARE #<item.id>, "138"
IF= @rewardhandle
@3
IF T293, @4
COMPARE #<item.id>, "131"
IF= @rewardwhetstone
@4
END

@whetstone

ADD whetstones, "1"
COMPARE #<whetstones>, 3
IF=, @whetstones1
IF>, @whetstones1
	3: You've given me #<whetstones> Whet stones so far.
SET whetstones1, "3"
SUB whetstones1, #<whetstones>	
	3: I still need #<whetstones1> more Whet stones, and #<steel1> more Pieces of Steel.
END
	
@whetstones1

	3: You've given me all the whetstones I need.
	HOST_GIVE T290
	SET whetstones1, "3"
	SUB whetstones1, #<whetstones>	
	IF T291, @reward
	END
@steel

ADD steel, "1"
COMPARE #<steel>, "5"
IF= @steel1
IF> @steel1
	3: You've given me #<steel> Pieces of Steel so far.
SET steel1, "5"
SUB steel1, #<steel>	
	3: I still need #<whetstones1> more Whet stones, and #<steel1> more Pieces of Steel.
END
@steel1

	3: You've given me all the steel I need.
	HOST_GIVE T291
	SET steel1, "5"
	SUB steel1, #<steel>	
	IF T290, @reward
	END

@reward
	3: Well, you've completed the first part of my task. Congratulations.
	3: I still need a couple more things, though.
	3: Bring me 2 more Whet stones and 3 Axe Handles.
	HOST_GIVE T188
	SET whetstones, "0"
	SET handles, "0"
	SET whetstones1, "2"
	SET handles1, "3"
	END
@rewardreturn
	3: Welcome back.
	3: I still need #<whetstones1> more Whet stones, and #<handles1> more Axe Handles.
	END
@rewardwhetstone

ADD whetstones, "1"
COMPARE #<whetstones>, 2
IF=, @whetstones2
IF>, @whetstones2
	3: You've given me #<whetstones> Whet stones so far.
SET whetstones1, "2"
SUB whetstones1, #<whetstones>	
	3: I still need #<whetstones1> more Whet stones, and #<handles1> more Axe Handles.
END
	
@whetstones2

	3: You've given me all the Whet stones I need.
	HOST_GIVE T293
	SET whetstones1, "2"
	SUB whetstones1, #<whetstones>	
	IF T292, @reward2
	END
@rewardhandle

ADD handles, "1"
COMPARE #<handles>, "3"
IF=, @handles1
IF>, @handles1
	3: You've given me #<handles> Axe Handles so far.
SET handles1, "3"
SUB handles1, #<handles>	
	3: I still need #<whetstones1> more Whet stones, and #<handles1> more Axe Handles.
END
@handles1

	3: You've given me all the Axe Handles I need.
	HOST_GIVE T292
	SET handles1, "3"
	SUB handles1, #<handles>	
	IF T293, @reward2
	END

@reward2

	3: Thank you for bringing me all these items.
	3: They'll be a great help to my people.
	3: And now for your reward...
	3: A Roc lives at the peak of this mountain. You'll find something nice in its nest.
	3: I'll have the path to the peak opened for you. Good luck!
	HOST_GIVE T189
	END
@wb
	3: Welcome back.
	END

@done
	3: Hello.
	END
SCENE 181 ,cave1   "Sage's Room"

	IF T182, @empty
	IF T180, @greetings
	END
@greetings
        ACTOR	1,	"Grumbor",	josh96, 	1,	25,	90
	1: Hmm... An outsider.
	1: Have you met King Thorain yet?
	H: Yes.
	1: That's odd. He must be in a good mood today.
	1: Usually, he imprisons outsiders.
	1: The king's hated outsiders ever since his son left to travel the world.
	1: However, I recently heard a rumor that the prince is living in Innleach.
	1: Since he's in such a good mood, I should go talk to the king about it.
	1: You're a traveller, right? Would you be willing to help look for the prince?
	ASK 99999999
	IF Qyes, @go
	END
@go
	HOST_GIVE T181
	1: Splendid! Let's go.
	WAIT 2
	GOTO LINK 10, 1, 1
	END
@empty
N: Suddenly, you forget everything that has come to pass in Anabarr...
WAIT 10
HOST_TAKE T180
HOST_TAKE T181
HOST_TAKE T182
HOST_TAKE T183
HOST_TAKE T184
HOST_TAKE T185
HOST_TAKE T186
HOST_TAKE T187
HOST_TAKE T188
HOST_TAKE T189
HOST_TAKE T290
HOST_TAKE T291
HOST_TAKE T292
HOST_TAKE T293
HOST_TAKE T294
HOST_TAKE T295
HOST_TAKE T296
HOST_TAKE T297
HOST_TAKE T298
HOST_TAKE T299
H: Where am I? The... Dwarven Kingdom?

END


SCENE 182, cave1,     "Healer's Hut, 
	THEME	0
	MUSIC	temple.mid
	ACTOR	1,	"Farin", Pic003c, 1, 25, 90
	SEL		1
	
	IF ALIVE, @skip1
	' Wait one moment, and you shall live again.
	WAIT    1.0
	SOUND	"thunder1.wav"
	WAIT	1.0
@skip1
	GIVE	L1
	GIVE	H3000
	GIVE	M3000 
	1: You have been healed.
END
SCENE 183, cave1, "Alechemist's Store, 

	ACTOR	1,	"Farin", Pic004a, 1, 25, 90

	
	OFFER	1,2,4,5,6,7,8,13,15,16,132,133,134,135,199
	IF T280, @stones2
	1: Come on in, outsider. We have lots of crystals and gems for sale here.
@stones2
	1: You know, rumor has it that Diamonds have been found in the Innleach Desert.

	END

SCENE 184

;Modder

	GIVE T4000
	END

SCENE 185

;largemouthbass

	GIVE I421
	END

;Duck Dodgers in the twenty fourth and a half century!!!!