<tasks>
	<task level="5" name="Defeat LaRoche!" reward="LaRoche's Treasures" levelup="true" character="vangregor">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,governor_access"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="battleport" filters="new,visible,governor_access"/>
			<port name="aleport" filters="new,visible,alehouse"/>
			<port name="shipport" filters="new,visible,shipyard"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="aleguy" location="{aleinfo}"/>
			<location name="aleinfo" port="{infoport}" building="alehouse"/>

			<npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>

			<npc name="shippy" location="{ship}"/>
			<location name="ship" port="{shipport}" building="shipyard"/>

			<npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

			<npc name="guv3" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="laroche">
				<filters>
					<nickname>NONE</nickname>
					<firstname>Sebastian</firstname>
					<title>Captain</title>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>
				</filters>
			</npc>
			<npc name="vangregor">
				<filters>  
					<nickname>NONE</nickname>
					<firstname>Russell</firstname>
					<title>Captain</title>
					<surname>Van Gregor</surname>
					<reserved>vangregor</reserved>
				</filters>
			</npc>
                        <npc name="verdugo">
			<filters>  
				<nickname>NONE</nickname>
					<firstname>Ignacio</firstname>
					<title>Captain</title>
					<surname>Verdugo</surname>
					<reserved>verdugo</reserved>
			</filters>
			</npc>
				<npc name="crew">
				<filters>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
		</variables>

		<steps>
			<okbox npc="guv" text="Captain Van Gregor, what a timely arrival!  Your friend Ignacio Verdugo washed up on our shores several days ago, barely alive.  He will speak with no one.  Russell, the poor man has surely endured some unspeakable horror.  Perhaps he will confide in you?" ok="Ignacio?  Is that you?"/>
			<okbox npc="verdugo" text="Russell?  Ah!  There is hope!  Listen carefully.  With the Amulet of Truth you helped me acquire, I learned that the Governor of {otherport} has been protecting my sworn enemy, Sebastian LaRoche.  I set sail with the intent of crushing the scoundrel, but alas!  My fleet was lost to a storm.  Finish my work, dear friend.  Travel to {otherport}, crush LaRoche, and avenge my father!" ok="I shall not fail you."/>
			<pushtask text="Capture LaRoche in {otherport}."/>
			<unlockship type="next"/>
			<makehostile port="{otherport}"/>
			<goal type="talk" npc="{guv2}" text="Tell me where LaRoche is, before I lose my temper!"/>
			<okbox npc="guv2" text="You're too late, Van Gregor!  You will never catch Sebastian.  His fleet set sail minutes ago, right under your nose.  You've laid ruin to my city, but for what?  My good friend LaRoche will smoke you out and exact my revenge!" ok="I shall seek him out first!"/>
			<addlogentry text="Defeated the Governor of {otherport}, but LaRoche has escaped!"/>
			<addlogentry text="I must check the Alehouses for information about LaRoche!"/>
			<poptask num="1"/>
			<pushtask text="Check the Alehouses for information on LaRoche."/>
			<goal type="talk" npc="{aleguy}" text="Ask about LaRoche."/>
			<okbox npc="aleguy" text="Captain!  To seek LaRoche is to seek your own doom!  Surely you know...  ah, but you are a clever one!  Find him first, and you have the element of surprise.  Very well.  Word is that his fleet is headed for {battleport}.  May the wind be at your back, my friend." ok="I shall not fail Ignacio!"/>
			<poptask num="1"/>
			<pushtask text="Capture LaRoche in {battleport}."/>
			<makehostile port="{battleport}"/>
			<goal type="talk" npc="{guv3}" text="Hand over LaRoche, you venomous snake!"/>
			<okbox npc="guv3" text="Ha!  How can a foolish, hairy brute such as you ever hope to defeat the dread pirate LaRoche!  Sebastian has escaped you again.  If I revealed his location to you, his blade would surely meet my throat some day.  So do what you will - I shall tell you nothing, Captain Van Gregor!" ok="I shall find a way to loosen your tongue."/>
			<okbox npc="vangregor" text="The Amulet of Truth!  Of course, Ignacio has it.  {guv3} shall be forced to tell all under its spell.  {crew.firstname}, stay here and guard this swine.  We must sail to {startport}, where Ignacio is recovering, to pick up the Amulet and write the final chapter in the tale of Sebastian LaRoche!" ok="Onward!"/>
			<okbox npc="crew" text="Brilliant, Captain!  We shall await your return." ok="Vigilance, friend!"/>
			<poptask num="1"/>
			<pushtask text="Speak to Verdugo in {startport} about The Amulet of Truth."/>
			<addlogentry text="{guv3} will not reveal LaRoche's whereabouts!"/>
			<addlogentry text="Obtain the Amulet of Truth to find LaRoche!"/>
			<goal type="talk" npc="{guv}" text="Ask about Amulet."/>
			<okbox npc="verdugo" text="The wretched worm will disclose nothing, eh?  You were right to come to me.  Here.  I gladly give you the Amulet of Truth.  Question {guv3} with this on your person, and he will tell you secrets his own mother has not heard.  Go quickly, my friend!" ok="I shall honor the memory of your father."/>
			<poptask num="1"/>
			<pushtask text="Head to {battleport} with the Amulet of Truth and speak to {guv3}."/>
			<get item="truth"/>
			<give item="vangregor"/>
			<goal type="talk" npc="{guv3}" text="Now we'll find LaRoche!"/>
			<okbox npc="crew" text="Glad to see you return safely, Captain Van Gregor.  {guv3} is here awaiting your interrogation." ok="Excellent."/>
			<okbox npc="guv3" text="You can torture me!  Boil me alive!  But I will never tell you that LaRoche is sailing on the route between {startport} and {infoport}.  And every time I eat my favorite meal of beans and rice, although I always blame the family dog, ..." ok="Whoops, must be going now."/>
			<give item="truth"/>
			<poptask num="1"/>
			<pushtask text="Defeat LaRoche between {startport} and {infoport}."/>
			<goal type="npccombat" npc="laroche" port1="{startport}" port2="{infoport}" difficulty="150" text="Ha!  Verdugo sends an errand boy to die in his place?  Very well.  At least I shall not have to endure the ''I am Ignacio Verdugo'' speech.  Your head shall be a fine trophy for my wall!  Or perhaps you would make a better rug..."/>
			<okbox npc="laroche" text="I am...  defeated?  By Verdugo's errand boy?  This cannot be!  I am cursed by Neptune himself!" ok="Farewell, LaRoche!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward in {startport}."/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<tasklevel level="6"/>
			<poptask num="1"/>
			<get item="amuletbacchus"/>
			<get item="neptune"/>
			<okbox npc="guv" text="I always knew, somehow, that LaRoche would meet his end by your strong hand, Russell.  No more shall he terrorize these waters.  The people of these lands have much for which to thank you.  I cannot begin to express my gratitude.  But please, take these treasures recovered from the wreckage of LaRoche's ship.  You have more than earned them." ok="You are most kind."/>
			<okbox npc="verdugo" text="Ah, how I wish I could have been there to see LaRoche's last moments, my friend.  But how selfish I am being!  We are a team, no?  You have succeeded where I could not.  A truer friend I could not wish to have.  Come, sit, let us toast the memory of my father." ok="A fine man he was, Ignacio."/>
			<addlogentry text="Defeated LaRoche and his fleet!"/>
			<addlogentry text="Received the booty of LaRoche's Ship!"/>
			<addlogentry text="Congratulations!  You have beaten Tradewinds 2!"/>
			<okbox text="Congratulations, Captain {player.lastname}!  You have beaten Tradewinds 2.  Continue trading goods and battling pirates to amass great riches.  Try playing as Captain Sebastian LaRoche, the most feared pirate to ever have sailed the seven seas.  Create your own customized character and watch the story of your own adventure unfold!" ok="Carpe Diem!"/>
		</steps>
	</task>

	<task level="5" name="Defeat Ignacio Verdugo!" reward="Verdugo's Treasures" levelup="true" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,governor"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="battleport" filters="new,visible,governor"/>
			<port name="aleport" filters="new,visible,alehouse"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="aleguy" location="{aleinfo}"/>
			<location name="aleinfo" port="{infoport}" building="alehouse"/>

			<npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>

			<npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

			<npc name="guv3" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="laroche">
				<filters>
					<reserved>laroche</reserved>
					<nickname>NONE</nickname>
					<firstname>Sebastian</firstname>
					<title>Captain</title>
					<surname>LaRoche</surname>
				</filters>
			</npc>

			<npc name="verdugo">
				<filters>
					<firstname>Ignacio</firstname>
					<title>Captain</title>
					<surname>Verdugo</surname>
					<reserved>verdugo</reserved>
				</filters>
			</npc>

			<npc name="crew">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
        </variables>

		<steps>
			<okbox npc="guv" text="Captain LaRoche!  I admit that I once conspired with Verdugo to kill you, but I realize now betraying you was foolhardy.  My best snitches are reporting that a certain lady in {otherport} has caught Verdugo's attention.  Well, ladies, actually.  A few dozen of them.  Listen, if I hear the ''you killed my father'' bit one more time, I'm going to go mad, so why don't you just go there and dispose of him - before he disposes of you?" ok="Oui, Monsieur, consider it done!"/>
			<pushtask text="Defeat Ignacio Verdugo in {otherport}."/>
			<makehostile port="{otherport}"/>
			<goal type="talk" npc="{guv2}" text="Where is Verdugo?"/>
			<okbox npc="guv2" text="Mercy, Captain LaRoche!  Verdugo has fled; your obsession with him shall find no end here.  You have burned my city.  Spare me at least my own life!" ok="I will not spill your blood today."/>
			<addlogentry text="Defeated the Governor of {otherport} but Verdugo has escaped!"/>
			<addlogentry text="I will check the Alehouses for information about Verdugo!"/>
			<poptask num="1"/>
			<pushtask text="Check the Alehouses for information on Verdugo."/>
			<goal type="talk" npc="{aleguy}" text="Ask about Verdugo."/>
			<okbox npc="aleguy" text="Verdugo?  What is it that women see in him, anyway?  And by women, I mean my girlfriend.  He's in {battleport}.  Give 'im a poke between the ribs with yer dagger and make life a little easier for the rest of the men here, will ye?" ok="I shall make him pay in blood!"/>
			<poptask num="1"/>
			<pushtask text="Capture Verdugo in {battleport}."/>
			<makehostile port="{battleport}"/>
			<goal type="talk" npc="{guv3}" text="Where is Verdugo?"/>
			<okbox npc="guv3" text="Verdugo will always be one step ahead of you, villain!  If you had a brain in your head, you would not seek an encounter with him so eagerly.  He will be your undoing!  You will get no further information from me, swine!" ok="Do not tempt my wrath!"/>
			<okbox npc="crew" text="Please don't flog me for interrupting, sir, but might I suggest using the Amulet of Truth?  Since you're keenly knowledgeable on the Black Arts, I'm sure you know that the Amulet could force the Governor to speak truly." ok="Glad I thought of that."/>
			<okbox npc="laroche" text="I shall forego flogging you for your insolence - this time.  {guv} in {startport} will surely have some information on the Amulet's whereabouts.  You shall guard {guv3} closely till my return." ok="Well...  flog him anyway.  Let's go!"/>
			<poptask num="1"/>
			<pushtask text="Speak to {guv} in {startport} about The Amulet of Truth."/>
			<addlogentry text="{guv3} will not reveal the location of Verdugo!"/>
			<addlogentry text="Obtain the Amulet of Truth to find Verdugo!"/>
			<goal type="talk" npc="{guv}" text="Ask about Amulet."/>
			<okbox npc="guv" text="Verdugo?  Still alive?  Sebastian, is your age catching up with you?  Wait!  KIDDING!  KIDDING!  Amulet of Truth, fine idea, really!  I've lost track of it, but there's a lady in {aleport} who would know.  Did I tell you how healthy you're looking today?" ok="Today I shall overlook such insolence!"/>
			<poptask num="1"/>
			<pushtask text="Speak to {bart} in {aleport} about the Amulet of Truth."/>
			<goal type="talk" npc="{bart}" text="Ask about Amulet."/>
			<okbox npc="bart" text="The Amulet of Truth?  It's real enough.  I like to carry it with me whenever I have dealings with politicians, used horse and coach salesmen, or blind dates.  I have it right now, as a matter of fact, see?  It's not for sale.  Are you going to kill me if I don't give it to you?" ok="Yes... no.  My you're attractive.  ACK!"/>
			<okbox npc="bart" text="See?  It works!  And thank you for the compliment.  The rumor is that you need it to find and kill Ignacio Verdugo.  His sweet-talking is the reason I carry it, to this day.  How he does enjoy toying with a woman's affections!  Here, take it, and use it to deliver my revenge!" ok="You have some baggage, mon cheri."/>
			<poptask num="1"/>
			<addlogentry text="{bart} hands you the Amulet of Truth"/>
			<pushtask text="Head to {battleport} with Amulet of Truth and speak to {guv3}."/>
			<get item="truth"/>
			<goal type="talk" npc="{guv3}" text="Let's get this over with."/>
			<okbox npc="crew" text="Sir!  {guv3} is here awaiting your interrogation, just as you asked!" ok="Good!  Remind me to flog you later."/>
			<okbox npc="guv3" text="You can torture me!  Boil me alive!  But I will never tell you that Verdugo is sailing on the route near {infoport}.  And that I think he's absolutely dreamy.  NO!  Get that foul Amulet of Truth away from me!" ok="Oh, this will break your heart."/>
			<give item="truth"/>
			<poptask num="1"/>
			<pushtask text="Defeat Verdugo near {infoport}."/>
			<goal type="npccombat" npc="verdugo" port1="{infoport}" difficulty="50" text="Hello!  My name is Ignacio Verdugo.  You killed my father.  Prepare to die!"/>
                        <okbox npc="verdugo" text="This is not over LaRoche!  I shall escape and I will deliver your death speech.  Hello! My name is Ignacio Verdugo..." ok="Shut up!"/>
			<okbox npc="laroche" text="You killed my father...  Blah, blah...  Prepare to Die!  Yes I've heard this so many times!" ok="I tire of this."/>
                        <okbox npc="verdugo" text="How dare you interrupt me!!  Now I must start again.  Hello!  My name is Ignacio Verdugo..." ok="Shut up!"/>
                        <okbox npc="crew" text="Sir!  While you were busying ignoring the ''you killed my father'' speech, Verdugo has fled to {startport}!!" ok="After him!  This must stop!"/>
                        <poptask num="1"/>
                        <pushtask text="Defeat Verdugo near {startport}."/>
                        <goal type="npccombat" npc="verdugo" port1="{startport}" difficulty="150" text="Hello!  My name is Ignacio Verdugo.  You killed my father.  Prepare to die!"/>
                        <okbox npc="verdugo" text="I have done my best to avenge you, Father, but it was for naught!  At least I shall be able to join you now..." ok="Ah, no more death speech!"/>
                        <poptask num="1"/>
                        <pushtask text="Claim your Reward in {startport}."/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<tasklevel level="6"/>
			<poptask num="1"/>
			<get item="amuletbacchus"/>
			<get item="neptune"/>
			<addlogentry text="Defeated Verdugo and his fleet!"/>
			<addlogentry text="Received the booty of Verdugo's Ship!"/>
			<okbox npc="guv" text="At last, that pipsqueak Verdugo will bother us no longer!  Finally, I shall be able to step into the Alehouse again and have a reasonable chance with the ladies.  What's that you say?  Treasures?  Oh, of course.  Was going to give Verdugo's treasure to you.  Really.  Slipped my mind.  Put the dagger down." ok="You test my patience."/>
			<addlogentry text="Congratulations!  You have beaten Tradewinds 2!"/>
			<okbox text="Congratulations, Captain {player.lastname}!  You have beaten Tradewinds 2.  Continue trading goods and battling pirates to amass great riches.  Create your own customized character and watch the story of your own adventure unfold!" ok="Carpe Diem!"/>
		</steps>
	</task>
        
	<task level="5" name="Defeat LaRoche!" reward="LaRoche's Treasures" levelup="true" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,governor_access"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="battleport" filters="new,visible,governor_access"/>
			<port name="aleport" filters="new,visible,alehouse"/>
			<port name="shipport" filters="new,visible,shipyard"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="aleguy" location="{aleinfo}"/>
			<location name="aleinfo" port="{infoport}" building="alehouse"/>

			<npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>

			<npc name="shippy" location="{ship}"/>
			<location name="ship" port="{shipport}" building="shipyard"/>

			<npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

			<npc name="guv3" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="laroche">
				<filters>
					<firstname>Sebastian</firstname>
                    <title>Captain</title>
                    <surname>LaRoche</surname>
                    <reserved>laroche</reserved>  
				<nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="vangregor">
				<filters>
					<firstname>Russell</firstname>
                    <title>Captain</title>
                    <surname>Van Gregor</surname>
                    <reserved>vangregor</reserved>
				</filters>
			</npc>
            <npc name="verdugo">
				<filters>
					<firstname>Ignacio</firstname>
					<title>Captain</title>
					<surname>Verdugo</surname>
					<reserved>verdugo</reserved>
				</filters>
			</npc>
			<npc name="crew">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
		</variables>

		<steps>
			<okbox npc="guv" text="Verdugo!  At last, we have reliable reports on the whereabouts of LaRoche!  His elusiveness was not chance; that treacherous Governor of {otherport} has been protecting him.  Do not let eagerness be your defeat, my friend.  Arm yourself well before confronting the scoundrel!  LaRoche's blade has been the last sight of many an honorable soul." ok="Hah!  Finally the son of a dog shall pay!"/>
			<pushtask text="Capture LaRoche in {otherport}."/>
			<unlockship type="next"/>
			<makehostile port="{otherport}"/>
			<goal type="talk" npc="{guv2}" text="Tell me where LaRoche is, before I lose my temper!"/>
			<okbox npc="guv2" text="You've laid ruin to my city, Verdugo!  Ha, but your quarry has escaped.  Sebastian and his fleet set sail minutes ago, right under your nose.  Savor every breath from now on, for your days are numbered.  My dear friend LaRoche will exact my revenge!" ok="That filthy cur shall know my wrath!"/>
			<addlogentry text="Defeated the Governor of {otherport}, but LaRoche has escaped!"/>
			<addlogentry text="Check the Alehouses for information about LaRoche!"/>
			<poptask num="1"/>
			<pushtask text="Check the Alehouses for information on LaRoche."/>
			<goal type="talk" npc="{aleguy}" text="Ask about LaRoche."/>
			<okbox npc="aleguy" text="You would do best to steer clear of him, Ignacio - he is calling for your blood!  Ah, but you are right.  Find him first, and the element of surprise is yours.  I have no particular affection for the rogue.  Last I heard, his fleet was terrorizing {battleport}." ok="Righteousness speeds my journey!"/>
			<poptask num="1"/>
			<pushtask text="Capture LaRoche in {battleport}."/>
			<makehostile port="{battleport}"/>
			<goal type="talk" npc="{guv3}" text="Hand over LaRoche, you cowardly son of a pig!"/>
			<okbox npc="guv3" text="You are too late!  LaRoche has escaped again!  Do to me what you wish; you cannot imagine the horrors LaRoche would visit upon me if I assisted you.  You will get no clues to Sebastian's whereabouts from me, Verdugo!" ok="I'll show you horrors!"/>
			<okbox npc="crew" text="Forgive the interruption, Captain, but I hear you need to extract information from the lips of a coward.  Have you heard of the Amulet of Truth?  It has magical properties so strong that it compels even politicians such as {guv3} to speak truths!" ok="Brilliant!  Extra rum for you!"/>
			<okbox npc="verdugo" text="{crew.firstname}, take several of my crew and keep watch over {guv3}.  The weasel must not escape.  I will speak to {guv} in {startport} about locating the Amulet of Truth!" ok="May the winds be at our backs!"/>
			<poptask num="1"/>
			<pushtask text="Speak to {guv} about The Amulet of Truth."/>
			<addlogentry text="{guv3} will not reveal LaRoche's whereabouts!"/>
			<addlogentry text="Obtain the Amulet of Truth to find LaRoche!"/>
			<goal type="talk" npc="{guv}" text="Ask about Amulet."/>
			<okbox npc="guv" text="You have left LaRoche alive, to continue his reign of terror?  Verdugo, you disappoint!  If the Amulet of Truth is indeed what you need, let us hope it is not the legend I have believed it to be.  There is a lady in {aleport} who has always insisted that it is real.  Captain, your path lies with her.  May providence be with you." ok="I shall not fail my father!"/>
			<poptask num="1"/>
			<pushtask text="Speak to {bart} in {aleport} about the Amulet of Truth."/>
			<goal type="talk" npc="{bart}" text="Ask about Amulet."/>
			<okbox npc="bart" text="The Amulet of Truth?  Nothing but trouble, I tell ye!  Would ye really want yer friends telling ye the truth all the time?  No pleasin' them, I tell ye, even after I starting usin' soap and all." ok="I shall risk it.  Where is the Amulet?"/>
			<okbox npc="bart" text="The Amulet of Truth?  Ah, I made sure no one would be getting it and using it against me.  The bauble be right behind this Alehouse, deep in a cave.  But I had a giant.  .  .  err, I rolled a giant boulder in front of the entrance.  It'll take a bigger man than you or me to clear the path, it will!" ok="But LaRoche will roam free!"/>
			<okbox npc="bart" text="You need it to destroy LaRoche?  Ah, perhaps that boulder idea was not so smart.  I had some.  .  .  help moving it before.  Neither of us has a chance of budging it.  It would take a bear of a man to accomplish that feat.  Someone like.  .  .  Russell Van Gregor!  I know not exactly where he be, but the lads at the Shipyards might have seen him recently." ok="Van Gregor.  Shipyards.  Got it."/>
			<poptask num="1"/>
			<pushtask text="Search all the Shipyards for Captain Van Gregor."/>
			<goal type="talk" npc="{shippy}" text="A fine day to you, Captain Van Gregor."/>
			<addlogentry text="Met Captain Russell Van Gregor who agrees to help you find"/>
			<addlogentry text="the Amulet of Truth."/>
			<okbox npc="vangregor" text="Ignacio, you old dog!  On LaRoche's trail still, I see.  Good man!  I'd be happy to help you get the Amulet of Truth.  Perhaps you could give me some advice on how to.  .  .  impress the ladies, in exchange?" ok="Agreed!  Let's talk about your hair."/>
			<get item="vangregor"/>
			<poptask num="1"/>
			<pushtask text="Head to {aleport} with Captain Van Gregor and find the Amulet of Truth."/>
			<goal type="talk" npc="{bart}" text="Lift the Boulder."/>
			<okbox npc="vangregor" text="Move this pebble?  Oh, certainly.  There you go!  The Amulet of Truth is yours!  Good luck on your quest, Ignacio.  Oh!  First let me try out that line you gave me:  ''Did it hurt when you fell out of heaven?''  Are you certain that will work on the ladies, Ignacio?" ok="You may wish to practice some."/>
			<addlogentry text="Captain Van Gregor retrieves the Amulet of Truth"/>
			<addlogentry text="from behind the giant boulder and wishes you good luck!"/>
			<poptask num="1"/>
			<pushtask text="Head to {battleport} with the Amulet of Truth and speak to {guv3}."/>
			<get item="truth"/>
			<give item="vangregor"/>
			<goal type="talk" npc="{guv3}" text="Ha ha!  I'm back!"/>
			<okbox npc="crew" text="Glad to see you return safely, Captain Verdugo.  {guv3} is here waiting your interrogation." ok="Excellent."/>
			<okbox npc="guv3" text="You can torture me!  Boil me alive!  But I will never tell you that LaRoche is sailing on the route between {startport} and {infoport}.  And that I'm wearing a corset under this shirt!  Argh!  Stupid Amulet!  Did you know I wipe my nose on my shirtsleeves?  And you know, you're a really handsome fellow..." ok="Too much information."/>
			<give item="truth"/>
			<poptask num="1"/>
			<pushtask text="Defeat LaRoche between {startport} and {infoport}."/>
			<goal type="npccombat" npc="laroche" port1="{startport}" port2="{infoport}" difficulty="150" text="Hello again, Ignacio.  Your father made fine weapons.  But he expected LaRoche to pay, like any commoner.  Your father died for the blade I now hold.  How ironic that you shall meet your death at the tip of your own father's sword!  Say hello to the old man for me when you join him in the afterlife!"/>
			<okbox npc="laroche" text="LaRoche is...  undefeatable!  C'est impossible...  just a boy!" ok="For you, Father!  You are avenged!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward in {startport}."/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<tasklevel level="6"/>
			<poptask num="1"/>
			<get item="amuletbacchus"/>
			<get item="neptune"/>
			<addlogentry text="Defeated LaRoche and his fleet!"/>
			<addlogentry text="Received the booty of LaRoche's Ship!"/>
			<okbox npc="guv" text="Huzzah!  We...  uh, that is, YOU have won the day!  LaRoche sails with the grim ferryman, indeed, and the spoils of war are rightfully yours.  I'm pleased to present you with these treasures recovered from the wreckage." ok="Thank you!"/>
			<addlogentry text="Congratulations!  You have beaten Tradewinds 2!"/>
			<okbox text="Congratulations, Captain {player.lastname}!  You have beaten Tradewinds 2.  Continue trading goods and battling pirates to amass great riches.  Try playing as Captain Sebastian LaRoche, the most feared pirate to ever have sailed the seven seas.  Create your own customized character and watch the story of your own adventure unfold!" ok="Carpe Diem!"/>
		</steps>
	</task>

	<task level="5" name="Defeat LaRoche!" reward="LaRoche's Treasures" levelup="true" character="custom">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,governor_access"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="battleport" filters="new,visible,governor_access"/>
			<port name="aleport" filters="new,visible,alehouse"/>
			<port name="shipport" filters="new,visible,shipyard"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="aleguy" location="{aleinfo}"/>
			<location name="aleinfo" port="{infoport}" building="alehouse"/>

			<npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>

			<npc name="shippy" location="{ship}"/>
			<location name="ship" port="{shipport}" building="shipyard"/>

			<npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

            <npc name="guv3" location="{battlemansion}"/>
            <location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="laroche">
				<filters>
					<firstname>Sebastian</firstname>
					<title>Captain</title>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>  
				<nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="vangregor">
				<filters>
					<firstname>Russell</firstname>
					<title>Captain</title>
					<surname>Van Gregor</surname>
					<reserved>vangregor</reserved>
				</filters>
			</npc>

			<npc name="crew">
				<filters>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
		</variables>
		<steps>
			<okbox npc="guv" text="{player.firstname}!  At last, we have reliable reports on the whereabouts of LaRoche!  His elusiveness was not chance; that treacherous Governor of {otherport} has been protecting him.  Do not let eagerness be your defeat, my friend.  Arm yourself well before confronting the scoundrel!  LaRoche's blade has been the last sight of many an honorable soul." ok="I'm on the job, Sir!"/>
            <pushtask text="Capture LaRoche in {otherport}."/>
            <unlockship type="next"/>
            <makehostile port="{otherport}"/>
            <goal type="talk" npc="{guv2}" text="Hand over LaRoche!"/>
            <okbox npc="guv2" text="You've laid ruin to my city, {player.lastname}!  Ha, but your quarry has escaped.  Sebastian and his fleet set sail minutes ago, right under your nose.  Savor every breath from now on, for your days are numbered.  My dear friend LaRoche will exact my revenge!" ok="We'll see."/>
            <addlogentry text="Defeated the Governor of {otherport} but LaRoche has escaped!"/>
            <addlogentry text="Check the Alehouses for information about LaRoche!"/>
            <poptask num="1"/>
            <pushtask text="Check the Alehouses for information about LaRoche."/>
            <goal type="talk" npc="{aleguy}" text="Ask about LaRoche."/>
            <okbox npc="aleguy" text="You would do best to steer clear of him, {player.firstname}.  The things he says he swears to do to you!  Ah, but you are right.  Find him first, and the element of surprise is yours.  I have no particular affection for the rogue.  Last I heard, his fleet was terrorizing {battleport}." ok="LaRoche will be caught!"/>
            <poptask num="1"/>
            <pushtask text="Capture LaRoche in {battleport}."/>
            <makehostile port="{battleport}"/>
            <goal type="talk" npc="{guv3}" text="Where is LaRoche?"/>
            <okbox npc="guv3" text="You are too late, Captain {player.firstname}!  LaRoche has escaped again.  And my lips are sealed.  What are you going to do about it?  Torture me?  You can't make me talk, {player.lastname}!  I fear LaRoche's retribution more than you." ok="Where's a hot poker when you need one?"/>
            <okbox npc="crew" text="Captain {player.firstname}, forgive the interruption, but have you heard of the Amulet of Truth?  It's said to force those around its bearer to speak nothing but the truth.  It might be less messy to use the Amulet on {guv3} than...  other methods.  I shall stand guard over {guv3}.  {guv} in {startport} should be able to help locate the Amulet of Truth!" ok="Excellent!  I'm off!"/>
            <poptask num="1"/>
            <pushtask text="Speak to {guv} in {startport} about The Amulet of Truth."/>
            <addlogentry text="{guv3} will not reveal the location of LaRoche!"/>
            <addlogentry text="Obtain the Amulet of Truth to find LaRoche!"/>
            <goal type="talk" npc="{guv}" text="Ask about the Amulet."/>
            <okbox npc="guv" text="{player.firstname}!  What is this?  LaRoche lives?  My patience wears thin.  Well, if it's the Amulet of Truth you need, I would speak to a certain lady in {aleport}.  She's about the only one I know who does not believe the Amulet to be merely legend." ok="I will not fail, Sir!"/>
            <poptask num="1"/>
            <pushtask text="Speak to {bart} in {aleport} about the Amulet of Truth."/>
            <goal type="talk" npc="{bart}" text="Ask about Amulet."/>
            <okbox npc="bart" text="Now what would you be wanting with me Amulet?  Nothing but trouble, that blasted thing.  Earned me the an evil look from me husband when he asked me if he looked fat.  I couldn't but say ''Yes''!  Ye'd best be movin' on, ye don't want to know what people think when first they lay eyes on ye." ok="I can handle myself.  Where is it?"/>
            <okbox npc="bart" text="Even if I wanted ye to have it, would be no use.  I hid it in the cave behind this Alehouse and rolled a massive boulder to the entrance, just to keep it away from the husband, ye understand." ok="But LaRoche will escape me!"/>
            <okbox npc="bart" text="Well, if ye be going after LaRoche, ye'll be needing all the help you can get.  I reckon you'll be wanting to talk to Russell Van Gregor.  He's the only man I know strong enough to move that rock in front of the cave." ok="Ah, Captain Van Gregor!"/>
            <okbox npc="bart" text="Aye!  Ye know him, do ye?  Wait, you must be the Captain {player.firstname} he's always yammering on about!  Captain Van Gregor still remembers how you saved him from that nasty pirate.  My apologies, Captain, I didn't mean no disrespect.  If ye be wanting to find Russ...  err, Captain Van Gregor, I'd be checkin' all the Shipyards for him.  Got a penchant for tinkering with his ships, he does." ok="Off to find Captain Van Gregor!"/>

            <poptask num="1"/>
            <pushtask text="Search all the Shipyards for Captain Van Gregor."/>
            <goal type="talk" npc="{shippy}" text="Greetings to ye, Captain Van Gregor!"/>
            <addlogentry text="Met Captain Russell Van Gregor who agrees to help you find"/>
            <addlogentry text="the Amulet of Truth."/>
            <okbox npc="vangregor" text="Captain {player.lastname}!  So see to good you!  {player.firstname}, always the blessing to see the Captain who saved me from that nasty pirate.  What can I do for you?" ok="The Amulet of Truth."/>
            <okbox npc="vangregor" text="The Amulet of Truth?  I'd more than happy to help you recover it.  Let us be off!" ok="Thank you, Russell."/>
            <get item="vangregor"/>
            <poptask num="1"/>
            <pushtask text="Head to {aleport} with Captain Van Gregor and find the Amulet of Truth."/>
            <goal type="talk" npc="{bart}" text="Lift the Boulder."/>
            <okbox npc="vangregor" text="There!  You can reach the amulet now.  And I can tell you that whenever no one is looking I pick my nose and eat...  Mercy!  {player.lastname}, take that vile Amulet and go!" ok="Ew.  Goodbye, Van Gregor!"/>
            <addlogentry text="Captain Van Gregor moves the boulder and gives you"/>
            <addlogentry text="the Amulet of Truth!"/>
            <poptask num="1"/>
            <pushtask text="Head to {battleport} with Amulet of Truth and speak to {guv3}."/>
            <get item="truth"/>
            <give item="vangregor"/>
            <goal type="talk" npc="{guv3}" text="Time to find LaRoche."/>
            <okbox npc="crew" text="We've been keeping the prisoner well-guarded for you." ok="This should be fun."/>
            <okbox npc="guv3" text="You can torture me!  Boil me alive!  But I will never tell you that LaRoche is sailing on the route between {startport} and {infoport}.  And that I cheat at Solitaire!  Argh!  Stupid Amulet of Truth!  LaRoche will have my neck!" ok="I didn't think you had a neck.  Thanks!"/>
            <give item="truth"/>
            <poptask num="1"/>
            <pushtask text="Defeat LaRoche between {startport} and {infoport}."/>
            <goal type="npccombat" npc="laroche" port1="{startport}" port2="{infoport}" difficulty="150" text="Excellent to see you again Captain {player.lastname}.  I'm afraid this will be the end of your fledgling career.  Perhaps you should try something less... challenging.  Accounting?  Gardening?  No?  Prepare to die then!"/>
            <okbox npc="laroche" text="How can it be?  Defeated by...  a mere amateur?" ok="That will be your last insult!"/>
            <poptask num="1"/>
            <pushtask text="Claim your Reward in {startport}."/>
            <goal type="talk" npc="{guv}" text="Claim your Reward."/>
            <tasklevel level="6"/>
            <poptask num="1"/>
            <get item="amuletbacchus"/>
            <get item="neptune"/>
            <addlogentry text="Defeated LaRoche and his fleet!"/>
            <addlogentry text="Received the booty of LaRoche's Ship!"/>
            <okbox npc="guv" text="{player.firstname}!  I admit, I never thought you had it in you.  The great pirate LaRoche, defeated by the Captain {player.lastname}!  Well done, indeed.  I am pleased to present you with these treasures recovered from the wreckage." ok="Thank you!"/>
            <addlogentry text="Congratulations!  You have beaten Tradewinds 2!"/>
            <okbox text="Congratulations, Captain {player.lastname}!  You have beaten Tradewinds 2.  Continue trading goods and battling pirates to amass great riches.  You truly are a master Captain and Merchant!" ok="Carpe Diem!"/>
            </steps>
	</task>

	<task level="5" name="Defeat LaRoche!" reward="LaRoche's Treasures" levelup="true" character="mcgowan">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,governor_access"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="battleport" filters="new,visible,governor_access"/>
			<port name="aleport" filters="new,visible,alehouse"/>
			<port name="shipport" filters="new,visible,shipyard"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="aleguy" location="{aleinfo}"/>
			<location name="aleinfo" port="{infoport}" building="alehouse"/>

			<npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>

			<npc name="shippy" location="{ship}"/>
			<location name="ship" port="{shipport}" building="shipyard"/>

			<npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

            <npc name="guv3" location="{battlemansion}"/>
            <location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="laroche">
				<filters>
					<firstname>Sebastian</firstname>
					<title>Captain</title>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>  
				<nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="vangregor">
				<filters>
					<firstname>Russell</firstname>
					<title>Captain</title>
					<surname>Van Gregor</surname>
					<reserved>vangregor</reserved>
				</filters>
			</npc>
			<npc name="mcgowan">
				<filters>
					<firstname>Christine</firstname>
					<title>Captain</title>
					<surname>McGowan</surname>
					<reserved>mcgowan</reserved>
				</filters>
			</npc>

			<npc name="crew">
				<filters>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
		</variables>

		<steps>
			<okbox npc="guv" text="Christine!  At last, we have reliable reports on the whereabouts of LaRoche!  His elusiveness was not chance; that treacherous Governor of {otherport} has been protecting him.  Do not let eagerness be your defeat, my friend.  Arm yourself well before confronting the scoundrel!  LaRoche's blade has been the last sight of many an honorable soul." ok="I'm the woman for the job, sir!"/>
            <pushtask text="Capture LaRoche in {otherport}."/>
            <unlockship type="next"/>
            <makehostile port="{otherport}"/>
            <goal type="talk" npc="{guv2}" text="Hand over LaRoche!"/>
            <okbox npc="guv2" text="You've laid ruin to my city, McGowan!  Ha, but your quarry has escaped.  Sebastian and his fleet set sail minutes ago, right under your nose.  Savor every breath from now on, for your days are numbered.  My dear friend LaRoche will exact my revenge!" ok="LaRoche doesn't stand a chance."/>
            <addlogentry text="Defeated the Governor of {otherport} but LaRoche has escaped!"/>
            <addlogentry text="Check the Alehouses for information about LaRoche!"/>
            <poptask num="1"/>
            <pushtask text="Check the Alehouses for information about LaRoche."/>
            <goal type="talk" npc="{aleguy}" text="Ask about LaRoche."/>
            <okbox npc="aleguy" text="You would do best to steer clear of him, Christine.  The things he says he will do to a tender girl such as yourself!  Ah, but you are right.  Find him first, and the element of surprise is yours.  I have no particular affection for the rogue.  Last I heard, his fleet was terrorizing {battleport}." ok="Tender girl!  Ha!  I'll make him tender."/>
            <poptask num="1"/>
            <pushtask text="Capture LaRoche in {battleport}."/>
            <makehostile port="{battleport}"/>
            <goal type="talk" npc="{guv3}" text="Where is LaRoche?"/>
            <okbox npc="guv3" text="You are too late, missy!  LaRoche has escaped again.  And my lips are sealed.  What are you going to do about it, little girl?  Cry on me?  Throw a tantrum?  You can't make me talk, McGowan!" ok="Where's a hot poker when you need one?"/>
            <okbox npc="crew" text="Miss M, forgive the interruption, but have you heard of the Amulet of Truth?  It's said to force those around its bearer to speak nothing but the truth.  It might be less messy to use the Amulet on {guv3} than...  other methods." ok="True.  Cleaning those carpets is expensive."/>
            <okbox npc="mcgowan" text="{crew.firstname}, you're in charge here.  Stand guard over {guv3}; I shall be returning with the Amulet for a chat.   I will speak to {guv} in {startport} about locating the Amulet of Truth!" ok="We're off!"/>
            <poptask num="1"/>
            <pushtask text="Speak to {guv} in {startport} about The Amulet of Truth."/>
            <addlogentry text="{guv3} will not reveal the location of LaRoche!"/>
            <addlogentry text="Obtain the Amulet of Truth to find LaRoche!"/>
            <goal type="talk" npc="{guv}" text="Ask about the Amulet."/>
            <okbox npc="guv" text="Christine!  What is this?  LaRoche lives?  My patience wears thin, my dear.  Well, if it's the Amulet of Truth you need, I would speak to a certain lady in {aleport}.  She's about the only one I know who does not believe the Amulet to be merely legend." ok="I will not fail, sir!"/>
            <poptask num="1"/>
            <pushtask text="Speak to {bart} in {aleport} about the Amulet of Truth."/>
            <goal type="talk" npc="{bart}" text="Ask about Amulet."/>
            <okbox npc="bart" text="Now what would a pretty girl like you be wanting with me Amulet?  Nothing but trouble, that blasted thing.  Earned me the an evil look from me husband when he asked me if he looked fat.  I couldn't but say ''Yes''!  Ye'd best be movin' on, little lady; ye don't want to know what men think when first they lay eyes on ye." ok="I can handle myself.  Where is it?"/>
            <okbox npc="bart" text="Even if I wanted ye to have it, would be no use.  I hid it in the cave behind this Alehouse and rolled a massive boulder to the entrance, just to keep it away from me husband, ye understand." ok="But LaRoche will escape me!"/>
            <okbox npc="bart" text="Well, if a slip of a girl such as yerself be going after LaRoche, ye'll be needing all the help you can get.  I reckon you'll be wanting to talk to Russell Van Gregor.  He's the only man I know strong enough to move that rock in front of the cave." ok="Russell?  Oh my!"/>
            <okbox npc="bart" text="Aye!  Ye know him, do ye lass?  Wait, you must be the Captain McGowan he's always yammering on about!  My apologies, Captain, I didn't mean no disrespect.  If ye be wanting to find Russ...  err, Captain Van Gregor, I'd be checkin' all the Shipyards for him.  Got a penchant for tinkering with his ships, he does." ok="Off to find Captain Van Gregor!"/>

            <poptask num="1"/>
            <pushtask text="Search all the Shipyards for Captain Van Gregor."/>
            <goal type="talk" npc="{shippy}" text="Greetings to ye, Captain Van Gregor!"/>
            <addlogentry text="Met Captain Russell Van Gregor who agrees to help you find"/>
            <addlogentry text="the Amulet of Truth."/>
            <okbox npc="vangregor" text="Miss McGowan!  So see to good you!  Err, I mean...  what a lovely bodice you're wearing!  I mean dress, dress, lovely dress.  I don't even know what a bodice is...  oh, bother.  Christine, you're a blessing on the eyes, as usual.  What can I do for you?" ok="The Amulet of Truth."/>
            <okbox npc="vangregor" text="The Amulet of Truth?  I'd more than happy to help you recover it.  Let us be off!" ok="Thank you, Russell."/>
            <get item="vangregor"/>
            <poptask num="1"/>
            <pushtask text="Head to {aleport} with Captain Van Gregor and find the Amulet of Truth."/>
            <goal type="talk" npc="{bart}" text="Lift the Boulder."/>
            <okbox npc="vangregor" text="There!  You can reach the amulet now.  And I can tell you how I practiced flexing my muscles in front of the mirror all morning in anticipation of being able to impress you just now...  GAH!  Mercy, Christine, take that vile Amulet and go!" ok="Goodbye, Muscles!"/>
            <addlogentry text="Captain Van Gregor moves the boulder and gives you"/>
            <addlogentry text="the Amulet of Truth!"/>
            <poptask num="1"/>
            <pushtask text="Head to {battleport} with Amulet of Truth and speak to {guv3}."/>
            <get item="truth"/>
            <give item="vangregor"/>
            <goal type="talk" npc="{guv3}" text="Bring me to the governor!"/>
            <okbox npc="crew" text="We've been keeping the prisoner well-guarded for you." ok="This should be fun."/>
            <okbox npc="guv3" text="You can torture me!  Boil me alive!  But I will never tell you that LaRoche is sailing on the route between {startport} and {infoport}.  And that I cheat at Solitaire!  Argh!  Stupid Amulet of Truth!  LaRoche will have my neck!" ok="I didn't think you had a neck.  Thanks!"/>
            <give item="truth"/>
            <poptask num="1"/>
            <pushtask text="Defeat LaRoche between {startport} and {infoport}."/>
            <goal type="npccombat" npc="laroche" port1="{startport}" port2="{infoport}" difficulty="150" text="Captain McGowan, surely you would rather enjoy some nice cognac in my quarters than foolishly engage me in battle, no?  Ah, it is a pity to destroy such a thing of beauty, but if you insist.  I shall make your defeat swift and painless!"/>
            <okbox npc="laroche" text="How can it be?  Defeated by...  a mere debutante?" ok="The last insult from you, scoundrel!"/>
            <poptask num="1"/>
            <pushtask text="Claim your Reward in {startport}."/>
            <goal type="talk" npc="{guv}" text="Claim your Reward."/>
            <tasklevel level="6"/>
            <poptask num="1"/>
            <get item="amuletbacchus"/>
            <get item="neptune"/>
            <addlogentry text="Defeated LaRoche and his fleet!"/>
            <addlogentry text="Received the booty of LaRoche's Ship!"/>
            <okbox npc="guv" text="Christine!  I admit, I never thought you had it in you.  The great pirate LaRoche, defeated by the velvet glove of Captain McGowan!  Well done, indeed.  I am pleased to present you with these treasures recovered from the wreckage." ok="Thank you!"/>
            <addlogentry text="Congratulations!  You have beaten Tradewinds 2!"/>
            <okbox text="Congratulations, Captain {player.lastname}!  You have beaten Tradewinds 2.  Continue trading goods and battling pirates to amass great riches.  Try playing as Captain Sebastian LaRoche, the most feared pirate to ever have sailed the seven seas.  Create your own customized character and watch the story of your own adventure unfold!" ok="Carpe Diem!"/>
            </steps>
	</task>

	<task level="5" name="Defeat LaRoche!" reward="LaRoche's Treasures" levelup="true" character="azul">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,governor_access"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="battleport" filters="new,visible,governor_access"/>
			<port name="aleport" filters="new,visible,alehouse"/>
			<port name="shipport" filters="new,visible,shipyard"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="aleguy" location="{aleinfo}"/>
			<location name="aleinfo" port="{infoport}" building="alehouse"/>

			<npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>

			<npc name="shippy" location="{ship}"/>
			<location name="ship" port="{shipport}" building="shipyard"/>

			<npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

			<npc name="guv3" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>

            <npc name="laroche">
				<filters>
					<firstname>Sebastian</firstname>
                    <title>Captain</title>
                    <surname>LaRoche</surname>
                    <reserved>laroche</reserved>  
				<nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="vangregor">
				<filters>
					<firstname>Russell</firstname>
					<title>Captain</title>
					<surname>Van Gregor</surname>
					<reserved>vangregor</reserved>
				</filters>
			</npc>
            <npc name="azul">
				<filters>
					<firstname>Adia</firstname>
					<title>Captain</title>
					<surname>Azul</surname>
					<reserved>azul</reserved>
				</filters>
			</npc>

			<npc name="crew">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
        </variables>

		<steps>
			<okbox npc="guv" text="Adia Azul!  Thank heavens you have arrived.  At last, we have reliable reports on the whereabouts of LaRoche!  His elusiveness was not chance; that treacherous Governor of {otherport} has been protecting him.  I don't need to admonish you to prepare well, Adia.  You know LaRoche's blade has been the last sight of many an honorable soul." ok="I'll enjoy watching him sink!"/>
			<pushtask text="Capture LaRoche in {otherport}."/>
			<unlockship type="next"/>
			<makehostile port="{otherport}"/>
			<goal type="talk" npc="{guv2}" text="Where is LaRoche?"/>
			<okbox npc="guv2" text=" Foul creature!  You've laid waste to my city!  And all for naught.  I helped Sebastian and his fleet set sail minutes ago, right under your nose.  You are living on borrowed time, Azul.  My dear friend LaRoche will exact my revenge!" ok="You shall pay for your treachery."/>
			<addlogentry text="Defeated the Governor of {otherport} but LaRoche has escaped!"/>
			<addlogentry text="Check the Alehouses for information about LaRoche!"/>
			<poptask num="1"/>
			<pushtask text="Check the Alehouses for information on LaRoche."/>
			<goal type="talk" npc="{aleguy}" text="Ask about LaRoche."/>
			<okbox npc="aleguy" text="LaRoche is looking for you, too, Adia - but he wants to choose the place and time.  You're a mighty Captain, this is certain, but do not be blinded by your pride.  He has begun a reign of terror in {battleport}, and I wouldn't doubt that his only intent is to attract your attention." ok="Attract it he has.  Good day."/>
			<poptask num="1"/>
			<pushtask text="Capture LaRoche in {battleport}."/>
			<makehostile port="{battleport}"/>
			<goal type="talk" npc="{guv3}" text="Where is LaRoche?"/>
			<okbox npc="guv3" text="Ha!  LaRoche has escaped again, and you will not find him!  Torture me as you wish; no woman shall command me!  I will never reveal the location of Sebastian LaRoche to you, Azul!" ok="Torture.  Hold that thought."/>
			<okbox npc="crew" text="Pardon me, Captain Azul, but I believe a certain magical amulet could force that wretch's tongue to wag.  There are those who say this Amulet of Truth is mere legend, but I have reason to believe otherwise." ok="Hmm.  Very well.  No torture."/>
			<okbox npc="azul" text="{crew.firstname}, I must speak to {guv} in {startport} about the Amulet of Truth's location.  Stand guard over this cur in my absence.  Give him a rotten crust or two, if you must." ok="Raise anchor!"/>
			<poptask num="1"/>
			<pushtask text="Speak to {guv} about The Amulet of Truth."/>
			<addlogentry text="{guv3} will not reveal the location of LaRoche!"/>
			<addlogentry text="Obtain the Amulet of Truth to find LaRoche!"/>
			<goal type="talk" npc="{guv}" text="Ask about the Amulet."/>
			<okbox npc="guv" text="LaRoche escaped you, Adia?  I'm surprised.  But he is a slimy devil, indeed.  I think your crewman is mad, but there are others who also believe in this Amulet of Truth.  You'll want to speak with a certain lady in {aleport} about it." ok="I shall complete my task, sir."/>
			<poptask num="1"/>
			<pushtask text="Speak to {bart} in {aleport} about the Amulet of Truth."/>
			<goal type="talk" npc="{bart}" text="Ask about Amulet."/>
			<okbox npc="bart" text="The Amulet?  It's real enough.  I used to own it, I did.  Nothing but strife, it was!  Me little boy swiped it one day and asked me where he came from, and the poor kid is still walkin' around with saucers for eyes.  I can't imagine anyone darin' to lie to you, though, Adia." ok="So tell me truthfully - where is it?"/>
			<okbox npc="bart" text="Hid it in a cave I did.  Right behind this Alehouse.  Then I rolled a massive boulder down the hill and blocked the entrance.  Wanted to make sure no one else was ever so cursed." ok="I need it to find LaRoche."/>
			<okbox npc="bart" text="Ah, why didn't ye say so!  I'll just go out there and move the boulder...  ah, no I won't.  Only one man in this land strong enough to budget that hunk of rock, if ye get me drift." ok="Captain Van Gregor."/>
			<okbox npc="bart" text="Aye, the very man!  He's never one to turn down a request from a good soul such as yourself.  And ah, how the blood in his cheeks comes up when he mentions your name after a few yards of ale.  Y'ask me, the great softie would move a dozen boulders for you, Adia, any day.  Check all the Shipyards if ye be looking to find him." ok="Off to find a boulder roller, then."/>
			<poptask num="1"/>
			<pushtask text="Search all the Shipyards for Captain Van Gregor."/>
			<goal type="talk" npc="{shippy}" text="Ah, Captain Van Gregor!"/>
			<addlogentry text="Met Captain Russell Van Gregor who agrees to help you find"/>
			<addlogentry text="the Amulet of Truth."/>
			<okbox npc="vangregor" text="Captain Azul!  Here, no doubt, on some quest to bring justice where there is none, et cetera, et cetera.  And, may I say, looking absolutely radiant in the process.  Hope there are no hard feelings between us for that pirate bounty business.  How may I be of service?" ok="The Amulet of Truth."/>
			<okbox npc="vangregor" text="Ah, you must be tracking down LaRoche!  I'll certainly help you get The Amulet of Truth.  A boulder, you say?  I'd move a dozen boulders every day for you, dear Adia." ok="Let's do it."/>
			<get item="vangregor"/>
			<poptask num="1"/>
			<pushtask text="Head to {aleport} with Captain Van Gregor and find the Amulet of Truth."/>
			<goal type="talk" npc="{bart}" text="Lift the Boulder."/>
			<okbox npc="vangregor" text="There it is!  Here you go, my dear.  And I must say that although I find you extremely attractive, I'm secretly afraid you could beat the living tar out of me in a fair fight.  GAH!  The Amulet!  Get it away!  I must be going now." ok="Bye, Russell.  And um, thanks."/>
			<addlogentry text="Captain Van Gregor retrieves the Amulet of Truth"/>
			<addlogentry text="from behind the giant boulder and wishes you good luck!"/>
			<poptask num="1"/>
			<pushtask text="Head to {battleport} with Amulet of Truth and speak to {guv3}."/>
			<get item="truth"/>
			<give item="vangregor"/>
			<goal type="talk" npc="{guv3}" text="Let's see what we can learn!"/>
			<okbox npc="crew" text="Welcome back, Captain.  The knave has had his crusts and awaits your interrogation." ok="Excellent."/>
			<okbox npc="guv3" text="You can torture me!  Boil me alive!  But I will never tell you that LaRoche is sailing on the route between {startport} and {infoport}.  And that I study my handkerchief for several minutes after I blow my nose.  Argh!  The Amulet!  LaRoche will keelhaul me!" ok="That's disgusting.  Thank you."/>
			<give item="truth"/>
			<poptask num="1"/>
			<pushtask text="Defeat LaRoche between {startport} and {infoport}."/>
			<goal type="npccombat" npc="laroche" port1="{startport}" port2="{infoport}" difficulty="150" text="Captain Azul, you saucy wench!  What a worthy rival you have proven.  Such a pity that the freedom you won for yourself so many years ago ends here, today, at the tip of my blade!  Au revoir, ma chere!"/>
			<okbox npc="laroche" text="Defeated?  By a mere woman?  C'est impossible...!" ok="Oh, C'est possible.  Good riddance."/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward in {startport}."/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<tasklevel level="6"/>
			<poptask num="1"/>
			<get item="amuletbacchus"/>
			<get item="neptune"/>
			<addlogentry text="Defeated LaRoche and his fleet!"/>
			<addlogentry text="Received the booty of LaRoche's Ship!"/>
			<okbox npc="guv" text="Adia!  Huzzah!  I had no doubts you were the woman for the job.  LaRoche has pillaged his last, thanks to you.  I'm pleased to present you with these treasures recovered from the wreckage." ok="A reward well earned!"/>
			<addlogentry text="Congratulations!  You have beaten Tradewinds 2!"/>
			<okbox text="Congratulations, Captain {player.lastname}!  You have beaten Tradewinds 2.  Continue trading goods and battling pirates to amass great riches.  Try playing as Captain Sebastian LaRoche, the most feared pirate to ever have sailed the seven seas.  Create your own customized character and watch the story of your own adventure unfold!" ok="Carpe Diem!"/>
		</steps>
	</task>
	
	<task level="5" name="Economic Trouble" reward="1,000,000 Gold" character="azul">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bankport1" filters="new,visible,bank"/>
			<port name="bankport2" filters="new,visible,bank"/>
			<port name="bankport3" filters="new,visible,bank"/>
			<port name="bankport4" filters="new,visible,bank"/>


			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="banker1" location="{bank1}"/>
			<location name="bank1" port="{bankport1}" building="bank"/>

			<npc name="banker2" location="{bank2}"/>
			<location name="bank2" port="{bankport2}" building="bank"/>

			<npc name="banker3" location="{bank3}"/>
			<location name="bank3" port="{bankport3}" building="bank"/>

			<npc name="banker4" location="{bank4}"/>
			<location name="bank4" port="{bankport4}" building="bank"/>
		</variables>
		<steps>
			<okbox npc="guv" text="Adia, we are in an economic crisis.  There is a run on the banks of this great nation.  We must not misunderestimate the impact that a few strategicerally placed deposits could have in Vulcanizing this situation.  My treasurer has advised me to deposit 10,000 Gold in four different banks.  First, deposit 10,000 Gold in {bankport1}.  Then, 10,000 gold in {bankport2}.  Next, 10,000 Gold in {bankport3}.  And finally, 10,000 Gold in {bankport4}.  Do this and I will give you 1,000,000 Gold for your very own personal retirement account.  Watch out for evildoers along the way!" ok="Uh, I think I understand."/>
			<get item="gold" amount="40000"/>
			<get item="alwaysbattle"/>
			<addlogentry text="Received 40,000 Gold to deposit money for the Governor of {startport}."/>
			<pushtask text="Claim your Reward from the Governor of {startport}."/>
			<pushtask text="Deposit 10,000 Gold in {bankport4}."/>
			<pushtask text="Deposit 10,000 Gold in {bankport3}."/>
			<pushtask text="Deposit 10,000 Gold in {bankport2}."/>
			<pushtask text="Deposit 10,000 Gold in {bankport1}."/>

			<goal type="arrive" port="{bankport1}"/>
			<goal type="deposit" port="{bankport1}" amount="10000"/>
			<withdrawgold amount="10000"/>
			<give item="gold" amount="10000"/>
			<okbox npc="banker1" text="Excellent.  Tell the Governor of {startport} thank you for his generous deposit." ok="Will do."/>
			<poptask num="1"/>

			<goal type="arrive" port="{bankport2}"/>
			<goal type="deposit" port="{bankport2}" amount="10000"/>
			<withdrawgold amount="10000"/>
			<give item="gold" amount="10000"/>
			<okbox npc="banker2" text="Wonderful!  Tell the Governor of {startport} thank you for his generous deposit.  And have some of Zuzu's petals!" ok="Will do."/>
			<poptask num="1"/>

			<goal type="arrive" port="{bankport3}"/>
			<goal type="deposit" port="{bankport3}" amount="10000"/>
			<withdrawgold amount="10000"/>
			<give item="gold" amount="10000"/>
			<okbox npc="banker3" text="Spectacular!  Thank the Governor of {startport} for his generosity.  We may not have bread lines after all!" ok="Will do."/>
			<poptask num="1"/>

			<goal type="arrive" port="{bankport4}"/>
			<goal type="deposit" port="{bankport4}" amount="10000"/>
			<withdrawgold amount="10000"/>
			<give item="gold" amount="10000"/>
			<okbox npc="banker4" text="Magnificient!  The economy has been stabilized thanks to {guv}.  Go to {startport} and thank him for me!" ok="I will."/>
			<poptask num="1"/>
			<give item="alwaysbattle"/>
			<goal type="arrive" port="{startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<get item="gold" amount="1000000"/>
			<addlogentry text="Received 1,000,000 Gold from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Great job, there, Captain Azul.  I knew you would smoke those evildoers out of their spider holes, so they'd have nowhere to run, protecting the homeland...  what?  Your money?  Oh yeah.  Here ya go.  Skedaddle." ok="Thanks."/>
        </steps>
	</task>

	<task level="5" name="Shopping for Tobacco" reward="Remainder of Shopping Money">
		<variables>
			<port name="startport" filters="here"/>
            <port name="otherport" filters="new,visible"/>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>
		<steps>
			<okbox npc="guv" text="I find myself in need of 10 crates of tobacco from {otherport}, dear Captain.  Wife goes through it like there was no tomorrow.  Teeth as brown as a beaver's coat, she has.  Filthy habit, yes, yes.  But if she doesn't get tobacco from {otherport}, I shall have no peace.  This 100,000 in gold should more than cover it.  Keep the remainder as your fee." ok="Will do."/>
			<get item="gold" amount="100000"/>
                        <addlogentry text="Received 100,000 in Gold to Purchase Tobacco from {otherport}"/>
                        <addlogentry text="for the Governor of {startport}."/>
                        <pushtask text="Buy 10 crates of Tobacco in {otherport}."/>
			<goal type="buy" good="tobacco" amount="10" port="{otherport}"/>
                        <give item="tobacco" amount="10"/>
			<get item="tentobacco"/>
                        <poptask num="1"/>
                        <pushtask text="Give 10 crates of Tobacco to Governor of {startport}."/>
                        <addlogentry text="Transferred ten crates of {otherport} tobacco into"/>
                        <addlogentry text="a special crate for the Governor of {startport}."/>
                        <goal type="talk" npc="{guv}" text="Deliver the Tobacco."/>
			<give item="tentobacco"/>
			<addlogentry text="Delivered ten crates of tobacco to the Governor."/>
                        <poptask num="1"/>
			<okbox npc="guv" text="Jolly good.  This should keep her for at least a few weeks.  Good day to you, Captain." ok="Good Day."/>
               </steps>
	</task>
        <task level="5" name="More Textile shopping" reward="500,000 gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="textileport" filters="new,visible"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="brian" location="{textilemarket}">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
					<firstname>Brian</firstname>
				</filters>
			</npc>

                        <location name="textilemarket" port="{textileport}" building="marketplace"/>
			<npc name="isabella">
				<filters>
		    <reserved>none</reserved>
                    <class>upperpirate</class>
                    <sex>female</sex>
                    <race>white</race>
                    <headsize>smallhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>black</haircolor>
                    <neckitem>none</neckitem>
                    <costume>costume20</costume>
                    <pet>pet07f</pet>
                    <earitem>none</earitem>
                    <hair>hair05</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes08</eyes>
                    <eyeitem>eyepatch00f</eyeitem>
                    <ears>ears38</ears>
                    <nose>nose09</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth13</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title>Pirate</title>
                    <firstname>Isabella</firstname>
                    <surname>NONE</surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>

		</variables>
		<steps>
			<okbox npc="guv" text="Well, here we are again.  My wife is clamoring for more textiles.  We're throwing a grand ball in a fortnight.  Seems she wants several gowns made so she can make a last minute decision something about ''fat clothes''.  Women's ways!  Thank you for coming.  Could you please procure 10 crates of textiles at {textileport}?  Please speak to Master Brian at the Marketplace first to insure you get {textileport}'s finest textiles." ok="Yes, Sir."/>
			<pushtask text="Speak to Master Brian at {textileport}."/>
			<goal type="talk" npc="{brian}" text="Ask Master Brian about Textiles."/>
			<okbox npc="brian" text="Fat clothes, indeed.  I recognized {guv}'s wife's old dress the last time I went to the circus.  Fine tent it made.  But only the best for m'lady.  Bah.  Buy 10 crates of textiles, and I guarantee you'll get the best of what we have." ok="Thanks."/>
			<poptask num="1"/>
			<pushtask text="Deliver 10 crates of textiles to the Governor's Wife in {startport}"/>
			<pushtask text="Purchase 10 crates of Textiles at {textileport}."/>
                        <goal type="buy" good="textiles" amount="10" port="{textileport}"/>
			<give item="textiles" amount="10"/>
			<get item="tentextiles"/>
			<poptask num="1"/>
                        <addlogentry text="Transferred 10 crates of {textileport} textiles into"/>
			<addlogentry text="a special crate for the Governor of {startport}."/>
                        <goal type="npccombat" port1="{startport}" npc="{isabella}" text="Aha!  There you are!  It would take all the textiles in the land to cover that Sarah {guv.lastname}'s backside.  She can't have it all.  I shall make a fine dress from your cargo!  All eyes will be on me at the Governor's ball!  Too bad you won't be around to see it."/>
			<okbox npc="isabella" text="My ship!  My beautiful ship!  Your luck shall run out, neophyte.  And when it does, Isabella will be there!" ok="Farewell!"/>
			<goal type="talk" npc="{guv}" text="Deliver the Textiles."/>
			<poptask num="1"/>
			<give item="tentextiles"/>
			<get item="gold" amount="500000"/>
			<addlogentry text="Received 500,000 gold from the Governor of {startport}."/>
			<okbox npc="guv" text="You were attacked by the Pirate Isabella?  You don't say!  Did she say what she'd be wearing to the ball?  Oh, I do digress.  Here is the 500,000 in Gold I promised." ok="Thank you."/>
		</steps>
	</task>

	<task level="5" name="The Wanted Man" reward="1,000,000 Gold" character="custom">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="otherport" filters="new,visible,governor_access,alehouse"/>
                        <port name="smartport" filters="new,visible,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>
                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>
                        <npc name="guv3" location="{smartmansion}"/>
                        <location name="smartmansion" port="{smartport}" building="governor"/>
                        <npc name="guv4" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>
                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>
                       	<npc name="laroche">
                               <filters>
					<firstname>Sebastian</firstname>
                                        <surname>LaRoche</surname>
                                        <title>Captain</title>
                                        <class>middle</class>
                                        <reserved>laroche</reserved>  
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="So you have a mind to pursue the dread pirate LaRoche, eh?  Start by getting his attention, dear Captain.  Jean Bertrand, his first mate and best friend, was recently apprehended in {otherport}.  He managed to disappear from his shackles, though.  His recapture would be a blow to LaRoche, and I would pay a handsome bounty for your troubles.  If I were you, I'd start by looking for clues in {otherport}." ok="Will do."/>
                <pushtask text="Return LaRoche's First Mate to the Governor of {startport}."/>
                <pushtask text="Capture LaRoche's First Mate."/>
                <pushtask text="Talk to the Governor in {otherport} to get Info about LaRoche's First Mate."/>
                <goal type="talk" npc="{guv2}" text="Ask about Jean Bertrand"/>
                <okbox npc="guv2" text="Bertrand?  Never heard of him.  I assure you, my dear Captain, anyone clapped in irons here stays put until I say otherwise.  Perhaps the honorable Governor of {startport} misspoke?  Now leave me, I have, uh, important Governor things to do." ok="You're lying."/>
                <okbox npc="guv2" text="Insult me again, Captain, and I shall give you a personal demonstration of the security of our shackles.  I suggest you visit the Alehouse, if you feel the need to wag your tongue.  Good day!" ok="Good bye."/>
                <poptask num="1"/>
                <pushtask text="Visit the Alehouse in {otherport} for information on LaRoche's First Mate."/>
                <goal type="talk" npc="{aleguy}" text="Eavesdrop on Conversation"/>
                <okbox npc="aleguy" text="No, I swear it's true!  The Governor of {smartport} is indeed the first cousin of our own dear Governor!  And there is no love lost between them.  Why, I wager there is no dark secret either of them would hesitate to reveal about the other." ok="Ah..."/>
                <poptask num="1"/>
                <pushtask text="Visit the Governor of {smartport} for information on the Governor of {otherport}."/>
                <goal type="talk" npc="{guv3}" text="Ask about his cousin"/>
                <okbox npc="guv3" text="Ah, you've met my buffoon of a cousin?  The gouty wretch has wasted his life pursuing the Gem of Mandalay, squandering much of the family fortune along the way.  If you must have business with him, I'm sure the Gem would loosen his fool tongue." ok="Where is the Gem?"/>
                <okbox npc="guv3" text="The last rumor was that the Trader in {traderport} had it.  If you manage to acquire it, you'll have my cousin on his hands and knees begging for your favor.  I should like to commission a painting of that..." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Give Gem of Mandalay to Governor of {otherport} for information about Jean Bertrand."/>
                <pushtask text="Purchase the Gem of Mandalay from Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Gem"/>
                <okbox npc="tradeguy" text="Ah, the Gem of Mandalay?  That will not come cheaply, my friend.  Ten crates of textiles, and the Gem is yours." ok="That's robbery!"/>
                <okbox npc="tradeguy" text="Supply and demand.  You want the Gem?  Come back when you have the goods." ok="Fine."/>
                <poptask num="1"/>
                <pushtask text="Exchange 10 crates of textiles for the Gem of Mandalay with the Trader in {traderport}."/>
                <goal type="have" good="textiles" amount="10"/>
                <get item="tentextiles"/>
                <give item="textiles" amount="10"/>
                <addlogentry text="Transferred 10 crates of textiles into a"/>
                <addlogentry text="special crate for the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Deliver the Textiles"/>
                <give item="tentextiles"/>
                <okbox npc="tradeguy" text="I knew we could do business.  The Gem is yours." ok="Thank you."/>
                <get item="mandalay"/>
                <poptask num="1"/>
                <goal type="talk" npc="{guv2}" text="Deliver the Gem"/>
                <okbox npc="guv2" text="You have the Gem of Mandalay!  How could this be?  LaRoche promised it to me for...  oh, no matter, give it here!  You might as well know.  I let Jean Bertrand escape my prison and flee to {battleport}.  Now run along; I have some polishing to do!" ok="Please stop drooling on the Gem."/>
                <poptask num="1"/>
                <pushtask text="Head to {battleport} to recapture the Pirate Jean Bertrand."/>
                <give item="mandalay"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv4}" text="Demand Jean Bertrand"/>
                <okbox npc="guv4" text="I will not be bullied by the likes of you, Captain!  You expect me to hand my good friend Jean Bertrand over to you?  Uh, certainly, no problem, I'll fetch him.  You can put that cutlass away.  Honor to have you here, my friend, care for some tea?" ok="You can get off your knees now."/>
                <poptask num="2"/>
                <get item="pirate"/>
                <goal type="npccombat" npc="{laroche}" port1="{startport}"text="Capitan!  You hoped to gain my attention, no?  You have my first mate, Bertrand, on board.  Surrender him now, and I shall perhaps let you live another day!"/>
                <okbox npc="laroche" text="No one insults LaRoche such as this!  You have my attention, mon ami, and this you will come to regret!" ok="Mon ami?  Mon pied!"/>
                <goal type="talk" npc="{guv}" text="Deliver Jean Bertrand"/>
                <poptask num="1"/>
                <give item="pirate"/>
                <get item="gold" amount="1000000"/>
                <addlogentry text="Delivered LaRoche's First Mate to the Governor of {startport}."/>
                <addlogentry text="Received 1,000,000 gold from the Governor of {startport}."/>
                <okbox npc="guv" text="Oh, I should have paid a king's ransom to see LaRoche's defeat!  But at least Jean Bertrand is safely behind bars again.  News has come that LaRoche survived the battle, and is now rebuilding his fleet.  I fear you have stirred the hornet's nest!  This thing between you will end only when one of you is no more.  Perhaps this reward of 1,000,000 gold will soften the blow, eh?  Fair winds, brave hero!" ok="Thank you."/>
                </steps>
	</task>

        <task level="5" name="The Wanted Man" reward="1,000,000 Gold" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="otherport" filters="new,visible,governor_access,alehouse"/>
                        <port name="smartport" filters="new,visible,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>
                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>
                        <npc name="guv3" location="{smartmansion}"/>
                        <location name="smartmansion" port="{smartport}" building="governor"/>
                        <npc name="guv4" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>
                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>
                       	<npc name="laroche">
                               <filters>
					<firstname>Sebastian</firstname>
                                        <surname>LaRoche</surname>
                                        <title>Captain</title>
                                        <class>middle</class>
                                        <reserved>laroche</reserved>  
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="So you have a mind to pursue the dread pirate LaRoche, eh?  Start by getting his attention, dear Captain.  Jean Bertrand, his first mate and best friend, was recently apprehended in {otherport}.  He managed to disappear from his shackles, though.  His recapture would be a blow to LaRoche, and I would pay a handsome bounty for your troubles.  If I were you, I'd start by looking for clues in {otherport}." ok="Will do."/>
                <pushtask text="Return LaRoche's First Mate to the Governor of {startport}."/>
                <pushtask text="Capture LaRoche's First Mate."/>
                <pushtask text="Talk to the Governor in {otherport} to get Info about LaRoche's First Mate."/>
                <goal type="talk" npc="{guv2}" text="Ask about Jean Bertrand"/>
                <okbox npc="guv2" text="Bertrand?  Never heard of him.  I assure you, my dear Captain, anyone clapped in irons here stays put until I say otherwise.  Perhaps the honorable Governor of {startport} misspoke?  Now leave me, I have, uh, important Governor things to do." ok="You're lying."/>
                <okbox npc="guv2" text="Insult me again, Captain, and I shall give you a personal demonstration of the security of our shackles.  I suggest you visit the Alehouse, if you feel the need to wag your tongue.  Good day!" ok="Good bye."/>
                <poptask num="1"/>
                <pushtask text="Visit the Alehouse in {otherport} for information on LaRoche's First Mate."/>
                <goal type="talk" npc="{aleguy}" text="Eavesdrop on Conversation"/>
                <okbox npc="aleguy" text="No, I swear it's true!  The Governor of {smartport} is indeed the first cousin of our own dear Governor!  And there is no love lost between them.  Why, I wager there is no dark secret either of them would hesitate to reveal about the other." ok="Ah..."/>
                <poptask num="1"/>
                <pushtask text="Visit the Governor of {smartport} for information on the Governor of {otherport}."/>
                <goal type="talk" npc="{guv3}" text="Ask about his cousin"/>
                <okbox npc="guv3" text="Ah, you've met my buffoon of a cousin?  The gouty wretch has wasted his life pursuing the Gem of Mandalay, squandering much of the family fortune along the way.  If you must have business with him, I'm sure the Gem would loosen his fool tongue." ok="Where is the Gem?"/>
                <okbox npc="guv3" text="The last rumor was that the Trader in {traderport} had it.  If you manage to acquire it, you'll have my cousin on his hands and knees begging for your favor.  I should like to commission a painting of that..." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Give Gem of Mandalay to Governor of {otherport} for information about Jean Bertrand"/>
                <pushtask text="Purchase the Gem of Mandalay from Trader in {traderport}"/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Gem"/>
                <okbox npc="tradeguy" text="Ah, the Gem of Mandalay?  That will not come cheaply, my friend.  Ten crates of textiles, and the Gem is yours." ok="That's robbery!"/>
                <okbox npc="tradeguy" text="Supply and demand.  You want the gem?  Come back when you have the goods." ok="Fine."/>
                <poptask num="1"/>
                <pushtask text="Exchange 10 crates of textiles for the Gem of Mandalay with the Trader in {traderport}."/>
                <goal type="have" good="textiles" amount="10"/>
                <get item="tentextiles"/>
                <give item="textiles" amount="10"/>
                <addlogentry text="Transferred 10 crates of textiles into a"/>
                <addlogentry text="special crate for the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Deliver the Textiles"/>
                <give item="tentextiles"/>
                <okbox npc="tradeguy" text="I knew we could do business.  The Gem is yours." ok="Thank you."/>
                <get item="mandalay"/>
                <poptask num="1"/>
                <goal type="talk" npc="{guv2}" text="Deliver the Gem"/>
                <okbox npc="guv2" text="You have the Gem of Mandalay!  How could this be?  LaRoche promised it to me for...  oh, no matter, give it here!  You might as well know.  I let Jean Bertrand escape my prison and flee to {battleport}.  Now run along; I have some polishing to do!" ok="Please stop drooling on the Gem."/>
                <poptask num="1"/>
                <pushtask text="Head to {battleport} to recapture the Pirate Jean Bertrand."/>
                <give item="mandalay"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv4}" text="Demand Jean Bertrand"/>
                <okbox npc="guv4" text="I will not be bullied by the likes of you, Captain!  You expect me to hand my good friend Jean Bertrand over to you?  Uh, certainly, no problem, I'll fetch him.  You can put that cutlass away.  Honor to have you here, my friend, care for some tea?" ok="You can get off your knees now."/>
                <poptask num="2"/>
                <get item="pirate"/>
                <goal type="npccombat" npc="{laroche}" port1="{startport}"text="Capitan!  You hoped to gain my attention, no?  You have my first mate, Bertrand, on board.  Surrender him now, and I shall perhaps let you live another day!"/>
                <okbox npc="laroche" text="No one insults LaRoche such as this!  You have my attention, mon ami, and this you will come to regret!" ok="You have my attention!"/>
                <goal type="talk" npc="{guv}" text="Deliver Jean Bertrand"/>
                <poptask num="1"/>
                <give item="pirate"/>
                <get item="gold" amount="1000000"/>
                <addlogentry text="Delivered LaRoche's First Mate to the Governor of {startport}."/>
                <addlogentry text="Received 1,000,000 gold from the Governor of {startport}."/>
                <okbox npc="guv" text="Oh, I should have paid a king's ransom to see LaRoche's defeat!  But at least Jean Bertrand is safely behind bars again.  News has come that LaRoche survived the battle, and is now rebuilding his fleet.  I fear you have stirred the hornet's nest!  This thing between you will end only when one of you is no more.  Perhaps this reward of 1,000,000 gold will soften the blow, eh?  Fair winds, brave hero!" ok="Thank you."/>
                </steps>
	</task>

        <task level="5" name="The Wanted Man" reward="1,000,000 Gold" character="vangregor">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="otherport" filters="new,visible,governor_access,alehouse"/>
                        <port name="smartport" filters="new,visible,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>
                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>
                        <npc name="guv3" location="{smartmansion}"/>
                        <location name="smartmansion" port="{smartport}" building="governor"/>
                        <npc name="guv4" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>
                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>
                       	<npc name="laroche">
                               <filters>
					<firstname>Sebastian</firstname>
                                        <surname>LaRoche</surname>
                                        <title>Captain</title>
                                        <class>middle</class>
                                        <reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="So you have a mind to pursue the dread pirate LaRoche, eh?  Start by getting his attention, dear Captain.  Jean Bertrand, his first mate and best friend, was recently apprehended in {otherport}.  He managed to disappear from his shackles, though.  His recapture would be a blow to LaRoche, and I would pay a handsome bounty for your troubles.  If I were you, I'd start by looking for clues in {otherport}." ok="Will do."/>
                <pushtask text="Return LaRoche's First Mate to the Governor of {startport}."/>
                <pushtask text="Capture LaRoche's First Mate."/>
                <pushtask text="Talk to the Governor in {otherport} to get Info about LaRoche's First Mate."/>
                <goal type="talk" npc="{guv2}" text="Ask about Jean Bertrand"/>
                <okbox npc="guv2" text="Bertrand?  Never heard of him.  I assure you, my dear Captain, anyone clapped in irons here stays put until I say otherwise.  Perhaps the honorable Governor of {startport} misspoke?  Now leave me, I have, uh, important Governor things to do." ok="You're lying."/>
                <okbox npc="guv2" text="Insult me again, Captain, and I shall give you a personal demonstration of the security of our shackles.  I suggest you visit the Alehouse, if you feel the need to wag your tongue.  Good day!" ok="Good bye."/>
                <poptask num="1"/>
                <pushtask text="Visit the Alehouse in {otherport} for information on LaRoche's First Mate."/>
                <goal type="talk" npc="{aleguy}" text="Eavesdrop on Conversation"/>
                <okbox npc="aleguy" text="No, I swear it's true!  The Governor of {smartport} is indeed the first cousin of our own dear Governor!  And there is no love lost between them.  Why, I wager there is no dark secret either of them would hesitate to reveal about the other." ok="Ah..."/>
                <poptask num="1"/>
                <pushtask text="Visit the Governor of {smartport} for information on the Governor of {otherport}."/>
                <goal type="talk" npc="{guv3}" text="Ask about his cousin"/>
                <okbox npc="guv3" text="Ah, you've met my buffoon of a cousin?  The gouty wretch has wasted his life pursuing the Gem of Mandalay, squandering much of the family fortune along the way.  If you must have business with him, I'm sure the Gem would loosen his fool tongue." ok="Where is the Gem?"/>
                <okbox npc="guv3" text="The last rumor was that the Trader in {traderport} had it.  If you manage to acquire it, you'll have my cousin on his hands and knees begging for your favor.  I should like to commission a painting of that..." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Give Gem of Mandalay to Governor of {otherport} for information about Jean Bertrand"/>
                <pushtask text="Purchase the Gem of Mandalay from Trader in {traderport}"/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Gem"/>
                <okbox npc="tradeguy" text="Ah, the Gem of Mandalay?  That will not come cheaply, my friend.  Ten crates of textiles, and the Gem is yours." ok="That's robbery!"/>
                <okbox npc="tradeguy" text="Supply and demand.  You want the Gem?  Come back when you have the goods." ok="Fine."/>
                <poptask num="1"/>
                <pushtask text="Exchange 10 crates of textiles for the Gem of Mandalay with the Trader in {traderport}."/>
                <goal type="have" good="textiles" amount="10"/>
                <get item="tentextiles"/>
                <give item="textiles" amount="10"/>
                <addlogentry text="Transferred 10 crates of textiles into a"/>
                <addlogentry text="special crate for the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Deliver the Textiles"/>
                <give item="tentextiles"/>
                <okbox npc="tradeguy" text="I knew we could do business.  The Gem is yours." ok="Thank you."/>
                <get item="mandalay"/>
                <poptask num="1"/>
                <goal type="talk" npc="{guv2}" text="Deliver the Gem"/>
                <okbox npc="guv2" text="You have the Gem of Mandalay!  How could this be?  LaRoche promised it to me for...  oh, no matter, give it here!  You might as well know.  I let Jean Bertrand escape my prison and flee to {battleport}.  Now run along; I have some polishing to do!" ok="Please stop drooling on the Gem."/>
                <poptask num="1"/>
                <pushtask text="Head to {battleport} to recapture the Pirate Jean Bertrand."/>
                <give item="mandalay"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv4}" text="Demand Jean Bertrand"/>
                <okbox npc="guv4" text="I will not be bullied by the likes of you, Captain!  You expect me to hand my good friend Jean Bertrand over to you?  Uh, certainly, no problem, I'll fetch him.  You can put that cutlass away.  Honor to have you here, my friend, care for some tea?" ok="You can get off your knees now."/>
                <poptask num="2"/>
                <get item="pirate"/>
                <goal type="npccombat" npc="{laroche}" port1="{startport}"text="Capitan!  You hoped to gain my attention, no?  You have my first mate, Bertrand, on board.  Surrender him now, and I shall perhaps let you live another day!"/>
                <okbox npc="laroche" text="No one insults LaRoche such as this!  You have my attention, mon ami, and this you will come to regret!" ok="We'll see who has regret."/>
                <goal type="talk" npc="{guv}" text="Deliver Jean Bertrand"/>
                <poptask num="1"/>
                <give item="pirate"/>
                <get item="gold" amount="1000000"/>
                <addlogentry text="Delivered LaRoche's First Mate to the Governor of {startport}."/>
                <addlogentry text="Received 1,000,000 gold from the Governor of {startport}."/>
                <okbox npc="guv" text="Oh, I should have paid a king's ransom to see LaRoche's defeat!  But at least Jean Bertrand is safely behind bars again.  News has come that LaRoche survived the battle, and is now rebuilding his fleet.  I fear you have stirred the hornet's nest!  This thing between you will end only when one of you is no more.  Perhaps this reward of 1,000,000 gold will soften the blow, eh?  Fair winds, brave hero!" ok="Thank you."/>
                </steps>
	</task>
	
	<task level="5" name="The Wanted Man" reward="1,000,000 Gold" character="mcgowan">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="otherport" filters="new,visible,governor_access,alehouse"/>
                        <port name="smartport" filters="new,visible,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>
                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>
                        <npc name="guv3" location="{smartmansion}"/>
                        <location name="smartmansion" port="{smartport}" building="governor"/>
                        <npc name="guv4" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>
                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>
                       	<npc name="laroche">
                               <filters>
					<firstname>Sebastian</firstname>
                                        <surname>LaRoche</surname>
                                        <title>Captain</title>
                                        <class>middle</class>
                                        <reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="So you have a mind to pursue the dread pirate LaRoche, eh?  Start by getting his attention, dear Captain.  Jean Bertrand, his first mate and best friend, was recently apprehended in {otherport}.  He managed to disappear from his shackles, though.  His recapture would be a blow to LaRoche, and I would pay a handsome bounty for your troubles.  If I were you, I'd start by looking for clues in {otherport}." ok="Will do."/>
                <pushtask text="Return LaRoche's First Mate to the Governor of {startport}."/>
                <pushtask text="Capture LaRoche's First Mate."/>
                <pushtask text="Talk to the Governor in {otherport} to get Info about LaRoche's First Mate."/>
                <goal type="talk" npc="{guv2}" text="Ask about Jean Bertrand"/>
                <okbox npc="guv2" text="Bertrand?  Never heard of him.  I assure you, my dear Captain, anyone clapped in irons here stays put until I say otherwise.  Perhaps the honorable Governor of {startport} misspoke?  Now leave me, I have, uh, important Governor things to do." ok="You're lying."/>
                <okbox npc="guv2" text="Insult me again, Captain, and I shall give you a personal demonstration of the security of our shackles.  I suggest you visit the Alehouse, if you feel the need to wag your tongue.  Good day!" ok="Good bye."/>
                <poptask num="1"/>
                <pushtask text="Visit the Alehouse in {otherport} for information on LaRoche's First Mate."/>
                <goal type="talk" npc="{aleguy}" text="Eavesdrop on Conversation"/>
                <okbox npc="aleguy" text="No, I swear it's true!  The Governor of {smartport} is indeed the first cousin of our own dear Governor!  And there is no love lost between them.  Why, I wager there is no dark secret either of them would hesitate to reveal about the other." ok="Ah..."/>
                <poptask num="1"/>
                <pushtask text="Visit the Governor of {smartport} for information on the Governor of {otherport}."/>
                <goal type="talk" npc="{guv3}" text="Ask about his cousin"/>
                <okbox npc="guv3" text="Ah, you've met my buffoon of a cousin?  The gouty wretch has wasted his life pursuing the Gem of Mandalay, squandering much of the family fortune along the way.  If you must have business with him, I'm sure the Gem would loosen his fool tongue." ok="Where is the Gem?"/>
                <okbox npc="guv3" text="The last rumor was that the Trader in {traderport} had it.  If you manage to acquire it, you'll have my cousin on his hands and knees begging for your favor.  I should like to commission a painting of that..." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Give Gem of Mandalay to Governor of {otherport} for information about Jean Bertrand"/>
                <pushtask text="Purchase the Gem of Mandalay from Trader in {traderport}"/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Gem"/>
                <okbox npc="tradeguy" text="Ah, the Gem of Mandalay?  That will not come cheaply, my friend.  Ten crates of textiles, and the Gem is yours." ok="That's robbery!"/>
                <okbox npc="tradeguy" text="Supply and demand.  You want the Gem?  Come back when you have the goods." ok="Fine."/>
                <poptask num="1"/>
                <pushtask text="Exchange 10 crates of textiles for the Gem of Mandalay with the Trader in {traderport}."/>
                <goal type="have" good="textiles" amount="10"/>
                <get item="tentextiles"/>
                <give item="textiles" amount="10"/>
                <addlogentry text="Transferred 10 crates of textiles into a"/>
                <addlogentry text="special crate for the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Deliver the Textiles"/>
                <give item="tentextiles"/>
                <okbox npc="tradeguy" text="I knew we could do business.  The Gem is yours." ok="Thank you."/>
                <get item="mandalay"/>
                <poptask num="1"/>
                <goal type="talk" npc="{guv2}" text="Deliver the Gem"/>
                <okbox npc="guv2" text="You have the Gem of Mandalay!  How could this be?  LaRoche promised it to me for...  oh, no matter, give it here!  You might as well know.  I let Jean Bertrand escape my prison and flee to {battleport}.  Now run along; I have some polishing to do!" ok="Please stop drooling on the Gem."/>
                <poptask num="1"/>
                <pushtask text="Head to {battleport} to recapture the Pirate Jean Bertrand."/>
                <give item="mandalay"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv4}" text="Demand Jean Bertrand"/>
                <okbox npc="guv4" text="I will not be bullied by the likes of you, Captain!  You expect me to hand my good friend Jean Bertrand over to you?  Uh, certainly, no problem, I'll fetch him.  You can put that cutlass away.  Honor to have you here, my friend, care for some tea?" ok="You can get off your knees now."/>
                <poptask num="2"/>
                <get item="pirate"/>
                <goal type="npccombat" npc="{laroche}" port1="{startport}"text="Capitan!  You hoped to gain my attention, no?  You have my first mate, Bertrand, on board.  Surrender him now, and I shall perhaps let you live another day!"/>
                <okbox npc="laroche" text="No one insults LaRoche such as this!  You have my attention, mon ami, and this you will come to regret!" ok="I pity you."/>
                <goal type="talk" npc="{guv}" text="Deliver Jean Bertrand"/>
                <poptask num="1"/>
                <give item="pirate"/>
                <get item="gold" amount="1000000"/>
                <addlogentry text="Delivered LaRoche's First Mate to the Governor of {startport}."/>
                <addlogentry text="Received 1,000,000 gold from the Governor of {startport}."/>
                <okbox npc="guv" text="Oh, I should have paid a king's ransom to see LaRoche's defeat!  But at least Jean Bertrand is safely behind bars again.  News has come that LaRoche survived the battle, and is now rebuilding his fleet.  I fear you have stirred the hornet's nest!  This thing between you will end only when one of you is no more.  Perhaps this reward of 1,000,000 gold will soften the blow, eh?  Fair winds, brave hero!" ok="Thank you."/>
                </steps>
	</task>
	
	<task level="5" name="The Wanted Man" reward="1,000,000 Gold" character="azul">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="otherport" filters="new,visible,governor_access,alehouse"/>
                        <port name="smartport" filters="new,visible,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>
                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>
                        <npc name="guv3" location="{smartmansion}"/>
                        <location name="smartmansion" port="{smartport}" building="governor"/>
                        <npc name="guv4" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>
                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>
                       	<npc name="laroche">
                               <filters>
					<firstname>Sebastian</firstname>
                                        <surname>LaRoche</surname>
                                        <title>Captain</title>
                                        <class>middle</class>
                                        <reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="So you have a mind to pursue the dread pirate LaRoche, eh?  Start by getting his attention, dear Captain.  Jean Bertrand, his first mate and best friend, was recently apprehended in {otherport}.  He managed to disappear from his shackles, though.  His recapture would be a blow to LaRoche, and I would pay a handsome bounty for your troubles.  If I were you, I'd start by looking for clues in {otherport}." ok="Will do."/>
                <pushtask text="Return LaRoche's First Mate to the Governor of {startport}."/>
                <pushtask text="Capture LaRoche's First Mate."/>
                <pushtask text="Talk to the Governor in {otherport} to get Info about LaRoche's First Mate."/>
                <goal type="talk" npc="{guv2}" text="Ask about Jean Bertrand"/>
                <okbox npc="guv2" text="Bertrand?  Never heard of him.  I assure you, my dear Captain, anyone clapped in irons here stays put until I say otherwise.  Perhaps the honorable Governor of {startport} misspoke?  Now leave me, I have, uh, important Governor things to do." ok="You're lying."/>
                <okbox npc="guv2" text="Insult me again, Captain, and I shall give you a personal demonstration of the security of our shackles.  I suggest you visit the Alehouse, if you feel the need to wag your tongue.  Good day!" ok="Good bye."/>
                <poptask num="1"/>
                <pushtask text="Visit the Alehouse in {otherport} for information on LaRoche's First Mate."/>
                <goal type="talk" npc="{aleguy}" text="Eavesdrop on Conversation"/>
                <okbox npc="aleguy" text="No, I swear it's true!  The Governor of {smartport} is indeed the first cousin of our own dear Governor!  And there is no love lost between them.  Why, I wager there is no dark secret either of them would hesitate to reveal about the other." ok="Ah..."/>
                <poptask num="1"/>
                <pushtask text="Visit the Governor of {smartport} for information on the Governor of {otherport}."/>
                <goal type="talk" npc="{guv3}" text="Ask about his cousin"/>
                <okbox npc="guv3" text="Ah, you've met my buffoon of a cousin?  The gouty wretch has wasted his life pursuing the Gem of Mandalay, squandering much of the family fortune along the way.  If you must have business with him, I'm sure the Gem would loosen his fool tongue." ok="Where is the Gem?"/>
                <okbox npc="guv3" text="The last rumor was that the Trader in {traderport} had it.  If you manage to acquire it, you'll have my cousin on his hands and knees begging for your favor.  I should like to commission a painting of that..." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Give Gem of Mandalay to Governor of {otherport} for information about Jean Bertrand"/>
                <pushtask text="Purchase the Gem of Mandalay from Trader in {traderport}"/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Gem"/>
                <okbox npc="tradeguy" text="Ah, the Gem of Mandalay?  That will not come cheaply, my friend.  Ten crates of textiles, and the Gem is yours." ok="That's robbery!"/>
                <okbox npc="tradeguy" text="Supply and demand.  You want the Gem?  Come back when you have the goods." ok="Fine."/>
                <poptask num="1"/>
                <pushtask text="Exchange 10 crates of textiles for the Gem of Mandalay with the Trader in {traderport}."/>
                <goal type="have" good="textiles" amount="10"/>
                <get item="tentextiles"/>
                <give item="textiles" amount="10"/>
                <addlogentry text="Transferred 10 crates of textiles into a"/>
                <addlogentry text="special crate for the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Deliver the Textiles"/>
                <give item="tentextiles"/>
                <okbox npc="tradeguy" text="I knew we could do business.  The Gem is yours." ok="Thank you."/>
                <get item="mandalay"/>
                <poptask num="1"/>
                <goal type="talk" npc="{guv2}" text="Deliver the Gem"/>
                <okbox npc="guv2" text="You have the Gem of Mandalay!  How could this be?  LaRoche promised it to me for...  oh, no matter, give it here!  You might as well know.  I let Jean Bertrand escape my prison and flee to {battleport}.  Now run along; I have some polishing to do!" ok="Please stop drooling on the Gem."/>
                <poptask num="1"/>
                <pushtask text="Head to {battleport} to recapture the Pirate Jean Bertrand."/>
                <give item="mandalay"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv4}" text="Demand Jean Bertrand"/>
                <okbox npc="guv4" text="I will not be bullied by the likes of you, Captain!  You expect me to hand my good friend Jean Bertrand over to you?  Uh, certainly, no problem, I'll fetch him.  You can put that cutlass away.  Honor to have you here, my friend, care for some tea?" ok="You can get off your knees now."/>
                <poptask num="2"/>
                <get item="pirate"/>
                <goal type="npccombat" npc="{laroche}" port1="{startport}"text="Capitan!  You hoped to gain my attention, no?  You have my first mate, Bertrand, on board.  Surrender him now, and I shall perhaps let you live another day!"/>
                <okbox npc="laroche" text="No one insults LaRoche such as this!  You have my attention, mon ami, and this you will come to regret!" ok="You will regret our next encounter!"/>
                <goal type="talk" npc="{guv}" text="Deliver Jean Bertrand"/>
                <poptask num="1"/>
                <give item="pirate"/>
                <get item="gold" amount="1000000"/>
                <addlogentry text="Delivered LaRoche's First Mate to the Governor of {startport}."/>
                <addlogentry text="Received 1,000,000 gold from the Governor of {startport}."/>
                <okbox npc="guv" text="Oh, I should have paid a king's ransom to see LaRoche's defeat!  But at least Jean Bertrand is safely behind bars again.  News has come that LaRoche survived the battle, and is now rebuilding his fleet.  I fear you have stirred the hornet's nest!  This thing between you will end only when one of you is no more.  Perhaps this reward of 1,000,000 gold will soften the blow, eh?  Fair winds, brave hero!" ok="Thank you."/>
                </steps>
	</task>

	<task level="5" name="A treasure hunt!" reward="The Chest of Heirs!" character="laroche">
		<variables>

			<port name="traderport" filters="new,visible,trader"/>
			<port name="startport" filters="here"/>
                        <port name="battleport1" filters="new,visible"/>
                        <port name="battleport2" filters="new,visible"/>
			<port name="aleport" filters="new,visible,alehouse"/>
                        
			<npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

			<npc name="bart" location="{a}"/>
                        <location name="a" port="{aleport}" building="alehouse"/>

			<npc name="tradeguy" location="{t}"/>
                        <location name="t" port="{traderport}" building="trader"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>upperpirate</class>
					<sex>male</sex>
				</filters>
			</npc>

        </variables>

		<steps>
		<okbox npc="guv" text="LaRoche, have you heard that {pirate} has gained possession of the legendary Chest of Heirs?  It's filled with unimaginable treasure collected from the voyages of the great Captain Blackbeard himself!  He gathered the best of his takings and salted them away for his heirs in the chest, but the loot never reached them.  When you find {pirate} on the route between {battleport1} and {battleport2}, remember that it was I who gave you the valuable tip." ok="Zee treasure, she will be mine!"/>
                <pushtask text="Steal the Chest of Heirs!"/>
                <pushtask text="Defeat {pirate} traveling between {battleport1} and {battleport2}."/>
                <goal type="npccombat" npc="{pirate}" port1="{battleport1}" port2="{battleport2}" text="You want the Chest of Heirs?  Well why didn't you say so?  Here, just...  wait!  Why are you shooting at me?"/>
                <okbox npc="pirate" text="You know, you didn't have to destroy my ship.  But now that you have, I feel much better about giving you this.  The Chest of Heirs is CURSED!  Pirates everywhere will seek out your ship whenever you sail!" ok="Darn it!"/>
                <get item="wonderchest"/>
                <poptask num="2"/>
		<addlogentry text="The Chest of Heirs is cursed!  You encounter"/>
                <addlogentry text="pirate battles each time you sail!"/>
                <addlogentry text="Speak to the Governor of {startport}!"/>
		<pushtask text="Get rid of the Chest of Heirs!"/>
                <pushtask text="Speak to the Governor of {startport} about the cursed treasure."/>
		<goal type="talk" npc="{guv}" text="The chest is cursed!"/>
                <okbox npc="guv" text="It's not filled with treasure?  It's filled with...  HAIRS?  Oh good heavens!  Blackbeard's beard trimmings -accumulated and stored over many years!  Ah, but an honest mistake, right?  You should really take that somewhere.  Else.  Try the Alehouses." ok="Flogging stick, please."/>
		<poptask num="2"/>
                <pushtask text="Get rid of the Chest of Hairs in an Alehouse."/>
		<goal type="talk" npc="{bart}" text="Free Chest!"/>
                <okbox npc="bart" text="Beard trimmings.  CURSED beard trimmings.  This is a new one.  Please tell me I don't look as stupid as you take me to be.  You might try the Trader in {traderport}, though.  He's got more of a stomach for such things than I." ok="I'm getting itchy."/>
		<poptask num="1"/>
                <pushtask text="Give the Chest of Hairs to Trader in {traderport}"/>
		<goal type="talk" npc="{tradeguy}" text="Free Beard Trimmings!"/>
                <give item="wonderchest"/>
		<get item="speed"/>
		<okbox npc="tradeguy" text="The fabled Chest of Hairs...  could it be?  Yes!  Hair from the great Blackbeard himself!  I can put this in pouches and start a massive Blackbeard souvenir business here!  Take this Jewel of Invisibility in exchange; I'm sure you'll find it considerably more useful." ok="Mind the lice."/>
		</steps>
	</task>


	  <task level="5" name="My poor niece!" reward="Jewel of Invisibility" character="azul">
		<variables>
			<port name="startport" filters="here,governor_access,shipyard"/>
			<port name="battleport" filters="new,visible,governor_access"/>
			<port name="battleport2" filters="new,visible,governor_access"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="guv2" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="guv3" location="{battlemansion2}"/>
			<location name="battlemansion2" port="{battleport2}" building="governor"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<class>upperpirate</class>
					<headsize>smallhead</headsize>
				</filters>
			</npc>
			<npc name="laroche">
				<filters>
					<reserved>laroche</reserved>
					<nickname>NONE</nickname>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<surname>LaRoche</surname>
				</filters>
			</npc>
			<npc name="pirate2">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>upperpirate</class>
				</filters>
			</npc>
        </variables>

		<steps>
		<okbox npc="guv" text="Miss Azul!  Oh, how it wounds me to ask a fair creature such as you to venture on a dangerous voyage, but an uncle's love knows no bounds.  My devoted niece, Christina, caught the lecherous eye of LaRoche!  She was spirited away by LaRoche's men, and is being held at {battleport}.  I shiver to think what he will do with her when he arrives.  I beseech you, return the poor girl to me!" ok="He'll not sully that girl's honor!"/>
                <pushtask text="Return the Govenor's niece to {startport}."/>
                <pushtask text="Rescue the Govenor's niece in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Demand the niece!"/>
                <okbox npc="laroche" text="A day late and a doubloon short as usual, Azul!  We saw you coming a mile off and moved the Governor's dear Mary Ann to {battleport2}.  Nothing here to see, best be on your way!" ok="I thought her name was Christina..."/>
                <poptask num="1"/>
                <pushtask text="Rescue the Govenor's niece in {battleport2}."/>
                <makehostile port="{battleport2}"/>
                <goal type="talk" npc="{guv3}" text="Demand the niece!"/>
                <okbox npc="pirate2" text="Ah, you'll be looking for Helen, the Governor's niece!  Just missed her, you did.  Really.  They took her away.  In a boat...  I mean, a ship.  A great big one.  With cannons.  Scary.  Now go.  Chase." ok="Helen?  I smell a rat."/>
                <poptask num="1"/>
                <pushtask text="Find and rescue the Govenor's niece."/>
                <goal type="npccombat" npc="{pirate}" text="Ha!  Daft wench, don't you know when you're being had?  LaRoche bribed the Governor of {startport} to send you on this merry chase.  But he isn't paying us to blow you to kingdom come.  For you, we'll provide that service free of charge."/>
                <okbox npc="pirate" text="Impossible!  A lowly wench such as you, defeat the Great {pirate}?  I shall have my revenge!" ok="Good luck with that, cabin boy."/>
                <poptask num="2"/>
                <pushtask text="Return to {startport} and confront the Governor."/>
                <makehostile port="{startport}"/>
                <goal type="talk" npc="{guv}" text="Confront the Governor."/>
                <get item="speed"/>
                <addlogentry text="Received the Jewel of Invisibility from the Governor in {startport}."/>
                <poptask num="1"/>
                <okbox npc="guv" text="Ah, Adia!  Where is my beloved niece, Dorothy?  ACK!  Please!  Put down that cutlass!  I apologize!  Look, look, we can do business here.  In recompense for your inconvenience, I will give you this rare Jewel of Invisibility, provided to me by LaRoche himself!" ok="Do not cross me again!"/>
                </steps>
	</task>

        <task level="5" name="The Amulet of Truth" reward="Jewel of Invisibility" character="vangregor">
		<variables>
			<port name="startport" filters="here,governor_access"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="battleport2" filters="new,visible,alehouse,governor_access"/>
                        <port name="traderport" filters="new,visible,trader"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="shippy" location="{ship}"/>
                        <location name="ship" port="{shipport}" building="shipyard"/>

                        <npc name="guv2" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>

                        <npc name="bart" location="{battle2}"/>
                        <location name="battle2" port="{battleport2}" building="alehouse"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>

					<npc name="verdugo">
						<filters>
							<reserved>verdugo</reserved>
							<title>Captain</title>
							<firstname>Ignacio</firstname>
							<surname>Verdugo</surname>
						</filters>
					</npc>
                </variables>

		<steps>
			<okbox npc="guv" text="Russell!  So good to see you.  Have you heard of the great Captain Ignacio Verdugo?  I owe him a great debt.  He introduced me to the woman I married, my stunning Olivia.  Word has reached me that he is searching for you...  something about needing a man as thick as an ox to move something heavy.  Or was it as big as an ox?  Seek him out and assist good Ignacio." ok="Where is he to be found?"/>
			<okbox npc="guv" text="Sadly, I know not his exact location.  But there's sure to be news of him in some of the Shipyards around the area.  I would begin your quest there.  Come back when you've finished assisting him, and I shall repay your kindness." ok="Anything for a friend, sir."/>
			<pushtask text="Claim your Reward in {startport}."/>
			<pushtask text="Help Ignacio Verdugo recover the Amulet of Truth."/>
			<pushtask text="Check all the Shipyards to find Ignacio Verdugo."/>
			<goal type="talk" npc="{shippy}" text="Ask for Ignacio Verdugo."/>
			<okbox npc="shippy" text="Ignacio?  Och, ye just missed each other.  He was looking for you here!  For some reason, he had a mind that ye were headed to {battleport}.  Be off on yer way quickly, and ye might catch him." ok="Much appreciated, friend."/>
			<poptask num="1"/>
                <pushtask text="Talk to Ignacio Verdugo in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="arrive" port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Ignacio Verdugo, I presume."/>
                <okbox npc="verdugo" text="Captain Van Gregor!  Ah, fortune smiles upon me today!  I must thank the Governor for sending you to look for me.  I must also thank his wife.  Olivia.  Yes.  I shall thank her for a very long time.  Ah, but forgive me.  The Amulet of Truth is in a cave in {battleport2}, but alas, a giant boulder blocks my reach.  Some say no man can move it.  I say you can.  Come!  Let us prove me correct." ok="Just a boulder?"/>
                <okbox npc="verdugo" text="Well, there is the small matter of LaRoche's thugs.  They have overtaken the port to prevent me from reaching my goal.  But ha!  This is such a trifling matter for men such as us, no?  Let us take the port by force!" ok="The scoundrels shall hear my roar!"/>
                <get item="verdugo"/>
                <addlogentry text="Agreed to help Ignacio Verdugo find the Amulet of Truth."/>
                <poptask num="1"/>
                <pushtask text="Recapture the port of {battleport2} and lift the giant boulder."/>
                <makehostile port="{battleport2}"/>
                <goal type="arrive" port="{battleport2}"/>
                <goal type="talk" npc="{bart}" text="Lift the Boulder!"/>
                <okbox npc="verdugo" text="Bravo, Captain Van Gregor!  No man but you could have performed that feat!  And now we shall have the Amulet...  but what is this?  This is not the Amulet!  This is an advertisement!  ''For all your Amulet of Truth needs, come see the Trader!  Everyone's a winner!  Bargains galore!''  Aiee, I despise marketing tricks!  But we have no choice.  Shall we head to {traderport} to retrieve it?"ok="We'd be insaaaaaane not to."/>
                <poptask num="1"/>
                <pushtask text="Head to {traderport} and talk to the Trader."/>
                <addlogentry text="Lifted the boulder but the Amulet has been moved!"/>
                <goal type="talk" npc="{tradeguy}" text="Ask for the Amulet"/>
                <okbox npc="tradeguy" text="Oh, a  fine choice, Ignacio.  Exquisite crafting.  One of a kind.  Notice the quality.  For you, The Amulet of Truth is yours for the bargain price of 200,000,000 Gold."ok="I could invade a small country for that!"/>
                <okbox npc="verdugo" text="Kind sir.  The wicked pirate LaRoche cut my father down when I was but a boy of nine years.  He did it right before my eyes!  You understand the love a boy has for his father, yes?  I, Ignacio Verdugo, swore on the grave of my father that I would exact revenge on this dog - ask I'm sure your own son would do should such an untimely demise befall you.  That is why I must ask you for the Amulet." ok="Yeah.  What he said."/>
                <okbox npc="tradeguy" text="Your story has touched my heart, friend.  Take the Amulet, free of charge.  Such a need cannot be valued in gold.  "ok="Did he just say FREE?"/>
                <okbox npc="verdugo" text="Thank you, kind merchant.  And thank YOU, Captain Van Gregor.  May the wind be always at your back, and the beautiful ladies always at your side.  Give Olivia my love.  Oh, and say hi to her husband for me, too." ok="You sly devil."/>
                <give item="verdugo"/>
                <addlogentry text="Ignacio Verdugo has found the Amulet of Truth thanks to your help."/>
                <poptask num="2"/>
                <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                <get item="speed"/>
                <addlogentry text="Received the Jewel of Invisibility from the Governor in {startport}."/>
                <poptask num="1"/>
                <okbox npc="guv" text="Ah, my wife shall be so pleased to hear her friend Ignacio is in fine fettle.  I'm glad you could help out my dear comrade.  Here is your reward:  the Jewel of Invisibility!  I think you'll find it quite useful." ok="Ignacio sends his love...  err, regards."/>
                </steps>
	</task>
	
	<task level="5" name="The Moneylender Debt" reward="Jewel of Invisibility" character="custom">
		<variables>
			<port name="startport" filters="here,shipyard,moneylender,governor_access"/>
                        <port name="pirateport" filters="new,visible"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="aleport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="shippy" location="{startship}"/>
                        <location name="startship" port="{startport}" building="shipyard"/>

                        <npc name="lender" location="{lendplace}"/>
                        <location name="lendplace" port="{startport}" building="moneylender"/>

                        <npc name="guv2" location="{battleguv}"/>
                        <location name="battleguv" port="{battleport}" building="governor"/>

                        <npc name="bart" location="{aleplace}"/>
                        <location name="aleplace" port="{aleport}" building="alehouse"/>

                        <npc name="pirate">
							<filters>
								<reserved>none</reserved>
								<nation>english</nation>
								<sex>male</sex>
								<race>black</race>
								<class>upperpirate</class>
							</filters>
						</npc>

			<npc name="brother1">
				<filters>
		    <reserved>none</reserved>
                    <class>upperpirate</class>
                    <sex>male</sex>
                    <race>white</race>
                    <headsize>mediumhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>brown</haircolor>
                    <neckitem>none</neckitem>
                    <costume>clothing33</costume>
                    <pet>pet08</pet>
                    <earitem>none</earitem>
                    <hair>hair26m</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes41</eyes>
                    <eyeitem>eyepatch00m</eyeitem>
                    <ears>ear12</ears>
                    <nose>nose20</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth63</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title></title>
                    <firstname></firstname>
                    <surname></surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="brother2">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class>
					<race>white</race>
				</filters>
			</npc>
			<npc name="brother3">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<race>white</race>
					<class>middle</class>
				</filters>
			</npc>
                </variables>
                
               	<steps>
		<okbox npc="guv" text="Ah, {player.firstname}!  The shipwright has asked that you pay him a vist.  Will you go see him now?" ok="On my way, sir."/>
                <pushtask text="Speak to the shipwright in {startport}."/>
                <goal type="talk" npc="{shippy}" text="Talk to Shipwright."/>
                <okbox npc="shippy" text="This is a bit embarrassing, {player.firstname}.  You see, I'm a bit short of cash, and the moneylender...  well, you know, moneylenders aren't known for their sense of humor.  You're well loved here, Captain, and I was hoping you'd intercede on my behalf.  If I don't pay him soon, he threatens to take my ships!" ok="How much do you owe?"/>
                <okbox npc="shippy" text="Uh.  Well.  You understand, this was a sure thing.  The alchemist said it would only take about 200,000,000 in research grants to develop the horse dung to gold transformation formula.  And then there'd be gold in the streets for us!  But all I got was a bit smelly.  I owe the lot back.  At least I still have my precious Jewel of Invisibility!  And I will gladly give you that if you can convince the Moneylender to forgive my debt." ok="I shall try, my friend."/>
                <poptask num="1"/>
                <pushtask text="Speak to the {startport} Moneylender about {shippy}'s debt."/>
                <goal type="talk" npc="{lender}" text="Ask about debt"/>
                <okbox npc="lender" text="Listen, {player.firstname}, 200,000,000 gold, and all I've got to show for it is horse poop.  I will be ruined if I forgive that debt.  I'm so sorry, but no can do." ok="My services for your cooperation?"/>
                <okbox npc="lender" text="Hmm.  Funny you should ask.  Each of my three brothers has been taken from me by cruel twists of fate.  I've almost given up hope of ever seeing them again.  But bring me a miracle, Captain {player.lastname}.  Return my three brothers to me, and I shall write off your friend {shippy}'s colossal debt." ok="Any clues on their whereabouts?"/>
                <okbox npc="lender" text="My brother {brother1} has been mistaken for a pirate by the fool Governor of {battleport}.  My efforts to clear up the matter have been futile.  I'm afraid all that buffoon will understand is force.  Return {brother1} to me, and I shall give you further instruction." ok="Ok."/>
                <poptask num="1"/>
                <pushtask text="Return {brother1} to the Moneylender in {startport}."/>
                <pushtask text="Rescue {brother1} in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Rescue the brother"/>
                <okbox npc="brother1" text="Thank heavens, you've rescued me!  Never again shall I wear an eye patch and false gold teeth to a fancy dress party.  Imagine them thinking me a pirate!" ok="You could ditch the parrot, too."/>
                <poptask num="1"/>
                <get item="mbrother"/>
                <goal type="talk" npc="{lender}" text="Return the brother"/>
                <okbox npc="lender" text="{brother1}!  Safely home!  Oh, it brings a tear to my eye.  But when did you get that pegleg?  Ah, no matter.  Thank you, {player.firstname}!  My second brother, {brother2}, was captured by {pirate} almost two years ago.  He had a beautiful singing voice; oh, how I miss hearing his rendition of ''A Drunken Sailor''!  You should be able to find {pirate} near {pirateport}." ok="Yes it is a fine song!"/>
                <give item="mbrother"/>
                <poptask num="1"/>
                <pushtask text="Return {brother2} to the Moneylender in {startport}."/>
                <pushtask text="Rescue {brother2} from {pirate} near {pirateport}."/>                
                <goal type="npccombat" npc="{pirate}" port1="{pirateport}" text="I cannot go a day without hearing {brother2}'s sweet voice singing ''A Drunken Sailor''!  Brings a tear to me eyes, it does.  And ye shall never know the pleasure, {player.lastname}!  I be fixin' to blow ye out of the water!"/>
                <okbox npc="pirate" text="I go to me grave having never found my left shoe!" ok="Anyone alive?"/>
                <okbox npc="brother2" text="Oh, my lord and stars, THANK YOU.  I am on the edge of madness!  ''The Drunken Sailor'', dozens of times a day, for two years!  If anyone asks me to sing that blasted song again, I shall find some fine harpsichord wire, sneak up behind them, and..." ok="Mercy, friend!  Let's go!"/>
                <get item="mbrother"/>
                <poptask num="1"/>
                <goal type="talk" npc="{lender}" text="Return the brother"/>
                <okbox npc="lender" text="{brother2}!  Can it really be you?  Sweet boy, sing ''The Drunken Sailor'' for me so I may truly know it's you!  Ah, but wait a moment.  {player.firstname}, one final favor.  My third and youngest brother, {brother3}, simply disappeared a year ago." ok="Where should I look?"/>
                <okbox npc="lender" text="{brother3.firstname} took to drinking after we lost our other two brothers, so it was not a surprise to me that he went missing.  Look around the Alehouses and I imagine you'll find him." ok="Very well... do you have a harpsichord?"/>
                <poptask num="1"/>
                <give item="mbrother"/>
                <pushtask text="Return {brother3} to the Moneylender in {startport}."/>
                <pushtask text="Find {brother3}, the drunk vagrant."/>
                <goal type="talk" npc="{bart}" text="Say Hello!"/>
                <okbox npc="brother3" text="Hic!  Oh, issa verrry verrry sad story.  My two brotherrss, gone...  yep, yep, yep.  Buy me some rum, take away the pain, thassa good man.  Err?  You say they're back?  No excuse for drinkin' now?  Awwww.  Ok, as long as my brother still hassa good liquor cabinet." ok="Let's go."/>
                <poptask num="1"/>
                <get item="mbrother"/>
                <goal type="talk" npc="{lender}" text="Return the brother"/>
                <okbox npc="lender" text="{brother3}!  You smell like a bar rag!  But no matter, it's good to have you home!  Yes, liquor cabinet, in the back, by the harpsichord, go on.  {player.firstname}, you've given me my miracle, and I shall give you yours.  This letter pardons {shippy}'s debt.  Please give it to him." ok="You are a man of honor, sir."/>
                <give item="mbrother"/>
                <get item="letter"/>
                <poptask num="1"/>
                <pushtask text="Deliver letter to {shippy} in {startport} Shipyards."/>
                <goal type="talk" npc="{shippy}" text="Deliver the letter"/>
                <get item="speed"/>
                <addlogentry text="Received the Jewel of Invisibility from the shipwright in {startport}."/>
                <poptask num="1"/>
                <give item="letter"/>
                <okbox npc="shippy" text="My word!  {player.firstname}, you work miracles!  I truly wish I could repay you in a grander fashion, but here is what I promised you.  The Jewel of Invisibility.  It's pretty neat, but I could give you some horse dung, too, if you like." ok="Just the Jewel, please."/>
                </steps>
	</task>


         <task level="5" name="The Moneylender Debt" reward="Jewel of Invisibility" character="verdugo">
		<variables>
			<port name="startport" filters="here,shipyard,moneylender,governor_access"/>
                        <port name="pirateport" filters="new,visible"/>
                        <port name="battleport" filters="new,visible"/>
                        <port name="aleport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="shippy" location="{startship}"/>
                        <location name="startship" port="{startport}" building="shipyard"/>

                        <npc name="lender" location="{lendplace}"/>
                        <location name="lendplace" port="{startport}" building="moneylender"/>

                        <npc name="guv2" location="{battleguv}"/>
                        <location name="battleguv" port="{battleport}" building="governor"/>

                        <npc name="bart" location="{aleplace}"/>
                        <location name="aleplace" port="{aleport}" building="alehouse"/>

                        <npc name="pirate">
							<filters>
								<reserved>none</reserved>
								<nation>english</nation>
								<sex>male</sex>
								<race>black</race>
								<class>upperpirate</class>
							</filters>
						</npc>

			<npc name="brother1">
				<filters>
		    <reserved>none</reserved>
                    <class>upperpirate</class>
                    <sex>male</sex>
                    <race>white</race>
                    <headsize>mediumhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>brown</haircolor>
                    <neckitem>none</neckitem>
                    <costume>clothing33</costume>
                    <pet>pet08</pet>
                    <earitem>none</earitem>
                    <hair>hair26m</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes41</eyes>
                    <eyeitem>eyepatch00m</eyeitem>
                    <ears>ear12</ears>
                    <nose>nose20</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth63</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title></title>
                    <firstname></firstname>
                    <surname></surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="brother2">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class>
					<race>white</race>
				</filters>
			</npc>
			<npc name="brother3">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<race>white</race>
					<class>middle</class>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Ah, Ignacio!  The shipwright has asked that you pay him a vist.  Will you go see him now?" ok="On my way, sir."/>
                <pushtask text="Speak to the shipwright in {startport}."/>
                <goal type="talk" npc="{shippy}" text="Talk to Shipwright."/>
                <okbox npc="shippy" text="This is a bit embarrassing, Ignacio.  You see, I'm a bit short of cash, and the moneylender...  well, you know, moneylenders aren't known for their sense of humor.  You're well loved here, Captain, and I was hoping you'd intercede on my behalf.  If I don't pay him soon, he threatens to take my ships!" ok="How much do you owe?"/>
                <okbox npc="shippy" text="Uh.  Well.  You understand, this was a sure thing.  The alchemist said it would only take about 200,000,000 in research grants to develop the horse dung to gold transformation formula.  And then there'd be gold in the streets for us!  But all I got was a bit smelly.  I owe the lot back.  At least I still have my precious Jewel of Invisibility!  And I will gladly give you that if you can convince the Moneylender to forgive my debt." ok="I shall try, my friend."/>
                <poptask num="1"/>
                <pushtask text="Speak to the {startport} Moneylender about {shippy}'s debt."/>
                <goal type="talk" npc="{lender}" text="Ask about debt"/>
                <okbox npc="lender" text="Listen, Ignacio, 200,000,000 gold, and all I've got to show for it is horse poop.  I will be ruined if I forgive that debt.  I'm so sorry, but no can do." ok="My services for your cooperation?"/>
                <okbox npc="lender" text="Hmm.  Funny you should ask.  Each of my three brothers has been taken from me by cruel twists of fate.  I've almost given up hope of ever seeing them again.  But bring me a miracle, Captain Verdugo.  Return my three brothers to me, and I shall write off your friend {shippy}'s colossal debt." ok="Any clues on their whereabouts?"/>
                <okbox npc="lender" text="My brother {brother1} has been mistaken for a pirate by the fool Governor of {battleport}.  My efforts to clear up the matter have been futile.  I'm afraid all that buffoon will understand is force.  Return {brother1} to me, and I shall give you further instruction." ok="Ok."/>
                <poptask num="1"/>
                <pushtask text="Return {brother1} to the Moneylender in {startport}."/>
                <pushtask text="Rescue {brother1} in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Rescue the brother"/>
                <okbox npc="brother1" text="Thank heavens, you've rescued me!  Never again shall I wear an eyepatch and false gold teeth to a fancy dress party.  Imagine them thinking me a pirate!" ok="You could ditch the parrot, too."/>
                <poptask num="1"/>
                <get item="mbrother"/>
                <goal type="talk" npc="{lender}" text="Return the brother"/>
                <okbox npc="lender" text="{brother1}!  Safely home!  Oh, it brings a tear to my eye.  But when did you get that peg leg?  Ah, no matter.  Thank you, Ignacio!  My second brother, {brother2}, was captured by {pirate} almost two years ago.  He had a beautiful singing voice; oh, how I miss hearing his rendition of ''A Drunken Sailor''!  You should be able to find {pirate} near {pirateport}." ok="Si, it is a fine song!"/>
                <give item="mbrother"/>
                <poptask num="1"/>
                <pushtask text="Return {brother2} to the Moneylender in {startport}."/>
                <pushtask text="Rescue {brother2} from {pirate} near {pirateport}."/>                
                <goal type="npccombat" npc="{pirate}" port1="{pirateport}" text="I cannot go a day without hearing {brother2}'s sweet voice singing ''A Drunken Sailor''!  Brings a tear to me eyes, it does.  And ye shall never know the pleasure, Verdugo!  I be fixin' to blow ye out of the water!"/>
                <okbox npc="pirate" text="I go to me grave having never found my left shoe!" ok="Anyone alive?"/>
                <okbox npc="brother2" text="Oh, my lord and stars, THANK YOU.  I am on the edge of madness!  ''The Drunken Sailor'', dozens of times a day, for two years!  If anyone asks me to sing that blasted song again, I shall find some fine harpsichord wire, sneak up behind them, and..." ok="Mercy, friend!  Let's go!"/>
                <get item="mbrother"/>
                <poptask num="1"/>
                <goal type="talk" npc="{lender}" text="Return the brother"/>
                <okbox npc="lender" text="{brother2}!  Can it really be you?  Sweet boy, sing ''The Drunken Sailor'' for me so I may truly know it's you!  Ah, but wait a moment.  Ignacio, one final favor.  My third and youngest brother, {brother3}, simply disappeared a year ago." ok="Where should I look?"/>
                <okbox npc="lender" text="{brother3.firstname} took to drinking after we lost our other two brothers, so it was not a surprise to me that he went missing.  Look around the Alehouses and I imagine you'll find him." ok="Do you own a harpsichord?"/>
                <poptask num="1"/>
                <give item="mbrother"/>
                <pushtask text="Return {brother3} to the Moneylender in {startport}."/>
                <pushtask text="Find {brother3}, the drunk vagrant."/>
                <goal type="talk" npc="{bart}" text="Say Hello!"/>
                <okbox npc="brother3" text="Hic!  Oh, issa verrry verrry sad story.  My two brotherrss, gone...  yep, yep, yep.  Buy me some rum, take away the pain, thassa good man.  Err?  You say they're back?  No excuse for drinkin' now?  Awwww.  Ok, as long as my brother still hassa good liquor cabinet." ok="Let's go."/>
                <poptask num="1"/>
                <get item="mbrother"/>
                <goal type="talk" npc="{lender}" text="Return the brother"/>
                <okbox npc="lender" text="{brother3}!  You smell like a bar rag!  But no matter, it's good to have you home!  Yes, liquor cabinet, in the back, by the harpsichord, go on.  Ignacio, you've given me my miracle, and I shall give you yours.  This letter pardons {shippy}'s debt.  Please give it to him." ok="You are a man of honor, sir."/>
                <give item="mbrother"/>
                <get item="letter"/>
                <poptask num="1"/>
                <pushtask text="Deliver letter to {shippy} in {startport} Shipyards."/>
                <goal type="talk" npc="{shippy}" text="Deliver the letter"/>
                <get item="speed"/>
                <addlogentry text="Received the Jewel of Invisibility from the shipwright in {startport}."/>
                <poptask num="1"/>
                <give item="letter"/>
                <okbox npc="shippy" text="My word!  Ignacio, you work miracles!  I truly wish I could repay you in a grander fashion, but here is what I promised you.  The Jewel of Invisibility.  It's pretty neat, but I could give you some horse dung, too, if you like." ok="Just the Jewel, please."/>
                </steps>
	</task>

        <task level="5" name="The Governor's Curse" reward="Jewel of Invisibility" character="mcgowan">
        <variables>
			<port name="traderport" filters="new,visible,trader"/>
                        <port name="startport" filters="here,shipyard,governor_access"/>
                        <port name="pirateport" filters="new,visible,"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="aleport" filters="new,visible,alehouse,shipyard"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="shippy" location="{startship}"/>
                        <location name="startship" port="{startport}" building="shipyard"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{traderport}" building="trader"/>

                        <npc name="guv2" location="{battleguv}"/>
                        <location name="battleguv" port="{battleport}" building="governor"/>

                        <npc name="shippy2" location="{aleship}"/>
                        <location name="aleship" port="{aleport}" building="shipyard"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<race>black</race>
					<class>upperpirate</class>
				</filters>
			</npc>

			<npc name="azul">
				<filters>
					<reserved>azul</reserved>
					<title>Captain</title>
					<firstname>Adia</firstname>
					<surname>Azul</surname>
				</filters>
			</npc>
			<npc name="son">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class>
					<headsize>smallhead</headsize>
				</filters>
			</npc>
        </variables>

		<steps>
		<okbox npc="guv" text="Christine!  You will think I have gone mad, but a magical curse has been visited upon my household.  I made the mistake of offending a local shaman, and he has transformed all my servants into farm animals!" ok="As in, oink oink?"/>
                <okbox npc="guv" text="Yes!  The mansion smells like a sty!  The cook has chewed enormous holes in the drapery, and I am forced to slop my manservant every morning.  Horror!  I am told that three magical jewels are needed to lift the curse.  Help me return my household to normal, and I shall grant you the rare Jewel of Invisibility." ok="Where do I start?"/>
                <okbox npc="guv" text="Adia Azul has also agreed to assist me.  Go to the Shipyards and speak with her; she can give you more information on the jewels'' locations." ok="Oink bad.  Jewels good.  Got it."/>
                <pushtask text="Deliver the three jewels to {startport}."/>
                <pushtask text="Recover the three magical jewels."/>
                <pushtask text="Speak to Azul at the Shipyards in {startport}."/>
                <goal type="talk" npc="{shippy}" text="Talk to Adia Azul."/>
                <okbox npc="azul" text="It's about time you showed up.  Honestly you're almost as bad as that Verdugo character I had to deal with." ok="He was kind of cute..."/>
                <okbox npc="azul" text="Still a bit wet behind the ears, aren't you?  Well, you're lucky to have the assistance of a professional.  First, we'll need to pick up the Emerald of Rah.  {pirate} has the jewel aboard her ship.  I have it on good authority that {pirate} is now on the route between {pirateport} and {aleport}." ok="Let's go, ma'am."/>
                <addlogentry text="Adia Azul is helping you find the three jewels."/>
                <addlogentry text="Adia Azul doesn't seem to like Ignacio Verdugo much."/>
                <get item="azul"/>
                <poptask num="1"/>
                <pushtask text="Retrieve the Emerald of Rah from {pirate}."/>
                <pushtask text="Defeat {pirate} on the route between {pirateport} and {aleport}."/>
                <goal type="npccombat" npc="{pirate}" port1="{pirateport}" port2="{aleport}" text="Ha!  It figures that a couple fillies would be wanting me Emerald of Rah.  You'll not be gettin' it, ye corset-wearin' corsairs!"/>
                <okbox npc="pirate" text="Err...  sorry about that corset crack.  Really.  D-Don't hurt me.  Here, shiny object.  Have the Emerald of Rah." ok="Ooooooooohhhhhh.  Pretty."/>
                <okbox npc="azul" text="Not bad, missy.  Next, we need the Ruby of Tet.  The Governor of {battleport} currently holds it.  He's a bit cranky and likely to answer any polite request with cannon fire.  Be prepared for a fight to retrieve it." ok="Boots in kicking formation!"/>
                <get item="emerald"/>
                <poptask num="2"/>
                <pushtask text="Retrieve the Ruby of Tet from the Governor of {battleport}."/>
                <goal type="talk" npc="{guv2}" text="Demand the Ruby"/>
                <okbox npc="guv2" text="The Ruby?  I'm supposed to just give it to you?  Look, I'M the government official here.  I'M the only one who gets to demand valuables and offer nothing in return." ok="But please, kind sir!"/>
                <okbox npc="guv2" text="Oh, stop batting your eyelashes.  Fine, but only as payment for your services as a Captain.  My fool son ran off to pursue a career as a carpenter in {aleport}.  The boy is near-sighted beyond belief; I have no idea what he was thinking.  Return him home before he causes himself great injury, and I shall give you the Ruby as a reward." ok="Very well."/>
                <poptask num="1"/>
                <pushtask text="Exchange the Governor's son for the Ruby in {battleport}."/>
                <pushtask text="Retrieve the Governor's son in {aleport}."/>
                <goal type="talk" npc="{shippy2}" text="Come home."/>
                <okbox npc="son" text="Ah but why should I?  The life of a paper pusher is not for me!  I want to spend my days in the fresh air, hammering sharp objects into wood!  Sawing great boards, my fingers inches from the blade!  Well, the fingers I have left, anyway." ok="There goes your harpsichord career."/>
                <okbox npc="azul" text="Get your near-sighted butt on this ship RIGHT NOW, little man, or I shall find uses for that hammer and saw that you have never imagined." ok="That's rather crude..."/>
                <okbox npc="son" text="Good heavens!  Yes, mistress!  Please put down that axe!  I'll go quietly!" ok="It's a parasol.  You ARE near-sighted."/>
                <poptask num="1"/>
                <get item="son"/>
                <goal type="talk" npc="{guv2}" text="Return his son."/>
                <poptask num="1"/>
                <okbox npc="guv2" text="You didn't have to tie him up, you know.  But thank you for returning my son.  Here is the Ruby of Tet as promised." ok="He asked me...  never mind.  Thanks."/>
                <give item="son"/>
                <get item="ruby"/>
                <okbox npc="azul" text="We've only one jewel left, the Sapphire of Lato.  I may make a Captain out of you yet, McGowan; you're not doing too bad.  We'll find the last jewel at the Trader in {traderport}."ok ="Let's go!"/>
                <pushtask text="Get the Sapphire from the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Ask for Sapphire."/>
                <okbox npc="tradeguy" text="Yes I've got the Sapphire of Lato.  And today, it's yours for the bargain price of...  ten crates of tobacco!" ok="That's robbery!"/>
                <okbox npc="tradeguy" text="Supply and demand, my friends.  If you want the Sapphire, come back with the goods.  I'll be waiting here." ok="Fine."/>
                <pushtask text="Buy 10 crates of tobacco for the Trader in {traderport}."/>
                <goal type="have" good="tobacco" amount="10"/>
                <give item="tobacco" amount="10"/>
                <get item="tentobacco"/>
                <poptask num="1"/>
                <addlogentry text="Transferred 10 crates of tobacco into a special"/>
                <addlogentry text="crate for the Trader in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Deliver tobacco."/>
                <poptask num="2"/>
                <give item="tentobacco"/>
                <get item="sapphire"/>
                <okbox npc="tradeguy" text="Ah!  Thank you for the tobacco.  Some fools here in town are fond of rolling it in a bit of paper, lighting it on fire, and sucking on the end!  What insanity!  Anyway, here's the sapphire you wanted so badly." ok="Thanks."/>
                <okbox npc="azul" text="Nice work, McGowan.  That's the last of the jewels.  Let's get back to {startport} and take care of that little pig problem." ok="And none too soon."/>
                <goal type="talk" npc="{guv}" text="Deliver jewels."/>
                <poptask num="1"/>
                <give item="sapphire"/>
                <give item="ruby"/>
                <give item="emerald"/>
                <give item="azul"/>
                <addlogentry text="Got the Jewel of Invisiblity from the Governor of {startport}."/>
                <addlogentry text="Dropped off your comrade Adia Azul in {startport}."/>
                <get item="speed"/>
                <okbox npc="guv" text="What's this?  All three jewels!  Christine, you're a miracle worker!  Here's the Jewel of Invisibility as I promised.  And you must stay for dinner.  Quite a feast tonight.  Pork chops!" ok="I am suddenly a vegetarian."/>
                <okbox npc="azul" text="Not bad McGowan.  It's been a pleasure working with you.  You've earned your stripes, in my book.  Consider Adia Azul your ally." ok="Aye aye, Captain Azul."/>
                </steps>
	</task>

        <task level="5" name="The Queen's Pendant" reward="Charm of Lost Causes" character="mcgowan">
		<variables>
			<port name="startport" filters="here,trader"/>
                        <port name="bankport" filters="new,visible,bank"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="infoport" filters="new,visible,alehouse"/>
                        <port name="otherport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{startport}" building="trader"/>


                        <npc name="banker" location="{bankingport}"/>
                        <location name="bankingport" port="{bankport}" building="bank"/>

                        <npc name="aleguy" location="{infoale}"/>
                        <location name="infoale" port="{infoport}" building="alehouse"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<nation>english</nation>
					<sex>male</sex>
					<race>black</race>
					<class>upperpirate</class>
				</filters>
			</npc>

			<npc name="pirate2">
				<filters>
					<reserved>none</reserved>
					<nation>spanish</nation>
					<sex>male</sex>
					<race>mulatto</race>
					<class>upperpirate</class>
				</filters>
			</npc>
			<npc name="girl" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>upper</class>
				</filters>
			</npc>
            <location name="otherale" port="{otherport}" building="alehouse"/>

			<npc name="laroche">
				<filters>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<nickname>The Terror</nickname>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Oh, bother!  Our artisans simply must finish this pendant for Her Majesty's birthday celebration, but I have been unable to acquire the three gems we need to complete it!  Oh, my, she so disliked the gift given to her by the last Governor that she exchanged it - for his head!  Dear Captain, can you help?  This Charm of Lost Causes is priceless.  It will increase your skill in battle.  But I will gladly give it to you if you can get me those three gems." ok="Where should I look for the first gem?"/>
                <okbox npc="guv" text="I am certain that the Trader in {startport} has one of the stones: the Emerald of Cadiz.  Bring it to me, and I shall have more information for you at that time." ok="Very well."/>
                <pushtask text="Return the Emerald of Cadiz to the Governor in {startport}."/>
                <pushtask text="Purchase the Emerald of Cadiz from the Trader in {startport}."/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Emerald"/>
                <okbox npc="tradeguy" text="Ah, the Emerald of Cadiz?  Wish I'd never seen it!  {pirate} robbed me of it not two days ago, then drank me rum and kicked me cat.  Should ye find him, give 'im a boot in the bum courtesy of Master Socks, will ye?" ok="Know where he went?"/>
                <okbox npc="tradeguy" text="Aye, he mentioned he was off for a bit of plundering on the route between {battleport} and {startport}.  Keep yer pistol at the ready with that scurvy dog, cap'n." ok="Yarrr."/>
                <poptask num="1"/>
                <pushtask text="Retrieve Emerald of Cadiz from the Pirate {pirate}."/>
                <pushtask text="Defeat {pirate} between the Ports of {battleport} and {startport}."/>
                <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{startport}" text="Ye be wanting the Emerald, then?  Come and get it, then, ye scruffy bilge-rat!"/>
                <okbox npc="pirate" text="'Twas a fair fight, Captain!  You have our surrender and the Emerald as well.  Please pass on my sincere apologies to Master Socks." ok="I will."/>
                <poptask num="2"/>
                <get item="emerald"/>
                <goal type="talk" npc="{guv}" text="Deliver Emerald of Cadiz"/>
                <okbox npc="guv" text="Ah, such bravado!  A thousand thanks to you.  And now for the second gem: I hear the banker of {bankport} has the Ruby of Lisbon, another essential piece for the pendant.  I know you'll bring it to me right away." ok="You can count on me."/>
                <poptask num="1"/>
                <pushtask text="Return the Ruby of Lisbon to the Governor in {startport}."/>
                <pushtask text="Purchase the Ruby of Lisbon from the Banker in {bankport}."/>
                <give item="emerald"/>
                <goal type="talk" npc="{banker}" text="Purchase Ruby of Lisbon"/>
                <okbox npc="banker" text="The gem is a priceless family heirloom.  It's not for sale but I would gladly give it to you free of charge in exchange for the return of my daughter!" ok="Your daughter is missing?"/>
                <okbox npc="banker" text="My little princess ran away from the convent in {battleport}.  I fear the worst; rumor is that she caught the eye of the Pirate {pirate2}, and now oh, I dread to think!  Please bring my delicate flower home!" ok="Where should I look?"/>
                <okbox npc="banker" text="Start at {infoport}.  The Alehouse there is a favorite of {pirate2}." ok="Will do."/>
                <poptask num="1"/>
                <pushtask text="Exchange the Daughter for the Ruby of Lisbon in {bankport}."/>
                <pushtask text="Rescue the Banker's Daughter."/>
                <pushtask text="Get information about the Banker's Daughter in {infoport}."/>
                <goal type="talk" npc="{aleguy}" text="Ask about Banker's daughter."/>
                <poptask num="1"/>
                <pushtask text="Defeat the Pirate {pirate2} between {startport} and {infoport}."/>
                <okbox npc="aleguy" text="'Tis true, I saw the little darlin' in the company of {pirate2}.  Quite fetchin' wench, she was, but she could do with a bit of soap, if ye get my meanin' and I'm fairly certain she dinna learn those limericks in the convent." ok="Know where they went?"/>
                <okbox npc="aleguy" text="Last I heard, {pirate2} was pillaging ships between {startport} and {infoport}.  Or ye could follow the stench." ok="Oh my."/>
                <goal type="npccombat" npc="{pirate2}" port1="{startport}" port2="{infoport}" text="That hellion?  We threw her overboard at {otherport}, and the curses she shouted swimming to shore made me blush, they did!  The crew could do with a bit of cheerin' up now, so I think we'll be relievin' ye of yer valuables.  Prepare for battle!"/>
                <poptask num="2"/>
                <pushtask text="Pick up the Banker's Daughter in {otherport}."/>
                <goal type="talk" npc="{girl}" text="Talk to Girl"/>
                <okbox npc="girl" text="Go back to me father?  Aye, whatever ye say, good cap'n.  My, what a strappin' young crew ye have.  Yarr, you, lad, have ye heard the one about the boy from Aberystwyth?" ok="Uh, whatever.  Let's go!"/>
                <poptask num="1"/>
                <get item="bankergirl"/>
                <addlogentry text="What have I done?  This banker's daughter means to be our end!  She's"/>
                <addlogentry text="distracting the crew and drinking all the beer!"/>
                <addlogentry text="Today she spilled a bucket of pitch on my first mate's breeches."/>
                <addlogentry text="She spent three hours dabbing it off him with a handkerchief."/>
                <goal type="talk" npc="{banker}" text="Return the Girl"/>
                <poptask num="1"/>
                <give item="bankergirl"/>
                <get item="ruby"/>
                <okbox npc="banker" text="My sweet flower!  Oh, how I pray your delicate sensibilities have not been bruised by your time spent captive with the rogues!  Kind Captain, here is your well-earned reward.  The Ruby of Lisbon is yours!" ok="Thank you."/>
                <goal type="talk" npc="{guv}" text="Deliver Ruby of Lisbon"/>
                <okbox npc="guv" text="Blessed heavens, yes!  You astound me, dear Captain.  Only the most important jewel remains to be had: the Sapphire of Cypress.  Sadly, LaRoche got word of our endeavors here.  I have assured the queen that we have quashed the pirate threat in these waters, so LaRoche stole the sapphire to humiliate me - and you - publicly.  This is a taunt, my friend.  Back down, and LaRoche will consider himself your superior.  Taking the sapphire from him will prove your worthiness and earn you the Charm of Lost Causes!  What say you?" ok="His challenge shall be answered!"/>
                <poptask num="1"/>
                <pushtask text="Return the Sapphire to the Governor in {startport}."/>
                <pushtask text="Retrieve the Sapphire from LaRoche."/>
                <pushtask text="Defeat LaRoche on the route between {otherport} and {battleport}."/>
                <give item="ruby"/>
                <okbox npc="guv" text="LaRoche was last seen traveling between {otherport} and {battleport}.  Godspeed to you, Captain!" ok="Farewell!"/>
                <goal type="npccombat" npc="{laroche}" port1="{otherport}" port2="{battleport}" text="You are a bothersome, ankle-biting tiny dog, my friend, and I have had enough of you.  I baited my trap with this lovely sapphire.  And now, the trap, she snaps shut!  Prepare to join the angels!"/>
                <okbox npc="laroche" text="Mon dieu!  Ce n'est-ce pas possible!  My fleet, in flames!  You have earned a true nemesis, capitan!  When we meet again, we shall see if you are again the favored child of Luck!" ok="You're the one out of luck."/>
                <poptask num="2"/>
                <get item="sapphire"/>
                <goal type="talk" npc="{guv}" text="Deliver the Sapphire"/>
                <give item="sapphire"/>
                <poptask num="1"/>
                <get item="lostcauses"/>
                <addlogentry text="Delivered all Three Jewels to the Governor of {startport}."/>
                <addlogentry text="Received the Charm of Lost Causes from the Governor of {startport}."/>
                <okbox npc="guv" text="The Sapphire of Cypress!  I am not fit to bow in your shadow, commander.  Defeating LaRoche - with a single ship!  Pity LaRoche survived; he will surely breathe at your back until one of you meets an untimely end.  I can express my gratitude to you only by giving you this, the most prized tribal charm in the realm." ok="Thank you."/>
                </steps>
	</task>

        <task level="5" name="The Queen's Pendant" reward="Charm of Lost Causes" character="azul">
		<variables>
			<port name="startport" filters="here,trader"/>
                        <port name="bankport" filters="new,visible,bank"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="infoport" filters="new,visible,alehouse"/>
                        <port name="otherport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{startport}" building="trader"/>


                        <npc name="banker" location="{bankingport}"/>
                        <location name="bankingport" port="{bankport}" building="bank"/>

                        <npc name="aleguy" location="{infoale}"/>
                        <location name="infoale" port="{infoport}" building="alehouse"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<nation>english</nation>
					<sex>male</sex>
					<race>black</race>
					<class>upperpirate</class>
				</filters>
			</npc>

			<npc name="pirate2">
				<filters>
					<reserved>none</reserved>
					<nation>spanish</nation>
					<sex>male</sex>
					<race>mulatto</race>
					<class>upperpirate</class>
				</filters>
			</npc>
			<npc name="girl" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>upper</class>
				</filters>
			</npc>
            <location name="otherale" port="{otherport}" building="alehouse"/>

			<npc name="laroche">
				<filters>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<nickname>The Terror</nickname>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Oh, bother!  Our artisans simply must finish this pendant for Her Majesty's birthday celebration, but I have been unable to acquire the three gems we need to complete it!  Oh, my, she so disliked the gift given to her by the last Governor that she exchanged it - for his head!  Dear Captain, can you help?  This Charm of Lost Causes is priceless.  It will increase your skill in battle.  But I will gladly give it to you if you can get me those three gems." ok="Where should I look for the first gem?"/>
                <okbox npc="guv" text="I am certain that the Trader in {startport} has one of the stones: the Emerald of Cadiz.  Bring it to me, and I shall have more information for you at that time." ok="Very well."/>
                <pushtask text="Return the Emerald of Cadiz to the Governor in {startport}."/>
                <pushtask text="Purchase the Emerald of Cadiz from the Trader in {startport}."/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Emerald"/>
                <okbox npc="tradeguy" text="Ah, the Emerald of Cadiz?  Wish I'd never seen it!  {pirate} robbed me of it not two days ago, then drank me rum and kicked me cat.  Should ye find him, give 'im a boot in the bum courtesy of Master Socks, will ye?" ok="Know where he went?"/>
                <okbox npc="tradeguy" text="Aye, he mentioned he was off for a bit of plundering on the route between {battleport} and {startport}.  Keep yer pistol at the ready with that scurvy dog, cap'n." ok="Yarrr."/>
                <poptask num="1"/>
                <pushtask text="Retrieve Emerald of Cadiz from the Pirate {pirate}."/>
                <pushtask text="Defeat {pirate} between the Ports of {battleport} and {startport}."/>
                <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{startport}" text="Ye be wanting the Emerald, then?  Come and get it, then, ye scruffy bilge-rat!"/>
                <okbox npc="pirate" text="'Twas a fair fight, Captain!  You have our surrender and the Emerald as well.  Please pass on my sincere apologies to Master Socks." ok="I will."/>
                <poptask num="2"/>
                <get item="emerald"/>
                <goal type="talk" npc="{guv}" text="Deliver Emerald of Cadiz"/>
                <okbox npc="guv" text="Ah, such bravado!  A thousand thanks to you.  And now for the second gem: I hear the banker of {bankport} has the Ruby of Lisbon, another essential piece for the pendant.  I know you'll bring it to me right away." ok="You can count on me."/>
                <poptask num="1"/>
                <pushtask text="Return the Ruby of Lisbon to the Governor in {startport}."/>
                <pushtask text="Purchase the Ruby of Lisbon from the Banker in {bankport}."/>
                <give item="emerald"/>
                <goal type="talk" npc="{banker}" text="Purchase Ruby of Lisbon"/>
                <okbox npc="banker" text="The gem is a priceless family heirloom.  It's not for sale but I would gladly give it to you free of charge in exchange for the return of my daughter!" ok="Your daughter is missing?"/>
                <okbox npc="banker" text="My little princess ran away from the convent in {battleport}.  I fear the worst; rumor is that she caught the eye of the Pirate {pirate2}, and now oh, I dread to think!  Please bring my delicate flower home!" ok="Where should I look?"/>
                <okbox npc="banker" text="Start at {infoport}.  The Alehouse there is a favorite of {pirate2}." ok="Will do."/>
                <poptask num="1"/>
                <pushtask text="Exchange the Daughter for the Ruby of Lisbon in {bankport}."/>
                <pushtask text="Rescue the Banker's Daughter."/>
                <pushtask text="Get information about the Banker's Daughter in {infoport}."/>
                <goal type="talk" npc="{aleguy}" text="Ask about Banker's daughter."/>
                <poptask num="1"/>
                <pushtask text="Defeat the Pirate {pirate2} between {startport} and {infoport}."/>
                <okbox npc="aleguy" text="'Tis true, I saw the little darlin' in the company of {pirate2}.  Quite fetchin' wench, she was, but she could do with a bit of soap, if ye get my meanin' and I'm fairly certain she dinna learn those limericks in the convent." ok="Know where they went?"/>
                <okbox npc="aleguy" text="Last I heard, {pirate2} was pillaging ships between {startport} and {infoport}.  Or ye could follow the stench." ok="Oh my."/>
                <goal type="npccombat" npc="{pirate2}" port1="{startport}" port2="{infoport}" text="That hellion?  We threw her overboard at {otherport}, and the curses she shouted swimming to shore made me blush, they did!  The crew could do with a bit of cheerin' up now, so I think we'll be relievin' ye of yer valuables.  Prepare for battle!"/>
                <poptask num="2"/>
                <pushtask text="Pick up the Banker's Daughter in {otherport}."/>
                <goal type="talk" npc="{girl}" text="Talk to Girl"/>
                <okbox npc="girl" text="Go back to me father?  Aye, whatever ye say, good cap'n.  My, what a strappin' young crew ye have.  Yarr, you, lad, have ye heard the one about the boy from Aberystwyth?" ok="Uh, whatever.  Let's go!"/>
                <poptask num="1"/>
                <get item="bankergirl"/>
                <addlogentry text="What have I done?  This banker's daughter means to be our end!  She's"/>
                <addlogentry text="distracting the crew and drinking all the beer!"/>
                <addlogentry text="Today she spilled a bucket of pitch on my first mate's breeches."/>
                <addlogentry text="She spent three hours dabbing it off him with a handkerchief."/>
                <goal type="talk" npc="{banker}" text="Return the Girl"/>
                <poptask num="1"/>
                <give item="bankergirl"/>
                <get item="ruby"/>
                <okbox npc="banker" text="My sweet flower!  Oh, how I pray your delicate sensibilities have not been bruised by your time spent captive with the rogues!  Kind Captain, here is your well-earned reward.  The Ruby of Lisbon is yours!" ok="Thank you."/>
                <goal type="talk" npc="{guv}" text="Deliver Ruby of Lisbon"/>
                <okbox npc="guv" text="Blessed heavens, yes!  You astound me, dear Captain.  Only the most important jewel remains to be had: the Sapphire of Cypress.  Sadly, LaRoche got word of our endeavors here.  I have assured the queen that we have quashed the pirate threat in these waters, so LaRoche stole the sapphire to humiliate me - and you - publicly.  This is a taunt, my friend.  Back down, and LaRoche will consider himself your superior.  Taking the sapphire from him will prove your worthiness and earn you the Charm of Lost Causes!  What say you?" ok="His challenge shall be answered!"/>
                <poptask num="1"/>
                <pushtask text="Return the Sapphire to the Governor in {startport}."/>
                <pushtask text="Retrieve the Sapphire from LaRoche."/>
                <pushtask text="Defeat LaRoche on the route between {otherport} and {battleport}."/>
                <give item="ruby"/>
                <okbox npc="guv" text="LaRoche was last seen traveling between {otherport} and {battleport}.  Godspeed to you, Captain!" ok="Farewell!"/>
                <goal type="npccombat" npc="{laroche}" port1="{otherport}" port2="{battleport}" text="You are a bothersome, ankle-biting tiny dog, my friend, and I have had enough of you.  I baited my trap with this lovely sapphire.  And now, the trap, she snaps shut!  Prepare to join the angels!"/>
                <okbox npc="laroche" text="Mon dieu!  Ce n'est-ce pas possible!  My fleet, in flames!  You have earned a true nemesis, capitan!  When we meet again, we shall see if you are again the favored child of Luck!" ok="You're the one out of luck."/>
                <poptask num="2"/>
                <get item="sapphire"/>
                <goal type="talk" npc="{guv}" text="Deliver the Sapphire"/>
                <give item="sapphire"/>
                <poptask num="1"/>
                <get item="lostcauses"/>
                <addlogentry text="Delivered all Three Jewels to the Governor of {startport}."/>
                <addlogentry text="Received the Charm of Lost Causes from the Governor of {startport}."/>
                <okbox npc="guv" text="The Sapphire of Cypress!  I am not fit to bow in your shadow, commander.  Defeating LaRoche - with a single ship!  Pity LaRoche survived; he will surely breathe at your back until one of you meets an untimely end.  I can express my gratitude to you only by giving you this, the most prized tribal charm in the realm." ok="Thank you."/>
                </steps>
	</task>

        <task level="5" name="The Queen's Pendant" reward="Charm of Lost Causes" character="vangregor">
		<variables>
			<port name="startport" filters="here,trader"/>
                        <port name="bankport" filters="new,visible,bank"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="infoport" filters="new,visible,alehouse"/>
                        <port name="otherport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{startport}" building="trader"/>


                        <npc name="banker" location="{bankingport}"/>
                        <location name="bankingport" port="{bankport}" building="bank"/>

                        <npc name="aleguy" location="{infoale}"/>
                        <location name="infoale" port="{infoport}" building="alehouse"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<nation>english</nation>
					<sex>male</sex>
					<race>black</race>
					<class>upperpirate</class>
				</filters>
			</npc>

			<npc name="pirate2">
				<filters>
					<reserved>none</reserved>
					<nation>spanish</nation>
					<sex>male</sex>
					<race>mulatto</race>
					<class>upperpirate</class>
				</filters>
			</npc>
			<npc name="girl" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>upper</class>
				</filters>
			</npc>
            <location name="otherale" port="{otherport}" building="alehouse"/>

			<npc name="laroche">
				<filters>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<nickname>The Terror</nickname>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Oh, bother!  Our artisans simply must finish this pendant for Her Majesty's birthday celebration, but I have been unable to acquire the three gems we need to complete it!  Oh, my, she so disliked the gift given to her by the last Governor that she exchanged it - for his head!  Dear Captain, can you help?  This Charm of Lost Causes is priceless.  It will increase your skill in battle.  But I will gladly give it to you if you can get me those three gems." ok="Where should I look for the first gem?"/>
                <okbox npc="guv" text="I am certain that the Trader in {startport} has one of the stones: the Emerald of Cadiz.  Bring it to me, and I shall have more information for you at that time." ok="Very well."/>
                <pushtask text="Return the Emerald of Cadiz to the Governor in {startport}."/>
                <pushtask text="Purchase the Emerald of Cadiz from the Trader in {startport}."/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Emerald"/>
                <okbox npc="tradeguy" text="Ah, the Emerald of Cadiz?  Wish I'd never seen it!  {pirate} robbed me of it not two days ago, then drank me rum and kicked me cat.  Should ye find him, give 'im a boot in the bum courtesy of Master Socks, will ye?" ok="Know where he went?"/>
                <okbox npc="tradeguy" text="Aye, he mentioned he was off for a bit of plundering on the route between {battleport} and {startport}.  Keep yer pistol at the ready with that scurvy dog, cap'n." ok="Yarrr."/>
                <poptask num="1"/>
                <pushtask text="Retrieve Emerald of Cadiz from the Pirate {pirate}."/>
                <pushtask text="Defeat {pirate} between the Ports of {battleport} and {startport}."/>
                <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{startport}" text="Ye be wanting the Emerald, then?  Come and get it, then, ye scruffy bilge-rat!"/>
                <okbox npc="pirate" text="'Twas a fair fight, Captain!  You have our surrender and the Emerald as well.  Please pass on my sincere apologies to Master Socks." ok="I will."/>
                <poptask num="2"/>
                <get item="emerald"/>
                <goal type="talk" npc="{guv}" text="Deliver Emerald of Cadiz"/>
                <okbox npc="guv" text="Ah, such bravado!  A thousand thanks to you.  And now for the second gem: I hear the banker of {bankport} has the Ruby of Lisbon, another essential piece for the pendant.  I know you'll bring it to me right away." ok="You can count on me."/>
                <poptask num="1"/>
                <pushtask text="Return the Ruby of Lisbon to the Governor in {startport}."/>
                <pushtask text="Purchase the Ruby of Lisbon from the Banker in {bankport}."/>
                <give item="emerald"/>
                <goal type="talk" npc="{banker}" text="Purchase Ruby of Lisbon"/>
                <okbox npc="banker" text="The gem is a priceless family heirloom.  It's not for sale but I would gladly give it to you free of charge in exchange for the return of my daughter!" ok="Your daughter is missing?"/>
                <okbox npc="banker" text="My little princess ran away from the convent in {battleport}.  I fear the worst; rumor is that she caught the eye of the Pirate {pirate2}, and now oh, I dread to think!  Please bring my delicate flower home!" ok="Where should I look?"/>
                <okbox npc="banker" text="Start at {infoport}.  The Alehouse there is a favorite of {pirate2}." ok="Will do."/>
                <poptask num="1"/>
                <pushtask text="Exchange the Daughter for the Ruby of Lisbon in {bankport}."/>
                <pushtask text="Rescue the Banker's Daughter."/>
                <pushtask text="Get information about the Banker's Daughter in {infoport}."/>
                <goal type="talk" npc="{aleguy}" text="Ask about Banker's daughter."/>
                <poptask num="1"/>
                <pushtask text="Defeat the Pirate {pirate2} between {startport} and {infoport}."/>
                <okbox npc="aleguy" text="'Tis true, I saw the little darlin' in the company of {pirate2}.  Quite fetchin' wench, she was, but she could do with a bit of soap, if ye get my meanin' and I'm fairly certain she dinna learn those limericks in the convent." ok="Know where they went?"/>
                <okbox npc="aleguy" text="Last I heard, {pirate2} was pillaging ships between {startport} and {infoport}.  Or ye could follow the stench." ok="Oh my."/>
                <goal type="npccombat" npc="{pirate2}" port1="{startport}" port2="{infoport}" text="That hellion?  We threw her overboard at {otherport}, and the curses she shouted swimming to shore made me blush, they did!  The crew could do with a bit of cheerin' up now, so I think we'll be relievin' ye of yer valuables.  Prepare for battle!"/>
                <poptask num="2"/>
                <pushtask text="Pick up the Banker's Daughter in {otherport}."/>
                <goal type="talk" npc="{girl}" text="Talk to Girl"/>
                <okbox npc="girl" text="Go back to me father?  Aye, whatever ye say, good cap'n.  My, what a strappin' young crew ye have.  Yarr, you, lad, have ye heard the one about the boy from Aberystwyth?" ok="Uh, whatever.  Let's go!"/>
                <poptask num="1"/>
                <get item="bankergirl"/>
                <addlogentry text="What have I done?  This banker's daughter means to be our end!  She's"/>
                <addlogentry text="distracting the crew and drinking all the beer!"/>
                <addlogentry text="Today she spilled a bucket of pitch on my first mate's breeches."/>
                <addlogentry text="She spent three hours dabbing it off him with a handkerchief."/>
                <goal type="talk" npc="{banker}" text="Return the Girl"/>
                <poptask num="1"/>
                <give item="bankergirl"/>
                <get item="ruby"/>
                <okbox npc="banker" text="My sweet flower!  Oh, how I pray your delicate sensibilities have not been bruised by your time spent captive with the rogues!  Kind Captain, here is your well-earned reward.  The Ruby of Lisbon is yours!" ok="Thank you."/>
                <goal type="talk" npc="{guv}" text="Deliver Ruby of Lisbon"/>
                <okbox npc="guv" text="Blessed heavens, yes!  You astound me, dear Captain.  Only the most important jewel remains to be had: the Sapphire of Cypress.  Sadly, LaRoche got word of our endeavors here.  I have assured the queen that we have quashed the pirate threat in these waters, so LaRoche stole the sapphire to humiliate me - and you - publicly.  This is a taunt, my friend.  Back down, and LaRoche will consider himself your superior.  Taking the sapphire from him will prove your worthiness and earn you the Charm of Lost Causes!  What say you?" ok="His challenge shall be answered!"/>
                <poptask num="1"/>
                <pushtask text="Return the Sapphire to the Governor in {startport}."/>
                <pushtask text="Retrieve the Sapphire from LaRoche."/>
                <pushtask text="Defeat LaRoche on the route between {otherport} and {battleport}."/>
                <give item="ruby"/>
                <okbox npc="guv" text="LaRoche was last seen traveling between {otherport} and {battleport}.  Godspeed to you, Captain!" ok="Farewell!"/>
                <goal type="npccombat" npc="{laroche}" port1="{otherport}" port2="{battleport}" text="You are a bothersome, ankle-biting tiny dog, my friend, and I have had enough of you.  I baited my trap with this lovely sapphire.  And now, the trap, she snaps shut!  Prepare to join the angels!"/>
                <okbox npc="laroche" text="Mon dieu!  Ce n'est-ce pas possible!  My fleet, in flames!  You have earned a true nemesis, capitan!  When we meet again, we shall see if you are again the favored child of Luck!" ok="You're the one out of luck."/>
                <poptask num="2"/>
                <get item="sapphire"/>
                <goal type="talk" npc="{guv}" text="Deliver the Sapphire"/>
                <give item="sapphire"/>
                <poptask num="1"/>
                <get item="lostcauses"/>
                <addlogentry text="Delivered all Three Jewels to the Governor of {startport}."/>
                <addlogentry text="Received the Charm of Lost Causes from the Governor of {startport}."/>
                <okbox npc="guv" text="The Sapphire of Cypress!  I am not fit to bow in your shadow, commander.  Defeating LaRoche - with a single ship!  Pity LaRoche survived; he will surely breathe at your back until one of you meets an untimely end.  I can express my gratitude to you only by giving you this, the most prized tribal charm in the realm." ok="Thank you."/>
                </steps>
	</task>
	
	<task level="5" name="The Queen's Pendant" reward="Charm of Lost Causes" character="verdugo">
		<variables>
			<port name="startport" filters="here,trader"/>
                        <port name="bankport" filters="new,visible,bank"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="infoport" filters="new,visible,alehouse"/>
                        <port name="otherport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{startport}" building="trader"/>


                        <npc name="banker" location="{bankingport}"/>
                        <location name="bankingport" port="{bankport}" building="bank"/>

                        <npc name="aleguy" location="{infoale}"/>
                        <location name="infoale" port="{infoport}" building="alehouse"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<nation>english</nation>
					<sex>male</sex>
					<race>black</race>
					<class>upperpirate</class>
				</filters>
			</npc>

			<npc name="pirate2">
				<filters>
					<reserved>none</reserved>
					<nation>spanish</nation>
					<sex>male</sex>
					<race>mulatto</race>
					<class>upperpirate</class>
				</filters>
			</npc>
			<npc name="girl" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>upper</class>
				</filters>
			</npc>
            <location name="otherale" port="{otherport}" building="alehouse"/>

			<npc name="laroche">
				<filters>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<nickname>The Terror</nickname>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Oh, bother!  Our artisans simply must finish this pendant for Her Majesty's birthday celebration, but I have been unable to acquire the three gems we need to complete it!  Oh, my, she so disliked the gift given to her by the last Governor that she exchanged it - for his head!  Dear Captain, can you help?  This Charm of Lost Causes is priceless.  It will increase your skill in battle.  But I will gladly give it to you if you can get me those three gems." ok="Where should I look for the first gem?"/>
                <okbox npc="guv" text="I am certain that the Trader in {startport} has one of the stones: the Emerald of Cadiz.  Bring it to me, and I shall have more information for you at that time." ok="Very well."/>
                <pushtask text="Return the Emerald of Cadiz to the Governor in {startport}."/>
                <pushtask text="Purchase the Emerald of Cadiz from the Trader in {startport}."/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Emerald"/>
                <okbox npc="tradeguy" text="Ah, the Emerald of Cadiz?  Wish I'd never seen it!  {pirate} robbed me of it not two days ago, then drank me rum and kicked me cat.  Should ye find him, give 'im a boot in the bum courtesy of Master Socks, will ye?" ok="Know where he went?"/>
                <okbox npc="tradeguy" text="Aye, he mentioned he was off for a bit of plundering on the route between {battleport} and {startport}.  Keep yer pistol at the ready with that scurvy dog, cap'n." ok="Yarrr."/>
                <poptask num="1"/>
                <pushtask text="Retrieve Emerald of Cadiz from the Pirate {pirate}."/>
                <pushtask text="Defeat {pirate} between the Ports of {battleport} and {startport}."/>
                <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{startport}" text="Ye be wanting the Emerald, then?  Come and get it, then, ye scruffy bilge-rat!"/>
                <okbox npc="pirate" text="'Twas a fair fight, Captain!  You have our surrender and the Emerald as well.  Please pass on my sincere apologies to Master Socks." ok="I will."/>
                <poptask num="2"/>
                <get item="emerald"/>
                <goal type="talk" npc="{guv}" text="Deliver Emerald of Cadiz"/>
                <okbox npc="guv" text="Ah, such bravado!  A thousand thanks to you.  And now for the second gem: I hear the banker of {bankport} has the Ruby of Lisbon, another essential piece for the pendant.  I know you'll bring it to me right away." ok="You can count on me."/>
                <poptask num="1"/>
                <pushtask text="Return the Ruby of Lisbon to the Governor in {startport}."/>
                <pushtask text="Purchase the Ruby of Lisbon from the Banker in {bankport}."/>
                <give item="emerald"/>
                <goal type="talk" npc="{banker}" text="Purchase Ruby of Lisbon"/>
                <okbox npc="banker" text="The gem is a priceless family heirloom.  It's not for sale but I would gladly give it to you free of charge in exchange for the return of my daughter!" ok="Your daughter is missing?"/>
                <okbox npc="banker" text="My little princess ran away from the convent in {battleport}.  I fear the worst; rumor is that she caught the eye of the Pirate {pirate2}, and now oh, I dread to think!  Please bring my delicate flower home!" ok="Where should I look?"/>
                <okbox npc="banker" text="Start at {infoport}.  The Alehouse there is a favorite of {pirate2}." ok="Will do."/>
                <poptask num="1"/>
                <pushtask text="Exchange the Daughter for the Ruby of Lisbon in {bankport}."/>
                <pushtask text="Rescue the Banker's Daughter."/>
                <pushtask text="Get information about the Banker's Daughter in {infoport}."/>
                <goal type="talk" npc="{aleguy}" text="Ask about Banker's daughter."/>
                <poptask num="1"/>
                <pushtask text="Defeat the Pirate {pirate2} between {startport} and {infoport}."/>
                <okbox npc="aleguy" text="'Tis true, I saw the little darlin' in the company of {pirate2}.  Quite fetchin' wench, she was, but she could do with a bit of soap, if ye get my meanin' and I'm fairly certain she dinna learn those limericks in the convent." ok="Know where they went?"/>
                <okbox npc="aleguy" text="Last I heard, {pirate2} was pillaging ships between {startport} and {infoport}.  Or ye could follow the stench." ok="Oh my."/>
                <goal type="npccombat" npc="{pirate2}" port1="{startport}" port2="{infoport}" text="That hellion?  We threw her overboard at {otherport}, and the curses she shouted swimming to shore made me blush, they did!  The crew could do with a bit of cheerin' up now, so I think we'll be relievin' ye of yer valuables.  Prepare for battle!"/>
                <poptask num="2"/>
                <pushtask text="Pick up the Banker's Daughter in {otherport}."/>
                <goal type="talk" npc="{girl}" text="Talk to Girl"/>
                <okbox npc="girl" text="Go back to me father?  Aye, whatever ye say, good cap'n.  My, what a strappin' young crew ye have.  Yarr, you, lad, have ye heard the one about the boy from Aberystwyth?" ok="Uh, whatever.  Let's go!"/>
                <poptask num="1"/>
                <get item="bankergirl"/>
                <addlogentry text="What have I done?  This banker's daughter means to be our end!  She's"/>
                <addlogentry text="distracting the crew and drinking all the beer!"/>
                <addlogentry text="Today she spilled a bucket of pitch on my first mate's breeches."/>
                <addlogentry text="She spent three hours dabbing it off him with a handkerchief."/>
                <goal type="talk" npc="{banker}" text="Return the Girl"/>
                <poptask num="1"/>
                <give item="bankergirl"/>
                <get item="ruby"/>
                <okbox npc="banker" text="My sweet flower!  Oh, how I pray your delicate sensibilities have not been bruised by your time spent captive with the rogues!  Kind Captain, here is your well-earned reward.  The Ruby of Lisbon is yours!" ok="Thank you."/>
                <goal type="talk" npc="{guv}" text="Deliver Ruby of Lisbon"/>
                <okbox npc="guv" text="Blessed heavens, yes!  You astound me, dear Captain.  Only the most important jewel remains to be had: the Sapphire of Cypress.  Sadly, LaRoche got word of our endeavors here.  I have assured the queen that we have quashed the pirate threat in these waters, so LaRoche stole the sapphire to humiliate me - and you - publicly.  This is a taunt, my friend.  Back down, and LaRoche will consider himself your superior.  Taking the sapphire from him will prove your worthiness and earn you the Charm of Lost Causes!  What say you?" ok="His challenge shall be answered!"/>
                <poptask num="1"/>
                <pushtask text="Return the Sapphire to the Governor in {startport}."/>
                <pushtask text="Retrieve the Sapphire from LaRoche."/>
                <pushtask text="Defeat LaRoche on the route between {otherport} and {battleport}."/>
                <give item="ruby"/>
                <okbox npc="guv" text="LaRoche was last seen traveling between {otherport} and {battleport}.  Godspeed to you, Captain!" ok="Farewell!"/>
                <goal type="npccombat" npc="{laroche}" port1="{otherport}" port2="{battleport}" text="You are a bothersome, ankle-biting tiny dog, my friend, and I have had enough of you.  I baited my trap with this lovely sapphire.  And now, the trap, she snaps shut!  Prepare to join the angels!"/>
                <okbox npc="laroche" text="Mon dieu!  Ce n'est-ce pas possible!  My fleet, in flames!  You have earned a true nemesis, capitan!  When we meet again, we shall see if you are again the favored child of Luck!" ok="You're the one out of luck."/>
                <poptask num="2"/>
                <get item="sapphire"/>
                <goal type="talk" npc="{guv}" text="Deliver the Sapphire"/>
                <give item="sapphire"/>
                <poptask num="1"/>
                <get item="lostcauses"/>
                <addlogentry text="Delivered all Three Jewels to the Governor of {startport}."/>
                <addlogentry text="Received the Charm of Lost Causes from the Governor of {startport}."/>
                <okbox npc="guv" text="The Sapphire of Cypress!  I am not fit to bow in your shadow, commander.  Defeating LaRoche - with a single ship!  Pity LaRoche survived; he will surely breathe at your back until one of you meets an untimely end.  I can express my gratitude to you only by giving you this, the most prized tribal charm in the realm." ok="Thank you."/>
                </steps>
	</task>
	
	<task level="5" name="The Queen's Pendant" reward="Charm of Lost Causes" character="custom">
		<variables>
			<port name="startport" filters="here,trader"/>
                        <port name="bankport" filters="new,visible,bank"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="infoport" filters="new,visible,alehouse"/>
                        <port name="otherport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="tradeguy" location="{tradeplace}"/>
                        <location name="tradeplace" port="{startport}" building="trader"/>


                        <npc name="banker" location="{bankingport}"/>
                        <location name="bankingport" port="{bankport}" building="bank"/>

                        <npc name="aleguy" location="{infoale}"/>
                        <location name="infoale" port="{infoport}" building="alehouse"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<nation>english</nation>
					<sex>male</sex>
					<race>black</race>
					<class>upperpirate</class>
				</filters>
			</npc>

			<npc name="pirate2">
				<filters>
					<reserved>none</reserved>
					<nation>spanish</nation>
					<sex>male</sex>
					<race>mulatto</race>
					<class>upperpirate</class>
				</filters>
			</npc>
			<npc name="girl" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>upper</class>
				</filters>
			</npc>
            <location name="otherale" port="{otherport}" building="alehouse"/>

			<npc name="laroche">
				<filters>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<nickname>The Terror</nickname>
					<surname>LaRoche</surname>
					<reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Oh, bother!  Our artisans simply must finish this pendant for Her Majesty's birthday celebration, but I have been unable to acquire the three gems we need to complete it!  Oh, my, she so disliked the gift given to her by the last Governor that she exchanged it - for his head!  Dear Captain, can you help?  This Charm of Lost Causes is priceless.  It will increase your skill in battle.  But I will gladly give it to you if you can get me those three gems." ok="Where should I look for the first gem?"/>
                <okbox npc="guv" text="I am certain that the Trader in {startport} has one of the stones: the Emerald of Cadiz.  Bring it to me, and I shall have more information for you at that time." ok="Very well."/>
                <pushtask text="Return the Emerald of Cadiz to the Governor in {startport}."/>
                <pushtask text="Purchase the Emerald of Cadiz from the Trader in {startport}."/>
                <goal type="talk" npc="{tradeguy}" text="Purchase Emerald"/>
                <okbox npc="tradeguy" text="Ah, the Emerald of Cadiz?  Wish I'd never seen it!  {pirate} robbed me of it not two days ago, then drank me rum and kicked me cat.  Should ye find him, give 'im a boot in the bum courtesy of Master Socks, will ye?" ok="Know where he went?"/>
                <okbox npc="tradeguy" text="Aye, he mentioned he was off for a bit of plundering on the route between {battleport} and {startport}.  Keep yer pistol at the ready with that scurvy dog, cap'n." ok="Yarrr."/>
                <poptask num="1"/>
                <pushtask text="Retrieve Emerald of Cadiz from the Pirate {pirate}."/>
                <pushtask text="Defeat {pirate} between the Ports of {battleport} and {startport}."/>
                <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{startport}" text="Ye be wanting the Emerald, then?  Come and get it, then, ye scruffy bilge-rat!"/>
                <okbox npc="pirate" text="'Twas a fair fight, Captain!  You have our surrender and the Emerald as well.  Please pass on my sincere apologies to Master Socks." ok="I will."/>
                <poptask num="2"/>
                <get item="emerald"/>
                <goal type="talk" npc="{guv}" text="Deliver Emerald of Cadiz"/>
                <okbox npc="guv" text="Ah, such bravado!  A thousand thanks to you.  And now for the second gem: I hear the banker of {bankport} has the Ruby of Lisbon, another essential piece for the pendant.  I know you'll bring it to me right away." ok="You can count on me."/>
                <poptask num="1"/>
                <pushtask text="Return the Ruby of Lisbon to the Governor in {startport}."/>
                <pushtask text="Purchase the Ruby of Lisbon from the Banker in {bankport}."/>
                <give item="emerald"/>
                <goal type="talk" npc="{banker}" text="Purchase Ruby of Lisbon"/>
                <okbox npc="banker" text="The gem is a priceless family heirloom.  It's not for sale but I would gladly give it to you free of charge in exchange for the return of my daughter!" ok="Your daughter is missing?"/>
                <okbox npc="banker" text="My little princess ran away from the convent in {battleport}.  I fear the worst; rumor is that she caught the eye of the Pirate {pirate2}, and now oh, I dread to think!  Please bring my delicate flower home!" ok="Where should I look?"/>
                <okbox npc="banker" text="Start at {infoport}.  The Alehouse there is a favorite of {pirate2}." ok="Will do."/>
                <poptask num="1"/>
                <pushtask text="Exchange the Daughter for the Ruby of Lisbon in {bankport}."/>
                <pushtask text="Rescue the Banker's Daughter."/>
                <pushtask text="Get information about the Banker's Daughter in {infoport}."/>
                <goal type="talk" npc="{aleguy}" text="Ask about Banker's daughter."/>
                <poptask num="1"/>
                <pushtask text="Defeat the Pirate {pirate2} between {startport} and {infoport}."/>
                <okbox npc="aleguy" text="'Tis true, I saw the little darlin' in the company of {pirate2}.  Quite fetchin' wench, she was, but she could do with a bit of soap, if ye get my meanin' and I'm fairly certain she dinna learn those limericks in the convent." ok="Know where they went?"/>
                <okbox npc="aleguy" text="Last I heard, {pirate2} was pillaging ships between {startport} and {infoport}.  Or ye could follow the stench." ok="Oh my."/>
                <goal type="npccombat" npc="{pirate2}" port1="{startport}" port2="{infoport}" text="That hellion?  We threw her overboard at {otherport}, and the curses she shouted swimming to shore made me blush, they did!  The crew could do with a bit of cheerin' up now, so I think we'll be relievin' ye of yer valuables.  Prepare for battle!"/>
                <poptask num="2"/>
                <pushtask text="Pick up the Banker's Daughter in {otherport}."/>
                <goal type="talk" npc="{girl}" text="Talk to Girl"/>
                <okbox npc="girl" text="Go back to me father?  Aye, whatever ye say, good cap'n.  My, what a strappin' young crew ye have.  Yarr, you, lad, have ye heard the one about the boy from Aberystwyth?" ok="Uh, whatever.  Let's go!"/>
                <poptask num="1"/>
                <get item="bankergirl"/>
                <addlogentry text="What have I done?  This banker's daughter means to be our end!  She's"/>
                <addlogentry text="distracting the crew and drinking all the beer!"/>
                <addlogentry text="Today she spilled a bucket of pitch on my first mate's breeches."/>
                <addlogentry text="She spent three hours dabbing it off him with a handkerchief."/>
                <goal type="talk" npc="{banker}" text="Return the Girl"/>
                <poptask num="1"/>
                <give item="bankergirl"/>
                <get item="ruby"/>
                <okbox npc="banker" text="My sweet flower!  Oh, how I pray your delicate sensibilities have not been bruised by your time spent captive with the rogues!  Kind Captain, here is your well-earned reward.  The Ruby of Lisbon is yours!" ok="Thank you."/>
                <goal type="talk" npc="{guv}" text="Deliver Ruby of Lisbon"/>
                <okbox npc="guv" text="Blessed heavens, yes!  You astound me, dear Captain.  Only the most important jewel remains to be had: the Sapphire of Cypress.  Sadly, LaRoche got word of our endeavors here.  I have assured the queen that we have quashed the pirate threat in these waters, so LaRoche stole the sapphire to humiliate me - and you - publicly.  This is a taunt, my friend.  Back down, and LaRoche will consider himself your superior.  Taking the sapphire from him will prove your worthiness and earn you the Charm of Lost Causes!  What say you?" ok="His challenge shall be answered!"/>
                <poptask num="1"/>
                <pushtask text="Return the Sapphire to the Governor in {startport}."/>
                <pushtask text="Retrieve the Sapphire from LaRoche."/>
                <pushtask text="Defeat LaRoche on the route between {otherport} and {battleport}."/>
                <give item="ruby"/>
                <okbox npc="guv" text="LaRoche was last seen traveling between {otherport} and {battleport}.  Godspeed to you, Captain!" ok="Farewell!"/>
                <goal type="npccombat" npc="{laroche}" port1="{otherport}" port2="{battleport}" text="You are a bothersome, ankle-biting tiny dog, my friend, and I have had enough of you.  I baited my trap with this lovely sapphire.  And now, the trap, she snaps shut!  Prepare to join the angels!"/>
                <okbox npc="laroche" text="Mon dieu!  Ce n'est-ce pas possible!  My fleet, in flames!  You have earned a true nemesis, capitan!  When we meet again, we shall see if you are again the favored child of Luck!" ok="You're the one out of luck."/>
                <poptask num="2"/>
                <get item="sapphire"/>
                <goal type="talk" npc="{guv}" text="Deliver the Sapphire"/>
                <give item="sapphire"/>
                <poptask num="1"/>
                <get item="lostcauses"/>
                <addlogentry text="Delivered all Three Jewels to the Governor of {startport}."/>
                <addlogentry text="Received the Charm of Lost Causes from the Governor of {startport}."/>
                <okbox npc="guv" text="The Sapphire of Cypress!  I am not fit to bow in your shadow, commander.  Defeating LaRoche - with a single ship!  Pity LaRoche survived; he will surely breathe at your back until one of you meets an untimely end.  I can express my gratitude to you only by giving you this, the most prized tribal charm in the realm." ok="Thank you."/>
                </steps>
	</task>

	<task level="5" name="The Runaway Son" reward="1,000,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="deliverport" filters="new,visible,governor_access"/>
                        <port name="infoport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="runport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{delivermansion}"/>
                        <location name="delivermansion" port="{deliverport}" building="governor"/>
                        <npc name="aleguy" location="{infoale}"/>
                        <location name="infoale" port="{infoport}" building="alehouse"/>

                        <npc name="aleguy2" location="{runale}"/>
                        <location name="runale" port="{runport}" building="alehouse"/>

                        <npc name="guv3" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<nation>english</nation>
					<race>white</race>
					<class>upperpirate</class>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="I shall have you know that we do not suffer pirates here, Captain.  As a matter of fact, we've recently captured the notorious {pirate}.  He's particularly offended the good people of {deliverport}.  They should like to meet his acquaintance, and perhaps teach him a new dance.  I've heard you're an honorable soul.  Deliver them the ruffian.  Upon your successful return, I shall pay you 1,000,000 in gold for your troubles." ok="I'll have him there in no time!"/>
                <pushtask text="Deliver {pirate} to {deliverport}."/>
                <get item="pirate"/>
                <get item="alwaysbattle"/>
                <goal type="talk" npc="{guv2}" text="Deliver Pirate"/>
                <okbox npc="guv2" text="Ah, {pirate}!  Thank you, kind Captain, we shall...  ho, what is this?  My heavens, that lad aboard your ship!  It's the son of the Governor of {startport}!  Captain, how could you betray the Governor thus and take his beloved son on such a dangerous voyage?" ok="Um, I didn't invite him!"/>
                <okbox npc="guv2" text="The boy is clearly a stowaway.  You must return him to {startport} immediately, lest the Governor think you pressed him into service!" ok="I'll get right on that."/>
                <poptask num="1"/>
                <pushtask text="Return the Governor's Son to {startport}."/>
                <give item="pirate"/>
                <give item="alwaysbattle"/>
                <goal type="talk" npc="{guv}" text="Return His Son"/>
                <okbox npc="guv" text="The rapscallion stowed away?  We shall have words.  Fine, present him to me now." ok="Err I seem to have misplaced him."/>
                <okbox npc="guv" text="Oh, that is unfortunate.  For YOU!  You should consider finding him, Captain.  Immediately.  Or I shall consider giving YOU a few dance lessons on the gallows.  If I know my boy, you would do well to start your search in the Alehouses." ok="Ok..."/>
                <poptask num="1"/>
                <pushtask text="Return the Governor's Son to {startport}."/>
                <pushtask text="Search Alehouses for the Governor's Son."/>
                <goal type="talk" npc="{aleguy}" text="Ask about the Governor's Son"/>
                <okbox npc="aleguy" text="Aye, the bairn was here.  He didnae stay long, though.  Said something about wanting to visit {runport}." ok="Thanks"/>
                <poptask num="1"/>
                <pushtask text="Head to {runport} to Find the Governor's Son."/>
                <goal type="talk" npc="{aleguy2}" text="Ask about the Governor's Son"/>
                <poptask num="1"/>
                <pushtask text="Head to {battleport} to Rescue the Governor's son."/>
                <okbox npc="aleguy2" text="Aye, foolish wee tadpole he was, too.  Threw dice with some of the boys in back, and ended up owing gold he didn't have.  I talked them out of taking it out of his tender hide, but they clapped him in irons and sent him to {battleport} just the same.  He's a prisoner there." ok="Of course.  Thanks."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv3}" text="Rescue the Governor's Son"/>
                <okbox npc="guv3" text="I've had well enough of this whining brat.  Take him back to the Governor, by all means - and I would suggest leaving him in those irons for the return voyage." ok="Don't worry, I will."/>
                <poptask num="1"/>
                <get item="son"/>
                <goal type="talk" npc="{guv}" text="Return His Son"/>
                <get item="gold" amount="1000000"/>
                <give item="son"/>
                <addlogentry text="Returned the Governor's Son Safely."/>
                <addlogentry text="Received 1,000,000 gold from the Governor of {startport}."/>
                <okbox npc="guv" text="He stowed away on your ship?  Young man, you are grounded!  And no, I shall not remove those irons until you finish your chores.  Please accept this 1,000,000 in gold as my thanks." ok="You're welcome."/>
                </steps>
	</task>


	<task level="4" name="The Missing Portrait" reward="500,000 Gold and Map" levelup="true">
		<variables>
			<port name="startport" filters="here"/>
			<port name="portraitport" filters="new,visible,alehouse"/>
			<port name="otherport" filters="new,visible,alehouse"/>
			<port name="newport" filters="new,hidden"/>
                        <port name="accessport" filters="no_governor_access"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guvportrait" location="{portraitmansion}"/>
			<location name="portraitmansion" port="{portraitport}" building="governor"/>
			<npc name="bart" location="{portraitalehouse}">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
                        <location name="portraitalehouse" port="{portraitport}" building="alehouse"/>
			<npc name="bart2" location="{otheralehouse}"/>
			<location name="otheralehouse" port="{otherport}" building="alehouse"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Captain, do help an old fool avoid an international scandal.  A French diplomat gifted us with a priceless portrait of Louis XIV by Adam Frans Van der Mulen.  It was a gesture of peace and friendship.  To be honest, the painting was horrid.  I shut it in a closet.  But now the Viceroy of France will be visiting us on business shortly, and the piece has disappeared!  I have reason to believe that Alphonso Bruckner stole it.  Word is that he has found a position with the Governor of {portraitport}.  If you can return the painting to us you shall be handsomely rewarded." ok="Right away."/>
			<pushtask text="Return the Missing Portrait to {startport}."/>
			<pushtask text="Check {portraitport} for Information about Bruckner."/>
			<unlockship type="next"/>
			<goal type="talk" npc="{guvportrait}" text="Ask about Bruckner"/>
			<okbox npc="guvportrait" text="Bruckner?!  That rogue?  That ingrate?  That thief?  Please never utter his name here again!  I offered him a good position, forgiving his lack of references, and he repaid me by stealing the two most valuable works of art I owned.  If you return me the sketches, I'll pay you a handsome bounty.  I don't know where he went, but he was fond of drinking at the Alehouse.  They won't tell me a thing, but you might ask around there." ok="Thanks."/>
			<poptask num="1"/>
			<pushtask text="Check the {portraitalehouse} for Information about Bruckner."/>
			<goal type="talk" npc="{bart}" text="Ask about Bruckner"/>
			<okbox npc="bart" text="Bruckner?!  I'd never betray a friend.  However, I really could use a crate of wine..." ok="Be right back..."/>
			<poptask num="1"/>
			<pushtask text="Give {bart} in {portraitport} a Crate of Wine."/>
			<goal type="have" good="wine" amount="1"/>
			<give item="wine" amount="1"/>
			<get item="winecrate"/>
			<addlogentry text="Set aside a crate of wine for {bart} in {portraitport}."/>
			<goal type="talk" npc="{bart}" text="Exchange the Wine for information."/>
			<give item="winecrate"/>
			<okbox npc="bart" text="Ah, yeah, BruHUKner ol'' buddy great guy yeah great guy.  How ''bout a lil drink, huh?  No?  Well when ye go to {otherport} to find him, tell 'im I said he should buy you one on me, arrrright?" ok="Sure thing buddy.  Thanks!"/>
			<poptask num="1"/>
			<pushtask text="Check {otherport}'s Alehouse for Information about Bruckner."/>
			<goal type="talk" npc="{bart2}" text="Ask about Bruckner's Whereabouts."/>
			<okbox npc="bart2" text="Nay, I do not know where Bruckner lies.  But I do know this: Bruckner sold the portrait you are looking for to {guvportrait.lastname} the Governor of {portraitport}.  The fool sold it for tiny fraction of its real value.  You'll not get the Governor to part with it without a fight." ok="Ah..."/>
			<poptask num="1"/>
			<pushtask text="Return to {portraitport} to Retrieve the Portrait."/>
			<makehostile port="{portraitport}"/>
                        <goal type="talk" npc="{guvportrait}" text="Demand the portrait back."/>
			<get item="portrait"/>
			<poptask num="1"/>
			<okbox npc="guvportrait" text="Well, when you put it that way...  with your cannon and your crew..  and the fire...  I suppose I could see my way clear to returning the portrait.  Can I get you anything else, honorable Captain?  Shine your shoes?" ok="Just get the portrait."/>
			<goal type="talk" npc="{guv}" text="Deliver the Missing Portrait."/>
			<poptask num="1"/>
			<give item="portrait"/>
			<get item="gold" amount="500000"/>
			<tasklevel level="5"/>
                        <accessgovernor port="{accessport}"/>
			<reveal port="{newport}"/>
                        <addlogentry text="Received 500,000 in Gold from the Governor of {startport}."/>
                        <addlogentry text="Received a Map from the Governor of {startport}."/>
                        <addlogentry text="You now have access to the Governor of {accessport}."/>
                        <okbox npc="guv" text="Marvelous!  You've returned the Louis XIV portrait.  It's still horrid, but I suppose that's my problem.  Here is your money and a map to {newport}.  You have my most sincere gratitude for your good deed." ok="You're welcome."/>
                        <okbox npc="guv" text="Oh!  Also my good friend the Governor of {accessport} has heard of your great deeds.  He wishes to see you as soon as possible." ok="Right away."/>
		</steps>
	</task>

	<task level="4" name="A Fan-Tailed Blue-Speckled Cockatoo" reward="200,000 gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="traderport" filters="new,visible,trader"/>
			<port name="birdport" filters="new,visible,bank"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="tradeguy" location="{traderstore}"/>
			<location name="traderstore" port="{traderport}" building="trader"/>
			<npc name="birdman" location="{birdbank}"/>
			<location name="birdbank" port="{birdport}" building="bank"/>

		</variables>

		<steps>
			<okbox npc="guv" text="My daughter is threatening to hold her breath until she gets a fan-tailed, blue-speckled cockatoo bird.  I thought her tantrum would pass, but she's turning the shade of a wine grape.  Help me put this to rest, will you?  It's worth 200,000 in gold to me.  The only place I know to look for such an exotic creature is {traderport}." ok="She does look ill."/>
			<pushtask text="Deliver a Blue-Speckled Cockatoo to the Governor's Daughter in {startport}"/>
			<pushtask text="Search {traderport} for a Blue-Speckled cockatoo."/>
                        <goal type="talk" npc="{tradeguy}" text="Ask about the Fan-Tailed Cockatoo."/>
			<okbox npc="tradeguy" text="Ah, yes, you mean the Cacatua Caeruleus Cauda Flabellum.  Rare, but I have one here.  You can have it in exchange for 10 crates of textiles." ok="Be right back."/>
			<poptask num="1"/>
			<pushtask text="Exchange Textiles with the Trader in {traderport} for the Bird."/>
			<pushtask text="Buy 10 crates of Textiles for the Trader in {traderport}."/>
			<goal type="have" good="textiles" amount="10"/>
			<give item="textiles" amount="10"/>
			<get item="tentextiles"/>
			<poptask num="1"/>
                        <addlogentry text="Transferred 10 crates of textiles into a special crate"/>
			<addlogentry text="for the Trader in {traderport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Exchange Textiles for the bird."/>
			<poptask num="1"/>
			<give item="tentextiles"/>
			<get item="deadbird"/>
			<okbox npc="tradeguy" text="Ah, wonderful!  The bird's in this crate here.  Why yes, it loves living in the crate.  Don't jostle it.  It's hibernating, very dangerous to disturb.  Don't you have to be leaving now?" ok="Yes.  Thanks..."/>
			<goal type="talk" npc="{guv}" text="Deliver the Blue-Speckled Cockatoo"/>
			<okbox npc="guv" text="This cockatoo is not sleeping.  He's deceased.  He is no more.  He is an ex-cockatoo.  Please come back when you have procured a live bird.  My daughter keeps harping on about one she knows of in {birdport}." ok="Now you tell me!"/>
			<addlogentry text="The Governor of {startport} taps his desk with the dead bird and sneers."/>
			<give item="deadbird"/>
			<pushtask text="Purchase a Cockatoo in {birdport}."/>
			<goal type="talk" npc="{birdman}" text="Ask about Blue-Speckled Cockatoo"/>
			<okbox npc="birdman" text="Chuckles?  But Chuckles and I are a team!  How could I ever part with my best friend?  I could betray my best buddy for the whims of some snot-nosed rich girl.  Never.  Not for less than ten crates of tobacco!" ok="That's expensive!"/>
                        <poptask num="1"/>
                        <pushtask text="Exchange Ten Tobacco crates for Cockatoo in {birdport}."/>
                        <goal type="have" good="tobacco" amount="10"/>
                        <give item="tobacco" amount="10"/>
                        <get item="tentobacco"/>
                        <addlogentry text="Transferred 10 crates of tobacco into a special crate"/>
			<addlogentry text="for the Banker in {birdport}."/>
                        <goal type="talk" npc="{birdman}" text="Exchange tobacco for the cockatoo"/>
			<give item="tentobacco"/>
                        <okbox npc="birdman" text="Farewell, Chuckles!  Oh, and take this towel with you, he's been eating prunes." ok="Gross."/>
			<poptask num="1"/>
			<get item="cockatoo"/>
			<give item="gold" amount="20000"/>
			<goal type="talk" npc="{guv}" text="Deliver the Blue-Speckled Cockatoo"/>
			<give item="cockatoo"/>
			<get item="gold" amount="200000"/>
			<addlogentry text="Received 200,000 in Gold from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Ah, what a magnificent animal!  The plumage!  Extraordinary!  And the...  oh my, could I trouble you for a towel?  Well, my daughter will be amused until she learns about ponies, at least.  Here's the 200,000 I promised." ok="Thanks."/>
		</steps>
	</task>

	<task level="4" name="Defeat the Pirate!" reward="500,000 Gold" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="battleport1" filters="new,visible"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="verdugo">
			<filters>
				<nickname>NONE</nickname>
				<firstname>Ignacio</firstname>
				<title>Captain</title>
				<surname>Verdugo</surname>
				<reserved>verdugo</reserved>
			</filters>
			</npc>
			<npc name="pirate">
			<filters>
				<sex>male</sex>
				<class>pirate</class>
			</filters>
			</npc>
		</variables>
		<steps>
			<okbox npc="guv" text="Captain LaRoche?  Please I need your assistance! {pirate} has done the most unspeakable thing.  {pirate.lastname} has stolen every last left shoe in {startport}!  Head to {battleport1}, destroy {pirate}, and retrieve all the left shoes!  I shall reward you with 500,000 gold." ok="Very well."/>
                        <pushtask text="Claim your Reward from the Governor in {startport}."/>
                        <pushtask text="Retrieve all the left shoes."/>
                        <pushtask text="Defeat the pirate {pirate} near {battleport1}."/>
                        <goal type="npccombat" npc="{verdugo}" port1="{battleport1}" text="Aha! I have fooled you again LaRoche.  Hello!  My name is Ignacio Verdugo!  You killed my father.  Prepare to Die!"/>
                        <okbox npc="verdugo" text="LaRoche!  You have killed my father!  We shall meet again!  I will deliver my death speech and then I shall deliver the final blow!" ok="Just leave me alone!"/>
                        <poptask num="3"/>
                        <pushtask text="Confront the Governor of {startport} for ambushing you."/>
                        <makehostile port="{startport}"/>
                        <goal type="talk" npc="{guv}" text="How dare you betray me!"/>
                        <get item="gold" amount="200000"/>
			<addlogentry text="Recieved 200,000 Gold from the Governor of {startport}."/>
			<poptask num="1"/>
                        <okbox npc="guv" text="Please spare me!  Captain Verdugo promised to give me some tips on how to impress the ladies.  I'm really such a dunce around women... OW! Please stop stabbing me!  Here is 200,000 Gold! Please take it and go." ok="I tire of this."/>
                        </steps>
	</task>

	<task level="4" name="Steal Textiles!" reward="Charm of Aim" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="battleport1" filters="new,visible"/>
                        <port name="battleport2" filters="new,visible"/>
                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>
            <npc name="merchant">
				<filters>
					<reserved>none</reserved>
					<class>upper</class>
                    <sex>male</sex>
				</filters>
			</npc>

            <npc name="isabella">
				<filters>
		    <reserved>none</reserved>
                    <class>upperpirate</class>
                    <sex>female</sex>
                    <race>white</race>
                    <headsize>smallhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>black</haircolor>
                    <neckitem>none</neckitem>
                    <costume>costume20</costume>
                    <pet>pet07f</pet>
                    <earitem>none</earitem>
                    <hair>hair05</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes08</eyes>
                    <eyeitem>eyepatch00f</eyeitem>
                    <ears>ears38</ears>
                    <nose>nose09</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth13</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title>Pirate</title>
                    <firstname>Isabella</firstname>
                    <surname>NONE</surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>

        </variables>

		<steps>
		<okbox npc="guv" text="Captain LaRoche!  The wife needs some new drapes for the fainting room, but I must say, textile prices these days are outrageous!  You strike me as the sort of man who knows how to get merchandise at, shall we say, a considerable discount?  {merchant}'s ship is apparently carrying a goodly supply of fabric.  It would be a shame if he were attacked on the shipping route between {battleport1} and {battleport2}." ok="Tragic."/>
                <pushtask text="Deliver the textiles from to the Governor in {startport}."/>
                <pushtask text="Steal textiles from {merchant} traveling between {battleport1} and {battleport2}."/>
                <goal type="npccombat" npc="{merchant}" port1="{battleport1}" port2="{battleport2}" text="Mercy, great Captain LaRoche!  The Pirate Isabella has demanded I bring her this fine cloth.  If I return empty-handed, she will have my head!"/>
                <okbox npc="merchant" text="Oh, Isabella's wrath shall be my undoing!  But here, take the textiles, mercy!" ok="Mwahahaha."/>
                <get item="tentextiles"/>
                <poptask num="1"/>
                <goal type="npccombat" npc="{isabella}" port1="{startport}" text="You have stolen from me!  No one shall outshine me at the Governor's ball.  That cloth shall be made into the finest gown the port has ever known, and I shall be wearing it - and perhaps your ears on a matching necklace."/>
                <goal type="talk" npc="{guv}" text="Deliver textiles."/>
                <poptask num="1"/>
                <give item="tentextiles"/>
                <get item="aim"/>
                <addlogentry text="Received the Charm of Aim from the Governor of {startport}."/>
                <okbox npc="guv" text="Beautiful!  I so do love a bargain.  You and I make a good team.  Here is the Charm of Aim as promised." ok="Don't touch me."/>
                </steps>
	</task>


	 <task level="4" name="LaRoche's Cook" reward="Charm of Aim" character="azul">
		<variables>
			<port name="startport" filters="here,governor_access"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
                        <port name="aleport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="shippy" location="{ship}"/>
                        <location name="ship" port="{shipport}" building="shipyard"/>

                        <npc name="bart" location="{ale}"/>
                        <location name="ale" port="{aleport}" building="alehouse"/>

                        <npc name="bart2" location="{battle}"/>
                        <location name="battle" port="{battleport}" building="alehouse"/>

			<npc name="paul">
			<filters>
		    <reserved>none</reserved>
                    <class>middle</class>
                    <sex>male</sex>
                    <race>white</race>
                    <headsize>smallhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>black</haircolor>
                    <neckitem>none</neckitem>
                    <costume>clothing39</costume>
                    <pet>none</pet>
                    <earitem>none</earitem>
                    <hair>hair14</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes47</eyes>
                    <eyeitem>none</eyeitem>
                    <ears>ear20</ears>
                    <nose>nose31</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth57</mouth>
                    <mouthitem>thinstache35sm</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title>The Cook</title>
                    <firstname>Yoshi</firstname>
                    <surname>Morimoto</surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="verdugo">
				<filters>
					<reserved>verdugo</reserved>
					<title>Captain</title>
					<firstname>Ignacio</firstname>
					<surname>Verdugo</surname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Adia!  We have a rare opportunity.  Seems Sebastian LaRoche's cook, Yoshi Morimoto, has been fired...  apparently his use of the day's ingredient was excellent, but his presentation was lacking.  Morimoto-san surely knows LaRoche's location.  Capture him alive, and I shall give you the legendary Charm of Aim in return." ok="Where can I find him?"/>
                <okbox npc="guv" text="Ah, that is a mystery.  But the bartender in {aleport} is rumored to have far-reaching ties into the culinary underworld.  I would go there and inquire." ok="I'm on it."/>
                <pushtask text="Return Morimoto to the Governor in {startport}."/>
                <pushtask text="Capture Morimoto alive."/>
                <pushtask text="Get information on Morimoto's whereabouts in {aleport}."/>
                <goal type="talk" npc="{bart}" text="Ask about Morimoto-san."/>
                <okbox npc="bart" text="Yoshi Morimoto?  Never heard of him.  He some kind of chef?  Sounds like some hack with no presentation skills." ok="Why do I not believe you?"/>
                <okbox npc="bart" text="So what if I know him?  Why should I tell you?  You look like the type who would serve red wine chilled.  Philistine!  You go tell that to the Governor of {startport}." ok="As soon as I finish my White Zinfandel."/>
                <poptask num="1"/>
                <pushtask text="Go back to the Governor of {startport}."/>
                <goal type="talk" npc="{guv}" text="Explain the situation."/>
                <okbox npc="guv" text="Hmm.  I was afraid of this.  {bart} isn't overly fond of...  well, strong women, such as yourself.  You didn't do something stupid, like order a white zinfandel, did you?  Ah, no matter.  I know of only one man who might be able to get {bart} to reveal Morimoto's whereabouts." ok="Which man would this be?"/>
                <okbox npc="guv" text="Seek out Ignacio Verdugo.  The ladies love him, and he knows a Bordeaux from a Beaujolais.  If any man can get information out of {bart}, it's him.  Verdugo is known to sail from port to port, chasing after LaRoche who killed his father.  Search all the Shipyards and you'll be sure to find him." ok="Verdugo.  Whatever it takes."/>
                <poptask num="1"/>
                <pushtask text="Have Ignacio Verdugo discover Morimoto's location."/>
                <pushtask text="Search all the Shipyards for Ignacio Verdugo."/>
                <goal type="talk" npc="{shippy}" text="Say Hello to Verdugo."/>
                <poptask num="2"/>
                <okbox npc="verdugo" text="Ah, I pray you, dear lady, have you a map?  Because I am hopelessly lost in your eyes.  Guards, guards!  Arrest this woman!  She is..." ok="Stealing your heart.  I know.  Can it."/>
                <okbox npc="verdugo" text="I see, it is like that, Senora.  Very well.  {bart}?  I know her well.  I must say, she is considerably more entertaining than are you.  But we are adults, no?  A deal I propose.  I will get {bart.firstname} to give me the information you require.  You will give me ten crates of tobacco in exchange." ok="Here's what you can do with the crates!"/>
                <okbox npc="verdugo" text="You're after LaRoche, my sworn enemy.  Yes, I know.  But you want to keep this purely business, dear Captain, and I shall honor your sensibilities.  I shall have Morimoto's location for you by the time you return with my payment." ok="Fine.  Business it is."/>
                <pushtask text="Give Verdugo in {shipport} ten crates of tobacco in exchange for Paul Williams'' location."/>
                <addlogentry text="Met the selfish Captain Ignacio Verdugo in {aleport}."/>
                <goal type="have" good="tobacco" amount="10"/>
                <give item="tobacco" amount="10"/>
                <get item="tentobacco"/>
                <addlogentry text="Transferred 10 Crates of Tobacco into a"/>
                <addlogentry text="special crate for Ignacio Verdugo."/>
                <goal type="talk" npc="{shippy}" text="Deliver Tobacco."/>
                <okbox npc="verdugo" text="You are getting a bargain, dear Captain.  It took me many good bottles of wine, and a considerable amount of acting skill to learn that Morimoto is hiding in {battleport}.  Here is your receipt for the tobacco.  A pleasure doing business with you.  Perhaps a goodbye kiss?" ok="Perhaps a goodbye kick in the..."/>
                <give item="tentobacco"/>
                <poptask num="1"/>
                <addlogentry text="Ignacio Verdugo reveals that Morimoto hides in {battleport}."/>
                <pushtask text="Capture Morimoto in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{bart2}" text="Hello, Morimoto-san."/>
                <okbox npc="paul" text="I knew that fool bartender could not hold her tongue.  You will find that I run quite fast for a mere cook!" ok="Come back! You're burning the tempura!"/>
                <addlogentry text="Morimoto has fled {battleport} Find him!"/>
                <poptask num="1"/>
                <pushtask text="Find and Capture Morimoto!"/>
                <goal type="npccombat" npc="{paul}" text="You made me burn the appetizer!  I shall never reveal LaRoche's location to you!  And I shall never let you sample my famed Kumamoto oysters with Maui onion salsa!  Oh, and I am going blow your ship to bits, too."/>
                <poptask num="2"/>
                <okbox npc="paul" text="No oysters for you!" ok="I'll just blow my nose and pretend."/>
                <get item="pirate"/>
                <goal type="talk" npc="{guv}" text="Deliver Morimoto."/>
                <give item="pirate"/>
                <poptask num="1"/>
                <get item="aim"/>
                <addlogentry text="Received the Charm of Aim from the Governor of {startport}."/>
                <okbox npc="guv" text="By Jove!  You've captured Morimoto!  We will get to work torturing him immediately.  Jeeves, fetch the processed cheese spread!  Here is the Charm of Aim, as promised." ok="Thanks."/>
                </steps>
	</task>

         <task level="4" name="The Banking Theft" reward="Charm of Aim" character="vangregor">
		<variables>
			<port name="startport" filters="here,bank,governor_access"/>
                        <port name="shipport" filters="new,visible,shipyard"/>

                        <port name="aleport" filters="new,visible,alehouse"/>
                        <port name="lenderport" filters="new,visible,moneylender"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

			<npc name="banker" location="{startbank}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class>
					<headsize>smallhead</headsize>
				</filters>
			</npc>
			<location name="startbank" port="{startport}" building="bank"/>

                        <npc name="shippy" location="{ship}"/>
                        <location name="ship" port="{shipport}" building="shipyard"/>

                        <npc name="bart" location="{ale}"/>
                        <location name="ale" port="{aleport}" building="alehouse"/>

                        <npc name="lender" location="{lend}"/>
                        <location name="lend" port="{lenderport}" building="moneylender"/>

                </variables>

		<steps>
		<okbox npc="guv" text="Ah, Russell, treachery is afoot!  And I know you're the man to put an end to it.  Someone has been stealing funds from the Bank of {startport}.  The people are starting to store their money in cookie jars and mattresses again.  This could be a serious problem shortly.  I'd start by interrogating the banker's assistant, {banker}, to get some leads.  Solve this mystery for me, and the Charm of Aim is yours.  I know you'll find it useful." ok="I shall get to the bottom of this, sir."/>
                <get item="alwaysbattle"/>
                <pushtask text="Return the thief to the Governor in {startport}."/>
                <pushtask text="Capture the thief who stole from the Bank in {startport}."/>
                <pushtask text="Speak to the Banker's assistant in {startport}."/>
                <goal type="talk" npc="{banker}" text="Ask about Theft."/>
                <okbox npc="banker" text="It's true.  The books just aren't balancing as they should as of late, and we've had a few robberies.  It's no surprise with the lot of cheats and brigands that ports attract these days.  The Alehouse in {aleport} is a favorite hangout for these sorts.  I'd check there first.  Come back afterward if you don't have any luck." ok="A fine suggestion."/>
                <poptask num="1"/>
                <pushtask text="Get information about the theft in {aleport}."/>
                <goal type="talk" npc="{bart}" text="Ask about theft."/>
                <okbox npc="bart" text="Bank robberies?  Nah, I'd hav heard about that, Captain.  Mostly just common coin clippers and cutpurses here.  Tell {banker} that we'll keep our eyes open for any suspicious folk though." ok="I appreciate your help."/>
                <poptask num="1"/>
                <pushtask text="Speak to the Banker's assistant in {startport}."/>

                <goal type="talk" npc="{banker}" text="No luck yet.  Do you have more information?"/>
                <okbox npc="banker" text="Well, {shipport} is also a real hotbed of felonious activities.  I hear the roughest area is right around the Shipyards.  Rough lot there.  Perhaps you should inquire at the shipwright's there?" ok="Quite right.  On my way."/>

                <poptask num="1"/>
                <pushtask text="Get information on theft at the Shipyards in {shipport}."/>

                <goal type="talk" npc="{shippy}" text="Ask about theft?"/>
                <okbox npc="shippy" text="Felonious activity?  Here?  Ah, the slander!  {startport}, now that's where the crime is.  And aye, I've heard tell about the thefts.  Rumor has it that the thief knows you're on his trail, and has hired many a pirate to stop ye dead in your tracks, Captain Van Gregor.  I'd watch your back, if I were you, friend.  And tell the banker in {startport} not to be slandering our fair port!" ok="Will do."/>
                <poptask num="1"/>
                <pushtask text="Speak to the Banker's assistant in {startport}."/>

                <goal type="talk" npc="{banker}" text="Any other ideas?"/>
                <okbox npc="banker" text="Well, there's the disgruntled employee theory.  We had to get rid of an assistant here a few years ago; wretched creature had a terrible problem with drooling, and the customers were complaining about damp funds.  His name was {lender}.  I hear he's working as a Moneylender in {lenderport} now.  You should see what he knows of this matter." ok="I shall bring a handkerchief."/>

                <poptask num="1"/>
                <pushtask text="Speak to the Moneylender in {lenderport}."/>

                <goal type="talk" npc="{lender}" text="Ask about Theft."/>
                <okbox npc="lender" text="Thsteal from the Bank of {startport}?  How could you accuthe me of that!  I thould give you a thound thwashing!  Tell {banker} in {startport} not to botha me with thuch wild accuthations!" ok="Sorry.  Can I borrow a handtowel?"/>
		
                <poptask num="1"/>
                <pushtask text="Speak to the Banker's assistant in {startport}."/>

                <goal type="talk" npc="{banker}" text="Eavesdrop on converation."/>
                <okbox npc="banker" text="I can tolerate no more incompetence!  Van Gregor must be getting close to the truth - and just when I'm so close to being able to steal the rest of the gold!  I have sent five fleets to defeat him, but he keeps turning up again like a bad penny!  Are you certain that you can kill Captain Van..."  ok="Scoundrel!  You are revealed!"/>
                <okbox npc="banker" text="This isn't what it seems, Russell!  Really!  Wait!  Alright, so it is.  But we can make a deal!  Stop with the rope!  No tying me up!  Please!  Safety word!"  ok="You're going to jail!"/>
                <get item="pirate"/>
                <poptask num="2"/>
                <addlogentry text="Discovered {banker} was the banker thief all along."/>
                <addlogentry text="Captured {banker}!"/>
                <goal type="talk" npc="{guv}" text="Deliver the banker thief."/>
                <poptask num="1"/>
                <get item="aim"/>
                <give item="pirate"/>
                <give item="alwaysbattle"/>
                <addlogentry text="Turned {banker} in to the authorities of {startport}."/>
                <addlogentry text="Received the Charm of Aim from the Governor of {startport}."/>
                <okbox npc="guv" text="Treachery from within!  That fool risked the economic security of the whole port for his petty whims.  He shall pay dearly.  And you!  You shall be rewarded as we discussed.  May this Charm of Aim serve you well."  ok="My pleasure, sir."/>
                </steps>
	</task>
	
	<task level="4" name="Rescue my wife!" reward="Charm of Aim" character="custom">
		<variables>
			<port name="startport" filters="here,shipyard,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
                        <port name="aleport" filters="new,visible,alehouse"/>
                        <port name="pirateport" filters="new,visible"/>
                        <port name="pirateport2" filters="new,visible"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>


                        <npc name="shippy" location="{ship}"/>
                        <location name="ship" port="{shipport}" building="shipyard"/>

                        <npc name="bart" location="{ale}"/>
                        <location name="ale" port="{aleport}" building="alehouse"/>


			<npc name="laroche">
				<filters>
					<reserved>laroche</reserved>   
				<nickname>NONE</nickname>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<surname>LaRoche</surname>
				</filters>
			</npc>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
				</filters>
			</npc>

			<npc name="wife">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<class>upper</class>
				</filters>
			</npc>

			<npc name="verdugo">
				<filters>
					<reserved>verdugo</reserved>
					<title>Captain</title>
					<firstname>Ignacio</firstname>
					<surname>Verdugo</surname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Captain {player.lastname}!  The villainous LaRoche attacked our humble port.  My dear wife made the near-fatal mistake of confronting him, telling him that his skin care regimen was appalling, and that his puffy shirt would look so much more dashing if he would just zhush his sleeves up a bit.  I feared the dread pirate would run her through on the spot, but he seemed to consider her words, just before he threw her over his shoulder and ran off!  I have information that she is being held at {battleport}.  Return her to me, and I shall reward you with this magnificent Charm of Aim." ok="Fabulous, sir."/>
                <pushtask text="Return {wife} in {startport}."/>
                <pushtask text="Rescue {wife} in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Ask about wife."/>
                <okbox npc="laroche" text="Ah, {player.lastname}, I see you still have delusions of being a great Captain!  Well, you shall not have me today.  And you shall find {guv}'s wife rather a difficult prospect to release!" ok="Wonder what he meant by that?"/>
                <okbox npc="guv2" text="Captain {player.lastname}, you have my eternal gratitude for freeing {battleport}.  But I'm afraid there is a complication.  LaRoche locked {guv}'s wife in my chambers and sealed the entrance with the blackest of magicks." ok="That's horrible!"/>
                <okbox npc="guv2" text="Indeed!  I left my toothbrush in there!  Oh, and I suppose it's not so good for {wife.firstname} either.  I'm sorry, {player.firstname}; I know of no way to free the poor lady.  Perhaps you should head back to {guv} in {startport} he might have a suggestion on how to free his wife." ok="Yes."/>
                <poptask num="2"/>
                <pushtask text="Return to Governor of {startport} empty handed."/>
                <goal type="talk" npc="{guv}" text="Explain the situation"/>
                <okbox npc="guv" text="Oh, my poor {wife.firstname}.  You must free her from her magical prison!  Seek out Ignacio Verdugo.  LaRoche is his arch-nemesis; if there is a way to defeat this magical seal, Ignacio will know of it." ok="Where can I find him?"/>
                <okbox npc="guv" text="Ah, Ignacio wanders from port to port, in search of revenge on LaRoche.  Or a bit of fun.  Come to think of it, you might want to be on your guard around him.  Check around all the Shipyards and I am certain you will find him." ok="Very well."/>
                <poptask num="1"/>
                <pushtask text="Return {wife} to the Governor of {startport}."/>
                <pushtask text="Free {wife} from her magical prison in {battleport}."/>
                <pushtask text="Check the Shipyards for {verdugo}"/>
                <goal type="talk" npc="{shippy}" text="Speak to Ignacio"/>
                <okbox npc="verdugo" text="Ah, Captain {player.lastname}!  We are kindred spirits, yes?  You see in my eyes the sorrow of the little boy who lost his father at such a tender age.  You understand why I must find LaRoche.  My soul is wounded...  oh, the Governor's wife?  You shall need the Amulet of Drakar to defeat the magical seal." ok="Where can we find it?"/>
                <okbox npc="verdugo" text="The last I heard, the pirate {pirate} has the Amulet.  You'll need to find {pirate.lastname}.  I'm not sure where {pirate.lastname} is but I imagine you'd find your answer in {aleport}.  Alas, I cannot follow you there.  Good Luck Captain {player}" ok="Farewell, Ignacio."/>
                <poptask num="1"/>
                <pushtask text="Retrieve the Amulet of Draken from {pirate}"/>
                <pushtask text="Search {aleport} to find {pirate}'s location."/>
                <addlogentry text="Met Ignacio Verdugo who provided information about LaRoche."/>
                <goal type="talk" npc="{bart}" text="Ask about Pirate"/>
                <okbox npc="bart" text="Ha!  Yeah, I know {pirate}, that bum.  Never tips.  Always orders the cheapest rum.  And misses the spittoon.  You'll find {pirate} on the route between {pirateport} and {pirateport2}." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Defeat {pirate} on the route between {pirateport} and {pirateport2}."/>
                <goal type="npccombat" npc="{pirate}" port1="{pirateport}" port2="{pirateport2}" text="So, let's see.  Surrender to Captain {player.lastname} and get murdered later by LaRoche, or blow Captain {player.lastname} to kingdom come right now and take all the cargo.  Ooh, hard decision."/>
                <okbox npc="pirate" text="I have decided to surrender to the weak...  errr, powerful Captain {player.lastname} now, and be murdered by LaRoche later." ok="Wise choice."/>
                <poptask num="2"/>
                <get item="draken"/>
                <goal type="talk" npc="{guv2}" text="Rescue the wife"/>
                <poptask num="1"/>
                <okbox npc="wife" text="Captain {player.lastname}!  A thousand thanks.  I had to use that man's toothbrush for days!  Let us return without delay to {startport}." ok="Eww.  Yes, let's."/>
                <give item="draken"/>
                <get item="wife"/>
                <goal type="talk" npc="{guv}" text="Return his wife"/>
                <poptask num="1"/>
                <give item="wife"/>
                <get item="aim"/>
                <addlogentry text="Received the Charm of Aim from the Governor of {startport}."/>
                <okbox npc="guv" text="Huzzah!  Darling, you have returned!  I shall be forever grateful Captain {player.lastname}.  Here is the Charm of Aim as I promised." ok="Go me!"/>
                </steps>
	</task>


	  <task level="4" name="Rescue my wife!" reward="Charm of Aim" character="mcgowan">
		<variables>
			<port name="startport" filters="here,shipyard,governor_access"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
                        <port name="aleport" filters="new,visible,alehouse"/>
                        <port name="pirateport" filters="new,visible"/>
                        <port name="pirateport2" filters="new,visible"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>


                        <npc name="shippy" location="{ship}"/>
                        <location name="ship" port="{shipport}" building="shipyard"/>

                        <npc name="bart" location="{ale}"/>
                        <location name="ale" port="{aleport}" building="alehouse"/>


			<npc name="laroche">
				<filters>
					<reserved>laroche</reserved>   
                                        <nickname>NONE</nickname>
					<title>Captain</title>
					<firstname>Sebastian</firstname>
					<surname>LaRoche</surname>
				</filters>
			</npc>

			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
				</filters>
			</npc>

			<npc name="wife">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<class>upper</class>
				</filters>
			</npc>

			<npc name="verdugo">
				<filters>
					<reserved>verdugo</reserved>
					<title>Captain</title>
					<firstname>Ignacio</firstname>
					<surname>Verdugo</surname>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Captain McGowan!  The villainous LaRoche attacked our humble port.  My dear wife made the near-fatal mistake of confronting him, telling him that his skin care regimen was appalling, and that his puffy shirt would look so much more dashing if he would just zhush his sleeves up a bit.  I feared the dread pirate would run her through on the spot, but he seemed to consider her words, just before he threw her over his shoulder and ran off!  I have information that she is being held at {battleport}.  Return her to me, and I shall reward you with this magnificent Charm of Aim." ok="Fabulous, sir."/>
                <pushtask text="Return {wife} in {startport}."/>
                <pushtask text="Rescue {wife} in {battleport}."/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Ask about wife."/>
                <okbox npc="laroche" text="Ah, little girl, I see you still have delusions of being a great Captain!  Well, you shall not have me today.  And you shall find {guv}'s wife rather a difficult prospect to release!" ok="Wonder what he meant by that?"/>
                <okbox npc="guv2" text="Captain McGowan, you have my eternal gratitude for freeing {battleport}.  But I'm afraid there is a complication.  LaRoche locked {guv}'s wife in my chambers and sealed the entrance with the blackest of magicks." ok="That's horrible!"/>
                <okbox npc="guv2" text="Indeed!  I left my toothbrush in there!  Oh, and I suppose it's not so good for {wife.firstname} either.  I'm sorry, Christine; I know of no way to free the poor lady.  Perhaps you should head back to {guv} in {startport} he might have a suggestion on how to free his wife." ok="Yes."/>
                <poptask num="2"/>
                <pushtask text="Return to Governor of {startport} empty handed."/>
                <goal type="talk" npc="{guv}" text="Explain the situation"/>
                <okbox npc="guv" text="Oh, my poor {wife.firstname}.  You must free her from her magical prison!  Seek out Ignacio Verdugo.  LaRoche is his arch-nemesis; if there is a way to defeat this magical seal, Ignacio will know of it." ok="Where can I find him?"/>
                <okbox npc="guv" text="Ah, Ignacio wanders from port to port, in search of revenge on LaRoche.  Or a bit of fun.  Come to think of it, you might want to be on your guard around him.  Check around all the Shipyards and I am certain you will find him." ok="He sounds...  interesting."/>
                <poptask num="1"/>
                <pushtask text="Return {wife} to the Governor of {startport}."/>
                <pushtask text="Free {wife} from her magical prison in {battleport}."/>
                <pushtask text="Check the Shipyards for {verdugo}"/>
                <goal type="talk" npc="{shippy}" text="Speak to Ignacio"/>
                <okbox npc="verdugo" text="Ah, Captain McGowan!  We are kindred spirits, yes?  You see in my eyes the sorrow of the little boy who lost his father at such a tender age.  You understand why I must find LaRoche.  My soul is wounded, sweet Christine, but you understand me...  oh, the Governor's wife?  You shall need the Amulet of Drakar to defeat the magical seal." ok="Where can we find it?"/>
                <okbox npc="verdugo" text="The last I heard, the pirate {pirate} has the Amulet.  You'll need to find {pirate.lastname}.  I'm not sure where {pirate.lastname} is but I imagine you'd find your answer in {aleport}.  Alas, I cannot follow you there.  But perhaps another time?  Can I get your ship's name?" ok="Farewell, sweet Ignacio."/>
                <poptask num="1"/>
                <pushtask text="Retrieve the Amulet of Draken from {pirate}"/>
                <pushtask text="Search {aleport} to find {pirate}'s location."/>
                <addlogentry text="Met Ignacio Verdugo who provided information about LaRoche."/>
                <addlogentry text="Ignacio Verdugo seems to be quite the gentleman..."/>
                <goal type="talk" npc="{bart}" text="Ask about Pirate"/>
                <okbox npc="bart" text="Ha!  Yeah, I know {pirate}, that bum.  Never tips.  Always orders the cheapest rum.  And misses the spittoon.  You'll find {pirate} on the route between {pirateport} and {pirateport2}." ok="Thanks."/>
                <poptask num="1"/>
                <pushtask text="Defeat {pirate} on the route between {pirateport} and {pirateport2}."/>
                <goal type="npccombat" npc="{pirate}" port1="{pirateport}" port2="{pirateport2}" text="So, let's see.  Surrender to a little girl and get murdered later by LaRoche, or blow little girl to kingdom come right now and take all her cargo.  Ooh, hard decision."/>
                <okbox npc="pirate" text="I have decided to surrender to the little gi...  errr, powerful Captain McGowan now, and be murdered by LaRoche later." ok="Wise choice."/>
                <poptask num="2"/>
                <get item="draken"/>
                <goal type="talk" npc="{guv2}" text="Rescue the wife"/>
                <poptask num="1"/>
                <okbox npc="wife" text="Miss McGowan!  A thousand thanks.  I had to use that man's toothbrush for days!  Let us return without delay to {startport}." ok="Eww.  Yes, let's."/>
                <give item="draken"/>
                <get item="wife"/>
                <goal type="talk" npc="{guv}" text="Return his wife"/>
                <poptask num="1"/>
                <give item="wife"/>
                <get item="aim"/>
                <addlogentry text="Received the Charm of Aim from the Governor of {startport}."/>
                <okbox npc="guv" text="Huzzah!  Darling, you have returned!  I shall be forever grateful Miss McGowan.  Here is the Charm of Aim as I promised." ok="Go me!"/>
                </steps>
	</task>

         <task level="4" name="The Marriage" reward="200,000 gold">
		<variables>
			<port name="startport" filters="here,shipyard"/>
                        <port name="otherport" filters="new,visible,governor_access"/>
                        <port name="marryport" filters="new,visible,governor_access"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <location name="startyard" port="{startport}" building="shipyard"/>

                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>

                        <npc name="guv3" location="{marrymansion}"/>
			<location name="marrymansion" port="{marryport}" building="governor"/>

                        <npc name="boy" location="{startyard}">
				<filters>
					<sex>male</sex>
					<headsize>smallhead</headsize>
					<class>middle</class>
				</filters>
			</npc>
			<npc name="girl">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>middle</class>
				</filters>
			</npc>
        </variables>

		<steps>
		<okbox npc="guv" text="Would you mind stopping at the Shipyards?  Seems a young lad there would like to chat with you." ok="Right away, sir."/>
                <pushtask text="Speak to Boy at the Shipyards in {startport}."/>
                <get item="boy"/>
                <goal type="talk" npc="{boy}" text="Speak to Boy"/>
                <okbox npc="boy" text="Kind Captain, 200,000 in gold to you for aiding a poor love-struck boy.  My beloved Bonnie and I wish to be married, but our parents do protest.  Her mother has barricaded her in her quarters at {otherport}.  Escort me there!  I shall liberate her, then you shall deliver us to {marryport}, where we can be wed in peace!  I shall pay you when we both arrive safely." ok="You can liberate her by yourself?"/>
                <okbox npc="boy" text="Well, I might need a modicum of help, actually.  Alright, to be honest, we'll have to take the {otherport} by force.  But I hear tell of your bravery!  Please don't turn your back on our love!" ok="Just promise not to break into song, ok?"/>
                <poptask num="2"/>
                <pushtask text="Take the Boy and Girl to {marryport} to be Wed."/>
                <pushtask text="Rescue the girl from {otherport}."/>
                <makehostile port="{otherport}"/>
                <goal type="talk" npc="{guv2}" text="Liberate the Girl"/>
                <okbox npc="girl" text="Oh dearest {boy.firstname}!  How my heart jumps at the mere sight of your face!  I knew you would not rest until we were reunited, my sweet pumpkin!  How I have longed for your..." ok="Save it for the wedding night! Let's go!"/>
                <poptask num="1"/>
                <get item="girl"/>
                <goal type="talk" npc="{guv3}" text="Deliver the Couple"/>
                <give item="boy"/>
                <give item="girl"/>
                <get item="gold" amount="200000"/>
                <addlogentry text="Received 200,000 gold from the Happy Couple in {marryport}."/>
                <okbox npc="boy" text="May Cupid himself pay you a sweet visit some morrow as well, brave Captain!  Here is a purse with 200,000 gold, and may you be blessed for your kindness." ok="Have fun, you crazy kids."/>
                </steps>
	</task>
        
        <task level="4" name="Buy textiles for the Governor's wife" reward="200,000 gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="textileport" filters="new,visible"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="andrew" location="{textilemarket}">
				<filters>
					<reserved>none</reserved>
					<firstname>Andrew</firstname>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
			<location name="textilemarket" port="{textileport}" building="marketplace"/>

		</variables>

		<steps>
			<okbox npc="guv" text="We're suffering a rather nasty textile shortage here.  I hesitate to admit it, but my wife and daughters have been reduced to wearing dresses made from the mansion's curtains.  Can you please pick up 10 crates of textiles at {textileport}?  You'll need to speak to Master Andrew at the Marketplace there first.  He'll make sure you receive {textileport}'s finest textiles." ok="Right away."/>
			<pushtask text="Deliver 10 Crates of Textiles to the Governor's Wife in {startport}"/>
			<pushtask text="Purchase 10 crates of Textiles at {textileport}."/>
			<pushtask text="Speak to Master Andrew at {textileport}."/>
			<goal type="talk" npc="{andrew}" text="Ask Master Andrew about Textiles."/>
			<okbox npc="andrew" text="{guv}'s wife?  Curtains?  You don't say!  Oh my.  By all means, purchase 10 crates. I'll make sure you receive only the finest materials." ok="Thank you, good sir."/>
			<poptask num="1"/>
			<goal type="buy" good="textiles" amount="10" port="{textileport}"/>
			<give item="textiles" amount="10"/>
			<get item="tentextiles"/>
			<poptask num="1"/>
			<addlogentry text="Transferred 10 crates of {textileport} textiles into"/>
			<addlogentry text="a special crate for the Governor of {startport}."/>
			<goal type="talk" npc="{guv}" text="Deliver the Textiles."/>
			<poptask num="1"/>
			<give item="tentextiles"/>
			<get item="gold" amount="200000"/>
			<addlogentry text="Received 200,000 in Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="Well done!  Perhaps now we can cover the windows and have some privacy.  Thank you!  Here is 200,000 in gold for your trouble." ok="Thank you!"/>
		</steps>
	</task>

	  <task level="4" name="To the Convent" reward="Ring of Goodwill">
		<variables>
			<port name="startport" filters="here,bank"/>
                        <port name="conventport" filters="new,visible"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>


                        <npc name="banker" location="{startbank}"/>
			<location name="startbank" port="{startport}" building="bank"/>
			<npc name="anna" location="{conventmarket}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<class>middle</class>
				</filters>
			</npc>
                        <location name="conventmarket" port="{conventport}" building="marketplace"/>

                </variables>

		<steps>
			<okbox npc="guv" text="Welcome!  I have a bit of business for you.  My brother, the banker here, would like to send his daughter to the Convent in {conventport}.  Won't you go speak with him?" ok="Right away."/>
                        <pushtask text="Pick up the Girl at the Bank in {startport}."/>
                        <goal type="talk" npc="{banker}" text="Pick Up the Girl"/>
                        <poptask num="1"/>
                        <okbox npc="banker" text="Our beautiful, pious daughter wants nothing more than to devote the rest of her life to quiet spiritual reflection.  The kind nuns at {conventport} have agreed to assist.  Will you please escort our angel there?  Sister Anna shall wait for you at the Marketplace there.  Oh, and not to worry, but perhaps it would be best if you kept her under lock and key, lest her gentle ears be offended by the harsh language of sailors.  Come back after you drop her off and I will give you the Ring of Goodwill." ok="Ring of Goodwill?"/>
                        <okbox npc="banker" text="The Ring of Goodwill shows you have the favor of the Caribbean bankers.  Wear this ring to get an increase on your Bank interest.  But please first help my daughter." ok="Right away."/>
                        <pushtask text="Escort the Girl to the Market in {conventport}."/>
                        <get item="bankergirl"/>
                        <addlogentry text="Pious?  Gentle?  Codswallop!  She is a lady of...  expansive sensibilities."/>
                        <addlogentry text="The distraction is playing havoc with my crew.  Alas, my first mate"/>
                        <addlogentry text="seems to have ''misplaced'' the key to her room."/>
                        <goal type="talk" npc="{anna}" text="Deliver the Girl"/>
                        <okbox npc="anna" text="Praise be, you have arrived!  She didn't give you any difficulty in transit, did she?  No, don't tell me - it's best I don't know.  Fair seas to you!" ok="Good luck with her..."/>
                        <addlogentry text="Delivered the Banker's ''pious'' daughter."/>
                        <poptask num="1"/>
                        <pushtask text="Claim your Reward at the Bank in {startport}."/>
                        <give item="bankergirl"/>
                        <goal type="talk" npc="{banker}" text="Claim your Reward."/>
                        <poptask num="1"/>
                        <get item="goodwill"/>
                        <addlogentry text="The Banker in {startport} has given you the Ring of Goodwill."/>
                        <okbox npc="banker" text="My little girl!  Oh, there was no better choice than you, kind Captain, to insure her safety and virtue.  Thank you so much sir, I give you my heartfelt gratitude.  Here is the Ring of Goodwill." ok="Just glad to be done."/>
		</steps>
	</task>

	 <task level="4" name="The Monkey" reward="300,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="princessport" filters="new,visible,governor_access"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="aleport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{princessmansion}"/>
			<location name="princessmansion" port="{princessport}" building="governor"/>

                        <npc name="bart" location="{alehouseport}"/>
			<location name="alehouseport" port="{aleport}" building="alehouse"/>

                        <npc name="tradeguy" location="{tradeguyport}"/>
			<location name="tradeguyport" port="{traderport}" building="trader"/>

		</variables>

		<steps>
			<okbox npc="guv" text="The girls these days, how they do adore monkeys!  The Governor's daughter in {princessport} is clamoring for a pet red-bellied marmoset; seems all her friends have one.  As a gesture of friendship between our two cities, I should like to fulfill her request.  I have it on good authority that the Trader in {traderport} possesses such a beast.  Deliver the little devil to {princessport}, and I'm sure the Governor there will reward your efforts." ok="Yes Sir."/>
			<pushtask text="Deliver the Monkey to the Governor in {princessport}"/>
                        <pushtask text="Pick up the Monkey in {traderport}"/>
                        <goal type="talk" npc="{tradeguy}" text="Ask for the Monkey"/>
                        <okbox npc="tradeguy" text="Good heavens, yes, just take the beast!  And I advise you not to annoy that hairy libertine...  let's just say that the cleaning bills from the last trifle with him are bankrupting me." ok="Ew..."/>
                        <poptask num="1"/>
                        <addlogentry text="Received the Red-Bellied Marmoset."/>
                        <get item="evilmonkey"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Monkey."/>
                        <okbox npc="guv2" text="Oh!  What a charming...  uh, what's that he's doing?  No matter.  I shall thank the Governor of {startport} when next I see him.  Hmm, he seems to be carrying something a gem?  Here you may have it. CURSED?? I have no idea what you're talking about. Take the gem and leave before I have my guards escort you away." ok="Not again!"/>
                        <give item="evilmonkey"/>
                        <get item="badtidings"/>
                        <addlogentry text="You receive the Gem of Bad Tidings and discover it is cursed."/>
                        <addlogentry text="Try getting rid of the Gem of Bad Tidings in an Alehouse."/>
                        <poptask num="1"/>
                        <pushtask text="Get rid of the Gem of Bad Tidings in an Alehouse."/>
                        <goal type="talk" npc="{bart}" text="Hand over the Gem"/>
                        <poptask num="1"/>
                        <get item="gold" amount="300000"/>
			<give item="badtidings"/>
                        <addlogentry text="Got rid of the Gem of Bad Tidings."/>
                        <addlogentry text="Received 300,000 in Gold from the Bartender in {aleport}."/>
                        <okbox npc="bart" text="Oh ho!  Someone's stuck you with the Gem of Bad Tidings, I see.  It's your lucky day, though.  I know someone who deserves it more than you.  Hand it over, and I'll even give you 300,000 for your trouble." ok="Whew.  Thanks!"/>

		</steps>
	</task>

	<task level="4" name="Pirate Quota 10 battles" reward="1,000,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Good Captain!  Ten of the pirate scoundrels who plague this port's fair waters have formed a loose alliance.  They call themselves the Black Monkey Marauders.  Individually, they were no great threat.  But I cannot allow them to band together!  They have been terrorizing the entire Caribbean!  I charge you with battling them until not a single one of their ships remains afloat.  Do this and I shall reward you handsomely." ok="Right away."/>
			<pushtask text="Claim your Reward in {startport}."/>
                        <pushtask text="Defeat the Ten Pirates of the Black Monkey Mauraders!"/>
                        <get item="alwaysbattle"/>
                        <goal type="combat" battles="10"/>
                        <poptask num="1"/>
                        <give item="alwaysbattle"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <poptask num="1"/>
                        <get item="gold" amount="1000000"/>
			<addlogentry text="Received 1,000,000 in Gold from the Governor in {startport}."/>
			<okbox npc="guv" text="Jolly good, Captain!  You gave those Black Monkey Marauders quite the spanking.  Your reward, friend.  1,000,000 in gold." ok="Thanks."/>
		</steps>
	</task>

		<task level="4" name="The Amulet of Joy" reward="200,000 gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="brotherport" filters="new,visible"/>
			<port name="amuletport" filters="new,visible,moneylender"/>
			<port name="traderport" filters="new,visible,trader"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="brother" location="{brothermarket}">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
			<location name="brothermarket" port="{brotherport}" building="marketplace"/>
			<npc name="tradeguy" location="{traderplace}"/>
			<location name="traderplace" port="{traderport}" building="trader"/>
			<npc name="amulet" location="{amuletmoneylender}"/>
			<location name="amuletmoneylender" port="{amuletport}" building="moneylender"/>
		</variables>

		<steps>
			<okbox npc="guv" text="My brother {brother} is a collector of ancient relics.  I've recently acquired this Amulet of Joy - a rare find indeed!  I still owe him a gift for his birthday.  Take it to him in {brotherport}, and return to me.  I shall reward your efforts." ok="Yes, Governor."/>
			<pushtask text="Return to the Governor in {startport} for a reward."/>
			<pushtask text="Deliver the Amulet of Joy to the Governor's Brother in {brotherport}"/>
			<get item="horsefliesamulet"/>
                        <goal type="talk" npc="{brother}" text="Deliver the Amulet"/>
			<okbox npc="brother" text="Amulet of Joy, my foot!  My conniving brother well knows that is the Amulet of Clouds.  Great storms follow its bearer - have you not noticed?  He has been trying to pass the curse to me for years.  You'll want to pawn it off on some poor bloke...  The Trader in {traderport} is rather simple, if you catch my meaning.  You might try selling it to him.  I know of no other way to get rid of it." ok="Thanks..."/>
			<poptask num="1"/>
			<pushtask text="Give the Amulet to the Trader in {traderport}"/>
			<goal type="talk" npc="{tradeguy}" text="Deliver the Amulet"/>
			<okbox npc="tradeguy" text="Oy!  I may be a bit thick in the head, but I knows an evil amulet when I sees one, I does.  Get it away from me!  Run along...  hey!  There was a dotty bloke askin' about the bloody thing recently.  Said he came from {amuletport}, he did.  I reckon he's yer only hope.  Ask for {amulet}." ok="Thanks."/>
			<poptask num="1"/>
			<pushtask text="Give the Amulet to {amulet} in {amuletport}"/>
			<goal type="talk" npc="{amulet}" text="Deliver the Amulet"/>
			<okbox npc="amulet" text="Hmm?  What's this?  Praise be!  The Amulet of Clouds!  Yes!  I shall gladly take it.  Good Captain, you have made my meteorological studies infinitely easier.  I humbly thank you." ok="You're welcome!"/>
			<poptask num="1"/>
			<give item="horsefliesamulet"/>
			<goal type="npccombat" port1="{startport}" npc="{guv}" text="Oh, ye'll not be traveling to {startport}.  Not with that wicked Amulet on ye.  Guv'ner's orders!"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<get item="gold" amount="200000"/>
			<addlogentry text="Received 200,000 in Gold from the Governor of {startport}."/>
                        <okbox npc="guv" text="My, what a wonderful sunny day it is.  So glad you could deliver a little ''joy'' to my brother, ha ha!  Smashing.  It is SO nice to see you...  really.  I mean it.  Here's some money.  Please go away." ok="I'll be watching you."/>

		</steps>
	</task>
                


	<task level="4" name="Show No Mercy!" reward="200,000 gold" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<npc name="laroche">
				<filters>
                        <reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				        <firstname>Sebastian</firstname>
				        <surname>LaRoche</surname>
				        <title>Captain</title>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="My good friend Ignacio.  The banker in {battleport} has heard whispers of the terrible LaRoche heading his way!  It seems he owes LaRoche a debt and fears for his life!  Go there and meet LaRoche face-to-face once and for all!" ok="I'll get him this time!"/>
			<pushtask text="Defeat {laroche} near {battleport}."/>
			<goal type="npccombat" port1="{battleport}" npc="{laroche}" difficulty="1" text="Vous encore?  Why do you pester me, Ignacio?  I am but a mere traveler minding his own business.  You really should leave this poor old man alone on his vacation.  You know how I don't like being disturbed!"/>
			<okbox npc="laroche" text="Our next encounter will be your last!  I swear it!" ok="He'll be back."/>
			<addlogentry text="LaRoche's fleet destroyed.  Couldn't find his body.  He'll be back"/>
			<addlogentry text="and so will I!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
                        <get item="gold" amount="100000"/>
                        <addlogentry text="Received 100,000 in Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="He slipped through our hands again!  Next time I know we can beat him.  Sorry, I seem to be living these adventures vicariously!  Ahhhh the ocean breeze.  The smell of gunpowder.  Such excitement!  I trust half the reward will suffice?  Care for some tea?" ok="Just the money, please."/>
		</steps>
	</task>

                
                <task level="4" name="The Cook's Location" reward="100 crates of tobacco" character="verdugo">
		<variables>
			<port name="startport" filters="here,alehouse"/>
                        <port name="otherport" filters="new,visible,alehouse"/>
                        <port name="snitchport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible"/>
                        <port name="nextport" filters="new,visible"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="bart" location="{otherale}"/>
			<location name="otherale" port="{otherport}" building="alehouse"/>

			<npc name="azul" location="{alestart}">
				<filters>
					<firstname>Adia</firstname>
					<surname>Azul</surname>
					<reserved>azul</reserved>
				</filters>
			</npc>
                        <location name="alestart" port="{startport}" building="alehouse"/>

			<npc name="snitch" location="{alesnitch}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
                        <location name="alesnitch" port="{snitchport}" building="alehouse"/>
                        <npc name="bart2" location="{alesnitch}"/>
                </variables>

		<steps>
		<okbox npc="guv" text="Glad to see you, Ignacio!  A certain Captain Azul has been requesting an audience with you.  She's waiting at the Alehouse for you.  Mind your manners, though - hands that wander around Adia tend to depart from their owners rather quickly." ok="I think she'll like my hands."/>
		<pushtask text="Speak to Adia Azul at the Alehouse in {startport}."/>
                <goal type="talk" npc="{azul}" text="Talk to Azul"/>
                <okbox npc="azul" text="And you would be Ignacio Verdugo.  The frilly shirt, the overpowering perfume, and the quick mirror check you did before approaching me rather gave away your identity." ok="It's cologne, wench!"/>
                <okbox npc="azul" text="Let us not debate the quality of your character, Verdugo.  We have a chance to strike a common enemy.  LaRoche's chef, Yoshi Morimoto, was recently released from service.  Something about a bad oyster.  He obviously has information that could help lead to LaRoche's capture.  I've been hired to capture Morimoto-san so the authorities can capture LaRoche." ok="Why do you need me?"/>
                <okbox npc="azul" text="The bartender in {otherport} has information on a man who can lead me to Morimoto, but she's very mistrustful of women.  Perhaps I should not have threatened her with such a long knife.  I hear the one talent you do possess is a certain ability to get what you want from women of questionable intelligence.  I want you to talk with her.  With your help, the terror of LaRoche will soon come to an end." ok="What's in it for me?"/>
                <okbox npc="azul" text="You ask for a reward beyond that of seeing justice for LaRoche?  He killed your father, did he not?  Ah, but you are right.  This is business.  Shall we say one hundred crates of tobacco for the information I require?." ok="Done."/>
                <poptask num="1"/>
                <pushtask text="Tell Adia in {startport} the location of Yoshi Morimoto."/>
                <pushtask text="Discover information about Morimoto in {otherport}."/>
                <goal type="talk" npc="{bart}" text="Say Hello!"/>
                <okbox npc="bart" text="Ignacio!  I knew you'd be back some day.  We've got a lot to catch up on, sweetie.  How about you and I go some place a little more private?" ok="Shall we dine first, my pet? Morimoto's?"/>
                <okbox npc="bart" text="Morimoto!  Oh, you know how to treat a girl, you devil.  But it's been years since Yoshi had a place here.  He took up with LaRoche for a while, but there was some business with an oyster...  anyway, I don't know where he is now.  You should ask {snitch} in {snitchport} next time your travels take you that way.  He would certainly know...  hey!  Where are you going?" ok="Sudden craving for teriyaki."/>
                <poptask num="1"/>
                <pushtask text="Speak to {snitch} in {snitchport} about Morimoto."/>
                <goal type="talk" npc="{snitch}" text="Ask about Morimoto"/>
                <okbox npc="snitch" text="Morimoto?  Haven't a clue who you're talking about.  Now let me eat my bento box." ok="You're lying!"/>
                <okbox npc="snitch" text="Did I say bento box?  I don't even know what that is.  Really.  Hey, behind you!  That girl in the corset just had a major wardrobe malfunction!" ok="Where?"/>
                <okbox npc="bart2" text="Fell for the wardrobe malfunction trick, did you?  Well, he's gone now, Ignacio.  But if I had to guess, I'd say he's headed to {battleport}.  If you don't blow him to kingdom come, please remind him that he needs to pay off his bar tab." ok="I'm thinking kingdom come."/>
                <poptask num="1"/>
                <pushtask text="Get information from {snitch} about Morimoto."/>
                <pushtask text="Capture {snitch} headed to {battleport}."/>
                <goal type="npccombat" npc="{snitch}" text="If I tell you where Morimoto is, LaRoche will have my head!  And Morimoto will never let me have any more of his tofu cheesecake!  I am sorry, but I shall have to kill you first."/>
                <okbox npc="snitch" text="Oh, the horror of no cheesecake!  Very well, don't hurt me!  You can find Morimoto in {nextport}!" ok="Tofu.  Ick."/>
                <poptask num="2"/>
                <goal type="talk" npc="{azul}" text="Talk to Adia Azul"/>
                <get item="tobacco" amount="100"/>
                <addlogentry text="Revealed location of Yoshi Morimoto to Adia Azul."/>
                <addlogentry text="Received 100 Crates of Tobacco from Adia Azul."/>
                <addlogentry text="Adia Azul has gone to capture Morimoto, LaRoche's cook."/>
                <okbox npc="azul" text="{nextport}?  Well done, Ignacio.  Seems we shall find a use for you yet.  Here are your 100 crates of tobacco.  I will take care of the Morimoto matter from here on out.  Good day to you." ok="Try an oyster when you find him."/>
                </steps>
                </task>


	 <task level="4" name="Escort the Assistant" reward="200,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,governor_access"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{otherg}"/>
			<location name="otherg" port="{otherport}" building="governor"/>

			<npc name="brother">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
				</filters>
			</npc>
			<npc name="Isabella">
				<filters>
		    <reserved>none</reserved>
                    <class>upperpirate</class>
                    <sex>female</sex>
                    <race>white</race>
                    <headsize>smallhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>black</haircolor>
                    <neckitem>none</neckitem>
                    <costume>costume20</costume>
                    <pet>pet07f</pet>
                    <earitem>none</earitem>
                    <hair>hair05</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes08</eyes>
                    <eyeitem>eyepatch00f</eyeitem>
                    <ears>ears38</ears>
                    <nose>nose09</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth13</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title>Pirate</title>
                    <firstname>Isabella</firstname>
                    <surname>NONE</surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>
			<npc name="Adrianna">
				<filters>
					<reserved>none</reserved>
					<firstname>Adrianne</firstname>
					<headsize>smallhead</headsize>
					<class>upperpirate</class>
					<race>white</race>
					<sex>female</sex>
				</filters>
			</npc>
        </variables>

		<steps>
		<okbox npc="guv" text="Captain, {brother}, my dear brother, requires passage to {otherport}, where he will be taking a position assisting the Governor there.  Take good care of him, Captain - he is a genteel soul, unfamiliar with the bawdy ways of men at sea.  I shall pay you upon your safe return here." ok="By your command."/>
		<pushtask text="Deliver the Governor's Brother to {otherport}."/>
                <get item="brother"/>
                <goal type="npccombat" npc="{Isabella}" port1="{otherport}" text="{brother}!  You think you can run from me?  I may have been a fool for believing your promises of a ring.  But you are a fool for thinking you can escape the fury of a woman scorned!  Defend yourself, dog!"/>
                <goal type="talk" npc="{guv2}" text="Deliver the New assistant"/>
                <okbox npc="guv2" text="{brother}?  Assist ME?  Do not tell me you are unaware of this philanderer's ways!  He shall not be permitted with three leagues of my wife, my daughter, or my livestock!  Take him back to {startport} and deliver my sincere apologies to the Governor there." ok="Livestock?  Gross."/>
                <poptask num="1"/>
                <pushtask text="Return the Governor's Brother to {startport}."/>
                <goal type="npccombat" npc="{Adrianna}" port1="{startport}" text="Aha!  I have searched the ends of the earth for you, {brother}!  Your heart is black and untrue, so say I.  And my three sisters.  And the serving wench.  And the rather smelly beggar lady at the end of the road.  They have asked me to make you pay, and pay you shall - now!"/>
                <goal type="talk" npc="{guv}" text="Return His Brother."/>
                <poptask num="1"/>
                <give item="brother"/>
                <get item="gold" amount="200000"/>
                <addlogentry text="Received 200,000 in Gold from the Governor of {startport}."/>
                <okbox npc="guv" text="{brother}, is there no place on this fair earth that will have you?  I have had enough; I shall send you to the queen.  Perhaps you shall afford her some amusement.  And, dear Captain, thank you for trying.  I see your ship has been damaged, no doubt due to this rake's adventures.  Please take this to offset your loss." ok="Thank you."/>
                </steps>
	</task>


        <task level="3" name="Lady Isabella" reward="100,000 gold" levelup="true">
		<variables>
			<port name="startport" filters="here"/>
			<port name="wifeport" filters="new,visible,governor_access"/>
                        <port name="aleport" filters="new,visible,alehouse"/>
                        <port name="newport" filters="hidden"/>
                        <port name="accessport" filters="new,visible,no_governor_access"/>

			<npc name="isabella">
				<filters>
		    <reserved>none</reserved>
                    <class>upperpirate</class>
                    <sex>female</sex>
                    <race>white</race>
                    <headsize>smallhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>black</haircolor>
                    <neckitem>none</neckitem>
                    <costume>costume20</costume>
                    <pet>pet07f</pet>
                    <earitem>none</earitem>
                    <hair>hair05</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes08</eyes>
                    <eyeitem>eyepatch00f</eyeitem>
                    <ears>ears38</ears>
                    <nose>nose09</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth13</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title>Pirate</title>
                    <firstname>Isabella</firstname>
                    <surname>NONE</surname>
                    <nickname>NONE</nickname>
				</filters>
			</npc>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="guv2" location="{wifemansion}"/>
			<location name="wifemansion" port="{wifeport}" building="governor"/>
                        <npc name="wife" location="{alewife}"/>
			<location name="alewife" port="{aleport}" building="alehouse"/>

		</variables>

		<steps>
			<okbox npc="guv" text="Dear Captain, there is no greater evil than the treachery of a trusted friend.  I opened my home to the Governor of {wifeport}.  He made a dashing entrance, weakened my wife's sensibilities with his witty repartee, and left with her in the dead of night!  I will not suffer this insult.  Lay siege to his port and return my wife to me.  You shall, of course, be paid generously." ok="Right away."/>
			<unlockship type="next"/>
                        <pushtask text="Retrieve Isabella from the Governor in {wifeport}."/>
                        <makehostile port="wifeport"/>
                        <goal type="talk" npc="{guv2}" text="Rescue Isabella."/>
			<poptask num="1"/>
                        <pushtask text="Check the Alehouses for Information on Isabella"/>
                        <okbox npc="guv2" text="Hah!  The vixen sweet-talked me into helping her escape from her dimwit husband, yes.  But the joke was on me, I fear.  She knocked me on my posterior as soon as we set foot on land, let out an ungodly whoop, and ran for the Alehouse.  Look for her there, but be ready for a bit of fisticuffs." ok="I'll be ready."/>
                        <goal type="talk" npc="{wife}" text="Ask about Isabella"/>
                        <okbox npc="wife" text="Isabella?  Aye, now there's my kind of woman.  Gone on the account, she has, ready to sail where she pleases and take what she wants.  She's fixin' to be the most dread pirate ever known in these parts.  Three cheers for Isabella!" ok="Darn it..."/>
                        <poptask num="1"/>
                        <pushtask text="Capture the Pirate Isabella"/>
                        <goal npc="isabella" type="npccombat" port1="{aleport}" text="So my husband's sent his little bootlicker to reclaim his wayward wife, has he?  Well this little lady is about blast your ship out of the water and hang you by the thumbs!" ok="Uh oh..."/>
                        <okbox npc="isabella" text="Do with me what you wish, but I will die before I again set foot in my husband's house." ok="Farewell, then."/>
                        <poptask num="1"/>
                        <pushtask text="Return to the Governor of {startport} empty handed."/>
                        <goal type="talk" npc="{guv}" text="Explain the Situation"/>
			<get item="gold" amount="100000"/>
			<tasklevel level="4"/>
                        <accessgovernor port="{accessport}"/>
			<reveal port="{newport}"/>
			<unlockgood type="wine"/>
			<addlogentry text="The Governor of {startport} has given you a Map to {newport}."/>
			<addlogentry text="Received 100,000 gold from the Governor of {startport}."/>
                        <addlogentry text="You may now speak with the Governor of {accessport}."/>
                        <okbox npc="guv" text="My wife?  A pirate!?  Well, that would explain the parrot and the eye patch.  Let us speak her name no more!  Luck is on your side, though.  We discovered a map to {newport}.  It is yours, along with 100,000 gold." ok="Thank you."/>
                        <okbox npc="guv" text="Addtionally, I've been so impressed with your services I recommended you to the Governor of {accessport} who wishes to speak to you immediately." ok="Yes, Sir."/>
		</steps>
	</task>


        <task level="3" name="If the Price is Right" reward="50,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible,governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>
                        
			<npc name="pirate" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>upperpirate</class>
				</filters>
			</npc>
                        <npc name="guv2" location="{battlemansion}"/>
                        <location name="battlemansion" port="{battleport}" building="governor"/>
			<npc name="pirate2" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="The pirate {pirate} has been making a mockery of my authority.  Merchants are beginning to avoid our port out of fear for him.  And worse yet, he stole my undergarments and now uses my unmentionables as his own ship's flag.  50,000 in gold to you for his head, honorable Captain!  Start looking for him in {otherport}." ok="Ok!  Don't get your knickers in a twist."/>
                <pushtask text="Search for {pirate} in {otherport}."/>
                <goal type="talk" npc="{aleguy}" text="Capture Pirate"/>
                <okbox npc="pirate" text="Aye, ye could capture me now for 50,000 in gold from that frilly buzzard, 'tis true.  But ye'd be a fool to turn down 50,000 from me, instead.  A slight misunderstanding with the law has put me first mate {pirate2} in irons at {battleport}.  Sail there with me, liberate me friend from his most unfair confinement, and it's 60,000 gold for you, free and clear." ok="Make it 100,000 gold.  And your flag!"/>
                <okbox npc="pirate" text="Fine 100,000 gold it is.  But ye not be getting the long johns, mate." ok="Done."/>
                <addlogentry text="Offered to help a pirate rescue his first Mate in {battleport}."/>
                <poptask num="1"/>
                <pushtask text="Rescue the first mate {pirate2} in {battleport}."/>
                <get item="safepirate"/>
                <goal type="npccombat" npc="{guv}" text="Captain, you?  In league with this scoundrel {pirate}?  You leave me no choice but to send you both to the bottom of the ocean!"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{guv2}" text="Rescue the First Mate"/>
                <poptask num="1"/>
                <give item="safepirate"/>
                <get item="gold" amount="100000"/>
                <addlogentry text="Rescued {pirate2} from {battleport}."/>
                <addlogentry text="Received 100,000 Gold from {pirate}."/>
                <okbox npc="pirate2" text="Och, the smell of freedom!  Or is that you, {pirate}?  In any case, a thousand thanks to ye!" ok="Just hurry up!"/>
                <okbox npc="pirate" text="I knew ye had a wee bit of pirate in ye, Captain.  A fine job indeed.  And true to me word, here's the 100,000 in gold I promised ye." ok="Thanks."/>
                </steps>
	</task>
        
        <task level="3" name="The Price is Right" reward="100,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="aleguy" location="{otherale}"/>
                        <location name="otherale" port="{otherport}" building="alehouse"/>

                        <npc name="aleguy2" location="{battleale}"/>
                        <location name="battleale" port="{battleport}" building="alehouse"/>

			<npc name="pirate" location="{otherale}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>upperpirate</class>
				</filters>
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="Care to earn a bit of gold?  {pirate} has been giving us a spot of bother lately.  You know, pillaging, scaring the ladies, singing annoying shanties off-key, the usual.  It's worth 100,000 in gold to me to have rid of him.  What say you bring me his head, and we'll have a nice cup of tea?  You should start looking in {otherport}." ok="I adore tea.  And gold.  You're on."/>
                <pushtask text="Search for {pirate} in {otherport}."/>
                <goal type="talk" npc="{pirate}" text="Capture Pirate"/>
                <okbox npc="pirate" text="Cap'n, I've grown rather fond of me head.  How about I just give ye the 50,000 in gold in return for a nice trip to the Alehouse in {battleport}.  I'll even buy ye a drink when we get there!" ok="Make it 100,000 gold."/>
                <okbox npc="pirate" text="Bah.  100,000 in gold it is, then.  But you're buying first round." ok="Done."/>
                <addlogentry text="Offered Safe Passage to the Pirate {pirate}."/>
                <poptask num="1"/>
                <pushtask text="Escort {pirate} to {battleport}."/>
                <get item="safepirate"/>
                <makehostile port="{battleport}"/>
                <goal type="talk" npc="{aleguy2}" text="Drop Off Pirate"/>
                <poptask num="1"/>
                <give item="safepirate"/>
                <get item="gold" amount="50000"/>
                <addlogentry text="Safely escorted {pirate} to {battleport}."/>
                <addlogentry text="Received only 50,000 in Gold from {pirate}."/>
                <okbox npc="pirate" text="A fine job, cap'n.  Here's the 50,000 I owe ye.  Er, ye say I owe more?  Come again?  Don't hear so well, ye know, wee accident with the cannon years ago.  Ah, there's me crew!  Must be running." ok="This will impact your credit rating."/>
                </steps>
	</task>

        <task level="3" name="The Dispute" reward="100,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,governor_access"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{othermansion}"/>
                        <location name="othermansion" port="{otherport}" building="governor"/>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>upperpirate</class>
				</filters>			
			</npc>
                </variables>

		<steps>
		<okbox npc="guv" text="My dear friend, the Governor of {otherport} and I seem to have a tiny misunderstanding.  I've heard some foul rumors that he gave safe passage to my sworn enemy, {pirate}.  I'm sure there's nothing to all this, but just to put everything aboveboard, I'd like you to deliver this treaty to him.  He'll gladly affix his seal, you'll return it to me, and we'll all have a good laugh over this silly little matter." ok="Happy to help."/>
                <pushtask text="Deliver Treaty to {otherport}."/>
                <get item="letter"/>
                <goal type="npccombat" npc="{pirate}" port1="{otherport}" text="Treaty?  Treaties are for pantywaist gentlepeople such as yerself, ye landlubber!  I'll provide ye and yer precious treaty with safe passage to the briny deep right now, I will!"/>
                <goal type="talk" npc="{guv2}" text="Deliver Treaty"/>
                <okbox npc="guv2" text="A treaty?  From the Governor of {startport}?  Listen, you hapless lackey, I am Governor here and shall do business with whomever I please!  You can return this as my heartfelt personal message." ok="Stop ripping that treaty!"/>
                <okbox npc="guv2" text="Now be on your way and tell him to remove his huge, spotty nose from my affairs!" ok="If you say so.  Farewell then."/>
                <addlogentry text="The Governor of {otherport} has Ripped the Treaty."/>
                <poptask num="1"/>
                <give item="letter"/>
                <pushtask text="Go Back to the Governor of {startport}."/>
                <goal type="talk" npc="{guv}" text="Show the Ripped Treaty"/>
                <okbox npc="guv" text="He did WHAT?  That does it!  Lay waste to his city!  But that isn't enough.  Here, take this parcel to his doorstep, set it afire, knock on the door, and RUN!  Do this and I shall give you a rich reward my friend!" ok="That doesn't smell so good, sir, but ok!"/>
                <get item="prank"/>
                <poptask num="1"/>
                <pushtask text="Destroy {otherport} and Pull a Rude Prank on the Governor."/>
                <makehostile port="{otherport}"/>
                <goal type="talk" npc="{guv2}" text="Set the Parcel on Fire and Knock on the Door."/>
                <poptask num="1"/>
                <okbox npc="guv2" text="What's this?  Fire!  I must stomp it out!  What the...?" ok="Oh, that's going to leave a stain.  See ya!"/>
                <give item="prank"/>
                <addlogentry text="Pulled the Flaming Parcel of Mystery Prank at the"/>
                <addlogentry text="Governor of {otherport}'s Mansion."/>
                <pushtask text="Claim your Reward in {startport}."/>
                <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                <get item="gold" amount="100000"/>
                <addlogentry text="Received 100,000 Gold from the Governor of {startport}."/>
                <okbox npc="guv" text="Oh ho ho!  That is priceless!  Well, actually, I can put a price on it.  Take this 100,000 in gold, with my greatest thanks!" ok="Why thank you!"/>
                </steps>
	</task>

                <task level="3" name="The Love Letter" reward="100,000 gold">
		<variables>
			<port name="startport" filters="here,"/>
                        <port name="otherport" filters="new,visible,alehouse,moneylender"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="lender" location="{otherlender}"/>
			<location name="otherlender" port="{otherport}" building="moneylender"/>
                        <npc name="aleguy" location="{otherale}"/>
			<location name="otherale" port="{otherport}" building="alehouse"/>
			<npc name="husband">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>upper</class>
				</filters>
			</npc>

                </variables>

		<steps>
		<okbox npc="guv" text="I have been struck down by Cupid's arrow, dear Captain.  Please deliver this letter to my love Jessica in {otherport}.  I long for the day we may again be together!  I will be forever in your debt.  Specifically, in the amount of 100,000 gold." ok="Sounds good."/>
                <pushtask text="Collect your Reward in {startport}."/>
                <pushtask text="Deliver the Love Letter to {otherport}."/>
                <get item="loveletter"/>
                <goal type="talk" npc="{aleguy}" text="Deliver the Love Letter"/>
                <okbox npc="aleguy" text="You're going to give that perfumed note to Jessica?  Surely you know that she is {husband}'s wife!  He's dueled men to the death for far lesser an insult!  There will be no hiding this from him; I hope you have some skill with a pistol, my friend!" ok="I didn't write the letter!"/>
                <okbox npc="aleguy" text="No?  Someone's having quite the mischief at your expense, if that be true.  If it's information you need, you'd do well to speak with the moneylender." ok="Will do."/>
                <poptask num="2"/>
                <pushtask text="Talk to the Moneylender in {otherport}."/>
                <goal type="talk" npc="{lender}" text="Why Was I Asked to Deliver the Letter?"/>
                <okbox npc="lender" text="Ah, the Governor of {startport} put you up to it, I'm reckoning - right?  He owes money to {husband}.  You're a smart one, you figure it out!  I'd lay odds you could beat {husband} in a duel any day.  The Governor's debt would die alongside {husband.lastname}.  Ah, a wily fellow, that Governor." ok="Wait a minute..."/>
                <okbox npc="lender" text="Well, you aren't going to let him get away with it, are you?  If I were you, I'd be setting sail for {startport}." ok="I'll be ''keelhauling'' him!"/>
                <poptask num="1"/>
                <give item="loveletter"/>
                <pushtask text="Exact revenge on Governor of {startport}."/>
                <makehostile port="{startport}"/>
                <goal type="talk" npc="{guv}" text="Demand Retribution!"/>
                <get item="gold" amount="100000"/>
                <addlogentry text="Received 100,000 in Gold from the Governor of {startport}."/>
                <poptask num="1"/>
                <okbox npc="guv" text="Uh, April Fool's?  Why no, I don't know what keelhauling is!  Please!  Just take this 100,000 in gold and go away please?" ok="I'll let you go...  this time."/>
                </steps>
	</task>
        
        
        <task level="3" name="Pirate Quota 5 Battles" reward="200,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Alliances between pirates are rare, but five of the worst scalawags in these waters have put aside their differences.  Their new gang, the Silver Daggers, is scaring all trade away from my port!  Sink all five of their ships, come back to me, and I shall reward your bravery kindly." ok="Yes sir."/>
			<pushtask text="Claim your Reward in {startport}."/>
                        <pushtask text="Defeat the Five Silver Dagger Pirates!"/>
                        <get item="alwaysbattle"/>
                        <goal type="combat" battles="5"/>
                        <poptask num="1"/>
                        <give item="alwaysbattle"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <poptask num="1"/>
                        <get item="gold" amount="200000"/>
			<addlogentry text="Received 200,000 in Gold from the Governor in {startport}."/>
			<okbox npc="guv" text="I knew those Daggers could not remain cloaked with you on the job!  You've restored peace to my port.  Here is 200,000 gold for you." ok="Thank you."/>
		</steps>
	</task>

	
	<task level="3" name="The Revelers" reward="100,000 gold">
		<variables>
			<port name="startport" filters="here,alehouse"/>
                        <port name="govport" filters="new,visible,governor_access"/>
                        <port name="marketport" filters="new,visible,marketplace"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="drunk" location="{alestartport}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
                                        <surname>Johnson</surname>
                                        <class>lower</class>
				</filters>
			</npc>

                        <location name="alestartport" port="{startport}" building="alehouse"/>

			<npc name="wife" location="{marketplaceport}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<surname>Johnson</surname>
                                        <class>middle</class>
				</filters>
			</npc>

                        <location name="marketplaceport" port="{marketport}" building="marketplace"/>

                        <npc name="uncle" location="{governorgovport}"/>
			<location name="governorgovport" port="{govport}" building="governor"/>

		</variables>

		<steps>
			<okbox npc="guv" text="I'm hoping you can relieve me of an embarrassment.  My cousin is a complete souse.  He humiliates our family in the local Alehouse on a nightly basis, telling bawdy stories of...  well, let's leave it at that.  Please pick him up at the local Alehouse and take him somewhere else.  Oh yes!  My brother-in-law at {govport} deserves him.  I will pay you well for ridding me of him." ok="Yes Sir."/>
			<pushtask text="Claim your Reward in {startport}."/>
                        <pushtask text="Deliver the Governor's Cousin to {govport}."/>
                        <pushtask text="Retrieve the Governor's cousin at {startport} Alehouse."/>
                        <goal type="talk" npc="{drunk}" text="Pick up the Drunk"/>
                        <get item="drunkcrew"/>
                        <okbox npc="drunk" text="Whashat?  My cousin wansh to send me on holiday?  Wheeeeeeeeeee!  Did ya hear that, ladies?  We're goin' on holiday!  We're takin' me friends, too, right cap'n?  I wouldn't leave without 'em.  Now who's here?  Carla, Bonnie, Lucinda, uh, you over there with the big tankards lesh go!" ok="Let's just go."/>
                        <addlogentry text="The ragtag collection of Alehouse denizens now haunting your ship"/>
                        <addlogentry text="distracts your crew, making them likely to sail into a storm."/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{uncle}" text="Deliver the Drunk"/>
                        <okbox npc="uncle" text="Oh, no, that contraption and his female companions will not set foot into my port.  You have spun your last drunken tale here, sir!  Perhaps you should consider taking him back to his own wife.  Hah!  Yes, remember?  You do have one.  She's staying with her mother in {marketport}.  The woman was fool enough to marry you; let her babysit you." ok="Very well."/>
                        <poptask num="1"/>
                        <pushtask text="Take the Drunk to his Wife in {marketport}"/>
                        <goal type="talk" npc="{wife}" text="Deliver the Drunk"/>
                        <okbox npc="wife" text="{drunk}!  You're a bad penny, you are.  No matter where I hide, you turn up when you run out of coin.  Very well, come along, dear.  Perhaps we can find something dangerous for you to play with.  Sorry for the trouble, Captain." ok="Just take him!"/>
                        <poptask num="1"/>
                        <addlogentry text="Returned the Drunk to His Wife."/>
                        <give item="drunkcrew"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <get item="gold" amount="100000"/>
			<addlogentry text="Received 100,000 in Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="Ah, my pity to his poor wife.  Well, perhaps she can inspire him to develop an interest in juggling sharp objects.  In any event, here's your reward, and my thanks for your fine effort." ok="Thanks."/>
		</steps>
	</task>
	
	       <task level="3" name="The Jewel of Diasis" reward="Charm of Space" character="mcgowan">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,governor_access"/>
                        <port name="smartport" filters="new,visible,governor_access"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>

                        <npc name="guv3" location="{smartmansion}"/>
			<location name="smartmansion" port="{smartport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Greetings!  Yes, I have a small errand for you.  My dear friend, the Governor of {otherport}, visited my home with his wife a few weeks ago.  After they departed, my servants found this lovely Jewel of Diasis lying on the floor.  The dear lady must be at her wits end; it was the centerpiece of the stunning necklace she wore.  Would you mind returning it to the Governor for me?  I shall gladly give you the Charm of Space in return, which will increase the amount of cargo your ship can hold." ok="Jewel for Charm.  Got it."/>
			<pushtask text="Claim your Reward in {startport}."/>
                        <pushtask text="Deliver the Jewel of Diasis to {otherport}."/>
                        <get item="jewelbattle"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Jewel"/>
                        <okbox npc="guv2" text="So that rock came from my wife's necklace, did it?  That's somewhat astonishing, seeing that there is no such necklace.  And I'm a bachelor.  I suppose you should thank the Governor of {startport} for his intentions, but please return it to him.  There's obviously been a mistake." ok="Why am I not surprised..."/>
                        <poptask num="2"/>
                        <pushtask text="Return with the Jewel to {startport}."/>
                        <goal type="talk" npc="{guv}" text="Return the Jewel"/>
                        <poptask num="1"/>
                        <okbox npc="guv" text="Are you sure?  The Governor of {otherport} really has no wife?  Oh, of course!  So silly of me.  I meant {smartport}.  Understandable mistake, don't you think?  They sound so similar.  I know you'll be a friend and deliver the Jewel to the Governor of {smartport} right away, won't you, there's a good Captain, move along, scoot." ok="Ok..."/>
                        <pushtask text="Claim your Reward in {startport}."/>
                        <pushtask text="Deliver the Jewel of Diasis to {smartport}."/>
                        <goal type="talk" npc="{guv3}" text="Deliver the Jewel"/>
                        <okbox npc="guv3" text="Ha!  Although I have often been tempted to give my wife such a gift, that Jewel is no prize.  It is the blackest of magicks, that.  Allows pirates to follow you easily, wherever you should travel!  Hmmm, Valentine's Day approaches.  Perhaps I should have it made into a fetching pendant for...  ah, no matter.  If I were you, I would take that vile thing back to {startport} and let the Governor there know that you do not continence such treachery!" ok="Ooh, why I'll..."/>
                        <poptask num="2"/>
                        <pushtask text="Return the cursed jewel to {startport}."/>
                        <makehostile port="{startport}"/>
                        <goal type="talk" npc="{guv}" text="Return the Jewel"/>
                        <poptask num="1"/>
                        <give item="jewelbattle"/>
                        <get item="space"/>
			<addlogentry text="Received the Charm of Space in {startport}."/>
			<okbox npc="guv" text="Mercy!  LaRoche forced my hand!  He gave me the cursed Jewel to foist on you.  And he gave me a really nice fancy hat, too.  I couldn't resist!  Here, take the Charm of Space and try to forgive a poor man with a weakness for skilled haberdashery!" ok="Fine.  And that hat is SO not your color."/>
		</steps>
	</task>

	 <task level="3" name="The Charm of Space" reward="200,000 Gold" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
			<port name="otherport" filters="new,visible"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="tradeguy" location="{t}"/>
                        <location name="t" port="{traderport}" building="trader"/>

                        <npc name="shippy" location="{ship}"/>

                        <location name="ship" port="{shipport}" building="shipyard"/>


			<npc name="azul">
				<filters>
					<firstname>Adia</firstname>
					<reserved>azul</reserved>
					<surname>Azul</surname>
					<title>Captain</title>
				</filters>
			</npc>

                </variables>

		<steps>
		<okbox npc="guv" text="The Charm of Space!  I simply must have it, Captain LaRoche.  My private barge has a bit of a storage problem; the hold just won't store enough caviar.  The Charm magically increases the maximum cargo space on one's ship.  That uppity Adia Azul currently possesses it, and she refuses to sell it to me.  I'm certain that when you meet her in {shipport} you can convince her to part with it." ok="I can be very convincing."/>
                <pushtask text="Deliver the Charm to the Governor in {startport}."/>
                <pushtask text="Steal the Charm of Space from {azul}."/>
                <pushtask text="Find information about {azul} in {shipport}."/>
                <goal type="talk" npc="{shippy}" text="Ask about Adia Azul."/>
                <okbox npc="shippy" text="I swear!  I haven't see Captain Azul, sir!  Yes, she often stops off here, but last I heard, she was delayed in {traderport}.  I'm sure you could find her if you spoke to the Trader there." ok="You may get off your knees now."/>
                <poptask num="1"/>
                <pushtask text="Find information about {azul} in {traderport}."/>
                <goal type="talk" npc="{tradeguy}" text="Where is Adia Azul?"/>
                <okbox npc="tradeguy" text="Ha!  That conniving wench?  Always stealing me business with her cheap imported goods, she is.  The sea could swallow her tomorrow, and the world would be none the worse.  Word is she's traveling the shipping route between {shipport} and {otherport}." ok="Excellent."/>
                <poptask num="1"/>
                <pushtask text="Battle {azul} on the route between {shipport} and {otherport}."/>
                <goal type="npccombat" npc="{azul}" port1="{shipport}" port2="{otherport}" text="Ah, my lucky day!  The canary comes to the cat.  The Charm of Space!  Ha!  Do you know the size of the bounty on your head in {otherport}?  I do.  Your head - and the bounty - shall be mine!"/>
                <okbox npc="azul" text="I will not surrender to you!  You want the Charm of Space?  You will have to rip it from around my neck!" ok="Very well.  RRRIP!"/>
                <addlogentry text="Stole the Charm of Space from Adia Azul."/>
                <get item="space"/>
                <poptask num="2"/>
		<makehostile port="{startport}"/>
		<goal type="talk" npc="{guv}" text="You put a bounty on my head!"/>
                <poptask num="1"/>
                <addlogentry text="Defeated the Governor of {startport} and"/>
                <addlogentry text="kept the Charm of Space for yourself."/>
                <okbox npc="guv" text="Bounty?  Who?  Me?  That poster?  No idea who did that.  Not a clue.  But it certainly wasn't me.  I say, isn't that Charm of Space simply magnificent?  Perhaps you should just keep it.  Pretty.  Sparkles.  Forget about bounty." ok="Shiny object...  ooh."/>
                </steps>
	</task>

	 	<task level="3" name="Capture the Pirate Thief!" reward="Charm of Space" character="vangregor">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible,governor_access"/>
                        <port name="azulport" filters="new,visible,governor_access"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="bart" location="{otherale}"/>
			<location name="otherale" port="{otherport}" building="alehouse"/>
                        <npc name="guv2" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>
                        <npc name="guv3" location="{azulmansion}"/>
			<location name="azulmansion" port="{azulport}" building="governor"/>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
			<npc name="azul">
				<filters>
					<title>Captain</title>
					<firstname>Adia</firstname>
					<surname>Azul</surname>
					<reserved>azul</reserved>
				</filters>
			</npc>
		</variables>

		<steps>
			<okbox npc="guv" text="Revenge, I say!  That foul pirate {pirate} stole into my mansion in the wee hours several weeks ago.  He left the gold, the silver, the jewelry - but he stole my precious Chihuahua, Lumpkins!  One does not steal another man's dog!  In exchange for the pirate's capture and return to me, I shall give you the Charm of Space.  If that rogue has done any harm to Lumpkins, I shall flay him alive!  Last I heard, he was in {otherport}."ok="Retrieve Lumpkins.  Got it."/>
			<pushtask text="Return {pirate} to the Governor of {startport}."/>
                        <pushtask text="Capture the pirate {pirate}."/>
                        <pushtask text="Search for the pirate {pirate} in {otherport}."/>
                        <goal type="talk" npc="{bart}" text="Ask about Pirate."/>
                        <poptask num="2"/>
                        <pushtask text="Capture the {pirate} in {battleport}."/>
                        <okbox npc="bart" text="{pirate}?  Cor, yeah, he was in here.  Had a bloody annoying little yappy rat with him.  Got overly friendly with me peg leg.  Threw him and the rat out.  Told him to go to cool his heels at {battleport} until he thought better of his choice of companions." ok="Thanks."/>
                        <makehostile port="{battleport}"/>
                        <goal type="talk" npc="{guv2}" text="Talk to Pirate!"/>
                        <okbox npc="pirate" text="Yarr, that be a fine necklace ye have there.  Belonged to your mother you say?  'Twould make a grand collar for me little Lumpkins here.  I'll just be having it now, if ye don't mind.  Or even if ye do." ok="Come back with my necklace!"/>
                        <give item="combatavoidance"/>
                        <addlogentry text="{pirate} has stolen your Necklace of Swiftness!"/>
                        <okbox npc="guv2" text="Thank heavens you came to rescue us!  That mutant rat he had was trying to eat us alive!  You must stop him before he can unleash that unholy beast on the world.  He stole your family heirloom you say?  Quite horrible!  Hurry!  {pirate} mentioned that his next stop would be {azulport}." ok="Thanks!"/>
                        <poptask num="1"/>
                        <pushtask text="Retrieve the Necklace of Swiftness from {pirate}"/>
                        <pushtask text="Capture the {pirate} in {azulport}."/>
                        <goal type="talk" npc="{guv3}" text="Demand the Pirate!"/>
                        <okbox npc="azul" text="It's no concern of mine that you were unable to defeat {pirate}.  I succeeded where you failed, and now I shall reap the reward.  I shall visit the Governor of {startport} and claim the Charm of Space." ok="But that rat has my necklace!"/>
                        <okbox npc="azul" text="You dare refer to the Governor's pet so?  Ha!  The Governor shall have his ra...  err, dog, complete with collar.  You take your tall tales elsewhere." ok="Come back!!"/>
                        <addlogentry text="Met Captain Adia Azul who captured {pirate}."/>
                        <addlogentry text="Azul refuses to return {pirate}"/>
                        <addlogentry text="Necklace of Swiftness to you."/>
                        <poptask num="2"/>
                        <pushtask text="Retrieve {pirate} and the Necklace of Swiftness from Captain Adia Azul."/>
                        <goal type="npccombat" npc="{azul}" port1="{startport}" text="How many times do I have to tell you?  This little ankle biter and its collar are mine!  You force my hand.  Prepare for battle!"/>
                        <okbox npc="azul" text="You dare rob Adia Azul?  You shall pay dearly!  And ha!  That dog has a serious incontinence problem!" ok="Ack!  My trousers!"/>
                        <poptask num="1"/>
                        <get item="combatavoidance"/>
                        <get item="pirate"/>
                        <addlogentry text="Sunk Captain Adia Azul's Ship! Retrieved"/>
                        <addlogentry text="{pirate} and the Necklace of Swiftness."/>
                        <goal type="talk" npc="{guv}" text="Return the Pirate!"/>
                        <get item="space"/>
                        <give item="pirate"/>
                        <poptask num="1"/>
                        <addlogentry text="Received the Charm of Space in {startport}."/>
                        <okbox npc="guv" text="Huzzah!  Lumpkins!  You have returned!  Oh, you poor boy, did you have an accident on the nice Captain's trousers?  Terribly sorry, he's getting on in years, you know.  I am in your debt.  Here is the Charm of Space as promised!" ok="Thank you. Please take Lumpy."/>
		</steps>
	</task>

	<task level="3" name="Escort the Pirate Captive" reward="Charm of Space" character="azul">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="deliverport" filters="new,visible,governor_access"/>
                        <port name="aleport" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="vangregor" location="{aleplace}">
				<filters>
					<reserved>vangregor</reserved>
					<title>Captain</title>
					<firstname>Russell</firstname>
					<surname>Van Gregor</surname>
				</filters>
			</npc>
			<npc name="pirate">
				<filters>
					<sex>male</sex>
                                        <class>pirate</class>
				</filters>
			</npc>
                        <location name="aleplace" port="{aleport}" building="alehouse"/>

                        <npc name="guv2" location="{delivermansion}"/>
                        <location name="delivermansion" port="{deliverport}" building="governor"/>

                </variables>

		<steps>
			<okbox npc="guv" text="Miss Azul, just the woman I wanted to see.  {pirate} recently made the mistake of trying to raid my fair port.  He was captured in the act, but not before he laid waste to many of my best ships.  We need him transported to {deliverport} for execu...  err, I mean, a fair trial.  Can I ask you to escort him there?  I've arranged for the Governor of {deliverport} to reward you well for your assistance." ok="You have my interest."/>
			<get item="pirate"/>
                        <pushtask text="Deliver the pirate {pirate} to {deliverport}."/>
                        <goal type="npccombat" npc="{vangregor}" text="Oh my, this is awkward.  I'm so sorry, Captain Azul, but {pirate} has an item of mine that is simply irreplaceable.  Perhaps we can chat over a spot of tea...  wait!  Why are you loading that cannon?"/>
                        <addlogentry text="Met Captain Van Gregor and promptly sank his ship."/>
                        <okbox npc="vangregor" text="Was it something I said, dear lady?  Why did you open fire on an ally?  I have no interest in whatever reward there may be in delivering that scoundrel to {deliverport}.  It's just that he has my..." ok="I have no reason to trust you.  Good bye."/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Pirate."/>
                        <okbox npc="vangregor" text="It looks like I shall not earn your trust today, either, Captain.  So sorry to do this, but {pirate} really does have something with which I can never bear to part." ok="Perfidy!  Come back here, you rogue!"/>
                        <okbox npc="guv2" text="That's odd.  I've known Russell many years, and I wouldn't have thought him capable of such an act.  Well, he's escaped with your charge, {pirate}.  You might look for him {aleport}, where he often goes when he needs a long think." ok="I shall bring my sharpest knife."/>
                        <give item="pirate"/>
                        <pushtask text="Recover {pirate} from Van Gregor in {aleport}."/>
                        <goal type="talk" npc="{vangregor}" text="Demand the Pirate."/>
                        <okbox npc="vangregor" text="I had hoped you would find me so that I could return your charge to you.  Here, take {pirate} - he's yours.  All I needed was this pouch which he stole from me some months ago." ok="Why?"/>
                        <okbox npc="vangregor" text=" Inside it, here, is the irreplaceable item of which I spoke.  A locket, containing a portrait of my mother, which this brigand stole from me in an Alehouse one night long ago.  It is the last thing I have with which to remember her.  My great apologies for the inconvenience I have caused you." ok="Forgive me for not trusting you."/>
                        <okbox npc="vangregor" text="Of course, Captain; one must choose one's allies carefully in these waters.  I have the locket and all is well.  Your considerable skill at sea has earned you my sincere respect." ok="Good day."/>
                        <addlogentry text="Learned about Van Gregor's dead mother."/>
                        <addlogentry text="Van Gregor returned {pirate} to your custody."/>
                        <get item="pirate"/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Pirate."/>
                        <poptask num="1"/>
                        <give item="pirate"/>
                        <get item="space"/>
                        <addlogentry text="Received the Charm of Space from the Governor of {deliverport}."/>
                        <okbox npc="guv2" text="A job well done as usual, Adia.  I think you'll find this Charm of Space of great use." ok="Thank you."/>
		</steps>
	</task>

	<task level="3" name="The Tricky LaRoche!" reward="100,000" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<npc name="laroche">
				<filters>
				<sex>male</sex>
				<class>upperpirate</class>
				<race>white</race>
				<headsize>smallhead</headsize>
				<haircolor>blonde</haircolor>
				        <firstname>Lebastian</firstname>
				        <surname>SaRoche</surname>
				        <title>Captain</title>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="It seems that LaRoche may be fearing your wrath my friend!  Apparently he's gone into ''hiding'' by disguising his name!  But you and I, Ignacio, we know him by his deeds!  His mark was last left in {battleport}.  Speak with the locals there to learn more.  Crush that foul man!" ok="LaRoche will be no more!"/>
                        <pushtask text="Track down and defeat the devious LaRoche near {battleport}!"/>
			<goal type="npccombat" port1="{battleport}" npc="{laroche}" text="Et qui vous est?  Vous n'etes pas digne de ma presence!  Je suis le grand Lebastian SaRoche!  Preparer a mourir, bassement l'ecume!"/>
			<okbox npc="laroche" text="Oh l'humanite!  Mon regne est par-dessus!  Vous m'avez battu le plus honorablement.  Je renverse mon chapeau a vous.  Aujourd'hui est un bon jour pour mourir!" ok="It is a good day to die.  Pour vous."/>
			<addlogentry text="Soundly defeated SaRoche.  Didn't understand a thing he said."/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
                        <get item="gold" amount="50000"/>
			<addlogentry text="Received 50,000 Gold Governor of {startport} for misleading me.  Again."/>
			<okbox npc="guv" text="What a strange mix up!  We thought we had him this time, didn't we?  Ha ha!  Don't look so angry Ignacio.  Of course I didn't mislead intentionally!  Here, will 50,000 gold quiet your concerns?" ok="Le sigh."/>
		</steps>
	</task>
	
	<task level="3" name="Escort the Gypsy Family" reward="Charm of Space" character="custom">
		<variables>
			<port name="startport" filters="here,shipyard"/>
                        <port name="deliverport1" filters="new,visible,governor_access"/>
                        <port name="deliverport2" filters="new,visible,marketplace"/>
                        <port name="deliverport3" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="gypsy" location="{shipstart}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class>
					<race>mulatto</race>
				</filters>
			</npc>
                        <location name="shipstart" port="{startport}" building="shipyard"/>

			<npc name="girl" location="{marketport}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>middle</class>
					<race>mulatto</race>
					<firstname>Malia</firstname>
				</filters>
			</npc>
                        <location name="marketport" port="{deliverport2}" building="marketplace"/>
                        <npc name="guv2" location="{delivermansion}"/>
                        <location name="delivermansion" port="{deliverport1}" building="governor"/>
                        <npc name="bart" location="{aleplace}"/>
                        <location name="aleplace" port="{deliverport3}" building="alehouse"/>
                </variables>

		<steps>
			<okbox npc="guv" text="Captain {player}, a mission of mercy for you.  A family of gypsies is stranded here and needs safe passage.  They've been camping at the Shipyards; please seek them out there." ok="Right away."/>
			<pushtask text="Speak to the gypsies at the Shipyard in {startport}."/>
                        <goal type="talk" npc="{gypsy}" text="Speak to gypsy"/>
                        <get item="alwaysbattle"/>
                        <get item="40gypsies"/>
                        <okbox npc="gypsy" text="My brother Sascha ran afoul of a few pirates in our homeland, and they burned our homes to the ground!  All of us escaped safely, but these two ruffians have been chasing us all over these waters.  The Governor of {deliverport1} is a friend of ours and has promised us safe harbor.  It's such a large favor to ask, I know.  We will take up forty of your cargo space.  But I am sure the Governor will pay you for your trouble!" ok="I shall assist you."/>
                        <poptask num="1"/>
                        <pushtask text="Deliver the gypsy family to {deliverport1}."/>
                        <goal type="talk" npc="{guv2}" text="Deliver the family."/>
                        <okbox npc="girl" text="Waaaaah!  I left my toothbrush in {deliverport2}, and now my teeth are all icky!  Daddy daddy daddy we're going to go get it aren't we aren't we aren't we aren't we..." ok="Hah.  Nice kid.  She's joking, right?"/>
                        <okbox npc="gypsy" text="I'm afraid not.  You don't know little Malia.  We have to go to {deliverport2}, or she will destroy our ears with her incessant wailing in no time flat.  And yes, she'll insist we all go with her." ok="Fine.  But teach her the word NO."/>
                        <pushtask text="Pick up toothbrush at the market in {deliverport2}."/>
                        <goal type="talk" npc="{girl}" text="Pick up toothbrush."/>
			<poptask num="1"/>
                        <okbox npc="girl" text="Yay yay yay my extraspecial orange toothbrush with the funny picture of the Queen painted on the handle!  Daddy, when are we going to get to {deliverport1}?  Are we there yet?  Huh?  Huh?" ok="About time."/>
                        <goal type="talk" npc="{guv2}" text="Deliver the family."/>
                        <okbox npc="girl" text="Waaaaaaaah!  I left Mister Skippy in {deliverport3}!  Oh poor teddy bear!  Oh Mister Skippy!  He'll be so scared and alone!  We have to..." ok="Yes.  Get your bear."/>
                        <pushtask text="Pick up the Teddy Bear in {deliverport3}."/>
                        <goal type="talk" npc="{bart}" text="Pick up teddybear."/>
                        <okbox npc="girl" text="Mister Skippy!  You're safe!  Oh you were so brave!  Daddy, when are we going to {deliverport1}?  Are we there yet?  Huh?" ok="If only we were!"/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the family."/>
                        <get item="space"/>
                        <give item="alwaysbattle"/>
                        <give item="40gypsies"/>
                        <addlogentry text="Escorted the gypsy family and their spoiled daughter safely."/>
                        <addlogentry text="Received the Charm of Space from the Governor of {deliverport1}."/>
                        <okbox npc="guv2" text="Thank you for your extraordinary patience, Captain {player}.  Please accept this Charm of Space as my gift of thanks to you." ok="Not a bad deal."/>
		</steps>
	</task>

		<task level="3" name="Escort the Gypsy Family" reward="Charm of Space" character="verdugo">
		<variables>
			<port name="startport" filters="here,shipyard"/>
                        <port name="deliverport1" filters="new,visible,governor_access"/>
                        <port name="deliverport2" filters="new,visible,marketplace"/>
                        <port name="deliverport3" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

			<npc name="gypsy" location="{shipstart}">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class>
					<race>mulatto</race>
				</filters>
			</npc>
                        <location name="shipstart" port="{startport}" building="shipyard"/>

			<npc name="girl" location="{marketport}">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<headsize>smallhead</headsize>
					<class>middle</class>
                                        <firstname>Malia</firstname>
					<race>mulatto</race>
				</filters>
			</npc>
                        <location name="marketport" port="{deliverport2}" building="marketplace"/>
                        <npc name="guv2" location="{delivermansion}"/>
                        <location name="delivermansion" port="{deliverport1}" building="governor"/>
                        <npc name="bart" location="{aleplace}"/>
                        <location name="aleplace" port="{deliverport3}" building="alehouse"/>
                </variables>

		<steps>
			<okbox npc="guv" text="A mission of mercy for you.  A family of gypsies is stranded here and needs safe passage.  They've been camping at the Shipyards; please seek them out there." ok="Right away."/>
			<pushtask text="Speak to the gypsies at the Shipyard in {startport}."/>
                        <goal type="talk" npc="{gypsy}" text="Speak to gypsy"/>
                        <get item="alwaysbattle"/>
                        <get item="40gypsies"/>
                        <okbox npc="gypsy" text="My brother Sascha ran afoul of a few pirates in our homeland, and they burned our homes to the ground!  All of us escaped safely, but these two ruffians have been chasing us all over these waters.  The Governor of {deliverport1} is a friend of ours and has promised us safe harbor.  It's such a large favor to ask, I know.  We will take up forty of your cargo space.  But I am sure the Governor will pay you for your trouble!" ok="I shall assist you."/>
                        <poptask num="1"/>
                        <pushtask text="Deliver the gypsy family to {deliverport1}."/>
                        <goal type="talk" npc="{guv2}" text="Deliver the family."/>
                        <okbox npc="girl" text="Waaaaah!  I left my toothbrush in {deliverport2}, and now my teeth are all icky!  Daddy daddy daddy we're going to go get it aren't we aren't we aren't we aren't we..." ok="Hah.  Nice kid.  She's joking, right?"/>
                        <okbox npc="gypsy" text="I'm afraid not.  You don't know little Malia.  We have to go to {deliverport2}, or she will destroy our ears with her incessant wailing in no time flat.  And yes, she'll insist we all go with her." ok="Fine.  But teach her the word NO."/>
                        <pushtask text="Pick up toothbrush at the market in {deliverport2}."/>
                        <goal type="talk" npc="{girl}" text="Pick up toothbrush."/>
			<poptask num="1"/>
                        <okbox npc="girl" text="Yay yay yay my extraspecial orange toothbrush with the funny picture of the Queen painted on the handle!  Daddy, when are we going to get to {deliverport1}?  Are we there yet?  Huh?  Huh?" ok="About time."/>
                        <goal type="talk" npc="{guv2}" text="Deliver the family."/>
                        <okbox npc="girl" text="Waaaaaaaah!  I left Mister Skippy in {deliverport3}!  Oh poor teddy bear!  Oh Mister Skippy!  He'll be so scared and alone!  We have to..." ok="Yes.  Get your bear."/>
                        <pushtask text="Pick up the Teddy Bear in {deliverport3}."/>
                        <goal type="talk" npc="{bart}" text="Pick up teddybear."/>
                        <okbox npc="girl" text="Mister Skippy!  You're safe!  Oh you were so brave!  Daddy, when are we going to {deliverport1}?  Are we there yet?  Huh?" ok="If only we were!"/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the family."/>
                        <get item="space"/>
                        <give item="alwaysbattle"/>
                        <give item="40gypsies"/>
                        <addlogentry text="Escorted the gypsy family and their spoiled daughter safely."/>
                        <addlogentry text="Received the Charm of Space from the Governor of {deliverport1}."/>
                        <okbox npc="guv2" text="Thank you for your extraordinary patience, Captain.  Please accept this Charm of Space as my gift of thanks to you." ok="Not a bad deal."/>
		</steps>
	</task>


	<task level="3" name="A Pirate Bounty" reward="100,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="infoport" filters="new,visible,bank"/>
                        <port name="bobport" filters="new,visible,marketplace"/>
			<npc name="dirtybob" location="{marketbobport}">
				<filters>
					<reserved>none</reserved>
					<class>upperpirate</class>
					<sex>male</sex>
				</filters>
			</npc>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="banker" location="{bankerinfoport}"/>
			<location name="bankerinfoport" port="{infoport}" building="bank"/>
			<location name="marketbobport" port="{bobport}" building="marketplace"/>
		</variables>

		<steps>
			<okbox npc="guv" text="The commerce of this fair port has been devastated by a single man: {dirtybob}.  He is bent on ruining me.  My merchant fleet is in ruins, and he is threatening to lay siege to our city!  I must act quickly to defend our interests.  Please serve as my agent in this matter.  A good place to start looking for him would be {infoport}." ok="It shall be done."/>
			<pushtask text="Claim your Reward in {startport}"/>
                        <pushtask text="Defeat the Pirate {dirtybob}"/>
			<pushtask text="Go to {infoport} to Discover the Location of {dirtybob}"/>
			<goal type="talk" npc="{banker}" text="Ask about Pirates"/>
                        <okbox npc="banker" text="Care to hear a dirty little secret?  The Governor of {bobport} has been sponsoring {dirtybob}'s assaults on {startport}!  He is trying to remake {bobport} into a great city, and wants no competition.  If I were you, I would journey there.  You're likely to meet the pirate himself." ok="I will."/>
                        <poptask num="1"/>
			<pushtask text="Head to {bobport} to Find the Pirate"/>
                        <makehostile port="{bobport}"/>
                        <goal type="talk" npc="{dirtybob}" text="Approach the Pirate"/>
                        <okbox npc="dirtybob" text="So you know my secret.  Little good it will do ye!  There's naught you can do to touch me in me safe harbor here.  When we meet again, 'twill be on the high seas.  And that day shall be your last, Captain." ok="We shall see."/>
                        <poptask num="1"/>
                        <goal type="npccombat" port1="{bobport}" npc="{dirtybob}" text="I promised ye would not survive our next encounter.  And in these matters, I'm true to me word.  Prepare to have yer gizzard skewered, ye scurvy bilge rat!"/>
			<poptask num="1"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<get item="gold" amount="100000"/>
			<addlogentry text="Received 100,000 gold from the Governor of {startport}."/>
			<okbox npc="guv" text="Huzzah!  Victory is ours!  Please accept this 100,000 in gold for your valor." ok="Thank you."/>

		</steps>
	</task>

        <task level="3" name="Amulet of Werdna" reward="Mr. Scott Bernstein">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="gemport" filters="new,visible,shipyard"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="shippy" location="{shipyardgemport}"/>
			<location name="shipyardgemport" port="{gemport}" building="shipyard"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Oh, how humiliating.  I had a bit much to drink last week in the Alehouse and tried to lift a rather large serving wench.  My back has given me no end of pain since!  The local mystic tells me that a certain Amulet of Werdna is just the thing to soothe my aches.  It was last spotted in {gemport}.  Bring it here and I'll release my first mate Scott Bernstein into your services, dear Captain." ok="Right away, sir."/>
			<pushtask text="Deliver the Amulet of Werdna to {startport}"/>
			<pushtask text="Acquire the Amulet of Werdna in {gemport}"/>
			<goal type="talk" npc="{shippy}" text="The Amulet of Werdna?"/>
			<okbox npc="shippy" text="Aye, I have the Amulet of Werdna.  'Twas just the thing after I tried to carry me sweet Anna over the threshold on our wedding night.  It is yours for the asking - plus 10 crates of arms to kit out me new ship." ok="Ok, I'll be back shortly."/>
			<poptask num="1"/>
			<pushtask text="Give the Shipwright in {gemport} 10 Crates of Arms"/>
			<goal type="have" good="arms" amount="10"/>
			<give item="arms" amount="10"/>
			<get item="tenarms"/>
			<addlogentry text="Transferred 10 crates of arms into a special"/>
			<addlogentry text="crate for the shipwright in {gemport}."/>
                        <goal type="talk" npc="{shippy}" text="Deliver the Arms"/>
			<give item="tenarms"/>
			<get item="amuletwerdna"/>
			<okbox npc="shippy" text="Excellent, Captain.  Here's the Amulet of Werdna.  Use it in good health!" ok="Thanks!"/>
			<poptask num="1"/>
			<goal type="talk" npc="{guv}" text="Deliver the Amulet of Werdna."/>
			<poptask num="1"/>
			<get item="firstmate"/>
			<give item="amuletwerdna"/>
			<addlogentry text="Mr. Scott Bernstein the first mate has joined your crew!"/>
			<addlogentry text="The Governor of {startport}'s back is now feeling much better."/>
			<okbox npc="guv" text="Oh!  Look!  I'm on my feet already, thanks to you, kind Captain!  Here is Scott Bernstein, my first mate enlisted into your services." ok="Thank you, Governor."/>
		</steps>
	</task>

	<task level="3" name="The Master Carpenter" reward="Unknown">
		<variables>
			<port name="startport" filters="here,shipyard"/>
                        <port name="traderport" filters="new,visible,trader"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="carpenter" location="{shipstart}">
                             <filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
			<location name="shipstart" port="{startport}" building="shipyard"/>
                        <npc name="tradeguy" location="{tradeplace}"/>
			<location name="tradeplace" port="{traderport}" building="trader"/>

		</variables>

		<steps>
			<okbox npc="guv" text="I've nothing much doing right now, but if you'll visit the Shipyards, I think you'll find the Master Carpenter in need of your services." ok="Right away."/>
			<pushtask text="Speak to the carpenter in {startport}'s shipyard."/>
                        <goal type="talk" npc="{carpenter}" text="Speak to the Carpenter"/>
                        <okbox npc="carpenter" text="Cough, cough.  Oh.  'ello.  I've been a bit poorly recently, as I suppose you can tell.  Some sort of blasted head cold, handkerchief's soaked constantly.  Tried everything, but ''ad no luck.  Not even the leeches are helping!" ok="What do you need?"/>
                        <okbox npc="carpenter" text="They say the Trader in {traderport} can make a medicine that will instantly heal a sick man such as meself.  It seems the ingredients for this stuff are a bit ''ard to come by, though.  But I'd do anything to get rid of this curse.  Fix me up with some of that medicine, and I'll rebuild your hull to increase your cargo space." ok="Deal."/>
                        <poptask num="1"/>
                        <pushtask text="Give medicine to carpenter in {startport}."/>
                        <pushtask text="Get medicine from the Trader in {traderport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Ask about medicine"/>
                        <okbox npc="tradeguy" text="Medicine for a head cold, eh?  No problem, but I'll need a few things.  Run along to the market and get me five crates of fish, then come back." ok="Sure."/>
                        <pushtask text="Give Five Fresh Fish to the Trader in {traderport}."/>
                        <goal type="have" good="fish" amount="5"/>
                        <give item="fish" amount="5"/>
                        <get item="fivefish"/>
                        <addlogentry text="Transferred 5 crates of fish into a special"/>
                        <addlogentry text="crate for the Trader in {traderport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Hand over the fish"/>
                        <okbox npc="tradeguy" text="Well done.  Next, I'll be needing ten crates of cocoa.  Think you can manage that?" ok="You're the doctor.  Err, trader."/>
                        <give item="fivefish"/>
                        <poptask num="1"/>
                        <pushtask text="Give ten cocoa crates to the Trader in {traderport}."/>
                        <goal type="have" good="cocoa" amount="10"/>
                        <give item="cocoa" amount="10"/>
                        <get item="tencocoa"/>
                        <addlogentry text="Transferred 10 crates of cocoa into a special"/>
                        <addlogentry text="crate for the Trader in {traderport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Hand over the Cocoa"/>
                        <okbox npc="tradeguy" text="Great!  Almost done.  Now for the last item I require:  two crates of sugar.  Got it?" ok="I'm on it."/>
                        <give item="tencocoa"/>
                        <poptask num="1"/>
                        <pushtask text="Give two sugar crates to the Trader in {traderport}."/>
                        <goal type="have" good="sugar" amount="2"/>
                        <give item="sugar" amount="2"/>
			<get item="twosugar"/>
                        <addlogentry text="Transferred 2 crates of sugar into a special"/>
                        <addlogentry text="crate for the Trader in {traderport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Hand over the Sugar"/>
                        <okbox npc="tradeguy" text="Bravo!  Dinner is prepared!  Care to join me for a nice seafood dinner and a cup of hot cocoa?" ok="Don't you need those for the medicine?"/>
                        <give item="twosugar"/>
                        <poptask num="2"/>
                        <okbox npc="tradeguy" text="What?  Oh, no, here.  Have a parcel full.  I've got dozens.  I was just hungry.  Sure you won't stay?" ok="Must...  not...  draw...  cutlass."/>
                        <get item="medicine"/>
                        <goal type="talk" npc="{carpenter}" text="Deliver the Medicine"/>
                        <give item="medicine"/>
                        <get item="mastercarpenter"/>
                       	<addlogentry text="You've healed the Master Carpenter with Medicine."/>
                        <addlogentry text="The Master Carpenter has joined your crew."/>
                        <okbox npc="carpenter" text="My medicine!  I feel like I could rebuild a whole ship's hull!  Oh, I guess I will be doing that.  I'm so grateful to you, though!  You deserve more.  Not only shall I increase the cargo space of your current ship, but I will also join your crew. Whenever you purchase a new ship, I will make sure to work on the hull and increase your cargo space." ok="Great!"/>
		</steps>
	</task>

        <task level="2" name="Rescue the Princess Buttercup" reward="Map" levelup="true">
		<variables>
			<port name="startport" filters="here"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="princessport" filters="new,visible,alehouse"/>
			<port name="newport" filters="hidden"/>
                        <port name="accessport" filters="new,visible,no_governor_access"/>


                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="bart" location="{infotavern}"/>
			<location name="infotavern" port="{infoport}" building="alehouse"/>
                        <npc name="bart2" location="{ptavern}"/>
			<location name="ptavern" port="{princessport}" building="alehouse"/>
                </variables>

		<steps>
			<okbox npc="guv" text="That little hellion Princess Buttercup has gone missing.  Good riddance I say, but the king is keen to have her back.  What say you to retrieving the wench, so the belching contests in the Alehouse may recommence?  I suppose I can give you a map to {newport} as a reward.  The wee darling was last seen in {infoport}." ok="Right away."/>
			<unlockship type="next"/>
                        <pushtask text="Return Princess Buttercup to the Governor of {startport}"/>
			<pushtask text="Find Information in {infoport} about Princess Buttercup"/>
			<goal type="talk" npc="{bart}" text="Ask about Princess Buttercup"/>
                        <okbox npc="bart" text="Aye, the little darlin' was here.  When the rum ran out, so did Buttercup.  Ye'd be doing us all a favor, you would, takin' her back to her dear father - I'm not sure if she was kidnapped by brigands, or the other way round, savvy?  Ye didn't hear it from me, but rumor is she's now laying waste to {princessport}." ok="Thanks."/>
			<poptask num="1"/>
			<pushtask text="Rescue the Princess in {princessport}"/>
			<makehostile port="{princessport}"/>
                        <goal type="talk" npc="{bart2}" text="Ask about Princess Buttercup"/>
                        <okbox npc="bart2" text="Praise be, some fool has come to rescue the wench!  We surrender - for the love of Neptune, just take her home!" ok="Will do."/>
			<poptask num="1"/>
			<get item="buttercup"/>
			<goal type="talk" npc="{guv}" text="Return the Princess Buttercup"/>
                        <give item="buttercup"/>
			
			<poptask num="1"/>
			<tasklevel level="3"/>
                        <accessgovernor port="{accessport}"/>
			<reveal port="{newport}"/>
			<addlogentry text="Received a Map to {newport} from the Governor of {startport}."/>
                        <addlogentry text="You now have access to the Governor of {accessport}."/>
                        <okbox npc="guv" text="Buttercup?  Good heavens, I didn't think you'd actually find her.  Well, I suppose I've brought this upon myself.  Here is the map to {newport} I promised you.  I shall ask the tavern keeper to hide the breakables and open the windows wide.  Should she go missing again, let's leave well enough alone, shall we?  Oh, before I forget, the Governor of {accessport} would like a word with you.  Good Day." ok="Good Day."/>
                        <unlockgood type="tobacco"/>
                </steps>
	</task>

	<task level="2" name="Capture LaRoche!" reward="50,000 Gold" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<port name="battleport2" filters="new,visible"/>
			<npc name="laroche">
				<filters>
                        <reserved>laroche</reserved>   
				<nickname>NONE</nickname>
				        <firstname>Sebastian</firstname>
				        <surname>LaRoche</surname>
				        <title>Captain</title>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="I have news of LaRoche for you, Ignacio.  Word is that he is preying on ships between {battleport} and {battleport2}.  I know LaRoche wronged you terribly; I hope you can use this information to bring defeat to that cur and peace to your own heart.  Go quickly and destroy his fleet!" ok="In the name of my father!"/>
			<pushtask text="Defeat {laroche} between {battleport} and {battleport2}"/>
			<goal type="npccombat" port1="{battleport}" port2="{battleport2}"npc="{laroche}" text="Yes, yes, yes.  I know you're Ignacio Verdugo, and I recall quite plainly that I killed your father.  We have been over this.  You should...  how you say, get over it?  I have killed many fathers, many sons.  And because you are so foolishly persistent in tracking me, you shall join their ranks today!"/>
			<okbox npc="laroche" text="My fleet!  Sacre bleu, my fleet!  Verdugo, you were but an annoyance before.  But now you have enraged me!  I shall seek you out one day, dear Captain, and we shall see who has their revenge!" ok="Someday you shall beg for your life!"/>
			<addlogentry text="Destroyed LaRoche's ship but LaRoche safely escaped!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
                        <get item="gold" amount="25000"/>
			<addlogentry text="Received 25,000 Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="I'm so sorry you were unable to deal the killing blow to LaRoche, Ignacio.  But that time will come, and you honored your father's memory well.  You have succeeded where my best men have not!  Here's half the bounty.  I think it is a fitting reward for your efforts." ok="My greatest reward lies ahead."/>
		</steps>
	</task>

        <task level="2" name="Capture LaRoche!" reward="50,000 Gold" character="custom">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<port name="battleport2" filters="new,visible"/>
			<npc name="laroche">
				<filters>
                        <reserved>laroche</reserved>
				<nickname>NONE</nickname>
				        <firstname>Sebastian</firstname>
				        <surname>LaRoche</surname>
				        <title>Captain</title>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="I have news of LaRoche.  Word is that he is preying on ships between {battleport} and {battleport2}.  I know you have never met LaRoche but believe me {player.firstname} this scurge must be punished!  Go quickly and destroy his fleet!" ok="By your command!"/>
			<pushtask text="Defeat {laroche} between {battleport} and {battleport2}"/>
			<goal type="npccombat" port1="{battleport}" port2="{battleport2}"npc="{laroche}" text="Yes, yes, yes.  Captain {player} I have heard of your accomplishments and victories.  But none of the tales spoke of your foolishness to cross the path of Sebastian LaRoche.  Today you shall die!"/>
			<okbox npc="laroche" text="My fleet!  Sacre bleu, my fleet!  {player.lastname} you have enraged me!  I shall seek you out one day, dear Captain, and you shall know my true wrath!" ok="Someday you shall beg for your life!"/>
			<addlogentry text="Destroyed LaRoche's ship but LaRoche safely escaped!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
                        <get item="gold" amount="25000"/>
			<addlogentry text="Received 25,000 Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="I'm so sorry you were unable to deal the killing blow to LaRoche, {player.firstname}.  But that time will come.  You have succeeded where my best men have not!  Here's half the bounty.  I think it is a fitting reward for your efforts." ok="Very well."/>
		</steps>
	</task>


	<task level="2" name="The Necklace of Courage" reward="50,000 gold" character="custom">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bankport" filters="new,visible,bank"/>
			<port name="aleport" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="banker" location="{bank}"/>
			<location name="bank" port="{bankport}" building="bank"/>

                        <npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>


		</variables>

		<steps>
			<okbox npc="guv" text="Thank you for coming, {player.lastname}.  I'm facing re-election soon, and the people are questioning whether I have the courage to discharge the duties of this office.  You see, the last time we had a pirate raid here, well, let's just say I had to purchase several new pairs of trousers.  The Necklace of Courage would be just the thing for me.  I hear it can be obtained from the Banker at {bankport}.  Will you please do me the favor of purchasing it and bringing it to me?." ok="Right away."/>
                        <pushtask text="Give the Governor of {startport} the Necklace of Courage"/>
                        <pushtask text="Purchase the Necklace of Courage from the Banker of {bankport}."/>
                        <goal type="talk" npc="{banker}" text="Ask about Necklace"/>
			<okbox npc="banker" text="Ah yes, you're here about our special Necklace of Courage introductory new account offer.  For a limited time, just deposit 10,000 gold with us, and you get a free Necklace of Courage, and a commemorative beer stein to boot!" ok="Fine."/>
                        <poptask num="1"/>
                        <pushtask text="Deposit 10,000 gold in {bankport} in exchange for the Necklace of Courage."/>
                        <goal type="deposit" amount="10000" port="{bankport}"/>
                        <okbox npc="banker" text="Thank you for the deposit.  Here's your very own Necklace of Courage!  Oh, hang on.  No, I don't know how that MADE IN CHINA tag got there.  No harm done.  Enjoy it, oh brave one!" ok="Mwahahaha!"/>
                        <poptask num="1"/>
                        <get item="courage"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Necklace"/>
                        <poptask num="1"/>
			<okbox npc="guv" text="Could it be?  The Necklace of Courage!  It's marvelous!  It's astounding!  It's...  really smelly.  What is that stench?  Garlic?  A bar rag?  Wait! There's a tag on the Necklace.  CURSED IN CHINA.  CURSED?!?  On second thought, being a cowardly bed-wetter isn't so bad.  You can keep it." ok="CURSED?  Shoot."/>
			<addlogentry text="The Governor of {startport} gives you the Necklace of Courage."/>
                        <addlogentry text="The Necklace of Courage is cursed!  Each time you sail pirates"/>
                        <addlogentry text="will attack your ship.  The Necklace also emits a bad odor like"/>
                        <addlogentry text="rotten garlic.  Try to get rid of it in an Alehouse!"/>
                        <pushtask text="Get rid of the Necklace of Courage in an Alehouse."/>
                        <goal type="talk" npc="{bart}" text="Give the Necklace"/>
                        <poptask num="1"/>
                        <give item="courage"/>
                        <get item="strength"/>
                        <okbox npc="bart" text="Ah, it's one of them there Necklaces of Courage!  Well, I guess if you have to face pirates every time you sail with it, you'll screw up your courage in no time.  Sure, I'll take it.  I need something to chase out the drunkards who make trouble in here.  Here's something you can use, instead:  the Charm of Strength.  It will improve the hull strength of your ship!" ok="That's a fair deal."/>
                        </steps>
	</task>

	  <task level="2" name="Rescue my wife!" reward="Charm of Strength" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible"/>
                        <port name="battleport" filters="new,visible,no_governor_access"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>
                         <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
                        <npc name="wife">
				<filters>
					<reserved>none</reserved>
					<sex>female</sex>
					<class>upper</class>
					<headsize>bighead</headsize>
				</filters>
			</npc>

                </variables>

		<steps>
			<okbox npc="guv" text="Tragedy, Ignacio!  My beautiful wife {wife} caught the eye of the pirate {pirate}.  He has kidnapped her!  My soldiers could not protect her, but they did learn that {pirate} was planning on making a stop in {battleport} soon.  Please, go there with all haste and free my wife!" ok="Will do."/>
                        <pushtask text="Return to {startport} with {wife}."/>
                        <pushtask text="Rescue {wife} in {battleport}."/>
                        <makehostile port="{battleport}"/>
                        <accessgovernor port="{battleport}"/>
                        <goal type="talk" npc="{guv2}" text="Where's the Governor's wife?"/>
                        <poptask num="1"/>
                        <okbox npc="guv2" text="Captain Verdugo!  You're just in time!  You've saved my fair port from the murderous {pirate}.  The Governor's wife?  Yes, he did have a fair lady with him, but I fear that he made her escape with her." ok="Where did he take her?"/>
                        <okbox npc="guv2" text="I'm not certain, but I overheard his crew mentioning {otherport}.  They might be heading in that direction." ok="Thanks."/>
                        <pushtask text="Head to {otherport} to rescue the Governor's wife."/>
                        <goal type="npccombat" npc="{pirate}" port1="otherport" text="The fair {wife} is mine!  Get your own date, Verdugo!  My cannon shall answer your foolish demands!"/>
                        <okbox npc="wife" text="Captain Verdugo!  What have you done?  You've disposed of my lover!  What will I do?  My husband's idea of a wild time is going to bed a half hour past his bedtime.  Ah, but now I have no choice but to return to him.  But hey, you know, you're kind of cute..." ok="Let us get you home, dear lady."/>
                        <get item="wife"/>
                        <poptask num="1"/>
                        <addlogentry text="Rescued the {guv}'s wife {wife}."/>
                        <addlogentry text="{wife} seemed reluctant to return home."/>
                        <goal type="talk" npc="{guv}" text="Return his wife."/>
                        <give item="wife"/>
                        <get item="strength"/>
                        <addlogentry text="Received Charm of Strength from the Governor of {startport}."/>
                        <okbox npc="guv" text="Darling!  You're safe!  We shall celebrate wildly tonight, devil may care, perhaps as much as an hour after sundown!  My eternal gratitude, Captain.  Here is the Charm of Strength as I promised you.  Now darling, where were we?  Darling?  Captain, did you see where my wife went?" ok="I'll just be going now."/>
		</steps>
	</task>
	
	<task level="2" name="Steal Candy!" reward="100,000 Gold" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="battleport1" filters="new,visible"/>
                        <port name="battleport2" filters="new,visible"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="verdugo">
			<filters>
				<nickname>NONE</nickname>
				<firstname>Ignacio</firstname>
				<title>Captain</title>
				<surname>Verdugo</surname>
				<reserved>verdugo</reserved>
			</filters>
			</npc>
		</variables>
		<steps>
			<okbox npc="guv" text="Captain LaRoche?  I have a favor to ask of you.  For the past few months my wife has been pestering for a taste of Bermuda Chocolate.  David Adams has a monopoly over Bermuda Chocolate and simply refuses to do any trade with {startport}.  My wife, the chocolate fiend, has threatened to leave me unless I obtain Bermuda Chocolate.  Adams is no Pirate and defeating him should be like... pardon the expression, taking candy from a baby. Look for him between the ports of {battleport1} and {battleport2}.  100,000 Gold for your help in this matter Captain!" ok="Candy from a baby?  Sounds fun."/>
                        <pushtask text="Claim your Reward from the Governor in {startport}."/>
                        <pushtask text="Steal Chocolate from the Merchant David Adams between {battleport1} and {battleport2}."/>
                        <goal type="npccombat" npc="{verdugo}" port1="{battleport1}" port2="{battleport2}" text="I knew you couldn't resist the idea of stealing candy from a baby LaRoche.  You are rotten to the core senor.  You shall no longer steal anything from the innocent.  My name is Ignacio Verdugo.  You killed my father.  Prepare to Die!"/>
                        <okbox npc="verdugo" text="LaRoche!  This is not over!  We shall meet again!  And you will hear my speech:  Hello!  My name is Ignacio Verdugo.  You killed my father!  Prepare to Die!" ok="Stop saying that!"/>
                        <poptask num="2"/>
                        <pushtask text="Confront the Governor of {startport} for ambushing you."/>
                        <makehostile port="{startport}"/>
                        <goal type="talk" npc="{guv}" text="How dare you betray me!"/>
                        <get item="gold" amount="100000"/>
			<addlogentry text="Recieved 100,000 Gold from the Governor of {startport}."/>
			<poptask num="1"/>
                        <okbox npc="guv" text="Captain Verdugo paid me a large sum of money to get rid of you.  I was also hoping to win the favor of the other Caribbean Governors.  But I beg you! Please spare me and my city!  Here is the 100,000 Gold I promised you! Take it and go." ok="Do not betray me again!"/>
                        </steps>
	</task>

	<task level="2" name="The Ring of Good Fortune" reward="Charm of Strength" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="aleport" filters="new,visible,alehouse"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
                        <port name="battleport1" filters="new,visible"/>
                        <port name="battleport2" filters="new,visible"/>

                        <npc name="guv" location="{startmansion}"/>
                        <location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="bart" location="{ale}"/>
                        <location name="ale" port="{aleport}" building="alehouse"/>

                        <npc name="shippy" location="{ship}"/>
                        <location name="ship" port="{shipport}" building="shipyard"/>


                        <npc name="mcgowan">
				<filters>
				<firstname>Christine</firstname>
                                <reserved>mcgowan</reserved>
				<surname>McGowan</surname>
                                <title>Captain</title>
                                </filters>
			</npc>

                </variables>

		<steps>
		<okbox npc="guv" text="Have you heard of the Ring of Fortune?  The wearer of this magical ring receives the favor of the bank.  You may have no use for such a thing, LaRoche, but I do.  And since you can't use it yourself, I trust you to fetch it for me.  It's been in the family of one Christine McGowan for years.  The girl has run off to try her luck on the seas, and she has the ring with her.  You should be able to ask questions about her current location in {aleport}.  Have you any objections to blowing an innocent young girl out of the water and stealing her family heirlooms from the wreckage?" ok="Sounds delightful!"/>
                <pushtask text="Deliver the Ring to the Governor in {startport}."/>
                <pushtask text="Steal the Ring of Good Fortune from {mcgowan}."/>
                <pushtask text="Find information about {mcgowan} in {aleport}."/>
                <goal type="talk" npc="{bart}" text="Ask about Christine McGowan."/>
                <okbox npc="bart" text="Christine McGowan?  Young, attractive, quick with a sword, likes her mead with a lemon wedge?  Sorry, Captain LaRoche, I've never heard of her." ok="I will cut YOU like a lemon wedge!"/>
                <okbox npc="bart" text="Ack!  Not polite to point!  Put it down!  Look, I really don't know where she is! The shipwright {shippy} in {shipport} can tell you her location!!  Let me go!" ok="Mwahahaha!"/>
                <poptask num="1"/>
                <pushtask text="Find information about {mcgowan} in {shipport}."/>
                <goal type="talk" npc="{shippy}" text="Where is McGowan?"/>
                <okbox npc="shippy" text="Christine McGowan?  The daring young Captain who was trained by Sir Stephen the Silent?  Never heard of her." ok="No more Mister Nice Pirate!"/>
                <okbox npc="shippy" text="Fine...  fine!  Please, stop stabbing me!  You'll find Christine McGowan on the route between {battleport1} and {battleport2}.  Forgive me, Miss McGowan!" ok="At last!"/>
                <poptask num="1"/>
                <pushtask text="Battle {mcgowan} on the route between {battleport1} and {battleport2}."/>
                <goal type="npccombat" npc="{mcgowan}" port1="{battleport1}" port2="{battleport2}" text="Call stations!  The dread pirate Sebastian LaRoche approaches!  We shall dispatch this ruffian with all haste!"/>
                <okbox npc="mcgowan" text="There is no glory for you in this victory, LaRoche.  Someday I shall hunt you down, and we'll see which side fortune favors then!  Take the ring if you must.  Its power is useless to you!" ok="You have a lot to learn, little girl."/>
                <addlogentry text="Retrieved the Banker's Ring from Christine McGowan."/>
                <get item="specialinterest"/>
                <poptask num="2"/>
                <goal type="talk" npc="{guv}" text="Deliver the Ring."/>
                <poptask num="1"/>
                <give item="specialinterest"/>
                <get item="strength"/>
                <addlogentry text="Received the Charm of Strength from the Governor of {startport}."/>
                <okbox npc="guv" text="Ah!  I do so prefer the company of rogues such as you to that of honest men.  I get far better bargains in trade.  Thank you for the ring.  And as a reward, please accept this Charm of Strength.  I look forward to doing business with you again, Captain." ok="A pleasure."/>
                </steps>
	</task>

	<task level="2" name="The Necklace of Courage" reward="50,000 gold" character="vangregor">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bankport" filters="new,visible,bank"/>
			<port name="aleport" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="banker" location="{bank}"/>
			<location name="bank" port="{bankport}" building="bank"/>

                        <npc name="bart" location="{ale}"/>
			<location name="ale" port="{aleport}" building="alehouse"/>


		</variables>

		<steps>
			<okbox npc="guv" text="Thank you for coming, Van Gregor.  I'm facing re-election soon, and the people are questioning whether I have the courage to discharge the duties of this office.  You see, the last time we had a pirate raid here, well, let's just say I had to purchase several new pairs of trousers.  The Necklace of Courage would be just the thing for me.  I hear it can be obtained from the Banker at {bankport}.  Will you please do me the favor of purchasing it and bringing it to me?." ok="Right away."/>
                        <pushtask text="Give the Governor of {startport} the Necklace of Courage"/>
                        <pushtask text="Purchase the Necklace of Courage from the Banker of {bankport}."/>
                        <goal type="talk" npc="{banker}" text="Ask about Necklace"/>
			<okbox npc="banker" text="Ah yes, you're here about our special Necklace of Courage introductory new account offer.  For a limited time, just deposit 10,000 gold with us, and you get a free Necklace of Courage, and a commemorative beer stein to boot!" ok="Fine."/>
                        <poptask num="1"/>
                        <pushtask text="Deposit 10,000 gold in {bankport} in exchange for the Necklace of Courage."/>
                        <goal type="deposit" amount="10000" port="{bankport}"/>
                        <okbox npc="banker" text="Thank you for the deposit.  Here's your very own Necklace of Courage!  Oh, hang on.  No, I don't know how that MADE IN CHINA tag got there.  No harm done.  Enjoy it, oh brave one!" ok="Mwahahaha!"/>
                        <poptask num="1"/>
                        <get item="courage"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Necklace"/>
                        <poptask num="1"/>
			<okbox npc="guv" text="Could it be?  The Necklace of Courage!  It's marvelous!  It's astounding!  It's...  really smelly.  What is that stench?  Garlic?  A bar rag?  Wait! There's a tag on the Necklace.  Cursed in China.  CURSED?!?  On second thought, being a cowardly bed-wetter isn't so bad.  You can keep it." ok="CURSED?  Shoot."/>
			<addlogentry text="The Governor of {startport} gives you the Necklace of Courage."/>
                        <addlogentry text="The Necklace of Courage is cursed!  Each time you sail pirates"/>
                        <addlogentry text="will attack your ship.  The Necklace also emits a bad odor like"/>
                        <addlogentry text="rotten garlic.  Try to get rid of it in an Alehouse!"/>
                        <pushtask text="Get rid of the Necklace of Courage in an Alehouse."/>
                        <goal type="talk" npc="{bart}" text="Give the Necklace"/>
                        <poptask num="1"/>
                        <give item="courage"/>
                        <get item="strength"/>
                        <okbox npc="bart" text="Ah, it's one of them there Necklaces of Courage!  Well, I guess if you have to face pirates every time you sail with it, you'll screw up your courage in no time.  Sure, I'll take it.  I need something to chase out the drunkards who make trouble in here.  Here's something you can use, instead:  the Charm of Strength.  It will improve the hull strength of your ship!" ok="That's a fair deal."/>
                        </steps>
	</task>


        <task level="2" name="The Charm of Strength" reward="50,000 gold" character="azul">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bankport" filters="new,visible,bank"/>
			<port name="bankport2" filters="new,visible,bank"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="banker" location="{bank}"/>
			<location name="bank" port="{bankport}" building="bank"/>

                        <npc name="banker2" location="{bank2}"/>
			<location name="bank2" port="{bankport2}" building="bank"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Have you heard tell of the Charm of Strength, Adia?  It's a magical device that strengthens the hull of its owner's ship.  I imagine you'd like to get your hands on it.  Check with the Banker in {bankport} if you're interested; I think he has some information as to its location." ok="Right away."/>
                        <pushtask text="Give the Governor of {startport} the Charm of Strength"/>
			<pushtask text="Recover the Charm of Strength."/>
                        <pushtask text="Speak with the Banker of {bankport}."/>
                        <goal type="talk" npc="{banker}" text="Ask about Charm"/>
			<okbox npc="banker" text="Ah, you're wanting our special new depositor deal!  That's right, dear lady, today you can deposit 10,000 in gold here, and in return get exclusive - that's right, EXCLUSIVE - knowledge of the location of the Charm of Strength.  Do we understand each other?" ok="Fine."/>
                        <poptask num="1"/>
                        <pushtask text="Deposit 10,000 gold in {bankport} in exchange for the location of the Charm of Strength."/>
                        <goal type="deposit" amount="10000" port="{bankport}"/>
                        <okbox npc="banker" text="Pleasure doing business with you, Captain Azul.  You'll find the Charm of Strength in {bankport2}.  Speak to the banker." ok="Thanks."/>
                        <poptask num="1"/>
                        <pushtask text="Find the Charm of Strength in {bankport2}."/>
                        <goal type="talk" npc="{banker2}" text="Ask about Charm."/>
                        <okbox npc="banker2" text="Ah, you're wanted our special ''Say Goodbye to Your Old Bank'' deal.  That's right, dear lady, withdraw 10,000 in gold from the horrible, disreputable Bank in {bankport} and deposit the 10,000 here.  And as a special thank you for displaying a total lack of brand loyalty, I'll give you the handy dandy Charm of Strength.  Do we understand each other?" ok="Were you a pirate in a former life?"/>
                        <poptask num="1"/>
                        <pushtask text="Deposit 10,000 gold in {bankport2} in exchange for the Charm of Strength."/>
                        <pushtask text="Withdraw 10,000 gold from the Bank in {bankport}."/>
                        <goal type="withdraw" amount="10000" port="{bankport}"/>
                        <okbox npc="banker" text="But wait!  I have a free subscription to Corsair's Weekly!  A commemorative lice comb!  Wait!" ok="Tempting.  But no."/>
                        <poptask num="1"/>
                        <goal type="npccombat" port1="{bankport2}" npc="{banker}" text="I SAID not to make a withdrawal!  You'll regret that choice!  You thought I was just a mere banker?  I can do the pirate thing too!  Harrrr!  You shouldn't have taken that 10,000 gold out.  It wasn't right.  Not right.  Nope.  N-now you'll regret it!  Heh heh heh.  Haaaaaa ha ha ha!"/>
                        <okbox npc="banker" text="Heh heh heh heh.  I won!  I WON!  I...  I...  I'm sinking...  Why am I sinking?  Something's wrong." ok="Go home.  Get some sleep."/>
                        <goal type="deposit" amount="10000" port="{bankport2}"/>
                        <okbox npc="banker2" text="Ah, the warm feeling of underhanded business practices.  You bring a tear of happiness to my eye.  Here's your Charm of Strength." ok="I feel kind of dirty now."/>
                        <poptask num="2"/>
                        <get item="strength"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Charm"/>
			<poptask num="1"/>
			<addlogentry text="The Governor of {startport} destroyed his ship while drinking."/>
                        <addlogentry text="The Governor lets you keep the Charm of Strength."/>
                        <okbox npc="guv" text="Huzzah!  The Charm of Strength!  How happy I would be to own this...  if I hadn't sailed my ship into a reef yesterday after a bit too much rum.  Well, my loss is your gain, Captain.  Since I no longer need it, the Charm of Strength is all yours." ok="Excellent!"/>
		</steps>
	</task>

	        <task level="2" name="Shopping for cotton" reward="Charm of Strength" character="mcgowan">
		<variables>
			<port name="startport" filters="here"/>
			<port name="cottonport" filters="new,visible"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="andrew" location="{cottonmarket}">
                             <filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>

                        <location name="cottonmarket" port="{cottonport}" building="marketplace"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Please excuse the barrel I'm wearing, nothing to be done about it.  While I was taking my yearly bath last week, thieves broke into my mansion and stole every last thread of clothing I owned -save for this shirt!  Never bathe, Captain.  Nasty habit.  I find myself in need of cotton for a new wardrobe.  Could you please head to {cottonport} and purchase ten crates of cotton?  You'll need to speak to {andrew} first." ok="Right away."/>
                        <pushtask text="Speak to {andrew} at {cottonport}."/>
			<makehostile port="{cottonport}"/>
                        <goal type="talk" npc="{andrew}" text="Ask about Cotton."/>
			<okbox npc="andrew" text="What excellent timing you have!  Those thieving pirates were casting an envious eye on my waistcoat.  You've saved my couture!" ok="I'm here for cotton."/>
			<okbox npc="andrew" text="What?  You are not here to rescue us?  Ten crates you say?  Ah, the Governor took his yearly bath again, I wager.  They get him every year.  Nasty habit, that bathing.  Go ahead, buy ten crates.  I'll make sure you get the best {cottonport} has to offer." ok="Thanks."/>
			<poptask num="1"/>
			<pushtask text="Deliver ten crates of cotton to the Governor in {startport}"/>
			<pushtask text="Purchase 10 crates of Cotton at {cottonport}."/>
                        <goal type="buy" good="cotton" amount="10" port="{cottonport}"/>
			<give item="cotton" amount="10"/>
			<get item="tencotton"/>
			<poptask num="1"/>
			<addlogentry text="Transferred 10 Crates of {cottonport} cotton into a"/>
			<addlogentry text="special crate for the Governor of {startport}."/>
                        <goal type="talk" npc="{guv}" text="Deliver the Cotton"/>
			<poptask num="1"/>
			<give item="tencotton"/>
			<get item="strength"/>
			<addlogentry text="Received the Charm of Strength from the Governor of {startport}."/>
			<okbox npc="guv" text="At last, no more splinters from this barrel!  Thank you so much for the cotton.  As promised, here's your Charm of Strength.  You'll find that your ship's hull is significantly stronger now.  Hmmm...  perhaps next year I shall bathe with my clothes on, just in case." ok="Watch out for shrinkage."/>
		</steps>
	</task>

         <task level="2" name="Banker request" reward="50,000 gold">
		<variables>
			<port name="startport" filters="here,bank"/>
                        <port name="otherport" filters="new,visible,shipyard"/>
                        <port name="thiefport" filters="new,visible,alehouse"/>
                        <port name="battleport" filters="new,visible"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="banker" location="{startbank}"/>
			<location name="startbank" port="{startport}" building="bank"/>

                        <npc name="thief" location="{thiefalehouse}"/>
			<location name="thiefalehouse" port="{thiefport}" building="alehouse"/>

                        <npc name="brother" location="{otheryard}"/>
			<location name="otheryard" port="{otherport}" building="shipyard"/>
                         <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
                </variables>

		<steps>
			<okbox npc="guv" text="Personally, I have no business to which you can attend.  But I hear that our banker may have work for you." ok="Will do."/>
                        <pushtask text="Speak to the Banker in {startport}."/>
                        <goal type="talk" npc="{banker}" text="You wished to speak with me?"/>
                        <poptask num="1"/>
                        <okbox npc="banker" text="Aye!  My brother is celebrating his 30th birthday.  I'd like to comfort the old man with a gift of this fine watch.  It's taken me a year to craft, and is simply priceless!  He travels quite a bit, but you should be able to learn his whereabouts if you inquire at the Alehouse in {thiefport}.  Will you please take it to him?  I shall reward you upon your return." ok="No problem."/>
                        <pushtask text="Head to {thiefport} and Get the Location of the Banker's Brother."/>
                        <get item="watch"/>
                        <addlogentry text="Received a Watch.  Deliver it to the banker's brother."/>
                        <goal type="talk" npc="{thief}" text="Ask about the Banker's Brother"/>
                        <okbox npc="thief"text="Yes, I know the old man.  He works as a carpenter for the shipwright in {otherport}...  HEY!! {pirate} JUST STOLE YOUR WATCH!!  I'd hurry, word is he's heading for {battleport}." ok="Thanks. I'm off!"/>
                        <poptask num="1"/>
                        <addlogentry text="Horrors!  The watch was stolen by {pirate}!"/>
                        <addlogentry text="Head to {battleport} and get {pirate}!"/>
                        <give item="watch"/>
                        <pushtask text="Retrieve the Watch from {pirate} Sailing to {battleport}."/>
                        <goal type="npccombat" port1="{battleport}" npc="{pirate}" text="Ye've come all this way for a cheap trinket?  Ye gods, mate, have ye nothing better to do?  Perhaps the sound of cannon fire and the smell of yer sails burnin' will give ye a little more important work!" ok="Have at you, then!"/>
                        <addlogentry text="Recovered the Watch from the Wreckage of the Pirate Ship."/>
                        <okbox npc="pirate" text="Enough!  Here's yer watch!  Mercy!" ok="Gimme."/>
                        <poptask num="1"/>
                        <get item="watch"/>
                        <pushtask text="Deliver the Watch to the Shipyards in {otherport}."/>
                        <goal type="talk" npc="{brother}" text="Deliver the Watch"/>
                        <okbox npc="brother" text="Ah, a masterpiece it is!  How kind of my brother to remember an old man.  Someday you too will be 30, Captain!  Enjoy your youth while it lasts!  Make sure to thank my brother {banker} for this fine gift." ok="I will."/>
                        <give item="watch"/>
                        <poptask num="1"/>
                        <pushtask text="Claim your Reward at the Bank in {startport}"/>
                        <goal type="talk" npc="{banker}" text="Claim your Reward."/>
                        <get item="gold" amount="50000"/>
                        <addlogentry text="Received 50,000 in Gold from the Banker of {startport}."/>
                        <okbox npc="banker" text="A trustworthy Captain you are, indeed!  Your vigilance shall be rewarded.  Here is 50,000 gold, your payment for the task." ok="Thank you."/>
		</steps>
	</task>

        <task level="2" name="Find the Stone of Chance" reward="50,000 gold">

		<variables>
			<port name="startport" filters="here"/>
                        <port name="battleport" filters="new,visible"/>
                        <port name="traderport" filters="new,visible,trader"/>
                        <port name="battleport2" filters="new,visible"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="tradeguy" location="{tradeport}"/>
			<location name="tradeport" port="{traderport}" building="trader"/>
                        <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
			<npc name="other">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
                </variables>

		<steps>
			<okbox npc="guv" text="Did you know I'm a collector of rare gemstones?  The Stone of Chance is a small gem rumored to have been carried by Alexander himself on his conquests.  To date it has escaped my grasp, but my informants tell me {pirate} has somehow acquired it.  He is sailing between {traderport} and {battleport}.  Bring it back to me and you shall be rewarded." ok="Yes Sir."/>
			<pushtask text="Deliver the Stone of Chance to {startport}."/>
                        <pushtask text="Defeat the pirate {pirate} on Route between {traderport} and {battleport}."/>
                        <goal type="npccombat" npc="{pirate}" port1="{traderport}" port2="{battleport}" text="This bauble is me rightful property, ye bilge-rat!  'Tis folly, tryin' to steal from a pirate.  Ye'll not be having me gem today, but I shall gladly donate a few stones from me cannon to the bow of yer ship!" ok="You won't defeat me!"/>
                        <get item="zambonia"/>
                        <okbox npc="pirate" text="Ye be stealin' me family heirloom, but 'tis not worth me life to dispute it further.  Take the Stone of Chants and leave me be, ye bully!" ok="Ha ha!"/>
                        <addlogentry text="Recovered the Stone of Chance.  Hmm it has ''Made in Liverpool''"/>
                        <addlogentry text="stamped on back, though.  Odd..."/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Stone"/>
                        <okbox npc="guv" text="This is not the Stone of Chance!  This is a Stone of Chants!  A cheap prize given to the pirate who can compose the bawdiest drinking song!  Enough time wasted, Captain.  Bring me the real Stone of Chance.  Go to {traderport} and speak with the Trader there; he may have more information." ok="Oops.  Right away."/>
                        <give item="zambonia"/>
                        <pushtask text="Speak with the Trader in {traderport}."/>
                        <addlogentry text="Chance, chants, honest mistake.  Speak with the trader."/>
                        <goal type="talk" npc="{tradeguy}" text="Ask about the Stone of Chance"/>
                        <okbox npc="tradeguy" text="Sure, I have the Stone of Chance.  But you scratch my back, I scratch yours, right, friend?  {other} has been ruining my business, flooding the market here with cheap pillaged goods.  Put him out of business, and the Stone is yours, free of charge.  His regular route is between {battleport} and {battleport2}." ok="Very well."/>
                        <poptask num="1"/>
                        <pushtask text="Defeat the pirate {other} between {battleport} and {battleport2}."/>
                        <goal type="npccombat" npc="{other}" port1="{battleport}" port2="{battleport2}" text="The Trader sent you to defeat me?  What, you don't believe in a free market, mate?  Well, I shall give you a small lesson in modern economic theory.  Prepare for battle!" ok="Prepare yourself!"/>
                        <poptask num="1"/>
                        <pushtask text="Pick up Stone of Chance from Trader in {traderport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Ask for Stone of Chance"/>
                        <okbox npc="tradeguy" text="My humble business is saved!  Thank you, dear Captain.  Here is the Stone of Chance, Alexander's famed good luck piece.  To be honest, it always looked like a plain old rock to me, anyway." ok="Does look plain..."/>
                        <poptask num="1"/>
                        <addlogentry text="Received the Real Stone of Chance."/>
                        <get item="zambonia"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Real Stone"/>
                        <get item="gold" amount="50000"/>
			<give item="zambonia"/>
                        <addlogentry text="Delivered the Stone of Chance."/>
                        <addlogentry text="Received 50,000 in Gold from the Governor in {startport}."/>
                        <okbox npc="guv" text="To think, this was once in the front pocket of the emperor himself oh, pardon, bit carried away there.  I owe you your reward.  Please accept this 50,000 in gold for your diligent effort!" ok="Thank you!"/>
		</steps>
	</task>

        <task level="2" name="Learsi's Necklace" reward="Mr. Bubbles">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="gemport" filters="new,visible,trader"/>
                        <port name="infoport" filters="new,visible,alehouse"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="bart" location="{aleinfoport}"/>
			<location name="aleinfoport" port="{infoport}" building="alehouse"/>

                        <npc name="tradeguy" location="{tradegemport}"/>
			<location name="tradegemport" port="{gemport}" building="trader"/>

		</variables>

		<steps>
			<okbox npc="guv" text="Centuries ago, legend tells of a West African princess named Learsi who had a necklace of incomparable beauty.  It was encrusted with gems of untold quality and value.  After a struggle for power, it went missing.  I forgot it was the 20th anniversary of my marriage last week.  At this point, the only thing that will end my stay in our lovely barn is a gift of this necklace to my wife.  It is rumored that the necklace was recently seen in {infoport}.  Get it for me, and I shall allow my most trusted bodyguard Mr. Bubbles to join your crew." ok="Right away."/>
			<pushtask text="Deliver Learsi's Necklace to {startport}"/>
                        <pushtask text="Search {infoport} for Learsi's necklace"/>
                        <goal type="talk" npc="{bart}" text="Ask about the Necklace"/>
                        <okbox npc="bart" text="Learsi's necklace?  Ha!  Who told you that one?  It's an old pirate's tale, no truth to it.  But give a description of what you want to the Trader in {gemport}, and he can make you just about anything." ok="Thanks."/>
                        <poptask num="1"/>
                        <pushtask text="Go to {gemport} and Speak to the Trader"/>
                        <goal type="talk" npc="{tradeguy}" text="Ask about the necklace"/>
                        <okbox npc="tradeguy" text="Learsi's necklace?  Och, the Governor fell for that old saw?  Perhaps he'll pay me well to take him on a haggis hunt someday.  No matter.  I'll make you a lovely necklace, I will, and he'll never know the difference.  You get paid, the Governor no longer smells like horses, we all win.  I'll need 10 crates of timber for me bother, though." ok="I'll be back."/>
                        <poptask num="1"/>
                        <pushtask text="Give 10 crates of Timber to the Trader in {gemport}"/>
                        <goal type="have" good="timber" amount="10"/>
                        <give item="timber" amount="10"/>
			<get item="tentimber"/>
                        <addlogentry text="Transferred 10 crates of Timber into a"/>
                        <addlogentry text="special crate for the Trader in {gemport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Deliver the timber"/>
                        <give item="tentimber"/>
                        <get item="learsi"/>
                        <okbox npc="tradeguy" text="Aye, that's fine, Captain.  Here's the necklace.  She's a beauty, she is." ok="Looks nice."/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv}" text="Deliver the necklace"/>
                        <poptask num="1"/>
                        <get item="bubbles"/>
			<give item="learsi"/>
			<addlogentry text="Mr. Bubbles has joined your crew!"/>
			<okbox npc="guv" text="The famed necklace!  And to think, my servants tried to tell me it did not exist!  Thank you, kind Captain.  As promised Mr. Bubbles has agreed to join your crew for a period of ten weeks.  His intimidating features are sure to frighten your enemies and slow their attacks." ok="Heh.  My pleasure."/>
		</steps>
	</task>
	
	<task level="2" name="The Prodigal Son" reward="50,000 gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="port2" filters="new,visible"/>
			<port name="port3" filters="new,visible,shipyard"/>
			<port name="port4" filters="new,visible"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="shippy" location="{port3shipyard}"/>
			<location name="port3shipyard" port="{port3}" building="shipyard"/>

			<npc name="george">
				<filters>
					<reserved>none</reserved>
					<firstname>George</firstname>
                                        <class>upperpirate</class>
					<sex>male</sex>
					<headsize>smallhead</headsize>
				</filters>
			</npc>

		</variables>

		<steps>
			<okbox npc="guv" text="Oh, Captain!  Black-hearted pirates raided our fair port several weeks ago.  The pillaging was a terrible blow to the town.  But worse yet, when the smoke cleared, my son George was missing!  I think he's been pressed into service by the ruffians.  My spies are fairly sure he's on a ship that is now sailing between {port2} and {port3}.  My tender boy will never survive life on a ship.  50,000 gold to you for bringing him back alive and unharmed!" ok="Yes Sir!"/>
			<pushtask text="Rescue the Governor's son, George."/>
			<pushtask text="Find the pirate ship somewhere between {port3} and {port2}."/>
			<goal type="npccombat" port1="{port2}" port2="{port3}" npc="{george}" text="Tho!  I gueth my father didn't get the note I left.  The one that thaid ''Hate it here, running off with the pirath''. Perhapth he wath unwilling to believe.  Well, I'm pretty thure killing you will thmarten him up a bit." ok="You're a bit cocky."/>
			<poptask num="2"/>
			<pushtask text="Return to the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Explain the Situation"/>
			<poptask num="1"/>
			<okbox npc="guv" text="This cannot be!  Little Georgie has a slight lisp; I'm sure you just misunderstood him.  And you engaged in battle with my poor boy?  He had better be unharmed - I hold you responsible for his fate!  Don't come back until he is in your possession." ok="Where shall I look?"/>
			<okbox npc="guv" text="Check the Shipyards.  No doubt my son has gone looking for a new ship after you blasted his." ok="Good point."/>
                        <pushtask text="Check the Shipyards for the Governor's Son"/>
			<goal type="talk" npc="{shippy}" text="Ask about George."/>
			<okbox npc="shippy" text="Aye, he was here, and the loathsome wretch nearly killed me!  He kept demanding a ''thip'' and became enraged at me puzzlement.  Finally, he boarded me finest ship.  Sailed it off with his crew while me and me men watched, he did.  Heard him mention something about {port4}." ok="Thanks for the ''thip'' ha ha."/>
			<poptask num="1"/>
			<pushtask text="Go to {port4} and Find George."/>
			<goal type="npccombat" port1="{port4}" npc="{george}" text="Why can no one understand thimple Englith!  I will not return to my home!  Ith that clear?  Perhapth my cannon can clarify!" ok="Fine then."/>
			<okbox npc="george" text="I thall not be taken alive!  My father thurely holds you rethponthible for my fate, tho I thuggest you take thith letter to him in my thtead.  It thould make my intentionth painfully clear." ok="Very well."/>
			<get item="letter"/>
			<poptask num="1"/>
			<pushtask text="Go to {startport} and Deliver the Letter."/>
			<goal type="talk" npc="{guv}" text="Deliver the note."/>
			<give item="letter"/>
			<get item="gold" amount="50000"/>
			<addlogentry text="Received 50,000 gold from the Governor of {startport}."/>
                        <okbox npc="guv" text="Hmm...  this is his writing, lisp and all...  oh!  He did not learn such language in this house!  Calamity!  It does appear that he's truly gone on the account.  It is not in my heart to ask you to destroy him.  I shall pay you for your efforts, nonetheless." ok="Thank you."/>
		</steps>
	</task>

      <task level="2" name="Rescue the Princess Adrienne" reward="Unknown">
		<variables>
			<port name="startport" filters="here"/>
			<port name="princessport" filters="new,visible,alehouse,shipyard"/>
			<port name="port3" filters="new,visible"/>
			<port name="port4" filters="new,visible"/>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guv2" location="{princessmansion}"/>
			<location name="princessmansion" port="{princessport}" building="governor"/>
			<npc name="bart" location="{princessalehouse}"/>
			<location name="princessalehouse" port="{princessport}" building="alehouse"/>
			<npc name="shippy" location="{princessshipyard}"/>
			<location name="princessshipyard" port="{princessport}" building="shipyard"/>
			<npc name="dirtybob">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
					<sex>male</sex>
				</filters>
			</npc>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
					<sex>female</sex>
				</filters>
			</npc>
                        <npc name="Adrienne">
				<filters>
					<reserved>none</reserved>
					<class>upper</class>
					<sex>female</sex>
					<race>white</race>
					<headsize>smallhead</headsize>
                                        <earsize>smallear</earsize>
                                        <haircolor>blonde</haircolor>
                                        <neckitem>neckitem07</neckitem>
                                        <costume>costume19</costume>
                                        <pet>none</pet>
                                        <earitem>none</earitem>
                                        <hair>hair06</hair>
                                        <hairitem>nothing</hairitem>
                                        <eyes>eyes08</eyes>
                                        <eyeitem>none</eyeitem>
                                        <ears>ears38</ears>
                                        <nose>nose09</nose>
                                        <noseitem>none</noseitem>
                                        <mouth>mouth14</mouth>
                                        <mouthitem>none</mouthitem>
                                        <cheek>none</cheek>
                                        <cheekitem>none</cheekitem>
                                        <title>Princess</title>
                                        <firstname>Adrienne</firstname>
                                        <surname>Rawlinson</surname>
                                        <nickname>NONE</nickname>
                                </filters>
			</npc>
		</variables>
		<steps>
			<okbox npc="guv" text="What is it about pirates and Governor's daughters?  Our fair port was raided several weeks ago, and my darling Adrienne was kidnapped.  Word is that she is being held at the Governor's mansion in {princessport}; I wouldn't be at all surprised if the Governor staged this whole episode in hopes of extracting ransom from me!  He shall not have it, but I will pay you well for her safe return." ok="Aye aye sir."/>
			<pushtask text="Return Princess Adrienne to {startport}."/>
			<pushtask text="Rescue Princess Adrienne from {princessport}."/>
			<goal type="npccombat" port1="{princessport}" npc="{pirate}" text="Aye, the Governor pays us well for lookin' after the lass.  And that's what we be doing now.  You'll not reach her!  Ready yer cannon!"/>
			<okbox npc="pirate" text="There are greater forces at work here than the likes of us, Captain.  Ye may have defeated us, but ye'll not be havin' the girl." ok="We shall see."/>
                        <makehostile port="{princessport}"/>
                        <goal type="talk" npc="{guv2}" text="Rescue Princess Adrienne"/>
			<okbox npc="guv2" text="Well, this plan has rather backfired on me.  Killing me will do you no good, though.  The princess is sealed in a chamber within the mansion.  A magical charm has been placed on the door.  The only means of opening it is the Amulet of Janus.  And I don't know where it is.  In hindsight, I suppose I could have devoted a little more thought to this scheme.  Ah, so be it.  Ask around in town; there is bound to be someone there who knows the Amulet's whereabouts." ok="I will return."/>
			<pushtask text="Retrieve the Amulet of Janus."/>
			<pushtask text="Find Info on the Location of the Amulet in {princessport}."/>
			<goal type="talk" npc="{bart}" text="The Amulet of Janus?"/>
			<okbox npc="bart" text="Looking for the Amulet of Janus, are you?  The pirate {dirtybob} has it.  I believe someone in town knows his whereabouts." ok="Thanks."/>
			<goal type="talk" npc="{shippy}" text="The Amulet of Janus?"/>
			<okbox npc="shippy" text="Yes {dirtybob} has the Amulet of Janus.  He often plunders ships on the route between {port3} and {port4}." ok="Thank you."/>
			<poptask num="1"/>
			<pushtask text="Find the Pirate on the Shipping Routes between {port3} and {port4}"/>
			<goal type="npccombat" port1="{port3}" port2="{port4}" npc="{dirtybob}" text="Let me get this straight.  You want the Amulet of Janus.  You want to steal from a pirate.  Let us do the world a favor and make sure you never get a chance to breed.  Ready cannon!"/>
			<okbox npc="dirtybob" text="A fine fight it was.  Maybe you do deserve to live.  Give me a good threatening scowl, and I'll hand over the Amulet of Janus.  Ah, very nice!" ok="Grrrrrr!"/>
			<poptask num="2"/>
			<get item="amuletamor"/>
			<goal type="talk" npc="{guv2}" text="Use the Amulet of Janus."/>
			<okbox npc="Adrienne" text="Oh thank heavens you opened the door.  'Twas getting a bit rank in there.  I wish to hear more of tales of your deeds on the seas.  Do me the favor, kind Captain, of escorting me back to my father's house.  I have urgent business with him." ok="Yes, miss."/>
			<poptask num="1"/>
			<give item="amuletamor"/>
			<get item="adrienne1"/>
			<goal type="talk" npc="{guv}" text="Return Adrienne"/>
			<addlogentry text="The Princess Adrienne has joined your crew."/>
                        <give item="adrienne1"/>
			<get item="adrienne"/>
                        <okbox npc="Adrienne" text="Father, I owe this kind soul my life.  After such adventure, I can never again be your dainty daughter.  I must see the world!  I intend to join the crew of this brave Captain.  I hope you can forgive me." ok="I never agreed to this."/>
			<okbox npc="guv" text="I understand dear Adrienne, and I am CERTAIN the good Captain {player} will accept you into the crew." ok="Yes Sir."/>
		</steps>
	</task>

		<task level="2" name="Candy delivery" reward="50,000 gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

		</variables>
		<steps>
			<okbox npc="guv" text="We've run out of candy, and my children are on a rampage.  They're threatening to turn pirate on me and pillage the marketplace.  That would be most embarrassing.  Could I trouble you to bring me ten crates of sugar in {otherport}?  Only the sugar from {otherport} will pacify them.  I'd be very grateful." ok="No problem."/>
			<pushtask text="Buy ten crates of sugar in {otherport}."/>
			<goal type="buy" good="sugar" amount="10" port="{otherport}"/>
			<give item="sugar" amount="10"/>
			<get item="tensugar"/>
			<poptask num="1"/>
			<pushtask text="Return to Governor of {startport} with Sugar"/>
                        <addlogentry text="Transferred 10 crates of {otherport} sugar into"/>
                        <addlogentry text="a special crate for the Governor of {startport}."/>
                        <goal type="talk" npc="{guv}" text="Hand over the Sugar"/>
			<give item="tensugar"/>
			<get item="gold" amount="50000"/>
			<addlogentry text="Received 50,000 Gold from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Yes, yes, children, the sugar is here!  Put down that knife, Johnny, you'll get some!  Thanks so much.  Here is your 50,000 in gold." ok="Thanks."/>
                        </steps>
	</task>

	<task level="2" name="The Prisoner of War" reward="50,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bountyport" filters="new,visible,governor_access"/>
			<npc name="Jason Timbers">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
					<sex>male</sex>
				</filters>
			</npc>

			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guv2" location="{bountymansion}"/>
			<location name="bountymansion" port="{bountyport}" building="governor"/>

		</variables>

		<steps>
			<okbox npc="guv" text="Great news!  We have captured that bloodthirsty pirate, Master Shellings.  We reckoned on sending him to his final judgment post haste, but I've just gotten word that {bountyport} is offering a sizable bounty for him.  What say you?  Escort our guest to the Governor in {bountyport}.  Bring the bounty to me and I will give you 50,000 gold.  Beware of {Jason Timbers} however.  Word is he is after Shellings as well." ok="Sure."/>
			<pushtask text="Deliver the Pirate Master Shellings to the Governor in {bountyport}."/>
			<get item="pirate"/>
                        <goal type="npccombat" port1="{bountyport}" npc="{Jason Timbers}" text="Shellings!  Death at the end of a rope is too good for ye, ye salty blowfish!  No man crosses me and lives to brag about it.  Don't bother fleeing!  The Governor of {bountyport} won't take Shellings as long as I'm around!"/>
                        <goal type="talk" npc="{guv2}" text="Deliver Master Shellings"/>
			<okbox npc="guv2" text="Ah, Master Shellings!  We have lovely accommodations prepared for you.  Guards, fetch him a bucket and start measuring the rope.  You are a clever devil, Captain!  Here is the promised bounty." ok="Thank you."/>
			<give item="pirate"/>
			<poptask num="1"/>
			<get item="bounty"/>
			<pushtask text="Deliver the Bounty to the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Deliver the bounty."/>
			<give item="bounty"/>
			<poptask num="1"/>
			<get item="gold" amount="50000"/>
			<addlogentry text="Received 50,000 in Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="A laudable effort, my friend!  We make a fine team, don't you think?  Here is the promised 50,000 gold." ok="Thank you."/>
		</steps>
	</task>

	 <task level="1" name="The Difficult Prisoner" reward="Unknown" levelup="true">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,governor_access"/>
                        <port name="noaccessport" filters="new,visible,alehouse,no_governor_access"/>
                        <port name="newport" filters="hidden"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="newguv" location="{noaccessmansion}"/>
			<location name="noaccessmansion" port="{noaccessport}" building="governor"/>

                        <npc name="aleguy" location="{noaccessale}"/>
			<location name="noaccessale" port="{noaccessport}" building="alehouse"/>

                        <npc name="otherguv" location="{othermansion}"/>
			<location name="othermansion" port="{otherport}" building="governor"/>
                         <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
                </variables>

		<steps>
			<okbox npc="guv" text="I have such a deal for you!  This man, {pirate}, is a notorious pirate.  There's a huge bounty on his head.  Here he is, all clapped in irons and ready to be delivered to {otherport} for the reward.  Take him there, and you may keep every penny!" ok="Right away!"/>
                        <pushtask text="Deliver {pirate} to {otherport}."/>
                        <unlockship type="next"/>
                        <get item="pirate"/>
                        <get item="alwaysbattle"/>
                        <accessgovernor port="{otherport}"/>
                        <goal type="talk" npc="{otherguv}" text="Deliver the Pirate"/>
                        <poptask num="1"/>
                        <okbox npc="otherguv" text="Bounty?  Captain, I would not take him if you paid me a king's ransom to do so!  {pirate} is nothing but trouble.  His caretaker will suffer the assaults of his henchmen day and night until he is freed.  You've been had.  Go back to {startport} and see if you can shove him off on someone there." ok="Thanks for the information."/>
                        <pushtask text="Return to the Governor in {startport}"/>
                        <goal type="talk" npc="{guv}" text="Return the Pirate"/>
                        <okbox npc="guv" text="Terribly sorry, our prison is full up.  Can't take him.  Uh-uh.  Strict laws on overcrowding.  You might try dumping him in {noaccessport}.  Try the bounty trick!  Works like a charm every time." ok="You jerk..."/>
                        <poptask num="1"/>
                        <pushtask text="Take {pirate} to {noaccessport}."/>
                        <goal type="talk" npc="{aleguy}" text="Get Rid of Pirate"/>
                        <okbox npc="aleguy" text="The Governor of {noaccessport}?  Hmm, that might work.  The Governor has no great love for {pirate}, so his only escape might be in a box, if ye get my meaning.  Might even be a little something in it for you.  Just tell the guards that I sent you." ok="Thanks."/>
                        <poptask num="1"/>
                        <pushtask text="Visit the Governor of {noaccessport}."/>
                        <accessgovernor port="{noaccessport}"/>
                        <goal type="talk" npc="{newguv}" text="Get Rid of Pirate"/>
                        <give item="pirate"/>
                        <give item="alwaysbattle"/>
                        <poptask num="1"/>
                        <tasklevel level="2"/>
			<reveal port="{newport}"/>
			<unlockgood type="textiles"/>
                        <addlogentry text="Got Map to {newport} from the Governor {newguv}."/>
                        <okbox npc="newguv" text="Why yes, Captain, I owe {pirate} a short walk - and a sudden drop.  When we shaved his vermin-infested head, we discovered a map to {newport} tattooed on his scalp.  Here, I've transcribed it for you.  Let that be your payment for a job well done!  May the knowledge contained in the map bring you profit." ok="Thank you, good sir!"/>
		</steps>
	</task>

	<task level="1" name="A prisoner" reward="30,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bountyport" filters="new,visible,no_governor_access"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guv2" location="{bountymansion}"/>
			<location name="bountymansion" port="{bountyport}" building="governor"/>
			<npc name="Jason Timbers">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
					<sex>male</sex>
				</filters>
			</npc>

		</variables>

		<steps>
			<okbox npc="guv" text="Here's a business proposition for you, Captain.  No longer does the foul pirate Master Billings roam and pillage freely.  My fleet has captured him, and he awaits his fate in my jail.  It seems, though, that he has particularly offended {bountyport}, and the Governor there will pay a nice bounty upon his delivery there.  Please escort Master Billings to the Governor in {bountyport}.  Bring the bounty to me, and I will give you 30,000 gold." ok="Right away."/>
			<pushtask text="Deliver the pirate Master Billings to the Governor in {bountyport}."/>
			<accessgovernor port="{bountyport}"/>
                        <get item="pirate"/>
                        <goal type="npccombat" port1="{bountyport}" npc="{Jason Timbers}" text="Billings!  You've cheated me at dice, you've slandered my name, and worse yet, you kicked my puppy!  You shall not arrive in {bountyport}!  Don't bother fleeing either!  The Governor of {bountyport} won't accept Billings as long as I'm around!"/>
                        <goal type="talk" npc="{guv2}" text="Deliver Master Billings"/>
			<okbox npc="guv2" text="Ah, here he is, the vile kicker of puppies!  You shall dangle for this, sir!  Here is the promised bounty." ok="Thank you."/>
			<give item="pirate"/>
			<poptask num="1"/>
			<get item="bounty"/>
			<pushtask text="Deliver the Bounty to the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Deliver the bounty."/>
			<give item="bounty"/>
			<poptask num="1"/>
			<get item="gold" amount="30000"/>
			<addlogentry text="Received 30,000 Gold from the Governor of {startport}."/>
                        <okbox npc="guv" text="Great teamwork, Captain!  As promised, here is your 30,000 in gold." ok="Thank you."/>
		</steps>
	</task>

       <task level="1" name="Aneert's Charm" reward="50,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="charmport" filters="new,visible,moneylender"/>

                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="lender" location="{charmlender}"/>
			<location name="charmlender" port="{charmport}" building="moneylender"/>
		</variables>

		<steps>
			<okbox npc="guv" text="A good friend of mine just told me about a precious little bauble called Aneert's Charm.  Have you heard of it?  He says it's the most fabulous shade of blue, and it would looks simply smashing with my new yellow velvet waistcoat.  Oh, and something about magical powers, or some such gibberish.  I should be most indebted to you if you would fetch it for me.  It was last seen being traded in {charmport}." ok="Will do."/>
			<pushtask text="Deliver Aneert's Charm to {startport}."/>
                        <pushtask text="Retrieve Aneert's Charm in {charmport}."/>
                        <goal type="talk" npc="{lender}" text="Ask about Aneert's Charm"/>
                        <okbox npc="lender" text="Sure.  I will give it to you for 5000 gold.  Since I'm in the business of loans, I'll write it up as a debt.  Makes the books look good, if you know what I mean." ok="Fine."/>
                        <poptask num="1"/>
                        <pushtask text="Incur debt of 5000 gold from {lender} in {charmport} in exchange for Annert's Charm."/>
                        <goal type="talk" npc="{lender}" text="''Buy'' Aneert's Charm for 5000 gold"/>
                        <poptask num="1"/>
                        <get item="treena"/>
			<borrowgold amount="5000"/>
			<give item="gold" amount="5000"/>
                        <okbox npc="lender" text="'Tis true, good Captain!  This charm will increase your ship's cannon speed, enabling you to be more effective in combat.  My price of 5,000 in gold is but a pittance to pay for such a boon!" ok="Hmmm...  now I want it!"/>
                        <goal type="talk" npc="{guv}" text="Deliver Aneert's Charm."/>
                        <poptask num="1"/>
                        <addlogentry text="The Governor in {startport} lets your keep Aneert's Charm."/>
                        <okbox npc="guv" text="Ooh!  Ooh!  Aneert's Charm!  It's...  it's...  ew, it's hideous.  Captain, place it round your neck.  Yes!  Oh, how it does bring out your eyes.  Let's just forget about the gold, shall we?  You keep it." ok="Thank you!"/>
		</steps>
          </task>

          <task level="1" name="The Gypsy Family" reward="25,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="gypsyport" filters="new,visible,governor_access"/>
                        <port name="uncleport" filters="new,visible,alehouse"/>


                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{gypsymansion}"/>
			<location name="gypsymansion" port="{gypsyport}" building="governor"/>

                        <npc name="relative" location="{gypsymansion}">
                <filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<race>mulatto</race>
                                        <class>upper</class>
                                        <title>Uncle</title>
                                        <firstname>Vanya</firstname>
                                        </filters>
			</npc>
                        <npc name="uncle" location="{unclealehouse}">
                             <filters>
					<reserved>none</reserved>
					<sex>male</sex>
                                        <title>Uncle</title>
                                        <firstname>Misha</firstname>
                                        <race>mulatto</race>
					<class>middle</class>
					<headsize>smallhead</headsize>
					<haircolor>grey</haircolor>
                                        <hair>hair16</hair>
				</filters>
			</npc>
                        <location name="unclealehouse" port="{uncleport}" building="alehouse"/>
                </variables>

		<steps>
			<okbox npc="guv" text="A mission of mercy for you, dear Captain.  A large gypsy family has taken refuge in our port.  The 25 of them are without food or gold.  But they are not without hope.  A wealthy relative in {gypsyport} has sent for them, and has offered to pay handsomely for their passage upon arrival.  I'm afraid they will take rather a lot of space on your ship, though.  They will occupy 25 of your cargo space.  Deliver them all to their Uncle Vanya, waiting at the Governor's mansion in {gypsyport}." ok="Yes sir."/>
			<pushtask text="Deliver the Family to {gypsyport}"/>
                        <get item="25gypsies"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Family"/>
                        <give item="25gypsies"/>
                        <okbox npc="relative" text="Ah!  My loved ones!  Sasha, Svetlana but where is Misha?  Oh dear, he has been stranded in {uncleport}.  Captain, I must trouble you to retrieve Misha as well.  Please, he is blind and cannot use his right hand." ok="Very well."/>
                        <addlogentry text="Escorted the Family."/>
                        <poptask num="1"/>
                        <pushtask text="Escort Uncle Misha from {uncleport} to {gypsyport}"/>
                        <goal type="talk" npc="{uncle}" text="Pick up Uncle Misha"/>
                        <okbox npc="uncle" text="I leave the camp for the call of nature.  I take a little light reading.  I come back.  They leave without Misha!  At least you have remembered an old man, tovarisch.  We go to {gypsyport} now." ok="Yes.  Let's go."/>
                        <get item="uncle"/>
                        <addlogentry text="Picked up Uncle Misha."/>
                        <goal type="talk" npc="{guv2}" text="Deliver Uncle Misha"/>
                        <poptask num="1"/>
                        <get item="gold" amount="25000"/>
			<give item="uncle"/>
                        <addlogentry text="Delivered Uncle Misha safely."/>
                        <addlogentry text="Received 25,000 in Gold from Vanya in {gypsyport}."/>
                        <okbox npc="relative" text="Thank you, my friend.  Here is 25,000 gold for such good helping." ok="You are welcome!"/>
		</steps>
	</task>

       <task level="1" name="The Disguise" reward="30,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="letterport" filters="new,visible,moneylender"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="lender" location="{lenderport}"/>
			<location name="lenderport" port="{letterport}" building="moneylender"/>

			<npc name="pirate">
                             <filters>
					<reserved>none</reserved>
					<sex>male</sex>
                                        <class>upperpirate</class>
                                        </filters>
			</npc>
		</variables>

		<steps>
			<okbox npc="guv" text="There is a letter waiting for me in {letterport} that I am obligated to collect personally.  Circumstances make my voyage there a bit dangerous.  So I'm willing to pay you handsomely to travel to the port, impersonate me, collect my letter, and deliver it here.  This wig and disguise should allow you to pass for me rather nicely.  No, really.  Stop laughing.  Listen, just put on the wig, will you?  I'll have your reward upon your return." ok="Haha!  Fine."/>
			<pushtask text="Deliver the Sealed Letter to the Governor in {startport}"/>
                        <pushtask text="Pick up the Sealed Letter in {letterport}"/>
                        <addlogentry text="Your crew breaks into uncontrollable laughter at the sight of you"/>
                        <addlogentry text="in the wig and disguise."/>
                        <goal type="npccombat" port1="{letterport}" npc="{pirate}" text="You're more of a man than I reckoned, Governor!  I never thought you'd have the courage to risk facing me on the seas, in a fair fight.  Today you shall pay for unfairly imprisoning my brother in your dungeon of a jail!  Prepare to learn the meaning of justice, you dog!"/>
                        <goal type="talk" npc="{lender}" text="Pick up the Sealed Letter"/>
                        <okbox npc="lender" text="Governor!  Glad to see you.  Have you lost weight?  You look fabulous.  Please sign for your letter." ok="Of course."/>
                        <poptask num="1"/>
                        <get item="letter"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Sealed Letter"/>
                        <poptask num="1"/>
                        <get item="gold" amount="30000"/>
			<give item="letter"/>
                        <addlogentry text="Returned the Governor's Wig and Clothing."/>
                        <addlogentry text="Received 30,000 in Gold from the Governor of {startport}."/>
                        <okbox npc="guv" text="Ah, an uneventful voyage I trust.  And the letter!  Seal intact!  Here is 30,000 in gold and my thanks, honorable Captain." ok="Give me my money, coward."/>
		</steps>
	</task>

        
         <task level="1" name="Amulet of Onad" reward="20,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="shipport" filters="new,visible,shipyard"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="shippy" location="{shipyardport}"/>
			<location name="shipyardport" port="{shipport}" building="shipyard"/>
		</variables>
		<steps>
			<okbox npc="guv" text="My brother, the shipwright in {shipport}, is demanding his share of the family inheritance.  Our dear father owned quite a selection of valuable relics.  Please give my brother this trinket I purchased from the Trader here and tell him it is...  oh, I don't know, say it's the Amulet of Onad or some such nonsense.  Make up the tallest story you can.  The thickhead will leave me in peace for a while, and even reimburse you for the voyage." ok="Sounds like fun."/>
			<pushtask text="Deliver the Amulet of Onad to {shipport}"/>
                        <get item="dano"/>
                        <goal type="talk" npc="{shippy}" text="Deliver the Amulet of Onad"/>
                        <poptask num="1"/>
                        <get item="gold" amount="20000"/>
			<give item="dano"/>
                        <addlogentry text="Received 20,000 gold from the Shipwright of {shipport}."/>
                        <okbox npc="shippy" text="The Amulet of Onad?  Once encrusted in the special snipe hunting scepter of great Egyptian pharaoh Hercules?  Praise be!  And I thought my brother would steal the best of the inheritance for himself.  Thank you, dear Captain.  Here is 25,000 gold for your trouble." ok="Heh.  Thanks."/>
		</steps>
	</task>

	<task level="1" name="Amulet of Ydna" reward="30,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="gemport" filters="new,visible,trader"/>
                        <port name="infoport" filters="new,visible,moneylender"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="lender" location="{moneyinfoport}"/>
			<location name="moneyinfoport" port="{infoport}" building="moneylender"/>

                        <npc name="tradeguy" location="{tradegemport}">
                             <filters>
					<reserved>none</reserved>
					<sex>male</sex>
                                        <class>middle</class>
                                        <headsize>smallhead</headsize>
                                        </filters>
			</npc>
                        <location name="tradegemport" port="{gemport}" building="trader"/>
		</variables>

		<steps>
			<okbox npc="guv" text="It's high time my daughter married, Captain, but her terrible complexion is complicating my matchmaking efforts.  My alchemists tell me that the only certain cure is the legendary Amulet of Ydna, ancient goddess of teenage crises.  My sources say it may be in {infoport}.  Do a man and his suffering daughter a good turn and bring it back to me.  You shall be rewarded." ok="I'll do it."/>
			<pushtask text="Deliver the Amulet of Ydna to {startport}"/>
                        <pushtask text="Search {infoport} for the Amulet of Ynda"/>
                        <goal type="talk" npc="{lender}" text="The Amulet of Ydna?"/>
                        <okbox npc="lender" text="Amulet of Ydna?  Ye look a little beyond wantin' that, matey.  As ye wish, though.  I heard the young trader's assistant in {gemport} keeps it." ok="Thank you."/>
                        <poptask num="1"/>
                        <pushtask text="Go to {gemport} and Speak to the Trader"/>
                        <goal type="talk" npc="{tradeguy}" text="The Amulet of Ydna?"/>
                        <okbox npc="tradeguy" text="Oh, I totally have the Amulet.  But I'll need, like, five crates of fish for it, y'know?  I have like these friends coming in from Edo, and they're showing me this thing called sushi, it's gonna be like bigger than mead when it hits here...  so you gonna give me some fish or what?" ok="Sure."/>
                        <poptask num="1"/>
                        <pushtask text="Give five crates of fish to the Trader in {gemport}"/>
                        <goal type="have" good="fish" amount="5"/>
                        <give item="fish" amount="5"/>
			<get item="fivefish"/>
                        <addlogentry text="Transferred 5 crates of fish into a special"/>
                        <addlogentry text="crate for the young Trader in {gemport}."/>
                        <goal type="talk" npc="{tradeguy}" text="Deliver the fish."/>
                        <give item="fivefish"/>
                        <get item="amuletydna"/>
                        <okbox npc="tradeguy" text="How excellent!  Here, you can totally have the Amulet, I'm like done with it now." ok="Thanks..."/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv}" text="Deliver the Amulet of Ydna."/>
                        <poptask num="1"/>
                        <get item="gold" amount="30000"/>
			<give item="amuletydna"/>
			<get item="kristen"/>
			<addlogentry text="Received 30,000 in Gold from the Governor of {startport}."/>
                        <addlogentry text="His daughter shall no longer be called ''plagueface'!"/>
                        <addlogentry text="Agreed to allow Kristen the Tomboy to join your crew."/>
                        <okbox npc="guv" text="You have spared my daughter the cruel taunts of her peers and helped me secure her future!  Here is the 30,000 in gold I promised you." ok="Thank you."/>
                        <okbox npc="guv" text="Additionally, my youngest daughter Kristen has requested to join your crew for a period of ten weeks.  She's quite the rambunctious child and she'll probably be of use to you while in combat." ok="Very well."/>
		</steps>
	</task>

         <task level="1" name="Shopping for Cocoa" reward="Remainder of Shopping Money">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

		</variables>
		<steps>
			<okbox npc="guv" text="Captain, what is this thing called ''cocoa'?  The town is all abuzz about a drink that can be made from it that is simply divine!  I must try some.  Please get me 10 crates in {otherport}, I hear the cocoa there is divine.  Here is 40,000 in gold.  You may keep the remainder." ok="Yes sir."/>
			<get item="gold" amount="40000"/>
                        <addlogentry text="Received 40,000 in Gold to Purchase Cocoa for the Governor."/>
                        <pushtask text="Give 10 crates of Cocoa to Governor of {startport}."/>
                        <pushtask text="Buy 10 crates of Cocoa in {otherport}"/>
			<goal type="buy" good="cocoa" amount="10" port="{otherport}"/>
                        <give item="cocoa" amount="10"/>
			<get item="tencocoa"/>
                        <poptask num="1"/>
                        <addlogentry text="Transferred 10 crates of Cocoa into a special"/>
                        <addlogentry text="crate for the Governor of {startport}."/>
                        <goal type="talk" npc="{guv}" text="Deliver the Cocoa."/>
			<give item="tencocoa"/>
			<addlogentry text="Delivered ten crates of cocoa to the Governor."/>
			<poptask num="1"/>
			<okbox npc="guv" text="This smells...  oh, my, this is wonderful!  Perhaps I shall undress and roll around in it.  Thank you for your help!" ok="Um.  You're welcome."/>
               </steps>
	</task>
        
        <task level="1" name="Retrieve the Amulet of Cortez" reward="25,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="infoport" filters="new,visible,alehouse"/>
			<port name="gemport" filters="new,visible,shipyard"/>

			<location name="startmansion" port="{startport}" building="governor"/>
			<location name="infotavern" port="{infoport}" building="alehouse"/>
			<location name="gemyard" port="{gemport}" building="shipyard"/>

			<npc name="guv" location="{startmansion}"/>
			<npc name="bart" location="{infotavern}"/>
			<npc name="shippy" port="{gemport}" building="shipyard"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Good, you're here.  The Amulet of Cortez is one of my family's most treasured possessions.  Unfortunately, my unscrupulous brother was short on money for drink one day and traded it for a few tankards of ale.  Can you track it down and return it to me?  My spies tell me it was last seen at {infoport}.  Bring it back and you will be paid handsomely." ok="Right away."/>
			<pushtask text="Bring the Amulet of Cortez to the Governor of {startport}"/>
			<pushtask text="Find information in {infoport} about the Amulet of Cortez"/>
			<goal type="talk" npc="{bart}" text="Ask about the Amulet of Cortez"/>
			<okbox npc="bart" text="You know I had the shippy {shippy.firstname} from {gemport} here last week.  He's been boasting that he traded some drunkard a few tankards of ale for a priceless artifact.  You might want to ask him." ok="Thank ye."/>
			<poptask num="1"/>
			<pushtask text="Talk to {shippy} in {gemport}."/>
			<goal type="talk" npc="{shippy}" text="Ask about the Amulet of Cortez"/>
			<okbox npc="shippy" text="Yeah, I felt a little guilty for making such a profit off the deal - but I got over it.  I've still got the Amulet.  Tell you what.  I'll trade you 10 crates of timber for it, and we'll be square.  Agreed?" ok="Fine."/>
			<poptask num="1"/>
			<pushtask text="Buy 10 Crates of Timber for {shippy}."/>
			<goal type="have" good="timber" amount="10"/>
			<poptask num="1"/>
			<give item="timber" amount="10"/>
			<get item="tentimber"/>
			<addlogentry text="Transferred 10 crates of timber into a special"/>
                        <addlogentry text="crate for {shippy} in {gemport}."/>
                        <pushtask text="Give ten crates of timber to {shippy} in {gemport}."/>
			<goal type="talk" npc="{shippy}" text="Give him the Timber."/>
			<give item="tentimber"/>
			<okbox npc="shippy" text="Ah, I can make better use of this than I can a trinket.  Thanks for the timber.  The Amulet of Cortez is yours." ok="Thanks."/>
			<poptask num="1"/>
			<get item="cortez"/>
			<goal type="talk" npc="{guv}" text="Hand Over the Amulet of Cortez."/>
			<give item="cortez"/>
			<addlogentry text="Received 25,000 gold from {guv}."/>
			<get item="gold" amount="25000"/>
			<poptask num="1"/>
			<okbox npc="guv" text="My family's honor is restored!  Many thanks.  And here is 25,000 gold for your trouble." ok="Thank you."/>
		</steps>
	</task>

	<task level="1" name="Defeat two Pirate Fleets" reward="20,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guv" location="{startmansion}"/>
			</variables>
		<steps>
			<okbox npc="guv" text="Piracy will not be tolerated on my watch, Captain, and it's time for you to help me deliver that message loud and clear to these rats of the sea.  I am offering a bounty to any Captain who can sink two pirate fleets.  Think you're capable?" ok="Of course!"/>
			<pushtask text="Defeat Two Pirate Fleets!"/>
			<get item="alwaysbattle"/>
                        <goal type="combat" battles="2"/>
                        <poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <poptask num="1"/>
			<get item="gold" amount="20000"/>
                        <give item="alwaysbattle"/>
                        <okbox npc="guv" text="Ha!  Nice work, Captain.  That should encourage the whole filthy lot of them to hunt elsewhere.  Here's the bounty, as promised." ok="Thank you!"/>
		</steps>
	</task>

	<task level="1" name="Capture the Pirate!" reward="30,000 gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="infoport" filters="new,visible,banker"/>
                        <port name="traderport" filters="new,visible,trader"/>
			<npc name="dirtybob">
				<filters>
					<reserved>none</reserved>
					<class>upperpirate</class>
					<sex>male</sex>
				</filters>
			</npc>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="banker" location="{bankerinfoport}"/>
			<location name="bankerinfoport" port="{infoport}" building="bank"/>
                        <npc name="tradeguy" location="{tradeport}"/>
			<location name="tradeport" port="{traderport}" building="trader"/>

		</variables>

		<steps>
			<okbox npc="guv" text="A pirate fortress a few miles from here was causing much unsavory traffic in the area, so a few years ago, I had my fleet destroy it.  A brother of {dirtybob} was slain in the raid, and he's sworn vengeance on both me and my forces.  You must stop him before he can make good his threats.  Check in {infoport}; he was last seen there." ok="Right away."/>
			<pushtask text="Claim your Reward in {startport}"/>
                        <pushtask text="Defeat the pirate {dirtybob}"/>
			<pushtask text="Go to {infoport} to discover information"/>
			<goal type="talk" npc="{banker}" text="Ask about pirates"/>
                        <okbox npc="banker" text="{dirtybob}?  I hear the Trader in {traderport} knows something about {dirtybob}.  They've had some shady dealings in the past." ok="Thanks for your help."/>
                        <poptask num="1"/>
			<pushtask text="Head to {traderport} to speak with the trader"/>
                        <goal type="talk" npc="{tradeguy}" text="Ask about the pirate"/>
                        <okbox npc="tradeguy" text="{dirtybob}?  Are ye certain ye want to cross swords with that viper?  He'd just as soon stab ye 'tween the ribs as say good day.  There'll be nary a tear to be shed the day that dog dangles from the end of a rope.  Last I heard he was darkening the route between {startport} and {infoport}.  Good luck to ye!" ok="I'll be fine."/>
                        <poptask num="1"/>
                        <pushtask text="Find Pirate between the Routes {startport} and {infoport}"/>
                        <goal type="npccombat" port1="{startport}" port2="{infoport}" npc="{dirtybob}" text="The Governor of {startport} sent ye, did he not?  Ah, tis no matter to me, I shall just have to gut ye first before I do 'im the same service.  Say yer prayers, jackleg!"/>
			<poptask num="2"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<get item="gold" amount="30000"/>
			<addlogentry text="Received 30,000 gold from the Governor of {startport}."/>
                        <okbox npc="guv" text="My safe rest at night is worth far more, but I can only afford to give you 30,000 in gold - and my eternal gratitude, of course.  A thousand thanks, dear friend." ok="You are welcome."/>

		</steps>
	</task>

	<task level="1" name="Deliver the Treaty!" reward="Ring of Friendship" character="laroche">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible,no_governor_access"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>

                        <npc name="guv2" location="{bankplace}"/>
			<location name="bankplace" port="{otherport}" building="governor"/>
			<npc name="verdugo">
			<filters>
				<nickname>NONE</nickname>
					<firstname>Ignacio</firstname>
					<title>Captain</title>
					<surname>Verdugo</surname>
					<reserved>verdugo</reserved>
			</filters>
			</npc>

		</variables>
		<steps>
			<okbox npc="guv" text="LaRoche?  Care to help me play a rather dirty trick on the Governor of {otherport}?  I have prepared this treaty for his signature.  After he signs, we shall invite him to a huge goodwill celebration, during which my ships will raid his city and plunder at will.  Such jolly fun!  Take the treaty to him for his signature, and then come back to me for your reward:  this one of a kind Ring of Friendship." ok="I love a good double-cross."/>
                        <get item="letter"/>
                        <pushtask text="Deliver the signed treaty to the Governor in {startport}."/>
                        <pushtask text="Get the Treaty signed in {otherport}."/>
			<makehostile port="{otherport}"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Treaty"/>
                        <poptask num="2"/>
                        <okbox npc="guv2" text="No, no, please stop flogging me!  Captain Ignacio Verdugo and the Governor of {startport} put me up to this ambush.  We were supposed to catch you off guard and destroy your ship.  We were only following his orders! Exact your revenge on Captain Verdugo who is docked near {startport} right now!" ok="Let the flogging continue!"/>
                        <makehostile port="{startport}"/>
                        <give item="letter"/>
                        <pushtask text="Confront the Governor of {startport} for ambushing you."/>
                        <pushtask text="Defeat Captain Ignacio Verdugo near {startport}."/>
                        <goal type="npccombat" port1="{startport}" npc="{verdugo}" text="Hello! My name is Sebastian... Err... I mean Ignacio Verdugo.  I apologize I've been practicing my death speech for weeks and I'm quite nervous.  Let me start again.  Hello! Your name is Ignacio... Ah never mind.  Prepare to Die!"/>
                        <okbox npc="verdugo" text="You may have bested me today LaRoche but I will return and I will exact my revenge!  These will be the last words you hear: Hello!  My name is Ignacio Verdugo.  You killed my father!  Prepare to Die!" ok="I look forward to your next defeat."/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv}" text="Son of a dog!  Why did you attack me?"/>
                        <get item="friendship"/>
			<addlogentry text="Received the Ring of Friendship from the Governor of {startport}."/>
			<poptask num="1"/>
                        <okbox npc="guv" text="I don't trust you, LaRoche.  I was certain that if I let you roam free, one day it would be my own port you plundered and burned.  But let us be sensible.  Spare me and my city today, and I shall give you the Ring of Friendship anyway.  It will win you the favor of the moneylender." ok="Today I shall overlook your insolence!"/>
                        </steps>
	</task>

	<task level="1" name="Rescue Van Gregor!" reward="Ring of Friendship" character="custom">
		<variables>
                           <port name="startport" filters="here"/>
			   <port name="infoport" filters="new,visible,alehouse"/>
                           <port name="battleport" filters="new,visible"/>
                           <port name="battleport2" filters="new,visible"/>
                           <npc name="guv" location="{startmansion}"/>
			   <location name="startmansion" port="{startport}" building="governor"/>
                           <location name="infoale" port="{infoport}" building="alehouse"/>
                           <npc name="bart" location="{infoale}"/>
                           <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>upper</class>
					<sex>male</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
			   <npc name="vangregor">
				<filters>
					<reserved>vangregor</reserved>
				        <firstname>Russell</firstname>
				        <title>Captain</title>
				        <surname>Van Gregor</surname>
				</filters>
			   </npc>
		</variables>

		<steps>
			<okbox npc="guv" text="{player.firstname}, I fear I've sent a dear friend to his doom.  I asked Captain Russell Van Gregor to seek out a magical amulet for me, but fate was cruel to him.  He has been captured by {pirate}, who is demanding 200,000,000 gold and my favorite wig for his return!  Money is no object with such a friend as Russell, but I simply do not have the funds.  Plus, that's a really super wig.  I need you to rescue Van Gregor and return him to me." ok="Where can I find him?"/>
			<okbox npc="guv" text="I do not know {pirate}'s location, but you can find information about {pirate.lastname}'s whereabouts in {infoport}.  Should you succeed, I will give you the Ring of Friendship.  It reduces the interest you pay the Moneylender by half." ok="Deal."/>

                        <pushtask text="Return Van Gregor to {startport}."/>
			<pushtask text="Rescue Van Gregor from {pirate}."/>
                        <pushtask text="Get information about {pirate.lastname} in {infoport}."/>

                        <goal type="talk" npc="{bart}" text="Ask about pirate."/>
                        <okbox npc="bart" text="Yes, {pirate} was in here, boasting about all the famous captains he's defeated recently.  And wearing a really nice wig, I must say.  Anyway, he claimed he'd captured Russell Van Gregor.  Would be a real shame if that great man were sent to his doom by such a pathetic pirate." ok="Where is he?"/>
                        <okbox npc="bart" text="Last I heard {pirate} was heading for the route between {battleport} and {battleport2}." ok="Thanks."/>
                        <poptask num="1"/>
                        <pushtask text="Defeat the Pirate between {battleport} and {battleport2}."/>
                        <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{battleport2}" text="You've come to rescue Captain Van Gregor?  If the mighty Van Gregor failed, what chance do you think you have, {player.lastname}?"/>
                        <poptask num="2"/>
                        <okbox npc="pirate" text="I surrender!  Say, that's a really nice wig you have...  oh, that's just your hair.  Never mind." ok="Van Gregor?"/>
                        <okbox npc="vangregor" text="{player}!  Tales of your skill with the sword have met my ears many a time, but I never thought we would meet.  Thank you for your bravery.  Let us set sail for {startport}!" ok="Nice hair."/>
                        <get item="vangregor"/>
                        <addlogentry text="Rescued Captain Van Gregor from pirates."/>
                        <goal type="talk" npc="{guv}" text="Return Van Gregor"/>
                        <poptask num="1"/>
                        <get item="friendship"/>
                        <give item="vangregor"/>
                        <addlogentry text="Received the Ring of Friendship from {startport}."/>
                        <okbox npc="guv" text="Russell!  You are saved!  As is my wig.  {player.firstname}, you have proved your skill and more than earned your reward.  As promised, here is the Ring of Friendship." ok="Fabulous!"/>
                        <okbox npc="vangregor" text="I cannot thank you enough, Captain {player.lastname}.  I am indeed in your debt and hope someday I can repay your kindness." ok="Why, thank you!"/>
		</steps>
	</task>

		<task level="1" name="Rescue Van Gregor!" reward="Ring of Friendship" character="mcgowan">
		<variables>
                           <port name="startport" filters="here"/>
			   <port name="infoport" filters="new,visible,alehouse"/>
                           <port name="battleport" filters="new,visible"/>
                           <port name="battleport2" filters="new,visible"/>
                           <npc name="guv" location="{startmansion}"/>
			   <location name="startmansion" port="{startport}" building="governor"/>
                           <location name="infoale" port="{infoport}" building="alehouse"/>
                           <npc name="bart" location="{infoale}"/>
                           <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>upper</class>
					<sex>male</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
			   <npc name="vangregor">
				<filters>
					<reserved>vangregor</reserved>
				        <firstname>Russell</firstname>
				        <title>Captain</title>
				        <surname>Van Gregor</surname>
				</filters>
			   </npc>
		</variables>

		<steps>
			<okbox npc="guv" text="Christine, I fear I've sent a dear friend to his doom.  I asked Captain Russell Van Gregor to seek out a magical amulet for me, but fate was cruel to him.  He has been captured by {pirate}, who is demanding 200,000,000 gold and my favorite wig for his return!  Money is no object with such a friend as Russell, but I simply do not have the funds.  Plus, that's a really super wig.  I need you to rescue Van Gregor and return him to me." ok="Where can I find him?"/>
			<okbox npc="guv" text="I do not know {pirate}'s location, but you can find information about {pirate.lastname}'s whereabouts in {infoport}.  Should you succeed, I will give you the Ring of Friendship.  It reduces the interest you pay the Moneylender by half." ok="Deal."/>

                        <pushtask text="Return Van Gregor to {startport}."/>
			<pushtask text="Rescue Van Gregor from {pirate}."/>
                        <pushtask text="Get information about {pirate.lastname} in {infoport}."/>

                        <goal type="talk" npc="{bart}" text="Ask about pirate."/>
                        <okbox npc="bart" text="Yes, {pirate} was in here, boasting about all the famous captains he's defeated recently.  And wearing a really nice wig, I must say.  Anyway, he claimed he'd captured Russell Van Gregor.  Would be a real shame if that great man were sent to his doom by such a pathetic pirate." ok="Where is he?"/>
                        <okbox npc="bart" text="Last I heard {pirate} was heading for the route between {battleport} and {battleport2}." ok="Thanks."/>
                        <poptask num="1"/>
                        <pushtask text="Defeat the Pirate between {battleport} and {battleport2}."/>
                        <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{battleport2}" text="You've come to rescue Captain Van Gregor?  If the mighty Van Gregor failed, what chance do you think you have, little girl?"/>
                        <poptask num="2"/>
                        <okbox npc="pirate" text="I surrender!  Say, that's a really nice wig you have...  oh, that's just your hair.  Never mind." ok="Van Gregor?"/>
                        <okbox npc="vangregor" text="Christine McGowan!  Tales of your skill with the sword have met my ears many a time, but I never thought we would meet.  Thank you for your bravery.  Let us set sail for {startport}!" ok="Nice hair."/>
                        <get item="vangregor"/>
                        <addlogentry text="Rescued Captain Van Gregor from pirates."/>
                        <goal type="talk" npc="{guv}" text="Return Van Gregor"/>
                        <poptask num="1"/>
                        <get item="friendship"/>
                        <give item="vangregor"/>
                        <addlogentry text="Received the Ring of Friendship from {startport}."/>
                        <okbox npc="guv" text="Russell!  You are saved!  As is my wig.  Christine, you have proved your skill and more than earned your reward.  As promised, here is the Ring of Friendship." ok="Fabulous!"/>
                        <okbox npc="vangregor" text="I cannot thank you enough, Miss McGowan.  You have the face of an angel, but courage and skill to rival the most hardened men of the sea." ok="Why, thank you!"/>
		</steps>
	</task>

        <task level="1" name="Defeat the no-good pirate!" reward="Ring of Friendship" character="vangregor">
		<variables>
                           <port name="startport" filters="here"/>
			   <port name="infoport" filters="new,visible,alehouse"/>
                           <port name="battleport" filters="new,visible"/>
                           <port name="battleport2" filters="new,visible"/>
                           <npc name="guv" location="{startmansion}"/>
			   <location name="startmansion" port="{startport}" building="governor"/>
                           <location name="infoale" port="{infoport}" building="alehouse"/>
                           <npc name="bart" location="{infoale}"/>
                           <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>upperpirate</class>
					<sex>male</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
			   <npc name="mcgowan">
				<filters>
					<reserved>mcgowan</reserved>
				        <firstname>Christine</firstname>
				        <title>Captain</title>
                                        <nickname>NONE</nickname>
                                        <surname>McGowan</surname>
				</filters>
			   </npc>

		</variables>

		<steps>
			<okbox npc="guv" text="Good to see you Captain Russell Van Gregor.  I need your help defeating {pirate}.  His whereabouts are unknown to me.  But speak to Christine McGowan in {infoport}.  She'll know where to find him.  I will give you the ring of friendship in return.  It reduces the interest you pay the Moneylender by half." ok="Deal."/>
                        <pushtask text="Claim your Reward in {startport}."/>
			<pushtask text="Defeat the pirate {pirate}."/>
                        <pushtask text="Get information about {pirate.lastname} from Christine McGowan in {infoport}."/>

                        <goal type="talk" npc="{bart}" text="Talk to Christine Mcgowan."/>
                        <okbox npc="mcgowan" text="Yes I battled {pirate} on the high seas recently.  The no good pirate destroyed my ship!  I barely made it to {infoport} alive." ok="Where is he?"/>
                        <okbox npc="mcgowan" text="While I wasn't able to defeat him I know for certain that {pirate} was heading for the route between {battleport} and {battleport2}.  Let's get him, Captain!" ok="Victory will be ours!"/>
                        <addlogentry text="Met Christine McGowan; a bright young Captain."/>
                        <addlogentry text="Christine has boarded your ship!"/>
                        <poptask num="2"/>
                        <pushtask text="Defeat the Pirate {pirate} between {battleport} and {battleport2}."/>
                        <get item="mcgowan"/>
                        <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{battleport2}" text="{guv} sent you did he?  Well, he sent Captain McGowan and I put her ship on the bottom of the ocean!  I'm afraid ye be sufferin' the same fate!"/>
                        <poptask num="1"/>
                        <okbox npc="pirate" text="Arrgh!  I surrender!  Ye have beaten this pirate." ok="Grrrrrr!"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <poptask num="1"/>
                        <get item="friendship"/>
                        <addlogentry text="Received the Ring of Friendship from {startport}."/>
		        <addlogentry text="Christine McGowan admires your courage as you blush."/>
		        <addlogentry text="Too bad she can't stay."/>
		        <give item="mcgowan"/>
                        <okbox npc="guv" text="Van Gregor!  Thank you for destroying {pirate} and his fleet.  Here is the Ring of Friendship as promised." ok="Thank you."/>
                        <okbox npc="mcgowan" text="Indeed I am impressed Captain Van Gregor.  You have my respect and admiration.  I look forward to working with you again." ok="Thanks, Miss."/>
		</steps>
	</task>

	<task level="1" name="The Shipwright's Dilemma" reward="unknown" character="azul">
		<variables>
                           <port name="startport" filters="here"/>
			   <port name="shipport" filters="new,visible,shipyard"/>
                           <port name="lenderport" filters="new,visible,moneylender"/>

                           <npc name="guv" location="{startmansion}"/>
			   <location name="startmansion" port="{startport}" building="governor"/>

                           <npc name="shippy" location="{shipplace}"/>
			   <location name="shipplace" port="{shipport}" building="shipyard"/>

                           <npc name="lender" location="{lenderplace}"/>
			   <location name="lenderplace" port="{lenderport}" building="moneylender"/>


                            <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>pirate</class>
					<sex>male</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
			       <npc name="azul">
                         	<filters>
					<firstname>Adia</firstname>
                                        <surname>Azul</surname>
                                        <title>Captain</title>
                                        <reserved>azul</reserved>
                                </filters>
                                </npc>

		</variables>

		<steps>
			<okbox npc="guv" text="Adia, I've nothing for you at the moment, but the shipwright in {shipport} did mention he'd like a word with you.  Would you mind stopping over to see him?" ok="No problem."/>
			<pushtask text="Talk to Shipwright in {shipport}."/>
                        <goal type="talk" npc="{shippy}" text="Talk to shipwright."/>
                        <okbox npc="pirate" text="Candygram for Miss Azul...  Miss Adia Azul.  Here you go, miss, here's your package.   Just sign here." ok="Uh...  sure."/>
                        <okbox npc="azul" text="I hope it's chocolate...  hey, wait!  There's nothing in here.  Oh no!  MY COMPASS WAS STOLEN!  I've fallen for the old pickpocket-pretending-to-be-a-candygram trick!  Adia, how could you!  But wait.  {pirate} dropped a letter.  It's addressed from {lenderport}.  I bet I'll find him there." ok="He is so getting a smackdown."/>
                        <poptask num="1"/>
                        <pushtask text="Find {pirate} in {lenderport} who stole your compass!"/>
                        <give item="compass"/>
                        <addlogentry text="{pirate} has stolen your Compass!  Find him!"/>
                        <goal type="talk" npc="{lender}" text="Hey, candygram!"/>
                        <okbox npc="pirate" text="Gasp!  Gotta go!" ok="Hey!  Come back!"/>
                        <poptask num="1"/>
                        <pushtask text="{pirate} has fled {lenderport}.  Chase after him!"/>
                        <addlogentry text="{pirate} has fled {lenderport}.  Chase after him!"/>
                        <goal type="npccombat" npc="{pirate}" text="I'm surprised you'd show you face to me after falling for the candygram trick.  Consider it a favor.  Chocolate will ruin that nice complexion of yours.  And you're not getting your compass back, either!  This is me, thumbing my nose in your general direction!"/>
                        <poptask num="1"/>
                        <get item="friendship"/>
                        <get item="compass"/>
                        <addlogentry text="{pirate} has given you the Ring of Friendship."/>
                        <okbox npc="pirate" text="Uh, just kidding about that nose thumbing thing.  Here's your compass back.  No!  Mercy!  Really, I don't have chocolate!  Don't kill me!  Here, take my most valuable possession instead:  the Ring of Friendship!" ok="Definitely not as good as chocolate."/>
		</steps>
	</task>



	<task level="1" name="On LaRoche's trail!" reward="30,000 Gold" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<port name="battleport2" filters="new,visible"/>
			<npc name="pirate">
				<filters>
                                <class>upperpirate</class>
                                <sex>male</sex>
                                <haircolor>grey</haircolor>  
				<nickname>NONE</nickname>
				        <firstname>Sebastian</firstname>
				        <surname>LaRoche</surname>
				        <title>Captain</title>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Ignacio.  More rumors about LaRoche.  This time I'm certain of the accuracy of my sources.  He can be found between {battleport} and {battleport2}.  Now is the time.  Seize the day!  Destroy the man!" ok="LaRoche is mine!"/>
			<pushtask text="Find LaRoche between {battleport} and {battleport2}"/>
			<goal type="npccombat" port1="{battleport}" port2="{battleport2}"npc="{pirate}" text="It is I, Sebastian LaRoche!  Scourge of the high seas, nemesis to all!  Run and hide you sorry little man.  What?  You doubt me?  You think I am not LaRoche?  But it's me!  I'm your worst nightmare!  En Garde!  That's French!  See?  And now vous will die!"/>
			<okbox npc="pirate" text="You were right.  I'm not LaRoche.  I'm not French.  My hair is not even grey!  I've never stolen a thing.  I just wanted adventure.  To live a life on the sea!  Is that so wrong?  Can I get a ride?" ok="I pity you."/>
			<addlogentry text="Foiled again!  Destroyed so-called ''LaRoche's'' ship, but the search goes on."/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
                        <get item="gold" amount="15000"/>
			<addlogentry text="Received 15,000 Gold from the Governor of {startport}."/>
			<okbox npc="guv" text="How strange.  You found LaRoche, and yet you didn't?  Well, I suppose some reward is due.  At least you rid us of that strange imposter!" ok="It was the worst French accent ever."/>
		</steps>
	</task>

	<task level="1" name="Rescue the captives!" reward="Ring of Friendship" character="verdugo">
		<variables>
                           <port name="startport" filters="here"/>
			   <port name="infoport" filters="new,visible,alehouse"/>
                           <port name="battleport" filters="new,visible"/>
                           <port name="battleport2" filters="new,visible"/>
                           <npc name="guv" location="{startmansion}"/>
			   <location name="startmansion" port="{startport}" building="governor"/>
                           <location name="infoale" port="{infoport}" building="alehouse"/>
                           <npc name="bart" location="{infoale}"/>
                           <npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<class>upperpirate</class>
					<sex>male</sex>
				</filters>
			   </npc>
			   <npc name="anna">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>female</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
                           <npc name="maria">
				<filters>
					<reserved>none</reserved>
					<class>middle</class>
					<sex>female</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
                           <npc name="beatriz">
				<filters>
					<reserved>none</reserved>
					<class>upper</class>
					<sex>female</sex>
					<headsize>smallhead</headsize>
				</filters>
			   </npc>
		</variables>
		<steps>
			<okbox npc="guv" text="Ignacio, {pirate} has committed a crime that will bring a tear to the eye of one such as you.  He has kidnapped all of the most beautiful ladies in {startport}!" ok="The deuce you say!"/>
			<okbox npc="guv" text="Who knows what nefarious purpose he has in mind for those innocent lovelies.  I know you are the right man to come to their rescue.  You can find information about {pirate.lastname}'s whereabouts in {infoport}.  Return the ladies, and you will have the Ring of Friendship from me, and a considerable amount of gratitude and affection from the ladies." ok="Rrrowl."/>
			<pushtask text="Claim your Reward in {startport}."/>
			<pushtask text="Defeat the Pirate {pirate}."/>
                        <pushtask text="Get information about {pirate.lastname} in {infoport}."/>
                        <goal type="talk" npc="{bart}" text="Ask about pirate."/>
                        <okbox npc="bart" text="Yes, {pirate} was here with quite the stunning bunch of ladies.  Going on and on about some sort of ''spring collection' and something called a ''runway''.  The poor girls looked half dead from starvation, so I offered one a sandwich.  But she just screamed and ran!  Very curious.  Very curious indeed." ok="What has the scoundrel done!"/>
                        <okbox npc="bart" text="Aye, the no good {pirate} kidnapped me sister, he did.  Muttered something about her bein' the perfect size two, whatever that means.  You'll find {pirate} on the route between {battleport} and {battleport2}.  Send him a cannonball for me!" ok="I shall!"/>
                        <poptask num="2"/>
                        <pushtask text="Defeat the Pirate between {battleport} and {battleport2}."/>
                        <goal type="npccombat" npc="{pirate}" port1="{battleport}" port2="{battleport2}" text="You shall not disrupt my vision, Verdugo!  I am off to make my fortune in the world of high fashion, and these ladies shall display my creations!  Come ye not closer with that sandwich.  You and your so-last-year outfit should prepare to meet their doom!"/>
                        <poptask num="1"/>
                        <okbox npc="anna" text="Ignacio!  My love!  You've come to rescue me!  Ooh, is that ham on rye?" ok="Uh, yes, I guess.  And yes!"/>
                        <okbox npc="beatriz" text="Your love?  Ignacio's heart belongs to me!  I was with Ignacio just last fortnight.  And that's low-fat mayo, right?" ok="Um, yes."/>
                        <okbox npc="maria" text="Last fortnight?  Last fortnight Ignacio told me he had gone to capture pirates in {battleport2}.  Hey, is that barbecue I smell?" ok="Well, I..."/>
                        <okbox npc="anna" text="Ignacio you liar!  You said you had to attend your great grandmother's birthday last fortnight!  And that sandwich is MINE, wenches!  BACK OFF!" ok="Um.  Let's go home."/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <poptask num="1"/>
                        <get item="friendship"/>
                        <addlogentry text="The Governor of {startport} has given you the Ring"/>
                        <addlogentry text="of Friendship."/>
                        <okbox npc="guv" text="Ignacio, thank you for rescuing the maidens.  It appears you...  well, fed them well.  Here is your Ring of Friendship as promised." ok="I'll be leaving now."/>
		</steps>
	</task>

	<task level="0" name="The Bounty" reward="Map" levelup="true">
		<variables>
			<port name="startport" filters="here"/>
			<port name="bobport" filters="new,visible"/>
			<port name="newport" filters="hidden"/>
                        <port name="accessport" filters="visible,no_governor_access"/>
                        <npc name="dirtybob">
				<filters>
					<reserved>none</reserved>
					<class>upperpirate</class>
					<sex>male</sex>
					<race>white</race>
				</filters>
			</npc>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Yes, yes, everyone knows that {dirtybob} is a pillaging scoundrel who has destroyed most of my merchant fleet.  But how can I stop him?  I have no hope but you, Captain.  Destroying him will be quite a feat; you may want to consider purchasing a new ship before pursuing him.  He's been spotted recently near {bobport}." ok="Will do."/>
			<pushtask text="Defeat the Pirate {dirtybob} Near {bobport}."/>
			<unlockship type="next"/>
                        <goal type="arrive" port="{bobport}"/>
                        <goal type="npccombat" port1="{bobport}" npc="{dirtybob}" text="Yarr!  Ye thinks yer fate will be different from those who've suffered me wrath to date, do ye?  Prepare ye'self to join the rest of the fleet from {startport}!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<addlogentry text="Received the {newport} Map from the Governor of {startport}."/>
			<addlogentry text="You now have access to the Governor of {accessport}."/>
                        <tasklevel level="1"/>
			<reveal port="{newport}"/>
			<accessgovernor port="{accessport}"/>
			<unlockgood type="arms"/>
			<okbox npc="guv" text="Bravo, brave adventurer!  You have succeeded where my best men have not.  This map to {newport} should prove a fitting reward for your efforts." ok="Thank you!"/>
			<okbox npc="guv" text="Additionally, the Governor of {accessport} has been impressed by your valor.  He wishes to see you at your soonest convenience." ok="Right away!"/>
                </steps>
	</task>

	<task level="0" name="Rescue Sir Stephen the Silent" reward="Unknown" character="mcgowan">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
					<reserved>none</reserved>
					<class>pirate</class>
				</filters>
			</npc>
			<npc name="stephen">
				<filters>
					<reserved>none</reserved>
                    <class>upper</class>
                    <sex>male</sex>
                    <race>white</race>
                    <headsize>mediumhead</headsize>
                    <earsize>smallear</earsize>
                    <haircolor>black</haircolor>
                    <neckitem>none</neckitem>
                    <costume>clothing30</costume>
                    <pet>none</pet>
                    <earitem>none</earitem>
                    <hair>hair25m</hair>
                    <hairitem>nothing</hairitem>
                    <eyes>eyes45</eyes>
                    <eyeitem>none</eyeitem>
                    <ears>ear12</ears>
                    <nose>nose26</nose>
                    <noseitem>none</noseitem>
                    <mouth>mouth73</mouth>
                    <mouthitem>none</mouthitem>
                    <cheek>none</cheek>
                    <cheekitem>none</cheekitem>
                    <title>Sir</title>
                    <firstname>Stephen</firstname>
                    <surname>the Silent</surname>
				</filters>
			</npc>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

                <steps>
		<okbox npc="guv" text="I'm sorry to have to be the one to break the news to you, Christine, but just yesterday I received word that your former mentor, Sir Stephen the Silent, has been kidnapped by {pirate}." ok="Heavens no!  Where?"/>
                <unlockship type="next"/>
                <okbox npc="guv" text="Our best informants claim that {pirate} is headed towards the shipping route near {battleport}.  I know how much Sir Stephen means to you.  Good luck, my girl." ok="Thank you."/>
                <pushtask text="Rescue Sir Stephen the Silent from {pirate}."/>
                <pushtask text="Defeat {pirate} somewhere near {battleport}"/>
                <goal type="arrive" port="{battleport}"/>
                <goal type="npccombat" port1="{battleport}" npc="{pirate}" text="McGowan!  I knew capturing this old bird would draw you out.  Sending you to the bottom of the sea will make me a force to be reckoned with in the pirate world!  Let's see what you've got, missy!"/>
		<okbox npc="pirate" text="There will be other days, McGowan, when you're not so lucky - and I will be waiting!" ok="Stephen?"/>
                <addlogentry text="Destroyed {pirate.lastname}'s ship and rescued Sir Stephen."/>
                <poptask num="2"/>
		<get item="compass"/>
		<addlogentry text="Received a compass from Sir Stephen the Silent."/>
                <okbox npc="stephen" text="(Uses Pirate Sign Language): Christine!  I trained you well.  Congratulations, my girl.  Although I am not your father in name, I am as proud today as I would be if you were my own blood kin.  I've been meaning to give you this as a sort of graduation present.  Please take this fine compass as a token of my love.  Till we meet again!" ok="Farewell."/>
		</steps>
	</task>

	<task level="0" name="The Captured Port!" reward="Compass" character="custom">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible,no_governor_access"/>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
                    <class>pirate</class>
                    <sex>male</sex>
				</filters>
			</npc>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guv2" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>
		</variables>
		<steps>
			<okbox npc="guv" text="{player.firstname}, I've received an urgent request for aid from the Governor of {battleport}.  His mansion has fallen to the forces of the evil pirate {pirate}!  Our economy here depends on a steady flow of trade with {battleport}.  Please go to his aid right away.  Destroy {pirate}, return here, and I shall reward you well." ok="I'm on it."/>
			<unlockship type="next"/>
                        <pushtask text="Destroy the pirate {pirate}."/>
			<pushtask text="Head to {battleport} and free the Governor."/>
			<goal type="arrive" port="{battleport}"/>
			<goal type="talk" npc="{guv2}" text="Surrender, Pirate!"/>
			<poptask num="1"/>
			<okbox npc="pirate" text="Hey, {player.firstname}!  Look out behind you!  A firebreathing dragon is heading your way." ok="Dragons don't... Hey!  Come back!"/>
			<accessgovernor port="{battleport}"/>
			<okbox npc="guv2" text="Thank you for rescuing us, Captain {player.lastname}!  If you hurry, I am sure you will capture {pirate.lastname}." ok="I'm off!"/>
			<goal type="npccombat" npc="{pirate}" text="You've tracked me down, but I'll give you no satisfaction, {player}!  Prepare to die!"/>
			<addlogentry text="Destroyed {pirate} and his ship!"/>
			<poptask num="1"/>
                        <pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<get item="compass"/>
			<addlogentry text="Received a Compass from the Governor of {startport}."/>
			<okbox npc="guv" text="Your nautical prowess astounds me, Captain {player}!  Courage such as yours is rarely seen in the boldest of adventurers.  You've not only freed {battleport} but destroyed the pirate {pirate}.  I'd like you to have this compass as a token of my gratitude.  It's a family heirloom." ok="Ooh, I like!"/>
		</steps>
	</task>


	<task level="0" name="The Captured Port!" reward="Compass" character="azul">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible,no_governor_access"/>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
                    <class>pirate</class>
                    <sex>male</sex>
				</filters>
			</npc>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="guv2" location="{battlemansion}"/>
			<location name="battlemansion" port="{battleport}" building="governor"/>
		</variables>
		<steps>
			<okbox npc="guv" text="Adia, I've received an urgent request for aid from the Governor of {battleport}.  His mansion has fallen to the forces of the evil pirate {pirate}!  Our economy here depends on a steady flow of trade with {battleport}.  Please go to his aid right away.  Destroy {pirate}, return here, and I shall reward you well." ok="I'm on it."/>
			<unlockship type="next"/>
			<pushtask text="Destroy the pirate {pirate}."/>
			<pushtask text="Head to {battleport} and free the Governor."/>
			<goal type="arrive" port="{battleport}"/>
			<goal type="talk" npc="{guv2}" text="Surrender, Pirate!"/>
			<poptask num="1"/>
			<okbox npc="pirate" text="Hey, Azul!  Your corset's slipped down a bit; might want to pull it up and stop the free show." ok="My corset's fine...  wait!  Come back here!"/>
			<accessgovernor port="{battleport}"/>
			<okbox npc="guv2" text="Thank you for rescuing us, Captain Azul!  If you hurry, I am sure you will capture {pirate}." ok="I'm off!"/>
			<goal type="npccombat" npc="{pirate}" text="You've tracked me down, but I'll give you no satisfaction, Azul!  If you're a praying woman, now would be a good time!"/>
			<addlogentry text="Destroyed {pirate} and his ship!"/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<get item="compass"/>
			<addlogentry text="Received a Compass from the Governor of {startport}."/>
			<okbox npc="guv" text="Your nautical prowess astounds me, Miss Azul!  Courage such as yours is rarely seen in the boldest of adventurers.  You've not only freed {battleport}, but destroyed the pirate {pirate}.  I'd like you to have this compass as a token of my gratitude.  It's a family heirloom." ok="Ooh.  Nice!"/>
		</steps>
	</task>

	<task level="0" name="Rescue the Lucky Maiden!" reward="1,000 Gold" character="vangregor">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<npc name="pirate">
				<filters>
					<reserved>none</reserved>
                                        <sex>male</sex>
					<class>pirate</class>
				</filters>
			</npc>
			<npc name="father">
				<filters>
					<reserved>none</reserved>
					<sex>male</sex>
					<class>middle</class> 
					<race>white</race>
					<headsize>bighead</headsize>
					<haircolor>grey</haircolor>
					<title>Mr.</title>
					<surname>Van Gregor</surname>
					<firstname>Patrick</firstname>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Do you know of a ship called The Lucky Maiden?  'Twas none other than your father who once sailed with her.  Her entire crew - your father's former comrades - has been captured by {pirate}!  Russell, I wanted you to be the first to have the opportunity to hunt down this dog and bring him to justice.  You'll find the pirates on the route near {battleport}.  Return afterward to me for a reward." ok="For my father!"/>
			<unlockship type="next"/>
                        <pushtask text="Return to the Governor of {startport} for your Reward."/>
                        <pushtask text="Rescue the crew of the Lucky Maiden"/>
                        <pushtask text="Defeat {pirate.lastname} somewhere near {battleport}."/>
                        <goal type="arrive" port="{battleport}"/>
                        <goal type="npccombat" port1="{battleport}" npc="{pirate}" text="Van Gregor!  I knew an attack on this particular ship would draw you out.  Defeating a one such as you will earn me untold fame among the locals here!  I will be able to demand whatever tribute I see fit!  Prepare to meet your mother under the waves today!"/>
                        <okbox npc="father" text="My boy?  Russell?  Could it really be you?  Blessed be, it is!  My ship was delayed in returning to port.  When I arrived home, I learned of your mother's passing, and of your departure.  I've spent years searching for you!  You have made me a proud father.  Come, let us return to {startport}." ok="Yes.  Let's go home."/>
                        <addlogentry text="Destroyed {pirate.lastname} and found your father, Patrick!"/>
                        <poptask num="2"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
                        <get item="gold" amount="1000"/>
                        <okbox npc="guv" text="Well done, Russell!  And I'm so happy you found your father.  Take this 1,000 in gold and have yourself a fine reunion celebration." ok="Thank you!"/>
                        <addlogentry text="Received 1,000 Gold from the Governor of {startport}."/>
                        <poptask num="1"/>
                        <get item="compass"/>
                        <addlogentry text="Received a compass from your father in {startport}."/>
                        <okbox npc="father" text="Your mother gave me this compass when first I went to sea, lad.  She said it would always point the way home and back to her heart.  She would have wanted you to have it.  May it guide you on your path to greatness.  I'm proud of you, my son." ok="Thank you Father."/>
		</steps>
	</task>

	<task level="0" name="Find LaRoche!" reward="10,000 Gold" character="verdugo">
		<variables>
			<port name="startport" filters="here"/>
			<port name="battleport" filters="new,visible"/>
			<npc name="pirate">
				<filters>
                                <class>pirate</class>
                                <sex>male</sex>
				        <title>Captain</title>
				</filters>
			</npc>
            <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Ignacio, my friend.  I've heard rumors about your nemesis.  Yes!  It is he!  LaRoche has been spotted!  He was last sighted near {battleport} harassing merchant ships.  This might be your chance!" ok="I will find him!"/>
			<unlockship type="next"/>
                        <pushtask text="Find Sebastian LaRoche somewhere near {battleport}."/>
			<goal type="arrive" port="{battleport}"/>
                        <goal type="npccombat" port1="{battleport}" npc="{pirate}" text="So.  Ye be lookin' for LaRoche, eh?  I'll not be tellin' ye where he be!  Ye be ter tarnin' en' blin blu on te herst, eh?  Eh?!  Harrrr!"/>
			<okbox npc="pirate" text="Wait!  Save me!  I'll tell ye anything!  I can tell ye where LaRoche be...  and, and how to best 'im in battle!  Ye can always find 'im at the.  .  .  ahhhhhhh!" ok="I will find this ''ahhhhh'' place."/>
			<addlogentry text="Found LaRoche's men, but not the demon himself."/>
			<poptask num="1"/>
			<pushtask text="Claim your Reward from the Governor of {startport}"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<poptask num="1"/>
			<get item="compass"/>
			<addlogentry text="Received a Compass from the Governor of {startport}."/>
			<okbox npc="guv" text="It's unfortunate you did not find that monster, LaRoche.  I can't give you the bounty, but perhaps this humble gift will bring you closer to finding him.  It's a compass of the finest craftsmanship.  Use it well, and good luck!" ok="Oooo!  It's shiny!"/>
		</steps>
	</task>

	<task level="0" name="Deliver the Sealed Letter!" reward="5,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="letterport" filters="new,visible,no_governor_access"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<location name="lettermansion" port="{letterport}" building="governor"/>
			<npc name="guv2" location="{lettermansion}"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Captain, I have a weighty task for you.  Normally, I would trust only my own ships to deliver this missive, but my vessels have not returned from {letterport}.  Much depends on the timely arrival of this letter in {letterport}.  I'm relying on your keen nautical skills to insure its prompt delivery.  I am certain the Governor of {letterport} will reward you." ok="Yes Sir."/>
			<pushtask text="Deliver the Sealed Letter to the Governor of {letterport}"/>
			<get item="letter"/>
			<makehostile port="{letterport}"/>
                        <goal type="arrive" port="{letterport}"/>
                        <goal type="talk" npc="{guv2}" text="Deliver the Letter."/>
			<accessgovernor port="{letterport}"/>
                        <poptask num="1"/>
			<give item="letter"/>
			<get item="gold" amount="5000"/>
			<addlogentry text="Received 5,000 Gold from the Governor of {letterport}."/>
			<okbox npc="guv2" text=" Huzzah, {letterport} is safe from the buccaneer scoundrels!  Thank you fine Captain!  I say, is that a letter from {startport} you're delivering?  Perhaps you will accept this small sum of 5,000 gold as a sign of my gratitude." ok="Thank you!"/>
		</steps>
	</task>

	<task level="0" name="Shopping for Timber" reward="Remainder of Shopping Money">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Captain, I have heard that the Queen has installed modern devices called ''privies'' in her palace.  Apparently, they allow indoor...  oh, let's leave it at that.  I simply must install a few in my mansion.  The job will require 10 crates of timber from {otherport}, I'm told the wood there is much less likely to splinter.  This 10,000 in gold should more than cover your expenses.  Keep the remainder as your fee." ok="Will do."/>
			<get item="gold" amount="10000"/>
			<addlogentry text="Received 10,000 gold to purchase timber for the Governor."/>
			<pushtask text="Give 10 Crates of Timber to Governor of {startport}."/>
			<pushtask text="Buy 10 Crates of Timber in {otherport}."/>
			<goal type="arrive" port="{otherport}"/>
                        <goal type="buy" good="timber" amount="10" port="{otherport}"/>
			<give item="timber" amount="10"/>
			<get item="tentimber"/>
			<poptask num="1"/>
			<addlogentry text="Transferred 10 crates of {otherport} timber into"/>
                        <addlogentry text="a special crate for the Governor of {startport}."/>
			<goal type="talk" npc="{guv}" text="Deliver the Timber."/>
			<give item="tentimber"/>
			<addlogentry text="Delivered 10 crates of timber to the Governor."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Huzzah!  No longer shall my posterior freeze over on cold January mornings.  My thanks, good Captain." ok="No problem."/>
		</steps>
	</task>

	<task level="0" name="Fish Work" reward="2,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
                        <port name="otherport" filters="new,visible"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Horrors!  Unexpected additional guests have arrived for tonight's gala feast, and now we are short of fish.  I hate to ask a fine Captain such as yourself to perform a menial task, but I should be well in your debt if you were to go to the Marketplace in {otherport} and purchase five crates of fish for me.  The guests are expecting fish from {otherport}, which is known for its exquisite flavor.  I shall pay you generously upon your return." ok="Yes, Sir."/>
			<pushtask text="Buy Five Crates of Fish in {otherport}."/>
			<goal type="arrive" port="{otherport}"/>
                        <goal type="buy" good="fish" amount="5" port="{otherport}"/>
                        <give item="fish" amount="5"/>
			<get item="fivefish"/>
			<poptask num="1"/>
			<pushtask text="Return to Governor of {startport} with Fish."/>
			<addlogentry text="Transferred 5 crates of {otherport} fish into"/>
                        <addlogentry text="a special crate for the Governor of {startport}."/>
                        <goal type="talk" npc="{guv}" text="Hand over the Fish"/>
			<give item="fivefish"/>
			<get item="gold" amount="2000"/>
			<addlogentry text="Received 2,000 gold from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="What on earth is that stench?  Oh, it's the fish.  Well, we'll salt it generously, and no one will notice.  Here is your 2000 gold." ok="Thanks!"/>
		</steps>
	</task>
        <task level="0" name="Befriend the Banker" reward="1,000 gold" character="mcgowan">
		<variables>
			<port name="startport" filters="here,bank"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="banker" location="{bankplace}"/>
			<location name="bankplace" port="{startport}" building="bank"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Now that you have begun doing tasks for me you become my key representative in town.  I need to make sure you befriend the local businesses.  Go to the Bank and deposit 5,000 of your own gold.  I will give you 1,000 gold when you return from this task." ok="Yes Sir."/>
			<pushtask text="Claim your Reward at the Governor's in {startport}."/>
			<pushtask text="Deposit 5,000 gold at the Bank in {startport}."/>
			<goal type="deposit" amount="5000" port="{startport}"/>
			<poptask num="1"/>
			<okbox npc="banker" text="A pleasure seeing you noble Captain.  I appreciate your business and hope to see you again soon.  Tell the Governor I hope he is doing well." ok="I will.  Thanks."/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<get item="gold" amount="1000"/>
			<addlogentry text="Received 1,000 gold from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Thank you for befriending the local banker.  I hope you and I keep good ties with all members of the local community.  Here is your 1000 gold." ok="Thanks!"/>
		</steps>
	</task>

	<task level="0" name="Grandfather's Death" reward="Unknown">
		<variables>
			<port name="startport" filters="here,moneylender"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
                        <npc name="lender" location="{bankplace}"/>
			<location name="bankplace" port="{startport}" building="moneylender"/>
		</variables>
		<steps>
			<okbox npc="guv" text="I'm sorry to inform you that your grandfather recently passed away.  He has willed his entire estate to you, which means you now owe the Moneylender 1,000 in gold.  When you pay off his...  err, your debt, I shall surrender the rest of his possessions to you." ok="Grandpere, you old devil!"/>
                        <addlogentry text="Learned of your grandfather's passing in {startport}."/>
			<addlogentry text="Acquired your grandfather's debt of 1000 gold!"/>
			<borrowgold amount="1000"/>
			<give item="gold" amount="1000"/>
			<pushtask text="Claim your Reward at the Governor in {startport}."/>
                        <pushtask text="Payback 1,000 gold to the Moneylenders."/>
			<goal type="repay" amount="1000"/>
			<okbox text="I must say, I wasn't sure if I'd see you.  But I'm glad you've repaid your debt so quickly.  Say, we should chat about our low, low rates on hut improvement financing..." ok="Nah.  Gotta go get Grandpa's estate!"/>
                        <poptask num="1"/>
                        <goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<get item="freeloan"/>
			<addlogentry text="Received The Good Customer Coupon from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Oh yes.  The only thing he had other than debt was this dead moth.  It's all yours.  But please allow me to give you this Good Customer Coupon.  You can use it to borrow from any Moneylender with zero percent interest.  The Coupon is only good for the next twelve weeks, though, so act fast." ok="Now THAT is a nice moth."/>
		</steps>
	</task>

    <task level="0" name="Retrieve the Gem of Mirth" reward="5,000 Gold">
		<variables>
			<port name="startport" filters="here"/>
			<port name="gemport" filters="new,visible,alehouse,shipyard"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<location name="gemtavern" port="{gemport}" building="alehouse"/>
			<location name="gemyard" port="{gemport}" building="shipyard"/>
			<npc name="guv" location="{startmansion}"/>
			<npc name="bart" location="{gemtavern}"/>
			<npc name="shippy" port="{gemport}" building="shipyard"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Captain, my wife is about to reach...  well, shall we say, a certain age?  I assure her she is as beautiful as the day we married, but she will have none of it.  I am told of a certain Gem of Mirth, which has the power to restore happiness to a troubled soul.  It was last seen in {gemport}.  Get this trinket for me, and I shall pay you 5,000 in gold." ok="Right away."/>
			<pushtask text="Bring the Gem of Mirth to the Governor of {startport}"/>
			<pushtask text="Find Information in {gemport} about the Gem of Mirth"/>
			<goal type="arrive" port="{gemport}"/>
			<goal type="talk" npc="{bart}" text="Ask about the Gem of Mirth"/>
			<okbox npc="bart" text="Yes, the Gem's presence here has been noted.  {shippy.firstname} has it.  We're all getting a little tired of the giggling, so please do buy it from him.  You can find him at the Shipyard." ok="Thanks!"/>
			<poptask num="1"/>
			<pushtask text="Talk to {shippy} at {gemyard}"/>
			<goal type="talk" npc="{shippy}" text="Ask about the Gem of Mirth"/>
			<okbox npc="shippy" text="Hee hee!  Yes, I have the Gem of Mirth!  Ho ho!  Please, take it quickly!  Hoo hoo hoo!  No, really, my ribs are...  ha ha...  starting to hurt...  May it bring the Governor joy!" ok="Haha!  Thanks!"/>
			<addlogentry text="Ha ha ha!  Received the...  heehee...  Gem of Mirth!"/>
			<poptask num="1"/>
			<get item="mirthgem"/>
			<goal type="talk" npc="{guv}" text="Hand over the Gem of Mirth"/>
			<give item="mirthgem"/>
			<addlogentry text="Received 5,000 gold from {guv}."/>
			<addlogentry text="{guv} cannot stop laughing!"/>
			<get item="gold" amount="5000"/>
			<poptask num="1"/>
			<okbox npc="guv" text="Ah!  Thank you so much.  Ha ha ha...  In return for your service, please accept this...  ho ho...  modest reward." ok="Thanks!"/>
		</steps>
	</task>

	<task level="0" name="Talk to Joey" reward="Unknown">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,alehouse"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="joey" location="{othertavern}">
				<filters>
					<reserved>none</reserved>
					<firstname>Joey</firstname>
					<class>middle</class>
					<sex>male</sex>
				</filters>
			</npc>
			<location name="othertavern" port="{otherport}" building="alehouse"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Kind Captain, my nephew Joey has become a slave to the devil rum.  My everlasting gratitude to you for having a wee word with him - he has heard tell of your exploits and may be inclined to heed your counsel.  You can usually find him at the Alehouse in {otherport}." ok="Will do."/>
			<pushtask text="Talk to Joey at the Alehouse in {otherport}"/>
			<goal type="arrive" port="{otherport}"/>
			<goal type="talk" npc="{joey}" text="Offer Joey Guidance."/>
			<poptask num="1"/>
			<get item="joey"/>
			<poptask num="1"/>
			<addlogentry text="Joey has agreed to join your crew."/>
			<okbox npc="joey" text="Aye, ye've had parlay with the old prude, have ye?  'Tis true, I'm a bit of a layabout.  And I hear 'tis also true that ye be needing a few extra crew.  Sailing is not in my blood, but sign me on for three months and ye crew drinks free of charge in every port we visit." ok="Sure.  Let's go!"/>
		</steps>
	</task>

	<task level="0" name="Befriend the Banker" reward="Compass" character="laroche">
		<variables>
			<port name="startport" filters="here,bank"/>
                        <npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="banker" location="{bankplace}"/>
			<location name="bankplace" port="{startport}" building="bank"/>
		</variables>
		<steps>
			<okbox npc="guv" text="LaRoche, you and I do quite a bit of business together, but the local residents are terrified of you.  First, stop carrying that bloody knife around in your teeth.  Next, go to the Bank and deposit 5,000 of your own gold there, as a gesture of good will.  I'll make it worth your while.  How about this fine compass as a reward when you return?" ok="Do I have to get rid of the knife?"/>
			<unlockship type="next"/>
			<pushtask text="Claim your Reward at the Governor's in {startport}."/>
			<pushtask text="Deposit 5,000 gold at the Bank in {startport}."/>
			<goal type="talk" npc="{banker}" text="Deposit 5,000 Gold."/>
			<poptask num="1"/>
			<okbox npc="banker" text="A deposit?  Certainly, sir...  wait!  You're the dastardly pirate LaRoche!  In your days as a French nobleman we would have been honored to have your custom.  But you have chosen a foul and murderous path.  Out!  Out of my place of business, I say!  I shall do no business with you." ok="Was it something I said?"/>
			<goal type="talk" npc="{guv}" text="Claim your Reward."/>
			<get item="compass"/>
			<addlogentry text="Received a compass from the Governor of {startport}."/>
			<poptask num="1"/>
			<okbox npc="guv" text="Ah, I'm so glad you were able to convince the banker of your kind and gentle nature.  Why the scowl, LaRoche?  Did the banker not welcome you?  Oh dear.  Well, here's the compass anyway.  It's the thought that counts, right?  I'm sure your gesture was appreciated nonetheless." ok="''Good will'' my peg!"/>
		</steps>
	</task>

	<task level="0" name="Ms. Bouvier" reward="Unknown">
		<variables>
			<port name="startport" filters="here"/>
			<port name="otherport" filters="new,visible,alehouse"/>
			<npc name="guv" location="{startmansion}"/>
			<location name="startmansion" port="{startport}" building="governor"/>
			<npc name="joey" location="{othertavern}">
			<filters>
                        <reserved>none</reserved>
                        <title>Ms.</title>
                        <surname>Bouvier</surname>
                        <class>upper</class>
                        <sex>female</sex>
                        <headsize>smallhead</headsize>
                        </filters>
			</npc>
			<location name="othertavern" port="{otherport}" building="alehouse"/>
		</variables>

		<steps>
			<okbox npc="guv" text="Kind Captain, my niece, Ms. Bouvier, has always yearned to travel and see more of the Caribbean.  My everlasting gratitude to you for indulging her and allow her to sail with your crew for a period of ten weeks.  Ms. Bouvier is an enchanting young lady and I hope she won't be too much of a bother.  Look for her at the Alehouse in {otherport}." ok="Alright."/>
			<pushtask text="Speak with Ms. Bouvier at the Alehouse in {otherport}"/>
			<goal type="arrive" port="{otherport}"/>
			<goal type="talk" npc="{joey}" text="Speak to Ms. Bouvier."/>
			<poptask num="1"/>
			<get item="informant"/>
			<poptask num="1"/>
			<addlogentry text="Ms. Bouvier has agreed to join your crew."/>
                        <okbox npc="joey" text="Thank you kindly for letting me board your ship, good Captain.  I admit I can be a bit expensive to take care of, but bring me along whenever you buy a round of drinks and the sailors will likely volunteer useful information to you.  I'm quite persuasive..." ok="Sure.  Let's go!"/>
		</steps>
	</task>

</tasks>


