[trp_constable_hareck,"start", [(eq,"$constable_announcement",0)],
"Hear me, people of Zendar, for I bear a message from our town's lord and protector, Count Arrasies.\
As you know, bands of river pirates have infested the vicinity of our town.\
These lawless villains devastate our realm, pillaging, robbing and murdering the innocent.\
The mischief and suffering caused by these scum has become intolerable.\
Thus, our good Count has found it necessary to call to arms his honest and law-abiding subjects against these murderous villains.",
"constable_hareck_introduce_1",[(assign,"$constable_announcement",1)]],
[trp_constable_hareck,"constable_hareck_introduce_1", [],
"People of Zendar, our Count invites you to serve him in this cause.\
Those of you that volunteer now will be equipped with arms and armor at the Count's expense\
and shall be granted the right to hunt down the river pirates, ending their miserable lives by death or imprisonment,\
and keeping their ill-gotten gains to yourselves without tax or tribute.\
Moreover, you will be paid a reward of 200 denars from the Count's treasury for every river pirate group you vanquish.", "close_window",[]],
[trp_constable_hareck,"start", [], "What do you want?", "constable_hareck_talk",[]],
[trp_constable_hareck|plyr,"constable_hareck_talk", [(eq,"$quest_accepted_zendar_river_pirates",0)],
"I want to sign up to hunt down the river pirates.", "constable_hareck_signup_1",[]],
[trp_constable_hareck,"constable_hareck_signup_1", [], "Have you worked as a manhunter before?", "constable_hareck_signup_2",[]],
[trp_constable_hareck|plyr,"constable_hareck_signup_2", [], "Yes I have.", "constable_hareck_signup_3",[]],
[trp_constable_hareck|plyr,"constable_hareck_signup_2", [], "Not really. But I learn quickly", "constable_hareck_signup_3",[]],
[trp_constable_hareck,"constable_hareck_signup_3", [],
"That's more than enough for me. Well then. I charge you to hunt down river pirates around Zendar,\
and give you this shield from the Count's armory.\
May God make you victorious.", "constable_hareck_signup_4",[(assign,"$quest_accepted_zendar_river_pirates",1),(start_quest,"qst_hunt_down_river_pirates"),(setup_quest_text, "qst_hunt_down_river_pirates"),(str_store_string, s2, "str_hunt_down_river_pirates"),(troop_add_item, "trp_player","itm_wooden_shield",imod_battered)]],
[trp_constable_hareck|plyr,"constable_hareck_signup_4", [], "Is that all?", "constable_hareck_signup_5",[]],
[trp_constable_hareck,"constable_hareck_signup_5", [], "What else do you want, a good luck kiss?\
Now stop chattering and go kill some outlaws. You have to work hard to deserve that shield.", "close_window",[]],
[trp_constable_hareck,"sell_prisoner_outlaws_finished", [], "Well done my {boy/girl}. .", "close_window",[]],
[trp_constable_hareck|plyr,"constable_hareck_talk", [
(store_num_parties_destroyed_by_player, ":num_river_pirates_destroyed", "pt_river_pirates"),
(val_min,":num_river_pirates_destroyed",num_max_river_pirates),
(lt,"$river_pirates_paid_for",":num_river_pirates_destroyed")],
"I have hunted down some river pirates.", "pay_for_river_pirates",[]],
[trp_constable_hareck,"pay_for_river_pirates", [],
"Yes, my scouts informed me. That should make them think twice before wandering near Zendar! Anyway, the reward is 200 denars for every river pirate party. Here is your money, as promised.",
"pay_for_river_pirates_2",[(store_num_parties_destroyed_by_player, ":num_river_pirates_destroyed", "pt_river_pirates"),
(val_min,":num_river_pirates_destroyed",num_max_river_pirates),
(store_sub,":river_pirate_bounty",":num_river_pirates_destroyed","$river_pirates_paid_for"),
(val_mul,":river_pirate_bounty",200),
(troop_add_gold,"trp_player",":river_pirate_bounty"),
(assign,"$river_pirates_paid_for",":num_river_pirates_destroyed")]],
[trp_constable_hareck|plyr,"pay_for_river_pirates_2", [],
"Thank you, sir.", "pay_for_river_pirates_3",[]],
[trp_constable_hareck,"pay_for_river_pirates_3", [(neq,"$quest_complete_zendar_river_pirates",0),(eq,"$quest_complete_zendar_river_pirates_ack",0)],
"You certainly deserved your pay. Thanks to hunters like you most of the river pirates have been dealt with.\
The few remaining do not pose a threat any longer. So I thank you in the name of the town of Zendar. You did a mighty good job.","constable_hareck_reward_1",[[add_xp_as_reward,2000],[complete_quest,"qst_hunt_down_river_pirates"],[assign,"$quest_complete_zendar_river_pirates_ack",1]]],
[trp_constable_hareck|plyr,"constable_hareck_reward_1", [], "Thank you sir. But does that mean you won't be paying any more rewards?", "constable_hareck_reward_2",[]],
[trp_constable_hareck,"constable_hareck_reward_2", [], "You got that right.\
The truth is, the count's accountant has found out that rewards cost him more than the pirates do.\
So, that means no more rewards for those filthy pirates.\
Nothing is stopping you from taking your own reward from their packs and hideouts, though.", "close_window",[]],
[trp_constable_hareck,"pay_for_river_pirates_3", [], "Ah, yes... I almost forgot, I have a gift for you. A very mysterious and legendary sword. I'm sure you'il use it well. Good luck...", "close_window", [(troop_add_item,"trp_player","itm_narsil")]],
[trp_constable_hareck|plyr,"constable_hareck_talk", [], "Nothing. Good-bye.", "close_window",[]],