;---------
SCENE 11 swright, SCENE, "Shipwright"

	THEME 0
	MUSIC vivald2.mid
	ACTOR	1,	"Shipwright",		joshetownsfolk,	1,	20,	60
	
IF T21, @hasT21

	' You are not wearing any shoes!
	' Crazy foreigners. You'll learn soon enough.
	GIVE T20
END

@hasT21

IF T10, @hencranT10
IF T3, @hencranT10
IF T72, @T72
IF T61, @T61
IF T60, @T60


	1: I am a vendor of fine sailing ships.
	1: However, I rather doubt you have enough money to hire a crew, let alone buy a ship.
	1: I would give you some advice as to how to get ahead round here, as many of the townfolk here are wont to do.
	1: But frankly, I just can't be bothered.
	1: Now please go away and stop cluttering the place up.
	END

@T72
OFFER 717, 718, 719, 721, 950


;his smuggler options who not yet got advice

;not toldkilledpb, got reward
IF T75-T78-T79+T73, @T75-T78-T79+T73

;not toldkilledpb, not got reward
IF T75-T78-T79-T73, @T75-T78-T79-T73

;toldkilledpb, got reward
IF T75-T78+T79+T73, @T75-T78+T79+T73

;toldkilledpb, not got reward
IF T75-T78+T79-T73, @T75-T78+T79-T73


;his not a smuggler and not yet got advice

;not toldkilledpb, got reward
IF T74-T78-T79+T73, @T74-T78-T79+T73

;not toldkilledpb, not got reward
IF T74-T78-T79-T73, @T74-T78-T79-T73

;toldkilledpb, got reward
IF T74-T78+T79+T73, @T74-T78+T79+T73

;toldkilledpb, not got reward
IF T74-T78+T79-T73, @T74-T78+T79-T73


;his not a smuggler who has told and has advice
IF T74+T78+T79, @T74offersmugs

;his a smuggler who has told and has advice and has fish
IF T75+T78+T79+T76, @fishselling
IF T75+T78+T79+I61, @fishselling

;his a smuggler who has told and has advice and has no fish
IF T75+T78+T79, @T75His

1: Please come back after visiting the pirates at the Secret Cove.

END


@fishselling
IF -I61, @nofish
1: You have a shipment of sixty Exotic Fish for me?
1: Excellent.
HOST_TAKE I61
HOST_GIVE G480
HOST_TAKE T76
1: Thanks!
1: Please bring more whenever you want, the demand is huge.
1: I can sell as many as you can get me.
END

@nofish
H: I picked up sixty Exotic Fish from the smugglers for you, but my shipment was washed overboard in a storm at sea.
H: However, the smugglers refuse to let me get you a replacement shipment until I have a receipt from you to prove the last load was delivered!
H: This is ridiculous!
H: You said you can sell all the fish I bring you, demand is so high.
H: How about you fake a receipt for me?
H: Then I can get you a replacement batch of fish, I make money, you make money, we all win...
1: Well...just this once.
H: Thanks!
HOST_TAKE T76
IF T1, @T75His
IF T10, @T75Hen
END

@T75His
1: Please bring me more Exotic Fish from the smugglers whenever you can.
1: The demand for them is huge, I can sell as many as they can get me.
END

@T61

ACTOR 2, "Jolly Johnson", Jollyjohn, 2, 70, 70
OFFER 717, 718, 719, 721, 950
1: Well then, are you going to buy a ship or not?
IF -T70, @notfaryethis
END

@notfaryethis
2: Remember %1, once we have a ship, we should head over to the town hall.
2: I hear the governor wants us.
END

@T60
1: I am a vendor of fine sailing ships.
1: However, I rather doubt you have enough money to hire a crew, let alone to buy a ship.
1: I would give you some advice as to how to get ahead round here...
WAIT 1
ACTOR 2, "Jolly Johnson", Jollyjohn, 2, 110, 80
SEL 2
MOVE 2, 70, 70
WAIT 1
H: Actually, I do have a crew, and I am looking into buying myself a ship.
1: Well...<hrumpf>
HOST_GIVE T61
OFFER 717, 718, 719, 721, 950
2: %1, once we have a ship, we should head over to the town hall, I hear the governor wants us.
END

@T74offersmugs
1: Say...
1: If, hypothetically speaking, Exotic Fish smuggling was still going on round here...
1: Would you like to become involved?
WAIT 2
MENU "Yes=@joinsmugs", "No=@no"
@no
1: Oh, well, er, that's a good thing then.
1: Because as far as I know there isn't any smuggling going on round here any more in any case.
1: Not since you killed Pink Beard.
END

@joinsmugs
1: Right, I see.
1: In that case, I'll tell the pirates that they're once again free to use the same secret cove as they always used to use.
1: Before you killed Pink Beard.
1: Pay a visit to them and I'm sure one of their number will explain everything you need to know.
HOST_TAKE T74
HOST_GIVE T77
END

@hisadvice
1: Huh. I bet you're abilities are not of a high enough level to be able to sail one, though.
H: Well...
HOST_GIVE T78
IF T76, @gotfishrightnowafteradvice
IF T74, @T74offersmugs
GOTO @T75His
END

@gotfishrightnow
H: And I have a load of fish for you right now!
GOTO @fishselling
END

@gotfishrightnowafteradvice
H: Anyway, as I was saying, I am now a smuggler.
H: And I have a load of fish for you right now!
GOTO @fishselling
END

	;his smuggler

	;not toldkilledpb, got reward
@T75-T78-T79+T73
H: Erm, I guess you heard I killed Pink Beard?
WAIT 2
SEL 1
POSE 2
WAIT 2
POSE 1
H: But I've decided to go into smuggling myself.
1: Huh.
H: Plus, I was rewarded with enough money to buy a frigate!
HOST_GIVE T79
GOTO @hisadvice
END

	;not toldkilledpb, not got reward
@T75-T78-T79-T73
H: Erm, I guess you heard I killed Pink Beard?
WAIT 2
SEL 1
POSE 2
WAIT 2
POSE 1
H: But I've decided to go into smuggling myself.
1: Huh.
HOST_GIVE T79
IF T76, @gotfishrightnow
GOTO @T75His
END

	;toldkilledpb, got reward
@T75-T78+T79+T73
H: I was just rewarded with enough money to buy a frigate!
GOTO @hisadvice
END

	;toldkilledpb, not got reward
@T75-T78+T79-T73
IF T76, @gotfishrightnow
GOTO @T75His
END

	;his not a smuggler

	;not toldkilledpb, got reward
@T74-T78-T79+T73
H: Did you hear?
H: I defeated the infamous Pink Beard!
WAIT 2
SEL 1
POSE 2
WAIT 2
POSE 1
1: Well aren't you my hero.
H: ...
H: Anyhow, I was rewarded with enough money to buy a frigate!
HOST_GIVE T79
GOTO @hisadvice
END

	;not toldkilledpb, not got reward
@T74-T78-T79-T73
H: Did you hear?
H: I defeated the infamous Pink Beard!
WAIT 2
SEL 1
POSE 2
WAIT 2
POSE 1
1: Well aren't you my hero.
H: ...
HOST_GIVE T79
GOTO @T74offersmugs
END

	;toldkilledpb, got reward
@T74-T78+T79+T73
1: I just got my reward for killing Pink Beard! Enough money to buy a frigate!
GOTO @hisadvice
END

	;toldkilledpb, not got reward
@T74-T78+T79-T73
GOTO @T74offersmugs

END




@hencranT10
IF -T41, @stillhappy
IF T76, @fishselling
IF I61, @fishselling
IF T75, @T75Hen
POSE 2
IF T62, @HenT62
IF T60, @HenT60
IF T55, @HenT55
IF T41, @T41letterdone
END

@T75Hen
OFFER 717, 718, 719, 721, 950
1: Please bring me more Exotic Fish from Pink Beard whenever you can.
1: The demand for them is huge, I can sell as many as the smugglers can get me.
END

@HenT62
1: Hey, Johnson, it's that horrible little #<g.man> %1 again!
ACTOR 2, "Jolly Johnson", Jollyjohn, 2, -10, 80
SEL 2
MOVE 2, 50, 70
WAIT 7
2: Hello again.
2: Do you want to hire me and my men yet?
2: My men and I would happily join you for 1000GP.
2: A very reasonable price.
IF -G1000, @notenough
2: So, do you want to hire us?
WAIT 2
MENU "Yes=@yes", "No=@no"
@no
2: Well, if you change your mind, just come back here.
2: My men and I will probably still be available for a little while yet.
END

@stillhappy
H: I have a letter for you.
1: Oh, great, and I thought I didn't have any friends!
1: Lemme see!
1: <reads letter>
POSE 2
1: But...no...that's blackmail!
1: Those Hencran really are horrible, spiteful people!
1: <huffily writes out a reply>
1: Take this reply to them then, you nasty, nasty #<g.man>.
HOST_GIVE T41
END

@T41letterdone
1: Go away.
END

@HenT60
ACTOR 2, "Jolly Johnson", Jollyjohn, 2, 70, 70
OFFER 717, 718, 719, 721, 950
1: I really do hope you get caught by the Hislen guards!
IF -T80, @notfaryethen
END

@notfaryethen
2: %1, remember to visit Hencrania, the Hencran capital, which can be found in the far North West of this area.
2: You're not going to make many friends round here wearing that Hencran badge.
2: Plus, they might well have a mission for us to do, and missions equal rewards!
2: If you do choose this course of action, you should go to the far West of this island before travelling North.
2: There are also many shops in Hencrania, which could be useful if you were looking to upgrade any of your equipment.
2: If you do wish to go there, you may want to walk across to the far South West of this land before travelling North.
2: This way you can avoid having to fight the Pink Octopuses which are to be found along the trade route to Hencrania, which are known to tear men and ships asunder.
END


@HenT55
1: <grrr>
1: Blackmail, it's blackmail.
1: It's so unfair.
1: So, I suppose you'll be wanting your silly crew then?
1: Well, fine then.
1: Here's Jolly Johnson
ACTOR 2, "Jolly Johnson", Jollyjohn, 2, -10, 80
SEL 2
MOVE 2, 50, 70
WAIT 7
2: Good day. I am Jolly Johnson.
2: I hear you need crew.
2: Well, my men and I will happily crew your ship
2: We're willing to join you for only 1000GP, a very reasonable price.
IF -G1000, @notenough
2: So, do you want to hire us?
WAIT 2
MENU "Yes=@yes", "No=@no"
@no
HOST_GIVE T62
2: Well, if you change your mind, just come back here.
2: My men and I will probably still be available for a little while yet.
END

@yes
HOST_TAKE T62
HOST_TAKE G1000
HOST_GIVE T60
HOST_GIVE T61
HOST_GIVE I801
2: Lead the way, %1.
2: To make full use of the crew you have just hired, be sure to "equip" them.
2: You'll be needing a ship as well though.
1: And I just happen to be a vendor of fine sailing ships.
2: %1, once we do have a ship, we might pay a visit to Hencran territory, in the North.
2: You're not going to make many friends round here wearing that Hencran badge.
2: We might find further missions there - and missions equal rewards!
2: And if you earn enough money you could hire more crew from a Hencran tavern.
2: If you do wish to go there, you may want to walk across to the far South West of this land before travelling North.
2: This way you can avoid having to fight the Pink Octopuses which are to be found along the trade route to Hencrania, which are known to tear men and ships asunder.
2: Whilst we're talking, would you like to hear more of what I know about ships, and about what's to be found at sea in these parts?
IF YES, @monadvice
IF Q=Y, @monadvice
OFFER 717, 718, 719, 721, 950
2: Very well, #<g.sir>, sorry if you feel I have gone above my station.
2: If you ever do wish to hear my opinion on matters, just set up a camp and I'll be happy to help you in any way I can.
2: <To talk to Jolly Johnson, you must right click on him>
END

@notenough
H: But I don't have that much money!
2: Well, I'm sorry, buy my men won't work without pay.
2: Come back here when you have enough money.
HOST_GIVE T62
END

@monadvice
OFFER 717, 718, 719, 721, 950
1: To use a ship, go up to the shore, and equip it.
1: When you want to come back to solid ground, come back to the shore, and equip a pair of shoes.
1: To make full use of crew you hire, you must "equip" them.
1: Be sure to "sell" your old crew item or hiring new crew will be even more expensive!
1: I know how hard it can be fighting all the fish and crabs and lobsters on this island.
1: However, out at sea there are far far worse creatures about.
1: You must be careful to get out out of your depth!
1: <laughs>
1: The folklore of the locals on this island does not hold true at sea.
1: The strongest monsters are not neccessarily those which are furthest East.
1: Indeed, the most powerful monsters of all are to be found far, far to the North East, in the infamously harsh Deep, Stormy Ocean.
1: You will be unable to travel to that area of this world yet, however, until you have greatly improved your skills of seamanship.
1: Maybe later someone will teach you the knowledge neccessary to reach those terrible seas - but I can't see why you would ever want to!
1: If we visit Hencrania, we could pay a visit to the Great Library there.
1: It holds records showing the rough location of where all the different sea monsters are to be found in these lands.
1: There are also many shops in Hencrania, which could be useful if you were looking to upgrade any of your equipment.
2: If you ever wish to hear my opinion on matters again, just set up a camp and I'll be happy to help you in any way I can.
2: <To talk to Jolly Johnson, you must right click on him>
END

END

