;;Ҫɾ

[@WeaponShopMain]
{
#SAY
Welcome <$USERNAME>,\
How may i help you?\
{FCOLOR/10}
Buy: <Weapons/@Buy>\
Sell: <Weapons/@Sell>\
Repair: <Weapons/@Repair>\
Special Repair: <Weapon/@SRepair(1)> <$@GetWeaponCost>\\
<Talk with/@CALL_Npc_TodayQuest> <$NPCNAME>\\
<Leave/@Exit>

;--------------------------------------------

[@CALL_Npc_TodayQuest]
#CALL [TodayQuest\QT_NPCSetting.txt] @NPCSetDairyQuest

;--------------------------------------------

[@Buy]
#SAY
Please select what you wish to buy.\\
<Back/@Main>\
<Leave/@Exit>

;--------------------------------------------

[@Sell]
#SAY
Please select what you wish to sell.\\
<Back/@Main>\
<Leave/@Exit>

;--------------------------------------------

[@Repair]
#SAY
What do you want me to repair?\\
<Back/@Main>\
<Leave/@Exit>

;--------------------------------------------

[~@repair]
#SAY
Repair Complete.\\
<Back/@Main>\
<Leave/@Exit>

;--------------------------------------------

[@SRepair()]
#ACT
mov P0 %ARG(1)
GetRepairCost %P0
#IF
CheckGold %P9
#ACT
RepairItem %P0
Take Gold %P9
Goto @Main
#ELSESAY
You do not have enought gold...\\
<Leave/@Exit>

;--------------------------------------------

[@GetWeaponCost]
#ACT
;mov P0 1
GetRepairCost 1
#IF
Equal P9 0
#SAY
{FCOLOR/10}Repaired{FCOLOR/12}
#ELSESAY
Cost: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
}

;;Ҫɾ