; ===================================
; QGO Market Def NPC File : 9Equ-D002
; Jonathan
; Quest = 8Koai-Jin (Secret Store)
; -----------------------------------
; Name: Jonathan
; Job:  ?
; Map No: D002
; Pos X   187
; Pos Y   214
; File name: 9Equ-D002.txt
; Comment: In a small shack in 2nd floor Oma Cave
; ----------------------------------------------------------------------
; QUEST INFO:
; QUEST 02 8KoaiJin (Secret Store)
; ----------------------------------------------------------------------
; Flags Affected by this Trader File
; [315] Set by Khera (9Equ-0148) when tasked to go find Jonathan
;		Cleared by Jonathan when player goes into the maze
; [316] Set by Jonathan here when player goes into the 8Koai-Jin maze
; [204] ???
;------------------------------------------------------------------------------
[@main]
#IF
	random 2
#ACT
	goto @QUEST
#ELSEACT
	goto @normal


; -----------------------------------
[@normal]
#IF
#SAY
		;  ذ  Ͱ   \
		; ͸  ϳ    ٳ.. \
		; ͸  ġ..  ٸ ̰ͻ  \ \
;-------------NEW TEXT-------------------
What do you want? Don't disturb me now, and keep your noise down!\
There's a very strong monster that frequents these caves, a Bone\
Elite, in case you didn't know! It's not that difficult to defeat\
if you know how, but if you don't, then get out of here fast, and\
don't look back!\\
;-----------END NEW TEXT-----------------
		;<  /@exit> \
<Close/@exit> \


; -----------------------------------
[@QUEST]
#IF
	check [316] 1
#ACT
	goto @Q316
	break

#IF
	check [315] 1

; ######################################
; ## what's flag 204 doing here????   ##
; ## I have commented it out for now  ##
; ## should just be trig'd by 315     ##
; ######################################
;	check [204] 1

#ACT
	goto @Q315

#ELSEACT
	goto @normal


; -----------------------------------
[@Q315] 
#IF
	daytime sunraise
#SAY
		; ̸ °?  ̸ ˷ֱ , ̶ ϳ\
		;  ׷ ڳ,  ˰ ִ  ִµ,   \
		;Ͽ ѹ ˾  ? ׷ٸ     \
		;5000 ְ ׷ٸ, ڳ׿   ˷ ְڳ... \ \
;-------------NEW TEXT-------------------
Ah, yes, my niece Khera... how is she, by the way? No matter, thank\
you for telling me of her concern, I shall let her know that she has\
no need to worry about me. Now that you're here, let me give you some\
information; there is a place that I have found, the like of which has\
never been known. But my belly is empty, like my pockets. If you have\
gold to give me, I'll tell you all about it... \\
;-----------END NEW TEXT-----------------
		; <´/@Q315_1> \
		;  <ʴ´./@Q315_2>
<Listen to/@Q315_1>the information \
<Refuse/@Q315_2> 

#ELSESAY
		; Ǵ     \
		; 鵵 ó Ǵ     ƴϾ \
		; 鵵    ־ ׷ ߴٳ \
		; 鵵  ҽ ..(....) \ \
;-------------NEW TEXT-------------------
(muttering to self) All these so-called merchants here in the\
caves... famous were they?... yes, famous for their wickedness!\
... but they have changed... they were not like that at first...\
ah no matter... they are sad and lonely now... what was that?\
... oh, nothing, just my imagination.... (mutters silently)\\
;-----------END NEW TEXT-----------------
		;<  /@exit>
<Close/@exit> \


; -----------------------------------
[@Q315_2]
#IF
#SAY
		;ڳ   ʰڴٱ ߻ ߳.. \
		; ڳ׿ ̷  ˷ شٰ ؼ ڳװ ذ \
		;Ҽ  𸣴ϱ ϼ... ׷  ð \ \
;-------------NEW TEXT-------------------
It's your choice, of course, but if you don't want to hear\
my story, it makes me believe that you're just not up to\
the challenge... all these so-called adventurers, all nothing\
but frightened children... no go and leave me to my work!\\
;-----------END NEW TEXT-----------------
		;<  /@exit>
<Close/@exit> \



; -----------------------------------
[@Q315_1]
#IF
	checkgold 5000
#ACT
	take Gold 5000
#SAY
		;׷  ѹ  ڴ ̰ǰ? \ 
		; ̾߱ ƴ ѹ   ð.. \
		; ˰ ִ   ̸   \
		;Ͱ  ϴ  ͵  ʴ \
		; Ѷ ̸迡 ̸   ̾ŵ.. \ \
;-------------NEW TEXT-------------------
Now then, I would tell you that I used to be famous as a\
fearless warrior in times past... on one of my forages\
into the caves, I came across this ungodly place, and\
I saw sights that I could not begin to describe. Monsters\
and demons that seemed as though the ancient Mir legends,\
immortal and deadly, had come back to life...\\
;-----------END NEW TEXT-----------------
		;<  /@Q315_1_1> \
		;<  /@exit>
<Continue/@Q315_1_1> \
		;<Clsoe/@exit>

#ELSESAY
		;ڳ  .. ׷   ڴٰ ϳ \
		;   ׷߸  ڳ׿  ˷ ְڳ \ \
;-------------NEW TEXT-------------------
But you don't have enough gold to pay for my food...\
I am not asking for the world, merely 5000 gold pieces;\
it is not a fortune for someone like yourself! Please,\
get me the gold and I will continue with my story.\\
;-----------END NEW TEXT-----------------
		;<ݱ/@exit> 
<Close/@exit>


; -----------------------------------
[@Q315_1_1]
#IF
#SAY
		;̷ Ϳ ϰܴٴϸ鼭,   غҳ\
		;׷ Ե ̾ȿ ̻   ̴ٳ,  ο \
		;Ѹ  ɾ ,   Ǽ ߴ 8  \
		;̾߱⸸  ϴ..  ʹ ñؼ   Ҵ \
		; ο   ѹ ڳ? ϰ .. \ \
;-------------NEW TEXT-------------------
I was pursued by these horrors from hell, and found myself\
deeper and deeper into unchartered territory. Then I came\
across a very strange old man. He hid me from the chasers,\
and after I had refreshed, he told me of the 8 Koai-Jin.\
When I pressed him for more information, he simply said\
'Would you like to go there?'...\\
;-----------END NEW TEXT-----------------
		;<  /@Q315_1_2> \
		;<  /@exit>
		;<Close/@exit>
<Continue/@Q315_1_2> \


; -----------------------------------
[@Q315_1_2]
#IF
#SAY
		;    ѹ ڴٰ .. \ 
		;װ ô̳ ް  , ƹ Ƶ \
		;    ..  ãڴ... \
		; ƴٴϴ  ̰ Ģ   ̾߱ ϴ \
		;8  ļ   ̸̾.. \
		;   ˰ ִٸ ư  ൿ  ɼ \ \
;-------------NEW TEXT-------------------
Of course, being a fearless warrior, I naturally agreed.\
Well, upon my arrival there, I was completely lost within\
a very short time. The walls seemed to shift, and change,\
and although everything was the same, it was different...\
But, I remembered what the old man had told me about the\
principle of the 8 Koai-Jin, the gates of the maze, and I\
began to understand...\\
;-----------END NEW TEXT-----------------
		;<  /@Q315_1_3> \
		;<  /@exit>
		;<Close/@exit>
<Continue/@Q315_1_3> \

; -----------------------------------
[@Q315_1_3]
#IF
#SAY
		;  ִ ͸ ҳ     \
		;Ҵ,  Ϳ ѹ ο   ó Ծ \
		;  ϴ 󸶳  .     \
		;    ڰ ִ, װ ű ? \
		; ڴ     հ װ Դ..  ڴ \
		;  ϱ    غٳ.. \ \
;-------------NEW TEXT-------------------
I ended up within the tactical maze, and saw a monster there\
that resembled a Wooma Guardian. I tried to fight it but I was\
badly injured and could not slay the beast. I had to flee for my\
life, and would have surely perished had it not been for... ahh,\
what a pretty young woman... her eyes burnt like fire, and as\
I lay there waiting for death, she came and used such skill and\
speed to kill my enemy, I have never seen anything like it...\\
;-----------END NEW TEXT-----------------
		;<  /@Q315_1_4> \
		;<  /@exit>
		;<Close/@exit>
<Continue/@Q315_1_4> \

; -----------------------------------
[@Q315_1_4]
#IF
#SAY
		; ̻  .. Ͽư  ڿ  ɾ  \
		;ű  ȴ ̾, ű ̶ ׷  ̸ \
		;ʿ Ѱ͵ Ȯϰ  .. \
		;ڳ ű⸦  Ա     ־ \
		; ټ ֳ  ѹ ڳ? \ \
;-------------NEW TEXT-------------------
Anyway, I woke up in strange surroundings, and she was there,\
tending to my wounds. They took a long time to heal, and we\
became... intimate... such passion, such... ah, this is not the\
time to dwell on such matters. She was a true craftsmistress,\
and the items she created were not of this world. I cannot even\
recall them with any great clarity, but I do remember the way\
to get to the 8 Koai-Jin...\\
;-----------END NEW TEXT-----------------
<Continue/@Q315_1_5> \


; ####################################
; ## ------------ QGO ------------- ##
; ## NEW SECTION ADDED TO ALLOW FOR ##
; ## ADDITIONAL STORY TEXT          ##
; ####################################
[@Q315_1_5]
#IF
#SAY
I can send you to this place, but would you like me to tell\
you of what I remember the good lady Andy produced from\
her skill? Or are you in a hurry to face your death?
; #####################
; ## END NEW SECTION ##
; #####################
		;Ĵ   ݿ ؼ <˾ƺ/@price> \
		;ѹ ãư </@Q315_1_4_1> \
		;غ ؼ ãư </@exit>
<Check types and prices of Andy's items/@price>\
<Go to the Maze immediately/@Q315_1_4_1>\
<No, not yet, I will prepare first/@exit>\


; -----------------------------------
[@price]
#IF
#SAY
		;  Ĵ  ,,û ̶. \
		; : ݱ 1 +  13̻ ݱ 5 \
		; : ݱ 1 +  13̻ ݱ 4 \
		;û : ݱ 1 +  13̻ ݱ 3 \
		;ູǱ⸧ :  50 + ȭ() 5 \
		;̷ غ ؼ ð ׷  ᱹ   \
		;  Ź Ҽ . \ \
;-------------NEW TEXT-------------------
I believe she can make Great Axes, Serpent Swords and Mage Staves.\
All weapons require a gold bar. Additionally, for a Great Axe, she\
needs 5 gold ores of at least 13 purity. A serpent sword will need\
4 pieces of similar purity gold ore, and a Mage Staff 3 such gold\
ores. She can also make a Benediction Oil out of 500,000 gold pieces\
and 5 medium sun potions. Without these, she will not be able to\
craft any of these items.\\
;-----------END NEW TEXT-----------------
		;<  /@price1>
<Continue/@price1>


; -----------------------------------
[@price1]
#IF
#SAY
		;ο ˰ û 1     \
		;ູ ⸧ 5  شٳ.. \ 
		;    Ͻð... \ 
		;׷ٸ ڳ״ װ ѹ ðڳ?? \ \
;-------------NEW TEXT-------------------
She can produce any weapon only once, for they are unique to\
the wielder of the item. The Benediction Oil can be produced five\
times. So, are you now ready for your appointment with destiny?\\
;-----------END NEW TEXT-----------------
		;ѹ ãư </@Q315_1_4_1> \
		;غ ؼ ãư </@exit>
<Yes I am ready now/@Q315_1_4_1>\
<Not yet, I need more time/@exit>\


; -----------------------------------
[@Q315_1_4_1]
#IF
#ACT
	set [315] 0
	set [316] 1
	mapmove Q011 13 10



; -----------------------------------
[@Q316]
#IF
#SAY
		;ڳ    ε  ʾҳ? \
		;   2ϴ  Ⱦ Ѵٳ.. \
		;ڳװ  ã ͵  ٽô ڳ׸ \
		;  ̵    ɼ.. \ \
;-------------NEW TEXT-------------------
I have already showed you the way, I will not send the\
same person through the portal again.\
You have had your chance... do not pester me again!\\
;-----------END NEW TEXT-----------------
		;<  /@exit>
<Close/@exit>

