;;Ҫɾ

[@AccessoryMain]
{
#SAY
Welcome <$USERNAME>,\
How may i help you?\
{FCOLOR/10}
Buy: <Accessory/@Buy>\
Sell: <Accessory/@Sell>\
Repair: <Accessory/@Repair>\
Special Repair: <Accessory/@SpecialRepair>\\
<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>

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

[@SpecialRepair]
#SAY
What do you want me to repair?\\
<Necklace/@SRepair(3)> <$@GetNecklaceCost>\
<Left Bracelet/@SRepair(5)> <$@GetLeftBraceCost>\
<Right Bracelet/@SRepair(6)> <$@GetRighBraceCost>\
<Left Ring/@SRepair(7)> <$@GetRingCostLeft>\
<Right Ring/@SRepair(8)> <$@GetRightRingCost>\
<Back/@Main>\
<Leave/@Exit>

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

[@SRepair()]
#ACT
mov P0 %ARG(1)
GetRepairCost %P0
#IF
CheckGold %P9
#ACT
RepairItem %P0
Take Gold %P9
Goto @SpecialRepair
#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}

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

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

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

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

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

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

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

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

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

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

;----------------------------------
}

;;Ҫɾ