; =======================================
; QGO - Market Trader NPC Definition File
; =======================================
; Name: Heather
; Job:  Storage/Bundling
; Map No: 5
; Pos X   142
; Pos Y   312
; File name: 6Dwh-5.txt
; Comment: Storage and Bundling in Prajna Island
; -------------------------
;
;prices
%100

;ȭ, '*' : ȭ ±
;Dialogue, '*' : Dialogue Tag

[@main]
#IF
	checkpkpoint 2
#SAY
		;ڳ׿  ҷ  ŷ ϰ  ʱ.. \ \
I don't want to deal with such an evil person like you.. \ \
		;<  /@exit>
<Close/@exit>

#ELSEACT
	goto @main-1

[@main-1]
; , !  ͵帱? \ \
;  <ñ/@storage> \
; ñ < ã´/@getback> \
;    <´./@Mbind> \
; ֿ <ȭ Ѵ/@talk> \
; <׸д/@exit>
Welcome! How can I help you? \ \
 <Deposit/@storage> \
 <Withdraw/@getback> \
 <Bind/@Mbind> \
 <Talk with Heather/@talk> \
 <Close/@exit>

[@talk]
#IF
	random 2
#SAY
;   ڱ Ÿ  徾  \
;ƴϴ.  ķ ϷϷ簡 Ҿ ̾. \
; Ե  ּż \
;󸶳 Ƚ Ǵ . \ \
; <  /@main>
One day, evil monsters suddenly appeared and killed Uncle John,\
who was also my neighbor. Since then, we had been anxious every\
day. Thankfully, many brave people like you have come here, \
so we feel a lot safer these days. \ \
 <Back/@main>
#ELSESAY
;  ô  ִ Ǹ 帱 ״, \
;ε   Ƽ  ּ. \ \
; <  /@main>
We will do anything for your maximum comfort; in exchange,\
please stay here as long as you can and protect us from the\
savage monsters. \ \
 <Back/@main>

[@storage]
; ñ ôٰ? 翬 ͵. \
;ñ  ̸ ּ. \ \
; <  /@main>
You want us to keep your things? Sure, we will. \
Please show me the item you want to deposit. \ \
 <back/@main>

[@getback]
; Բ ñ    \
;ã   ּ. \ \
; <  /@main>
Here is the list of items you have deposited. \
Please select the item you want to withdraw. \ \
 <back/@main>

[@Mbind]
#IF
#SAY
; ͵帱? \ \
;Gold GoldBar <ȯ Ѵ./@changeGold> \
;GoldBar Gold <ȯ Ѵ./@changeMoney> \
; <´./@bind> \ 
;<׸д./@exit>
How can I help you? \ \
<exchange/@changeGold> the money to gold bars. \
<exchange/@changeMoney> the gold bars to money. \
<bind/@bind> \ 
<close/@exit>

[@changeGold]
#IF
   checkgold 1000000
#SAY
;GoldBar ٲٷ  ᰡ ʿϰŵ. \
;  2000 Դϴ. ׷ ٲٽðھ? \ \
;<ȯѴ./@changeGold_1> \
;<׸д./@exit>
You need to pay certain amount of fee for the exchange. \
The fee is 2000 gold. Do you want to continue? \ \
<exchange/@changeGold_1> \
<close/@exit>

#ELSESAY
;... Gold ڸñ. \
;Gold  ̸ ٽ ּ. \ \
;<  /@main>
My my... You haven't got enough money. \
Please come back when you have enough money. \ \
<back/@main>

[@changeGold_1]
#IF 
   checkbaggage
   checkgold 1002000
#ACT
   take Gold 1002000
   give GoldBar 1
#SAY
;Gold GoldBar ٲپ Ƚϴ. \ 
; ٲٽǰǰ? \ \
;<ٲ۴./@changeGold> \
;<ٲ ʴ´./@exit>
Your money is exchanged with the gold bar. \ 
Any more? \ \
<exchange/@changeGold> \
<close/@exit>

#ELSESAY
; áų Ȥ ᰡ  \
;ٲپ 帱  ׿. ٽ ѹ Ȯ . \ \
;<׸д./@exit>
You don't have either enough money or space in your \
bag so I can not exchange them for you. Please check \
that. \ \
<close/@exit>

[@changeMoney]
#IF
   checkitem GoldBar 1
#SAY 
;GoldBar ٲٷ  ᰡ ʿϰŵ. \
;  2000 Դϴ. ׷ ٲٽðھ? \ \
;<ȯѴ./@changeMoney_1> \
;<׸д./@exit>
You need certain amount of fee for the exchange. \
The fee is 2000 gold. Do you want to continue? \ \
<exchange/@changeMoney_1> \
<close/@exit>

#ELSESAY
;... GoldBar ñ. \
;GoldBar 鼭  ٲپ ޶ Ͻôٴ... \
; ٺ ƽó... !! \ \
;<׸д./@exit>
Huh? You don't have any gold bar. \
You are asking me to exchange without a single gold bar? \
You think I'm a nut? pish!! \ \
<close/@exit>

[@changeMoney_1]
#IF
   checkitem GoldBar 1
   checkgold 4002000
#SAY
;Gold ٲپ 帮  <$USERNAME> \
;Ͻ ݾ ʹ Ƽ ٲپ 帱  ׿. \ \
;<׸д./@exit>
I want to exchange them for you but you <$USERNAME>, \
have too much money at the moment so I can not. \ \
<close/@exit>

#ELSEACT
   goto @changeMoney_2


[@changeMoney_2]
#IF 
   checkitem GoldBar 1
#ACT
   take GoldBar 1
   give Gold 998000
#SAY
;GoldBar Gold ٲپ Ƚϴ. \ 
; ٲٽǰǰ? \ \
; <ٲ۴./@changeMoney> \
; <ٲ ʴ´./@exit>
The gold bar has been exchanged to money. \ 
any more? \ \
 <exchange/@changeMoney> \
 <close/@exit>

[@bind]
;  帱  ִ κ  \
; ֹ Դϴ. ѹ  ðھ? \ 
; µ 100 Gold ʿմϴ. \ \
;  <´./@P_bind> \
; ֹ <´./@Z_bind> \
I can bind drugs and scrolls. \
Do you want to try? \ 
For each bundle, it costs 100 gold. \ \
<bind/@P_bind> drugs\
<bind/@Z_bind> scrolls \

[@P_bind]
;(HP)DrugLarge <´./@ch_bind1> \
;(MP)DrugLarge <´./@ma_bind1> \ 
;(HP)DrugMedium <´./@ch_bind2> \
;(MP)DrugMedium <´./@ma_bind2> \
;(HP)DrugSmall() <´./@ch_bind3> \
;(MP)DrugSmall() <´./@ma_bind3> \
; <  /@bind>
<bind/@ch_bind1> (HP)DrugLarge \
<bind/@ma_bind1> (MP)DrugLarge \ 
<bind/@ch_bind2> (HP)DrugMedium \
<bind/@ma_bind2> (MP)DrugMedium \
<bind/@ch_bind3> (HP)DrugSmall \
<bind/@ma_bind3> (MP)DrugSmall \
 <back/@bind>

[@Z_bind]
;DungeonEscape <´./@zum_bind1> \
;RandomTeleport <´./@zum_bind2> \
;TownTeleport <´./@zum_bind3> \
;TeleportHome <´./@zum_bind4> \
; <  /@bind>
<bind/@zum_bind1> DungeonEscape scrolls \
<bind/@zum_bind2> RandomTeleport scrolls \
<bind/@zum_bind3> TownTeleport scrolls \
<bind/@zum_bind4> TeleportHome scrolls \
 <back/@bind>

[@ch_bind1]
#IF
   checkitem (HP)DrugLarge 6
#ACT
   goto @ch_bind1_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>

[@ch_bind1_1]
#IF 
   checkgold 100
   checkitem (HP)DrugLarge 6
#ACT
   take Gold 100
   take (HP)DrugLarge 6
   give (HP)DrugBundle 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@P_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you have enough money. \ \
 <close/@exit>

[@ma_bind1]
#IF
   checkitem (MP)DrugLarge 6
#ACT
   goto @ma_bind1_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>

[@ma_bind1_1]
#IF 
   checkgold 100
   checkitem (MP)DrugLarge 6
#ACT
   take Gold 100
   take (MP)DrugLarge 6
   give (MP)DrugBundle 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@P_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you have enough money. \ \
 <close/@exit>

[@ch_bind2]
#IF
   checkitem (HP)DrugMedium 6
#ACT
   goto @ch_bind2_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>

[@ch_bind2_1]
#IF 
   checkgold 100
   checkitem (HP)DrugMedium 6
#ACT
   take Gold 100
   take (HP)DrugMedium 6
   give (HP)MDrugBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@P_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
Oh dear... not enough money. \
Please come back when you enough money. \ \
 <close/@exit>

[@ma_bind2]
#IF
   checkitem (MP)DrugMedium 6
#ACT
   goto @ma_bind2_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>

[@ma_bind2_1]
#IF 
   checkgold 100
   checkitem (MP)DrugMedium 6
#ACT
   take Gold 100
   take (MP)DrugMedium 6
   give (MP)MDrugBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@P_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>

#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
;<׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>

[@ch_bind3]
#IF
   checkitem (HP)DrugSmall 6
#ACT
   goto @ch_bind3_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>

[@ch_bind3_1]
#IF 
   checkgold 100
   checkitem (HP)DrugSmall 6
#ACT
   take Gold 100
   take (HP)DrugSmall 6
   give (HP)SDrugBundl 1
#SAY
; ׿. \
; 帱? \ \

; <ٽ ´./@P_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>

[@ma_bind3]
#IF
   checkitem (MP)DrugSmall 6
#ACT
   goto @ma_bind3_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
;<׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>

[@ma_bind3_1]
#IF 
   checkgold 100
   checkitem (MP)DrugSmall 6
#ACT
   take Gold 100
   take (MP)DrugSmall 6
   give (MP)SDrugBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@P_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>

[@zum_bind1]
#IF
   checkitem DungeonEscape 6
#ACT
   goto @zum_bind1_1
#ELSESAY
;...  ڸ. \
; غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough drugs. \
Please come back when you have enough drugs. \ \
 <close/@exit>
[@zum_bind1_1]
#IF 
   checkgold 100
   checkitem DungeonEscape 6
#ACT
   take Gold 100
   take DungeonEscape 6
   give EscapeBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@Z_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>

[@zum_bind2]
#IF
   checkitem RandomTeleport 6
#ACT
   goto @zum_bind2_1
#ELSESAY
;... ֹ ڸ. \
;ֹ غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough scrolls. \
Please come back when you enough scrolls. \ \
<close/@exit>

[@zum_bind2_1]
#IF 
   checkgold 100
   checkitem RandomTeleport 6
#ACT
   take Gold 100
   take RandomTeleport 6
   give RandomBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@Z_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>

[@zum_bind3]
#IF
   checkitem TownTeleport 6
#ACT
   goto @zum_bind3_1
#ELSESAY
;... ֹ ڸ. \
;ֹ غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough scrolls. \
Please come back when you enough scrolls. \ \
<close/@exit>

[@zum_bind3_1]
#IF 
   checkgold 100
   checkitem TownTeleport 6
#ACT
   take Gold 100
   take TownTeleport 6
   give TownTeBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@Z_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>

[@zum_bind4]
#IF
   checkitem TeleportHome 6
#ACT
   goto @zum_bind4_1
#ELSESAY
;... ֹ ڸ. \
;ֹ غ  ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough scrolls. \
Please come back when you enough scrolls. \ \
<close/@exit>

[@zum_bind4_1]
#IF 
   checkgold 100
   checkitem TeleportHome 6
#ACT
   take Gold 100
   take TeleportHome 6
   give TeHomeBundl 1
#SAY
; ׿. \
; 帱? \ \
; <ٽ ´./@Z_bind> \
; <׸д./@exit>
Well bound. \
Any more? \ \
 <bind more/@P_bind> \
 <close/@exit>
#ELSESAY
;...   ִ Gold ڶ׿. \
;Gold   ٽ ּ. \ \
; <׸д./@exit>
Oh dear... not enough money. \
Please come back when you enough money. \ \
<close/@exit>
