Plot 0
	name <Pump Pusher Evidence>

	% An item will be found. This item will lead to the next
	% clue; the PC can discover the next clue himself by examining
	% the item.

	element1 <Grab 2>
	element2 <Scene Town !Far 1 !Member 11>
	element3 <PreFab>

	% E4 is the persona to control this plot.
	Element4 <Character !Near 1 Guardian>

	%  V1 = Initialization Counter
	%  V2 = Clue number for this plot
	%  V3 = Have recovered clue from item
	%  V4 = Combat Indicator

	% At startup, initialize the item.
	Init_Start <if= V1 0 else GoCheckClue V= 1 1 ItemVar= E3 1 E2 V= 2 S202 V+ 2 1 Compose KEY E3 .useKey>
	start <if= V1 0 else GoCheckClue V= 1 1 ItemVar= E3 1 E2 V= 2 S202 V+ 2 1 Compose KEY E3 .useKey>
	GoCheckClue <ifG V2 S203 else GoDelete>
	GoDelete <AdvancePlot 0>

	.usekey <if= P3 0 P= 3 1>

	% At cleanup just get rid of this plot.
	cleanup <AdvancePlot 0>

	nu1 <if= P4 1 if= t1 0 if= L101 1 else GoLose Reputation 6 1 S= 201 0 S+ 202 1 S= 205 ComTime S+ 205 13800 N= 2 E2 P= 4 3>
	GoLose <P= 4 2>

sub
	Persona 4
	% rumor <!4 has been searching for evidence against the "Pump Pushers".>
	rumor <!4 ϡ֥ѥ̩ġפξڵõƤ>
	%  V1 =  Mission Accepted Counter
	%  V2 = Randomizer
	greeting <NewChat if= P4 3 else GoCheckLoss Say 1 CashPrize Reward Threat PCRep 6 100 80 AddReact d5 DeleteKeyItem E3 if= P3 1 else GoJustEnd S= 203 P2 FacXP+ N1 2 AdvancePlot 0>
	GoJustEnd <AdvancePlot 0>
	GoCheckLoss <if= P4 2 else GoCheckMission Say 2 DeleteKeyItem E3 AdvancePlot 0>

	GoCheckMission <if= V1 1 else GoCheckFirst ifItemOK E3 else GoDelete Say 3 Goto GoAddComOps>
	GoDelete <Say 5 S= 201 0 AdvancePlot 0>

	GoCheckFirst <if= PCFac N1 else GoNoChance Say 7 AddChat 1 AddChat 2>
	GoNoChance <Say 6>

	GoAddComOps <AddChat 3 AddChat 4>

	result1 <NewChat V= 1 1 Memo 9 Say 4 Goto GoAddComOps>

	% If the PC doesn't want this mission, the entire story will
	%  be blocked. No point continuing if the player doesn't want...
	result2 <NewChat Say 8 AdvancePlot 0>

	result3 <EndChat Say 10 Goto GoStartCombat>
	GoStartCombat <SavePos LoadD .scene PassVar 1 WMThreat S2 Reputation 2 1 P= 4 1 V= 2 3 V+ 2 d2 DynaItemTeam E3 V2>
	.scene <SCENE_ItemSlum.txt>

	result4 <NewChat Say 11>

	%  01 :  PC has won the mission.
	% Msg1 <Good work, \RANK . The lab boys will search through that filing cabinet you found and see what they can determine.>
	Msg1 <褯äƤޤ \RANK ĴɤʤθĤêĴ١Ǥ¤ηФǤ礦>
	% Msg1_1 <You did a really good job, \RANK \PC . That filing cabinet you discovered is sure to contain information that will lead us to the drug lab.>
	Msg1_1 <¤ˤ褯äƤޤ \RANK \PC ʤθĤêˤϤäȲ桹ɥå¤ؤƳ󤬤뤳ȤǤ礦>
	CMSg1_1 <ifChatNPCSociable Accept>
	% Msg1_2 <You did well out there. When the forensics team gets something, I'll let you know.>
	Msg1_2 <褯äƤޤĴɤʬä顢ʤΤ餻ޤ礦>
	CMSg1_2 <ifChatNPCShy Accept>
	% Msg1_3 <Piece of cake. The lab team will go through that filing cabinet; I'll let you know what they find.>
	Msg1_3 <ھǤ͡ĴɤνêĴ٤Ǥ礦餬ȯȤ򤢤ʤΤ餻ޤ礦>
	CMSg1_3 <ifChatNPCEasygoing Accept>
	% Msg1_4 <You did it! That filing cabinet must contain vital information about the drug ring... Maybe even the location of their lab!>
	Msg1_4 <ޤ͡ νêˤϥɥå̩佸Ĥ˴ؤפʾ󤬤ϤǤġ¤ξꤵʬ뤫⤷ޤ>
	CMSg1_4 <ifChatNPCPassionate Accept>
	% Msg1_5 <Good job, \PC . With the information recovered from that filing cabinet we'll be able to track down the Pump lab no problem.>
	Msg1_5 <褯äƤޤ \PC νê򽸤С桹ʤѥ¤꤫ͭͤߤ뤳ȤǤ뤫⤷ޤ>
	CMSg1_5 <ifChatNPCCheerful Accept>
	% Msg1_6 <The mission was a success, but I fear that our time may be running out. It is very important that we shut down their production lab quickly.>
	Msg1_6 <ޤ桹ܺڤˤʤ붲ϤޤΥɥå¤®䤫ĺ뤳ȤפǤ>
	CMSg1_6 <ifChatNPCMelancholy Accept>

	%  02 :  PC has lost the mission.
	% Msg2 <You didn't find anything? The case is going to be hamstrung until we find a new lead...>
	Msg2 <⸫ĤޤǤ ꤬꤬ĤޤǡܺϹԤͤޤǤ礦͡ġ>
	% Msg2_1 <The mission was a failure. We'll have to keep looking for a new lead... There's no way we can allow these poison merchants to keep operating.>
	Msg2_1 <ϼԤǤ桹Ͽʼ꤬õ³ʤФʤޤġͤ˳ư³櫓ˤϤޤ>
	CMSg2_1 <ifChatNPCSociable Accept>
	% Msg2_2 <You lost.>
	Msg2_2 <ʤϤޤ>
	CMSg2_2 <ifChatNPCShy Accept>
	% Msg2_3 <You didn't find anything? The intelligence must have been wrong... But that leaves us without any good leads in the case.>
	Msg2_3 <⸫ĤޤǤ 󤬴ְäƤϤϡġܺǤϤξ󤫤鲿μ꤬ޤǤ>
	CMSg2_3 <ifChatNPCEasygoing Accept>
	% Msg2_4 <You couldn't find anything!? What happened, were the local gangs too tough for you?>
	Msg2_4 <⸫ĤޤǤ ɤǤϸ󥰤ϤʤˤȤäƼ궯ΤǤ>
	CMSg2_4 <ifChatNPCPassionate Accept>
	% Msg2_5 <No evidence was recovered from the scene... We'll have to try harder next time.>
	Msg2_5 <줫ϲξڵǤޤǤġϤäȴĥʤС>
	CMSg2_5 <ifChatNPCCheerful Accept>
	% Msg2_6 <No evidence was recovered... It may well be that we'll never find their lab now...>
	Msg2_6 <ξڵǤޤǤġ⤦Υɥå¤򸫤Ĥ뤳ȤϤǤʤ⤷ޤġ>
	CMSg2_6 <ifChatNPCMelancholy Accept>

	%  03 :  The item somehow got destroyed...
	% Msg3 <The evidence was accidentally destroyed during your investigation. Tough luck.>
	Msg3 <ڵϤʤĴ򤷤Ƥ֤˶ˤ˲ƤޤޤǤޡ>

	%  04 :  Mission description.
	% Msg4 <We need to find some clues, to figure out where the "Pump Pushers" have their base of operations. A dealer has been operating out of one of the edgezone slums... Go there and see what you can find.>
	Msg4 <֥ѥ̩ġפγưܵϤФᡢ桹ϼ꤬򸫤ĤʤФʤޤ󡣤̩ͤĮΥ೹ǳưƤޤġعԤǤ¤Ĵ٤Ƥ>
	% Msg4_1 <The "Pump Pushers" have been selling their deadly drug throughout the Federated Territories. We've got a lead that they have operatives in the edgezone slum. Your job will be to go there and see what evidence you can find.>
	Msg4_1 <֥ѥ̩ġפϢˮǴʥɥåäƤޤ桹餬ĮΥ೹ǳưƤȤ꤬ޤʤλŻϤعԤǤ¤ξڵ򸫤Ĥ뤳ȤǤ>
	CMSg4_1 <ifChatNPCSociable Accept>
	% Msg4_2 <I want you to go to this slum and search for evidence linked to the "Pump Pushers". Be careful, the local street gangs are dangerous.>
	Msg4_2 <Υ೹عԤ֥ѥ̩ġפ˷ҤڵõƤĤơϸΥȥ꡼ȡ󥰤ϴǤ>
	CMSg4_2 <ifChatNPCShy Accept>
	% Msg4_3 <Right now we need information. Once we find out where their production lab is, we can raid and destroy it. I want you to search this area for a drug dealer's hideout. If you find any evidence, report back to me.>
	Msg4_3 <桹ϺˤǤɬפȤƤޤΥɥå¤꤫ͭʬС򽱷⤷˲뤳ȤǤޤϰõɥå̩ȼԤαȤ򸫤ĤƤڵ򤬸Ĥä顢ΤȤäƤƤ>
	CMSg4_3 <ifChatNPCEasygoing Accept>
	% Msg4_4 <Our clues so far have indicated that a pump dealer is working in the edgezone. Your task is to storm his lair and bring back any evidence that you find. If his men try to stop you, kill them.>
	Msg4_4 <ޤǲ桹꤬ˤȡѥ̩ͤĮǳưƤ褦ǤʤλŻۤαȤ򽱷⤷Ĥڵ뤳ȤǤ⤷ۤʤߤ褦ȤƤ顢Ƥ⹽ޤ>
	CMSg4_4 <ifChatNPCPassionate Accept>
	% Msg4_5 <We had a lucky break in the case... It's been found that one of the local drug dealers has connections to the "Pump Pushers". Your job is to raid his hideout and search for information. If you find anything, come report to me.>
	Msg4_5 <桹ϤܺǹʵޤġϸΥɥå̩ȼԤΰ֥ͤѥ̩ȼԡפȤĤʤäƤ뤳ȤʬޤʤλŻۤαȤ򽱷⤷õȤǤ⤷Ĥä顢ΤȤ𤷤Ƥ>
	CMSg4_5 <ifChatNPCCheerful Accept>
	% Msg4_6 <It's believed that a local dealer has connections to the "Pump Pushers". I want you to search the edgezone for his hideout, and see if you can find any evidence there. I'm afraid it's going to be like looking for a needle in a haystack.>
	Msg4_6 <ϸΥɥå̩֥ͤѥ̩ġפȤĤʤäƤȻפޤĮõۤαȤ򸫤ĤǤǤ¤ڵõƤ̵̹ޤ뤳ȤˤʤʤФΤǤ>
	CMSg4_6 <ifChatNPCMelancholy Accept>

	%  05 :  PC has come back after getting ready
	% Msg5 <All ready to go search for clues yet?>
	Msg5 <꤬õ˹ԤϤ⤦üǤ>
	% Msg5_1 <Ready to start the mission?>
	Msg5_1 <Ǥ̳򳫻ϤǤޤ>

	%  06 :  PC will not be offered the mission
	% Msg6 <I'm very busy with guardian business today.>
	Msg6 <GuardianλŻǤȤƤ˻Ǥ>
	% Msg6_1 <I've been investigating the "Pump Pusher" drug cartel. I really hope that we can find their headquarters... Sorry, this investigation is for Guardians only. If any information was leaked it could damage the case.>
	Msg6_1 <桹ϡ֥ѥ̩ġפȤɥå̩ϢܺƤޤĤȤΤǤġޤ󤬡ܺGuardiansǹԤޤ⤷ϳܺ˸ޤ顣>
	CMSg6_1 <ifChatNPCSociable Accept>
	% Msg6_2 <Hm? Oh, please come back later.>
	Msg6_2 < ޤƤ>
	CMSg6_2 <ifChatNPCShy Accept>
	% Msg6_3 <Police work isn't all glamorous you know. Er, actually it isn't glamorous at all.>
	Msg6_3 <ٻλŻϤ٤Ƥ̥Ūʤ櫓ǤϤޤ󡣤䡢ºݤˤϤޤḁ̈ŪǤϤޤ>
	CMSg6_3 <ifChatNPCEasygoing Accept>
	% Msg6_4 <I'm gonna be the one who brings the "Pump Pushers" to justice!>
	Msg6_4 <䤳֥ѥ̩ġפ館Ԥˤʤޤ>
	CMSg6_4 <ifChatNPCPassionate Accept>
	% Msg6_5 <It's only a matter of time before the heads of the "Pump Pusher" gang are arrested.>
	Msg6_5 <֥ѥ̩ġפδᤵΤ֤ˤޤ>
	CMSg6_5 <ifChatNPCCheerful Accept>
	% Msg6_6 <I won't be able to sleep at night until the "Pump Pushers" are brought to justice...>
	Msg6_6 <֥ѥ̩ġפᤵޤ̲ޤġ>
	CMSg6_6 <ifChatNPCMelancholy Accept>

	%  07 :  PC will be offered the mission here.
	% Msg7 <Hello, \PC . I guess you heard that I've been investigating the "Pump Pushers". I could use some help with the field work, if you're up for a mission.>
	Msg7 <ˤϡ \PC 䤬֥ѥ̩ġפܺƤ뤳ȤϤʤʹƤǤ礦⤷Ż뵤ʤ顢ܺ˶ϤĺΤǤ>
	% Msg7_1 <Good to see you, \PC . I've been hoping you'd show up. I guess you've heard already about the "Pump Pushers"... I need you to do a bit of investigation work for me; how about it?>
	Msg7_1 <ʤ˲񤨤ƴ򤷤פޤ \PC ʤƤФȻפäƤޤʤ⤹Ǥˡ֥ѥ̩ġפαʹƤȤϻפޤġäȤܺäĺΤǤɤǤ礦>
	CMSg7_1 <ifChatNPCSociable Accept>
	% Msg7_2 <Hello \RANK . The "Pump Pushers" are operating in town. I need you to investigate.>
	Msg7_2 <ˤ \RANK ֥ѥ̩ġפĮǳưƤޤܺƤ>
	CMSg7_2 <ifChatNPCShy Accept>
	% Msg7_3 <Hey there, \RANK \PC . If you're not busy I have some investigation work that needs doing.>
	Msg7_3 <ˤϡ \RANK \PC ⤷˻ʤСʤФʤʤܺޤ>
	CMSg7_3 <ifChatNPCEasygoing Accept>
	% Msg7_4 <Ah, \RANK \PC , you've made it. Our fair city has been the latest target of the nefarious "Pump Pushers". I have an investigation job that you can help with.>
	Msg7_4 <䡢 \RANK \PC 礦ɤ褫äǶᤳθĮԿʡ֥ѥ̩ġפƤޤʤ˼ܺλŻޤ>
	CMSg7_4 <ifChatNPCPassionate Accept>
	% Msg7_5 <You picked a good time to show up. I've got an investigation mission that I need a field agent for... We're going after the "Pump Pushers".>
	Msg7_5 <礦ɤȤޤܺ͡ɬפܺλŻޤġ桹ϡ֥ѥ̩ġפɤäƤޤ>
	CMSg7_5 <ifChatNPCCheerful Accept>
	% Msg7_6 <\PC , I need your help to investigate the "Pump Pushers". We must act quickly before more people die.>
	Msg7_6 < \PC ʤˡ֥ѥ̩ġפܺäĺΤǤʾ˴ԤФ®䤫˹ưʤФʤޤ>
	CMSg7_6 <ifChatNPCMelancholy Accept>

	%  08 :  The PC refused the mission.
	% Msg8 <That's too bad. I'll carry on by myself, then.>
	Msg8 <ǰǤǤϡܺԤޤ礦>

	%  09 :  Memo
	% Msg9 <\ELEMENT 4 in \SCENE EScene 4 asked you to search for clues related to the "Pump Pushers".>
	Msg9 < \SCENE EScene 4  \ELEMENT 4 ֥ѥ̩ġפ˴ؤ꤬õ褦ޤ줿>

	%  10 :  Combat is starting.
	% Msg10 <Come back here when you've found something that looks like it might be important. Then, I can send the lab truck over and they'll comb the area.>
	Msg10 <פʤΤ򸫤Ĥ餳äƤƤ顢ĴȥåɸƸŰĴޤ礦>
	% Msg10_1 <If you find anything that looks like it might be important, come back here and let me know about it. Even if you can't figure it out yourself our lab boys will scour the area for clues, and they'll find something.>
	Msg10_1 <פʤΤ򸫤Ĥ顢äƤƻΤ餻ƤȤʤʬǤǤʤƤ⡢桹Ĵ⤬꤬Ƹõ򸫤ĤǤ礦>
	CMSg10_1 <ifChatNPCSociable Accept>
	% Msg10_2 <Once you've found something, return here at once. Our forensics team will do the rest.>
	Msg10_2 <Ĥ顢ˤäƤƤϲ桹Ĵ⤬ޤ礦>
	CMSg10_2 <ifChatNPCShy Accept>
	% Msg10_3 <Be careful of the street gangs in the edgezone... some of them are pretty trigger-happy.>
	Msg10_3 <ĮΥȥ꡼ȥ󥰤ˤϵĤ褦ˡˤ˹ŪʼԤ⤤ޤ顣>
	CMSg10_3 <ifChatNPCEasygoing Accept>
	% Msg10_4 <Search every building until you've found something. There must be evidence...>
	Msg10_4 <ĤޤǤ٤ƤηʪõƤڵϤϤǤġ>
	CMSg10_4 <ifChatNPCPassionate Accept>
	% Msg10_5 <Good luck. I'm sure you'll have no problem finding some evidence.>
	Msg10_5 <򵧤ޤڵϤäʤĤǤ礦>
	CMSg10_5 <ifChatNPCCheerful Accept>
	% Msg10_6 <Stay alive. We've already lost too many good guardians trying to fight this cartel...>
	Msg10_6 <Ƶ褦ˡ̩ϢȤ襤˺ݤơǤ˲桹¿ͥGuardian򼺤äƤޤ>
	CMSg10_6 <ifChatNPCMelancholy Accept>

	%  11 :  The PC needs some time to get ready.
	% Msg11 <Alright. You go do that.>
	Msg11 <Ǥ礦Ƥ>
	% Msg11_1 <Do whatever you have to do.>
	Msg11_1 <ɬפʤȤ򤹤٤ƺѤޤƤ>


	%  01 :  PC will accept the mission.
	% Prompt1 <I can do that for you.>
	Prompt1 <äƤߤ褦>
	% Prompt1_1 <Give me the specifics.>
	Prompt1_1 <ܺ٤ʹ>

	%  02 :  PC doesn't want the mission.
	% Prompt2 <Sorry, I'm busy right now.>
	Prompt2 <˻%JG>
	% Prompt2_1 <I can't help you at the moment.>
	Prompt2_1 <ϼߤʤ%JG>

	%  03 :  Start the mission now.
	% Prompt3 <I'm all ready to go.>
	Prompt3 <Ԥ%JG>
	% Prompt3_1 <Let's get started.>
	Prompt3_1 <Ϥ褦>

	%  04 :  PC needs time to prepare.
	% Prompt4 <I need some time to prepare.>
	Prompt4 <֤פ%JG>
	% Prompt4_1 <I should get ready first.>
	Prompt4_1 <ޤϽʤȡ>

end
inv
	STC FILINGCABINET
	%   instead of investigation you can use Science(29), Mysticism(34),
	%    CodeBreaking(32) or Survival(14)
	% V1 = Location of next encounter
	% V2 = Clue number for this item
	% V3 = Investigation Indicator
	% V4 = PC Investigation skill when last tried
	use <L= 101 1 if= V3 1 else GoNoSolve Print 1>
	GoNoSolve <Print 2>
	Clue37 <L= 101 1 ifG PCSkillVal 37 V4 else GoDid Mental V= 4 PCSkillVal 37 ifG SkRoll 37 10 else GoNoSolve V= 3 1 Print 1 XPV 100 Trigger KEY SelfNID>
	GoDid <if= V3 1 else GoNoSolve Print 1>
	% Msg1 <It's a filing cabinet full of incriminating evidence. Searching quickly through it, you find that the pump pushers have been getting their wares from \SCENE V1 .>
	Msg1 <Ⱥ˴ؤڵ򤬵ͤޤäƤê򤹤Ф䤯Ĵ٤ȡѥ̩Ĥ \SCENE V1 龦ʤƤ뤳Ȥʬä>
	% Msg2 <It's a filing cabinet full of incriminating evidence.>
	Msg2 <Ⱥ˴ؤڵ򤬵ͤޤäƤê>

end
