Plot 0
	name <PLOT: Redemption>
	% If the PC is seriously wangtta, this mission will give him a chance
	% to redeem himself. Yay!

	% Updated for GH1 v2.0

	element1 <Character HasMecha Heroic>

	% P1 = Time Limit
	% P2 = Combat Indicator
	% P3 = PC's initial Wangtta reputation
	% P4 = Email Indicator

	Init_Start <ifNPCOK E1 else GoDelete if= V1 0 else GoCheckTime V= 1 ComTime V+ 1 86400 P= 3 PCRep 6>
	start <ifNPCOK E1 else GoDelete if= V1 0 else GoCheckTime V= 1 ComTime V+ 1 86400 P= 3 PCRep 6>
	GoCheckTime <if= P2 0 ifG -9 PCRep 6 else GoDelete ifG ComTime P1 AdvancePlot 0>
	GoDelete <AdvancePlot 0>

	end <if= P2 1 if= SceneID 0 if= T2 0 else GoCheckLoss P= 2 3 Reputation 6 -P3 XPV 100>
	GoCheckLoss <if= T1 0 P= 2 2 Reputation 6 d5>

	% 5Min <if= P4 0 ifG -9 PCRep 6 else start if= SceneID EScene 1 if= d3 1 email 1 P= 4 1>
	5Min <if= P4 0 ifG -9 PCRep 6 else start if= SceneID EScene 1 if= d3 1 SetNPC E1 Email 1 P= 4 1>
	% msg1 <\ELEMENT 1 @ \SCENE EScene 1 :// If you want to redeem your name, I have a mission for you.>
	msg1 <\ELEMENT 1 @ \SCENE EScene 1 :// ⤷̾Բ󤷤, ʤ˻Żޤ>
	% msg1_1 <\ELEMENT 1 @ \SCENE EScene 1 :// I need a mecha pilot immediately, and you're the best one in town. Drat.>
	msg1_1 <\ELEMENT 1 @ \SCENE EScene 1 :// ޤ˥åѥåȤɬפǤʤĮǰ֤Ǥޤ>
	% msg1_2 <\ELEMENT 1 @ \SCENE EScene 1 :// Come see me about a mission. I think this could be good for you.>
	msg1_2 <\ELEMENT 1 @ \SCENE EScene 1 :// ŻäΤƤʤΤˤʤŻǤ>

sub
	Persona 1
	% rumor <!1 has been searching for a desperate mecha pilot to perform a suicide mission.>
	rumor <!1 ̵Ťʺ¹ԤƤ뼫˽ΥåѥåȤõƤ>

	% V1 = Have given mission
	% V3 = PV of enemy forces
	% V4 = Reward for success

	greeting <NewChat if= P2 3 else GoCheckLoss Say 1 CashPrize V4 AddReact d5 AdvancePlot 0>
	GoCheckLoss <ifG P2 0 else GoFirstTime Say 2 AdvancePlot 0>
	GoFirstTime <V= 3 Threat -PCRep 6 100 V= 4 Reward V3 150 ifG PCRep 6 -10 else GoOffer Say 13 AdvancePlot 0>
	GoOffer <if= V1 1 else GoFirstOffer Say 8  AddChat 6 AddChat 7 AddChat 8>
	GoFirstOffer <Say 3 AddChat 1 AddChat 2 AddChat 3>

	result1 <NewChat Say 4 Memo 5 V= 1 1 AddChat 6 AddChat 7 AddChat 8>

	result2 <NewChat Say 6 AddChat 4 AddChat 5>

	result3 <NewChat Say 7 AdvancePlot 0>

	result4 <ifG React 50 else GoR4_2 mechaprize .supermek Goto result1>
	.supermek <Thorshammer.txt>
	GoR4_2 <ifG React 20 else GoR4_3 mechaprize .goodmek Goto result1>
	.goodmek <Daum.txt>
	GoR4_2 <mechaprize .plainmek Goto result1>
	.plainmek <BuruBuru.txt>

	result5 <NewChat Say 9 AdvancePlot 0>

	result6 <EndChat P= 2 1 Say 10 Goto GoStartCombat>
	GoStartCombat <SavePos Dynamic 2 V3 .nu1 .nu2>
	.nu1 <if= T1 0 Return>
	.nu2 <if= T2 0 Salvage Return>

	result7 <NewChat Say 11 AddChat 6 AddChat 8>

	result8 <NewChat Say 12>

	% Msg1 <The raiders have been stopped! I can't believe you actually did it... Here's your reward.>
	Msg1 <ԤߤޤȤϻפޤǤġ餬󽷤Ǥ>
	% Msg1_1 <You did it! Nobody else believed in you, and to be honest I didn't either, but you did it! Here's the reward you were promised. Maybe now you'll start getting respect from others.>
	Msg1_1 <褯äƤޤ ¾ï⡢ľʤȤ⤢ʤΤȤѤƤޤǤʤޤ줬«󽷤ǤʤϤ줫¾ͤºɤϤ뤫⤷ޤ衣>
	CMsg1_1 <ifChatNPCSociable Accept>
	% Msg1_2 <You did it. Here's your pay.>
	Msg1_2 <褯äƤޤ줬ʤؤλʧǤ>
	CMsg1_2 <ifChatNPCShy Accept>
	% Msg1_3 <You must be pretty happy about that win! Here's the pay you've earned.>
	Msg1_3 <襤˾ǤȤϤʤϤʤ걿褫äΤ˰㤤ޤ󡪤餬ʤʬλʧǤ>
	CMsg1_3 <ifChatNPCCheerful Accept>
	% Msg1_5 <That didn't seem so tough. Here's your reward.>
	Msg1_5 <ʤ񤷤ŻǤϤʤä褦Ǥ͡餬󽷤Ǥ>
	CMsg1_5 <ifChatNPCEasygoing Accept>
	% Msg1_6 <You did it! The enemies have been thoroughly defeated, and \SCENE EScene 1 is safe. Here's your reward.>
	Msg1_6 <褯äƤޤ ŨǤΤǡ \SCENE EScene 1 Ǥ餬ʤؤ󽷤ˤʤޤ>
	CMsg1_6 <ifChatNPCPassionate Accept>
	% Msg1_7 <You made it back alive... too bad. Well, here's your pay, anyhow.>
	Msg1_7 <ƵäƤޤĻǰޤȤˤ餬󽷤Ǥ>
	CMsg1_7 <ifG 1 React Accept>

	% Msg2 <The town's generator has been destroyed... but, you did your best, I suppose...>
	Msg2 <ĮȯŽ˲ƤޤޤġʤϤԤȻפޤġ>
	% Msg2_1 <The enemy mecha broke through our defenses and smashed the generator. Now, we'll be on reserve power until it can be repaired. This is terrible... it was probably a disgruntled former employee of the power company, you know.>
	Msg2_1 <Ũåɸ֤ˤȯŽ٤Ƥޤ줫顢ȯŽνλޤǤͽϤȤȤˤʤޤȤȤǤ礦Ĥ餯ȿͤϲۤ줿ȤϲҤθҰǤ礦>
	CMsg2_1 <ifChatNPCSociable Accept>
	% Msg2_2 <You lost. I guess the things they say about you are true.>
	Msg2_2 <ʤ餱ޤʤαǤ͡>
	CMsg2_2 <ifChatNPCShy Accept>
	% Msg2_3 <You didn't manage to stop the mecha from wrecking the generator... but I'm certain you'll manage to clear your name someday.>
	Msg2_3 <ʤŨåȯŽ˲ΤߤޤǤġϤʤĤ̾־ǤȻפäƤޤ>
	CMsg2_3 <ifChatNPCCheerful Accept>
	% Msg2_4 <You failed. I guess you really are a loser.>
	Msg2_4 <ԤǤʤ餱Ǥ͡>
	CMsg2_4 <ifChatNPCMelancholy Accept>
	% Msg2_5 <You failed. But, it's not the end of the world... just maybe the end of your career...>
	Msg2_5 <ԤǤǤ櫓ǤϤޤĤʤΰϤޤ⤷ޤ󤬡ġ>
	CMsg2_5 <ifChatNPCEasygoing Accept>
	% Msg2_6 <How could you fail!? I trusted you to do this, and you couldn't...>
	Msg2_6 <ɤƼԤΤǤʤʤäƤȿƤΤˡǤʤäʤơġ>
	CMsg2_6 <ifChatNPCPassionate Accept>
	% Msg2_7 <As expected, you failed. The mecha defeated you and smashed our generator.>
	Msg2_7 <ͽ̤ꡢʤϼԤޤŨåϤʤݤ桹ȯŽ˲Ƥޤ>
	CMsg2_7 <ifG 1 React Accept>

	% Msg3 <I have a mecha mission for you, if you're looking for work. I'll be honest, there's not much chance of success... that's why I need a mecha pilot with nothing to lose.>
	Msg3 <⤷Żõʤ顢åѤλŻޤľ˸ȡޤߤϤޤꤢޤĤ櫓ǼΤϲʤ褦ʥåѥåȤɬפʤΤǤ>
	% Msg3_1 <There's an emergency in \SCENE EScene 1 . I know that you could use some work... I'll let you have the mission, but I better say that it's going to be difficult.>
	Msg3_1 <\SCENE EScene 1 ζ۵޻֤ǤʤϻŻõȻפޤΤǡĻϤʤ˻ŻǤ褦Ȼפޤ񤷤ŻˤʤȸäƤޤ礦>
	CMsg3_1 <ifChatNPCSociable Accept>
	% Msg3_2 <I need a pilot for an immediate mission. It's going to be tough. Are you available?>
	Msg3_2 <۵޺Τ˥ѥåȤɬפǤ񤷤ŻˤʤǤ礦ʤޤ>
	CMsg3_2 <ifChatNPCShy Accept>
	% Msg3_3 <I've got a good offer for you... A pilot is needed for an immediate mission to defend \SCENE EScene 1 . If you succeed, maybe you'll get the respect you deserve.>
	Msg3_3 <ʤˤäޤġ\SCENE EScene 1 ۵޺Τ˥ѥåȤɬפǤ⤷СʤϤºɤ뤫⤷ޤ>
	CMsg3_3 <ifChatNPCCheerful Accept>
	% Msg3_4 <There's a group of mecha closing in on the city powerplant. I need a pilot to run interception... This may be a suicide mission, though. You've got nothing worth losing. How about taking the job?>
	Msg3_4 <åΰĤĮȯŽܶᤷƤޤ޷ѥåȤɬפǤġ̵Ťʺˤʤ뤫⤷ޤ󡣤ʤˤϼΤϤʤǤ礦顢ŻƤޤ>
	CMsg3_4 <ifChatNPCMelancholy Accept>
	% Msg3_5 <There's trouble at the powerplant. I need a pilot to go defend it. I know you don't have much of a rep, but if you can pull off this mission maybe that'll change.>
	Msg3_5 <ȯŽ꤬ˤ餵ƤޤȯŽäƤѥåȤɬפǤϤʤɾȽޤ褯ʤȤΤäƤޤλŻäƤΤФɾȽѤǤ礦>
	CMsg3_5 <ifChatNPCEasygoing Accept>
	% Msg3_7 <I have a job available for a mecha pilot. It's probably a suicide mission, so I want you to take it.>
	Msg3_7 <åѥåȸλŻޤ餯̵ŤʺˤʤǤ礦顢ʤ˰ƤۤΤǤ>
	CMsg3_7 <ifG 1 React Accept>

	% Msg4 <A group of unidentified mecha is heading towards the city power station. We don't know what they want, but it can't be good. Your job will be to stop them... Do this, and you'll earn $ \VAL V4 plus salvage.>
	Msg4 <̤ǧåΰĤĮȯŽظäƤޤŪϤ狼ޤ󤬡Ūϻ䤿ˤȤäɤΤǤϤʤǤ礦ʤλŻߤ뤳ȤǤġλŻ򤷤ƤС$ \VAL V4 ȥ١ޤ>
	% Msg4_1 <The enemy mecha are header for the \SCENE EScene 1 powerplant. They're probably planning to destroy it for whatever nefarious purpose. If you can stop them, you'll get $ \VAL V4 plus salvage...>
	Msg4_1 <\SCENE EScene 1 ȯŽŨåܶᤷƤޤ϶餯ȯŽ򲿤ǤƻŪΤ˲褦ȤƤޤ⤷ߤ뤳ȤǤС$ \VAL V4 ȥ١ޤġ>
	CMsg4_1 <ifChatNPCSociable Accept>
	% Msg4_2 <Some mecha are attacking the power plant. Stop them, and you'll earn $ \VAL V4 plus salvage.>
	Msg4_2 <ȯŽ򽱷⤷Ƥå⤬ޤߤС$ \VAL V4 ȥ١ޤ>
	CMsg4_2 <ifChatNPCShy Accept>
	% Msg4_4 <A team of unregistered mecha is heading for the power plant. This could be the start of an invasion, or worse. Defeat them and you'll earn $ \VAL V4 plus salvage.>
	Msg4_4 <̤Ͽå⤬ȯŽظäƤޤˡ뤤ϤäȰȤǤ˰㤤ޤह $ \VAL V4 ȥ١ޤ>
	CMsg4_4 <ifChatNPCMelancholy Accept>
	% Msg4_5 <Here's the deal. There are some unknown mecha heading for the power plant; your job is to stop them, or at least slow them down. You'll earn $ \VAL V4 and first salvage rights if you can pull that off.>
	Msg4_5 <ޤȯŽظäƤ̤ǧΥå⤬ޤʤλŻߤ뤫٤餻뤳ȤǤλŻ뤳ȤǤ $ \VAL V4 ȥ١ޤ>
	CMsg4_5 <ifChatNPCEasygoing Accept>
	% Msg4_6 <This is terrible! A group of mecha is headed for the city power plant, and they must be stopped! If you can do it, you'll earn $ \VAL V4 and salvage. Be prepared to lay down your life for \SCENE EScene 1 !>
	Msg4_6 <ȤȤǤ礦åΰĤĮȯŽܶᤷƤޤߤʤФʤޤ󡪤ƤС$ \VAL V4 ȥ١ޤ \SCENE EScene 1 Τ̿ΤƤи򤷤Ƥ>
	CMsg4_6 <ifChatNPCPassionate Accept>

	% Msg5 <\ELEMENT 1 in \SCENE EScene 1 offered you a combat mission.>
	Msg5 <\SCENE EScene 1  \ELEMENT 1 ƮǤ̳ꤵ줿>

	% Msg6 <If you would agree to help me, I'd provide for you a brand new mecha. Is it a deal?>
	Msg6 <˶ϤȸäƤСʤ˿ʤΥå󶡤ޤ礦ɤǤ>

	% Msg7 <I'm sure another brave volunteer will step forward...>
	Msg7 <ä¾ͦʻִԤ̾ФƤǤ礦>

	% Msg8 <Are you ready for the mission yet?>
	Msg8 <⤦ŻνϤǤޤ>

	% Msg9 <It's your decision.>
	Msg9 <ʤ᤿Τʤ顣>

	% Msg10 <Good luck. If you make it back alive, you'll be a hero.>
	Msg10 <򵧤ޤƵäƤСʤϱͺˤʤǤ礦>
	% Msg10_1 <It's very important that not a single mecha be allowed to slip through. Do your best, and maybe people will stop calling you a wangtta.>
	Msg10_1 <å쵡̤ʤȤפǤϤԤʤï⤢ʤ餱ʤɤȸƤФʤʤǤ礦>
	CMsg10_1 <ifChatNPCSociable Accept>
	% Msg10_2 <Here are the mission coordinates. Report back here when you're done.>
	Msg10_2 <餬Τʰ֤ǤŻääƤƤ>
	CMsg10_2 <ifChatNPCShy Accept>
	% Msg10_3 <I'm certain you can do this! Good luck.>
	Msg10_3 <ʤʤǤȻפޤ򵧤ޤ>
	CMsg10_3 <ifChatNPCCheerful Accept>
	% Msg10_4 <You'll probably get killed by their superior firepower, but try to make a difference before you go down.>
	Msg10_4 <ʤŨζϤʲϤݤ뤫⤷ޤ󤬡Į˹׸Ƥݤ褦ˤƤ͡>
	CMsg10_4 <ifChatNPCMelancholy Accept>
	% Msg10_5 <Do your best.>
	Msg10_5 <ϤԤƤ>
	CMsg10_5 <ifChatNPCEasygoing Accept>
	% Msg10_6 <Do it for \SCENE EScene 1 !>
	Msg10_6 <\SCENE EScene 1 Τˤ⤳λŻƤ>
	CMsg10_6 <ifChatNPCPassionate Accept>
	% Msg10_7 <I suppose I should wish you good luck now... just don't fail us.>
	Msg10_7 <Ϥʤι򵧤äۤǤ礦͡Ĳ桹δԤ΢ڤʤ褦ˤƤ>
	CMsg10_7 <ifG 1 React Accept>

	% Msg11 <They've been reported as having \VAL V3 threat points worth of mecha. I know, it's not likely that you can take all of that... Just destroy as much as you can.>
	Msg11 <ˤ \VAL V3 ݥȤϤĥåͭƤ뤽ǤޤʤǤϤΤ٤ƤݤˤޤġݤʬݤƤ>

	% Msg12 <Do whatever it is that you have to do, then come back here and let's start.>
	Msg12 <ɬפʤȤ򤹤٤ƺѤޤƤ顢äƤƤ줫Ϥޤ礦>

	% Msg13 <I just sent a poor young pilot on a dangerous mission. Hopefully they'll be back.>
	Msg13 <ä˳ʼ㤤ѥåȤǤ̳ФޤäƤȤǤ>
	% Msg13_1 <If you're here about the mission, I regret to inform you that you're far overqualified. Really I wouldn't be sending anyone on this hot dog run if the pilot involved hadn't begged me for a chance to redeem himself.>
	Msg13_1 <⤷Ǥ̳äǤ褿ʤ顢ǰʤ%JSϴɾ⤹롣ޤäԲΥ󥹤ȸǤ⤷ʤС̵ŤʻŻïФʤƤޤ衣>
	CMsg13_1 <ifChatNPCSociable Accept>
	% Msg13_2 <What mission? You heard nothing from me.>
	Msg13_2 <Ǥ̳äơ%JFϲäƤʤϤɤʤ>
	CMsg13_2 <ifChatNPCShy Accept>
	% Msg13_3 <A dangerous mission can be a good opportunity to redeem your reputation. Of course if you already have a good reputation you can get better missions.>
	Msg13_3 <Ǥ̳ϡɾ᤹ɤ󡢸ɾȽɤнᤫäȥޥǤ̳ޤ>
	CMsg13_3 <ifChatNPCCheerful Accept>
	% Msg13_3 <There's never a shortage of desperate pilots willing to take any job. Be thankful you're not one of them.>
	Msg13_3 <ɤʻŻǤ餦ɬʥѥåȤˤϤĤǤ礭ޤ%JSϼʬΰͤǤʤȤ򹬱˻פʤ>
	CMsg13_3 <ifChatNPCMelancholy Accept>
	% Msg13_5 <Victory or death, they say... what about just retiring? If you're no good at being a cavalier that's better than getting yourself killed.>
	Msg13_5 <फȤϸɡĤϤǤʤΤʡå˸Ƥʤʤ顢虜虜̤⤽ΤۤɤǤ礦ˡ>
	CMsg13_5 <ifChatNPCEasygoing Accept>
	% Msg13_6 <Victory or death. This is the choice every cavalier must face... but of course you already knew that.>
	Msg13_6 <फƤΥå꤬ʤФʤʤǤĤ%JSΤäƤǤ礦>
	CMsg13_6 <ifChatNPCPassionate Accept>
	% Msg13_7 <If you ever become wangtta, a dangerous mission might be just the thing to restore your reputation in the eyes of other pilots.>
	Msg13_7 <⤷餱ˤʤäƤޤäꤷ顢Ǥ̳¾ΥѥåȤɾȽ᤹⤷ޤ>


	% Prompt1 <I'll do it.>
	Prompt1 <äƤߤ褦>
	CPrompt1 <ifG PCMeks 0 Accept>

	% Prompt2 <Sorry, I don't have a mecha.>
	Prompt2 <ޤʤ%JFϥåäƤʤ>
	CPrompt2 <if= PCMeks 0 Accept>

	% Prompt3 <Find someone else for this job.>
	Prompt3 <λŻˤ¾οͤõƤ졣>
	% Prompt3_1 <I'm not interested in suicide missions.>
	Prompt3_1 <̵ŤʺϤꤿʤ%JG>

	% Prompt4 <Alright, you have yourself a pilot.>
	Prompt4 <ʬäåѰդƤʤ顣>
	% Prompt5 <No way, I don't want to...>
	Prompt5 <ȤǤʤ%JFϤꤿʤ%JGġ>

	% Prompt6 <Let's get this started.>
	Prompt6 <ŻϤ褦>
	% Prompt6_1 <All ready to go.>
	Prompt6_1 <ü>

	% Prompt7 <How many mecha do they have?>
	Prompt7 <ŨϤɤΤ餤ΥåäƤ롩>
	% Prompt7_1 <What am I going to be facing?>
	Prompt7_1 <%JFϤɤŨ臘Ȥˤʤ롩>

	% Prompt8 <Give me a minute to prepare.>
	Prompt8 <֤򤯤졣>
	% Prompt8_1 <I need some time to get ready.>
	Prompt8_1 <֤פ%JG>

end
