%
%  Plots based on the *CORE_R_ goals.
%

Plot
	name <R_EXP: Engineer Mission>
	% desc <The NPC will direct you to a custom mecha.>
	desc <NPC からカスタムメックを得られる任務へ誘導される。>
	requires <*CORE_R_MEK ~P:++ Common>

	% Element1 is the NPC to meet
	% Element2 is the martial artist
	% Element3 is the meeting scene
	element1 <Character !Near -7 (Friend|Lover|Family|PCFac|Ally)>
	Element2 <Prefab>
	Element3 <Scene Building Public !Near -7 !Okay 2>

	start <if= PlotStatus %plotid% 0 else .%id%_GoCheckDead if= RootSceneID &EpisodeScene SetNPC %1% Email %id%01 SetPlotStatus %plotid% %id%>
	.%id%_GoCheckDead <if= PlotStatus %plotid% %id% ifNPCDead %1% LoseEpisode>

	% Msg%id%01 <%name1%@ \SCENE &EpisodeScene :// If you're in town I'd love to speak with you.>
	Msg%id%01 <%name1%@ \SCENE &EpisodeScene :// この街に来ているのなら、ぜひ%JF2に会いにきてほしい%JV_F_WA。>

	% SubPlot1 is the conversation you're going to have.
	subplot1 <*CS_Conversation 2>

	sub
		Persona 1
		greeting <if= PlotStatus %plotid% %id% else GoChat Goto .%id%_GoGreet>
		% rumor%id% <%name1% has been looking for you.>
		rumor%id% <%name1% が%JS2を探している>
		GoChat <RevertPersona>
		*.%id%_GoGreet <*HowAreYou .%id%_GoAdvise>
		.%id%_GoAdvise <NewChat Say %id%01 SMemo %id%02 History %id%03 MoveNPC %2% %3% SetPlotStatus %plotid1% %id1%>
		% Msg%id%01 <How's your mecha holding out? %name2% at %name3% needs a cavalier for an upcoming mission, and the reward is a fully customized mecha. You'd be a fool to pass this up.>
		% Msg%id%02 <%name1% advised you to ask %name2% at %name3% for a mission.>
		% Msg%id%03 <%name1% told you about %name2%'s mission.>
		Msg%id%01 <今のメックの性能には満足してる%JG_KANA？ %name3% の %name2% が任務のためにメック乗りを探していて、その報酬にカスタムメックが出るらしい%JG_NDA。この機会を逃す手はない%JV_ZO%JV_F_YO。>
		Msg%id%02 <%name1% から、%name3% の %name2% に任務の話を聞きに行くよう助言された。>
		Msg%id%03 <%name1% から %name2% の任務について伝えられた。>
	end
	inv
		NPC Engineer
		chardesc old renowned
	end

Plot
	name <R_EXP: Ancient Master>
	% desc <The NPC will direct you to a skill trainer.>
	desc <NPC がトレーナーの居場所を伝えられる。>
	requires <*CORE_R_EXP ~P:++ Common>

	% Element1 is the NPC to meet
	% Element2 is the martial artist
	% Element3 is the meeting scene
	element1 <Character !Near -7 (Friend|Lover|Family|PCFac|Ally)>
	Element2 <Prefab>
	Element3 <Scene Building Public !Near -7 !Okay 2>

	start <if= PlotStatus %plotid% 0 else .%id%_GoCheckDead if= RootSceneID &EpisodeScene SetNPC %1% Email %id%01 SetPlotStatus %plotid% %id%>
	.%id%_GoCheckDead <if= PlotStatus %plotid% %id% ifNPCDead %1% LoseEpisode>

	% Msg%id%01 <%name1%@ \SCENE &EpisodeScene :// Give me a call when you get in town.>
	Msg%id%01 <%name1%@ \SCENE &EpisodeScene :// 街に来たら%JF2に連絡を%JV_KUDASAI。>

	% SubPlot1 is the conversation you're going to have.
	subplot1 <*CS_Conversation 2>

	sub
		Persona 1
		greeting <if= PlotStatus %plotid% %id% else GoChat Goto .%id%_GoGreet>
		% rumor%id% <%name1% knows someone who can help you train.>
		rumor%id% <%name1% が%JS2に稽古を付けてくれる人物を知っている>
		GoChat <RevertPersona>
		*.%id%_GoGreet <*HowAreYou .%id%_GoAdvise>
		.%id%_GoAdvise <NewChat Say %id%01 SMemo %id%02 History %id%03 MoveNPC %2% %3% SetPlotStatus %plotid1% %id1%>
		% Msg%id%01 <I heard that you're looking to improve your skills. The famous martial artist %name2% is in %name3%; maybe you can ask \OPR %2% to train you.>
		% Msg%id%02 <%name1% told you that %name2% in %name3% might be able to help you train.>
		% Msg%id%03 <%name1% told you to seek training from %name2%.>
		Msg%id%01 <%JS2が腕を磨こうと考えていると話に聞いた%JG_YO。有名な武術家の %name2% が %name3% に居る%JV_N%JV_M_DA……\SPR %2%に頼めば、%JS2を鍛えてくれるかもしれない%JV_ZO%JV_F_YO。>
		Msg%id%02 <%name1% から、%name3% にいる %name2% が稽古を付けてくれるかもしれないと教えられた。>
		Msg%id%03 <%name2% の指導を仰げと %name1% に勧められた。>
	end
	inv
		NPC Martial Artist
		chardesc old renowned
	end

