Idea's please
C:\Mud3\Envir\Merchant.txt
C:\Mud3\Envir\Market_Def\Bichon\Accessory-0.txt
or...
C:\Mud3\Envir\QuestDiary\Merchant\Common\Accessory.txt
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @z11
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zz1
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @z11
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zz1
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @z11
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zz1
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @z11
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zz1
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @z11
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zz1
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @z11
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zz1
21:59:03:Script error, load fail: Merchant\Common\Accessory.txt - @zzz
C:\Mud3\Envir\Merchant.txt
Bichon\Accessory 0 142 223 (Accessory)_Lavinia 0 5
C:\Mud3\Envir\Market_Def\Bichon\Accessory-0.txt
Code:
[@Main]
#IF
checknamelist English.txt
#CALL [Merchant\Common\Accessory.txt] @z11
#IF
checknamelist Spanish.txt
#CALL [Merchant\Common\Accessory.txt] @zz1
#IF
checknamelist Polish.txt
#CALL [Merchant\Common\Accessory.txt] @zzz
or...
Code:
[@Main]
#IF
checknamelist English.txt
#ACT
goto @eng
#Elseact
goto @try2
[@eng]
#CALL [Merchant\Common\Accessory.txt] @z11
[@try2]
#IF
checknamelist Spanish.txt
#ACT
goto @span
#elseact
goto @try3
[@span]
#CALL [Merchant\Common\Accessory.txt] @zz1
[@try3]
#IF
checknamelist Polish.txt
#act
goto @pol
#elseact
goto @sorry
[@sorry]
#SAY
pick lang..\
[@pol]
#CALL [Merchant\Common\Accessory.txt] @zzz
C:\Mud3\Envir\QuestDiary\Merchant\Common\Accessory.txt
Code:
;;不要删掉此行
[@AccessoryMain]
#IF
checknamelist English.txt
#ACT
goto @z11
#ELSEACT
goto @test2
[@test2]
#IF
checknamelist Spanish.txt
#ACT
goto @zz1
#ELSEACT
goto @test3
[@test3]
#IF
checknamelist Polish.txt
#ACT
goto @zzz
#ELSESAY
Relog to choose a language..\
Exit i ponownie wybrać język\
Salir y entrar de nuevo para elegir el idioma\
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@zzz]
{
#SAY
Powitanie <$USERNAME>,\
Jak mogę pomóc?\
{FCOLOR/10}
Sprzedam: <Accessory/@Buyp>\
Sprzedają: <Accessory/@Sellp>\
Naprawa: <Accessory/@Repairp>\
Specjalna Naprawa: <Accessory/@SpecialRepairp>\\
<Porozmawiaj z/@CALL_Npc_TodayQuestp> <$NPCNAME>\\
<pozostawiać/@Exit>
;--------------------------------------------
[@CALL_Npc_TodayQuestp]
#CALL [TodayQuest\QT_NPCSetting.txt] @NPCSetDairyQuest
;--------------------------------------------
[@Buyp]
#SAY
Wybierz co chcesz kupić.\\
<z powrotem/@AccessoryMain>\
<pozostawiać/@Exit>
;--------------------------------------------
[@Sellp]
#SAY
Wybierz co chcesz sprzedać.\\
<z powrotem/@AccessoryMain>\
<pozostawiać/@Exit>
;--------------------------------------------
[@Repairp]
#SAY
Czego chcesz mnie do naprawy?\\
<z powrotem/@AccessoryMain>\
<pozostawiać/@Exit>
;--------------------------------------------
[~@repairp]
#SAY
naprawa została zakończona.\\
<z powrotem/@AccessoryMain>\
<pozostawiać/@Exit>
;--------------------------------------------
[@SpecialRepairp]
#SAY
Czego chcesz mnie do naprawy?\\
<Necklace/@SRepair(3)> <$@GetNecklaceCostp>\
<w lewo Bracelet/@SRepair(5)> <$@GetLeftBraceCostp>\
<prawo Bracelet/@SRepair(6)> <$@GetRighBraceCostp>\
<w lewo Ring/@SRepair(7)> <$@GetRingCostLeftp>\
<prawo Ring/@SRepair(8)> <$@GetRightRingCostp>\
<z powrotem/@AccessoryMain>\
<pozostawiać/@Exit>
;--------------------------------------------
[@SRepair()]
#ACT
mov P0 %ARG(1)
GetRepairCost %P0
#IF
CheckGold %P9
#ACT
RepairItem %P0
Take Gold %P9
Goto @SpecialRepair
#ELSESAY
Nie masz wystarczająco dużo złota ...\\
<pozostawiać/@Exit>
;----------------------------------
[@GetWeaponCostp]
#ACT
;mov P0 1
GetRepairCost 1
#IF
Equal P9 0
#SAY
{FCOLOR/10}naprawiony{FCOLOR/12}
#ELSESAY
koszt: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetNecklaceCostp]
#ACT
;mov P0 3
GetRepairCost 3
#IF
Equal P9 0
#SAY
{FCOLOR/10}naprawiony{FCOLOR/12}
#ELSESAY
koszt: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetLeftBraceCostp]
#ACT
;mov P0 5
GetRepairCost 5
#IF
Equal P9 0
#SAY
{FCOLOR/10}naprawiony{FCOLOR/12}
#ELSESAY
koszt: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetRighBraceCostp]
#ACT
;mov P0 6
GetRepairCost 6
#IF
Equal P9 0
#SAY
{FCOLOR/10}naprawiony{FCOLOR/12}
#ELSESAY
koszt: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetRingCostLeftp]
#ACT
;mov P0 7
GetRepairCost 7
#IF
Equal P9 0
#SAY
{FCOLOR/10}naprawiony{FCOLOR/12}
#ELSESAY
koszt: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetRightRingCostp]
#ACT
;mov P0 8
GetRepairCost 8
#IF
Equal P9 0
#SAY
{FCOLOR/10}naprawiony{FCOLOR/12}
#ELSESAY
koszt: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@zz1]
{
#SAY
Bienvenida <$USERNAME>,\
¿Cómo puedo ayudarle?\
{FCOLOR/10}
Compra: <Accessory/@BuyS>\
Venta: <Accessory/@SellS>\
Reparación: <Accessory/@RepairS>\
Reparación Especial: <Accessory/@SpecialRepairS>\\
<hablar con/@CALL_Npc_TodayQuestS> <$NPCNAME>\\
<dejar/@Exit>
;--------------------------------------------
[@CALL_Npc_TodayQuestS]
#CALL [TodayQuest\QT_NPCSetting.txt] @NPCSetDairyQuest
;--------------------------------------------
[@BuyS]
#SAY
Por favor, seleccione lo que desea comprar.\\
<espalda/@AccessoryMain>\
<dejar/@Exit>
;--------------------------------------------
[@SellS]
#SAY
Por favor, seleccione lo que desea vender.\\
<espalda/@AccessoryMain>\
<dejar/@Exit>
;--------------------------------------------
[@RepairS]
#SAY
¿Qué quieres que reparar?\\
<espalda/@AccessoryMain>\
<dejar/@Exit>
;--------------------------------------------
[~@repairS]
#SAY
Reparación completa.\\
<espalda/@AccessoryMain>\
<dejar/@Exit>
;--------------------------------------------
[@SpecialRepairS]
#SAY
¿Qué quieres que reparar?\\
<Necklace/@SSRepair(3)> <$@GetNecklaceCosts>\
<izquierda Bracelet/@SSRepair(5)> <$@GetLeftBraceCosts>\
<derecho Bracelet/@SSRepair(6)> <$@GetRighBraceCosts>\
<izquierda Ring/@SSRepair(7)> <$@GetRingCostLefts>\
<derecho Ring/@SSRepair(8)> <$@GetRightRingCosts>\
<espalda/@AccessoryMain>\
<dejar/@Exit>
;--------------------------------------------
[@SSRepair()]
#ACT
mov P0 %ARG(1)
GetRepairCost %P0
#IF
CheckGold %P9
#ACT
RepairItem %P0
Take Gold %P9
Goto @SpecialRepair
#ELSESAY
Usted no tiene suficiente oro ...\\
<dejar/@Exit>
;----------------------------------
[@GetWeaponCosts]
#ACT
;mov P0 1
GetRepairCost 1
#IF
Equal P9 0
#SAY
{FCOLOR/10}reparado{FCOLOR/12}
#ELSESAY
Costo: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetNecklaceCosts]
#ACT
;mov P0 3
GetRepairCost 3
#IF
Equal P9 0
#SAY
{FCOLOR/10}reparado{FCOLOR/12}
#ELSESAY
Costo: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetLeftBraceCosts]
#ACT
;mov P0 5
GetRepairCost 5
#IF
Equal P9 0
#SAY
{FCOLOR/10}reparado{FCOLOR/12}
#ELSESAY
Costo: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetRighBraceCosts]
#ACT
;mov P0 6
GetRepairCost 6
#IF
Equal P9 0
#SAY
{FCOLOR/10}reparado{FCOLOR/12}
#ELSESAY
Costo: {FCOLOR/10}<$OUTPUT(P9)>{FCOLOR/12}
;----------------------------------
[@GetRingCostLefts]
#ACT
;mov P0 7
GetRepairCost 7
#IF
Equal P9 0
#SAY
{FCOLOR/10}re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R/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}
;----------------------------------
}
;;不要删掉此行
Last edited: