Story
	name <LM: Paramedic>

	% N1 is the scene in which the MP will be deployed.
	% N2 is the lancemate.
	Element2 <Prefab>
	% N3 is the sign to the trail.
	Element3 <Prefab>

	% S1 = INitialization/NPC reputation
	% S2 = NPC has joined party.

	% At startup, set the potential lancemate's skill level and reputation.
	Init_Start <ifNPCOK N2 else GoDelete if= S1 0 S= 1 d50 S+ 1 20 NPCAbsoluteLevel N2 S1 SetNPCRep N2 6 S1 ItemVar= N3 1 N2 ItemVar= N3 3 S1>
	start <ifNPCOK N2 else GoDelete if= S1 0 S= 1 d50 S+ 1 20 NPCAbsoluteLevel N2 S1 SetNPCRep N2 6 S1 ItemVar= N3 1 N2 ItemVar= N3 3 S1>
	GoDelete <EndStory>


sub
	% In SubComponents, the persona for the lancemate.
	Persona 2
	greeting <NewChat if= S2 1 else GoFirstTime Say 1>
	GoFirstTime <Say 2 AddChat 1 AddChat 2>

	result1 <NewChat Say 3 Reputation 1 1 MoveChar N2 N1 PCAlly N2 XPV 100 ItemVar= N3 1 0 S= 2 1 Return>
	result2 <NewChat Say 4 MoveChar N2 N1 XPV 100 CashPrize Reward Threat S1 250 100 ItemVar= N3 1 0 S= 2 1 Return>

	%Msg1 <It's important to take care of your health.>
	Msg1 <健康に気を遣うのは大事なことですよ。>
	%Msg1_2 <You know, I could have finished my internship, but then I'd have to spend the rest of my life in one place.>
	Msg1_2 <まあ、インターンを終えてもよかったのですが、そうすると残りの人生を一ヶ所で過ごすはめになりますから。>
	%Msg1_3 <I think I'm running low on gauze...>
	Msg1_3 <ガーゼが足りなくなってるかも…。>
	%Msg2 <I came here to gather some plants to process into antibiotics, but I slipped down a bank and lost my glasses. Now I can't find my way out of this maze.>
	Msg2 <抗生物質の材料となる植物の採集に来たのですが、土手で滑って眼鏡を失くしてしまいました。もうこの迷路から出る方法が分かりません。>
	%Msg3 <Thank you, that's very kind! If ever you're in need, I'll try to be there for you.>
	Msg3 <ありがとう、助かります！いつかあなたが困ったら、私が力になりましょう。>
	%Msg4 <Well, I guess I don't have too much of a choice, now do I? Alright, bring me back to town and I can give you a reward when we get to a bank machine.>
	Msg4 <まあ、あまり選択の余地はなさそうですね。分かりました。街まで送ってもらえれば、ＡＴＭに寄ったときにお礼を渡します。>

	%Prompt1 <I can lead you back to town.>
	Prompt1 <街まで案内しよう。>
	%Prompt2 <For a price, I can help you out.>
	Prompt2 <金を出すなら助けよう。>

end
inv
	NPC Doctor
	job <Paramedic>
	chardesc Heroic Lawful
	EquipChar 5000
	statline 10 12 13 14 15 10 15 11
	skill 1 8
	skill 3 8
	skill 5 10
	skill 6 8
	skill 10 12
	skill 13 5
	skill 16 15
	skill 20 15
	skill 26 10
	skill 30 10
	skill 33 5
	skill 36 5
	TALENT_COMBATMEDIC
	%CHAT_ATTACK1 <Someone's gonna need medical help in a second...>
	CHAT_ATTACK1 <すぐに怪我人が出そうですね…。>
	%CHAT_ATTACK2 <Ouch, that looks like it hurts.>
	CHAT_ATTACK2 <うわ、痛そう。>
	%CHAT_ATTACK3 <It's all fun and games until someone loses an eye.>
	CHAT_ATTACK3 <目などを失う人が出ないうちは、おふざけや遊びで済むのですが。>
	%CHAT_EJECT1 <I don't want to end up in an ambulance myself...>
	CHAT_EJECT1 <救急車の中でひとり息を引き取るのは嫌です…。>

	Sign
	place <1>
	% V1 = CID of the paramedic
	% V3 = Difficulcy Meter
	use <ifYesNo 1 2 3  LoadD .sitename PassVar 1 V1 PassVar 2 V3 PassVar 3 10 SeekGate -1>
	.sitename <SCENE_MeetingPath.txt>
	%Msg1 <There's a hiking trail leading up into the mountains.>
	Msg1 <山中へ続くハイキング用の道がある。>
	%Msg2 <Follow the trail.>
	Msg2 <道を行く。>
	%Msg3 <Don't bother.>
	Msg3 <無視する。>

end
