; ===================================
; Market Def NPC File : 2Gwe-0
; Blacksmith in GinkoVillage
; -----------------------------------
; Name: Peter
; Job: Blacksmith
; Map No: 0
; Pos X 649
; Pos Y 602
; File name: *removed*
; Comment: Blacksmith in GinkoVillage

;================================================= =
;

;Settings
%100
+5
+6
+43

;Pkr Tag (NPC won't talk to Pkrs)
[@main]
#IF
checkpkpoint 2
#SAY
I won't talk to an evil person like you..\ \
<Ok/@exit>

#ELSEACT
goto @main-1


[@main-1]
Glad to see you, how can I help you?\ \
<Buy/@buy> weapon\
<Sell/@sell> weapon\
<Repair/@repair> weapon\
<Talk with/@QUEST>\
<Ask/@qweapon> about weapon\
<Cancel/@exit>

[@QUEST]
#IF
check [755] 1
#ACT
goto @Q705
break 

#IF
check [754] 1
#ACT
goto @Q704
break

#IF
check [753] 1
#ACT
goto @Q703
#ELSEACT
goto @normal

[@Q705]
#IF
#SAY
Look for the guide, they will tell you what to do.\ \
<Ok/@exit>

[@Q704]
#IF
check [754] 1
checklevel 5
#ACT
goto @Q704_1
#ELSEACT
goto @Q704_2

[@Q704_2]
#IF
#SAY
You need to be level 5 to help me.\
Level up and then come and find me again.\ \
<Ok/@exit>

[@Q704_1]
#IF
#SAY
Ah <$USERNAME> you are level 5 now!\
to see you a higher level makes me happy.\
Now you are a higher level I will give you a sword to\
suit your new level. Look for the guide now, they will tell you\
what to do.\ \
<Ok/@exit>
#ACT
SET [755] 1
give BronzeSword 1

[@Q703]
#IF
checklevel 3
#SAY
Hello <$USERNAME>, did you listen to the guides talk and now\
have decided to come and see me? I need you to practise\
until you are level 5. Go now!\ \
<Ok/@exit>
#ACT
SET [754] 1
#ELSESAY
Hello <$USERNAME>, did you listen to the guides talk and now\
have decided to come and see me? My request is that you pracise\
until you are level 5. Go now!\ \
<Ok/@exit>

[@Q703_2]
#IF
#SAY
Your oportunity will be next time,\
goodbye..\\
<Close/@exit>

[@normal]
#IF
#SAY
<$USERNAME> you understood enough about the Legend of Mir.\
Good luck.\\
<Thanks/@exit>

[@buy]
Please select the weapon you want to buy\ \ \
 <Back/@main>

[@sell]
Lay down your weapon to be sold\ \ \
 <Back/@main>

[@repair]
Would you like to repair your weapon?\ \
 <Back/@main>

[~@repair]
Your weapon seems to be repaired fine.\ \
 <Back/@main>

[@qweapon]
The weapon bought from this store has some capacity limit,\
but weapons aquired from monsters sometimes have special stats.\
If you bring that special weapon to us we'll buy it at a higher price.\
By the way, don't forget that the weapon price differs with its stats\
Usually the higher the durability the higher the selling price.\ \
 <Back/@main>

[goods]
;Item		Amount		Time
WoodenSword     100         	1
HoaSword        100         	1
Dagger          100         	1
EbonySword      100         	1
BronzeSword     100         	1
ShortSword	100		1 
IronSword	100		1
Dagger          100             1
BronzeAxe       100         	1
HoockedSword    100         	1
Trident         100         	1
Scimitar        100         	1
SteelSword      100         	1
MartialSword    100         	1
SteelAxe	100		1
HoockedSpear    100         	1
KrissSword      100         	1
PrinceSword     100         	1
IronBlades      100         	1
PowerAxe        100         	1
VelocityBlades  100             1
PickAxe         100             1

[QUESTS]
;ID Level Flag
