; ===================================
; Market Def NPC File : 6Bwh-0
; BichonProvince
; -----------------------------------
; Name: Brittany
; Job:
; Map No: 0
; Pos X 301
; Pos Y 257
; File name: *removed*
; Comment: BichonProvince
;================================================= =
;
; Brief Description of the switches used in this NPC.
; [306] - Unknown
;
;Settings
(@buy @sell @repair @s_repair @storage @getBack)
%100
;Pkr Tag (NPC won't talk to Pkrs)
[@main]
#IF
checkpkpoint 2
#SAY
I will not help an evil person like you..\ \
<Ok/@exit>
#ELSEACT
goto @main-1
[@main-1]
#IF
random 10
#ACT
goto @QUEST
#ELSEACT
goto @normal
[@QUEST]
#IF
check [305] 1
#ACT
goto @Q305
#ELSEACT
goto @normal
[@Q305]
#IF
#ACT
SET [306] 1
#SAY
Do you look for a cook?\
Look.. well.. I know nothing about cooking\
but I have heard about a cook called Kumbun\
who lives in Serpent Valley. You can check there maybe...\ \
<Ok/@exit>
[@normal]
How can I help you, Sir/Ma'am?\
We keep people's items here for free.\
Do you want to use this service?\ \
<Deposit/@storage>\
<Withdraw/@getBack>\
<Bind/@mBind> scrolls,amulets or drugs\
<Close/@exit>
[@storage]
You have currently stored <$SAVEITEM> valuables.\
You can still place <$REMAINSAVEITEM> more valuables.\
You want to keep you item here, Sir/Ma'am?\
Of course you can.\
Please show me the items you want to deposit.\ \
<Back/@main>
[@getBack]
You have currently stored <$SAVEITEM> valuables.\
This is the list of items you have deposited here.\
Please choose the item you wish to withdraw.\ \
<Back/@main>
[@MBind]
#IF
#SAY
How can I help you, Sir/Ma'am?\
<Exchange/@changeGold>the money to gold bars\
<Exchange/@changeMoney>the gold bars to money\
<Bind/@Bind>\
<Close/@exit>
[@changeGold]
#IF
checkgold 1000000
#SAY
Do you want to change money into a goldbar?\
The commission is 2000 gold\
<Exchange/@changeGold_1>\
<Cancel/@exit>
#ELSESAY
Why do you ask me whilst lacking the funds?\
Please come Back when you have enough money.\ \
<Back/@main>
[@changeGold_1]
#IF
checkgold 1002000
#ACT
take gold 1002000
give GoldBar 1
#SAY
I Exchanged your money into goldbar.\
Would you like to Exchange more?\\
<Exchange more/@changeGold> \
<Back/@exit>
#ELSESAY
Why do you ask me whilst lacking the funds?\
Please come Back when you have enough money.\ \
<Back/@main>
[@changeMoney]
#IF
checkitem GoldBar 1
#SAY
Do you want to change goldbar into money?\
The commission is 2000 gold\
<Exchange/@changeMoney_1>\
<Cancel/@exit>
#ELSESAY
You have no GoldBar for me to Exchange...\
Come Back only if you do have one.\ \
<Cancel/@exit>
[@changeMoney_1]
#IF
checkitem GoldBar 1
checkgold 49002001
#SAY
You cannot Exchange goldbar into money.\
your bankbalance would exceed its limit.\ \
<Cancel/@exit>
#ELSEACT
goto @changeMoney_2
[@changeMoney_2]
#IF
checkitem GoldBar 1
#ACT
take GoldBar 1
give gold 998000
#SAY
GoldBar was Exchanged into money.\
Would you like to Exchange more?\ \
<Exchange more/@changeMoney>\
<Cancel/@exit>
[@Bind]
Sir/Ma'am, I can Bind your drugs, amulets and scrolls.\
You pay me 100 gold, I will Bind them and make a bundle\
for you. Do you want to Bind your items, Sir,Ma'am?\ \
<Bind drugs/@P_Bind>\
<Bind amulets/@A_Bind>\
<Bind scrolls/@Z_Bind>\
<Back/@MBind>
[@P_Bind]
<Bundle/@ch_Bind1> (HP)DrugLarge\
<Bundle/@ma_Bind1> (MP)DrugLarge\
<Bundle/@ch_Bind2> (HP)DrugMedium\
<Bundle/@ma_Bind2> (MP)DrugMedium\
<Bundle/@ch_Bind3> (HP)DrugSmall\
<Bundle/@ma_Bind3> (MP)DrugSmall\
<Back/@Bind>
[@A_Bind]
Do you want to Bind amulets? Ok Sir/Ma'am.\
Have 6 of them first.\
Pay me 100 gold for each bundle.\
Be careful and check your bag weight limit.\ \
<Pay 100 gold and Bind/@am_Bind1> Amulet\
<Back/@Bind>\
<Give up/@exit>
[@Z_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
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ch_Bind1_1]
#IF
checkgold 100
checkitem (HP)DrugLarge 6
#ACT
take gold 100
take (HP)DrugLarge 6
give (HP)DrugBundle 1
#SAY
Your potions are bundled.\
Would you like to bundle more?\ \
<Bind more/@P_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if u do have enough potions.\ \
<Cancel/@exit>
[@ma_Bind1]
#IF
checkitem (MP)DrugLarge 6
#ACT
goto @ma_Bind1_1
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ma_Bind1_1]
#IF
checkgold 100
checkitem (MP)DrugLarge 6
#ACT
take gold 100
take (MP)DrugLarge 6
give (MP)DrugBundle 1
#SAY
Your potions are bundled.\
Would you like to bundle more?\ \
<Bind more/@P_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of potions.\
Please come Back when you have enough potions.\ \
<Cancel/@exit>
[@ch_Bind2]
#IF
checkitem (HP)DrugMedium 6
#ACT
goto @ch_Bind2_1
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ch_Bind2_1]
#IF
checkgold 100
checkitem (HP)DrugMedium 6
#ACT
take gold 100
take (HP)DrugMedium 6
give (HP)MediumDrugBundle 1
#SAY
Your potions are bundled.\
Would you like to bundle more?\ \
<Bind more/@P_Bind> \
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ma_Bind2]
#IF
checkitem (MP)DrugMedium 6
#ACT
goto @ma_Bind2_1
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ma_Bind2_1]
#IF
checkgold 100
checkitem (MP)DrugMedium 6
#ACT
take gold 100
take (MP)DrugMedium 6
give (MP)MediumDrugBundle 1
#SAY
Your potions are bundled.\
Would you like to bundle more?\ \
<Bind more/@P_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ch_Bind3]
#IF
checkitem (HP)DrugSmall 6
#ACT
goto @ch_Bind3_1
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ch_Bind3_1]
#IF
checkgold 100
checkitem (HP)DrugSmall 6
#ACT
take gold 100
take (HP)DrugSmall 6
give (HP)SmallDrugBundle 1
#SAY
Your potions are bundled.\
Would you like to bundle more?\ \
<Bind more/@P_Bind> \
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ma_Bind3]
#IF
checkitem (MP)DrugSmall 6
#ACT
goto @ma_Bind3_1
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@ma_Bind3_1]
#IF
checkgold 100
checkitem (MP)DrugSmall 6
#ACT
take gold 100
take (MP)DrugSmall 6
give (MP)SmallDrugBundle 1
#SAY
Your potions are bundled.\
Would you like to bundle more?\ \
<Bind more/@P_Bind> \
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of potions.\
Please come Back if you do have enough potions.\ \
<Cancel/@exit>
[@zum_Bind1]
#IF
checkitem DungeonEscape 6
#ACT
goto @zum_Bind1_1
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind1_1]
#IF
checkgold 100
checkitem DungeonEscape 6
#ACT
take gold 100
take DungeonEscape 6
give DungeonEscapeBundle 1
#SAY
Your teleports are bundled.\
Would you like to bundle more?\ \
<Bind more/@z_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind2]
#IF
checkitem RandomTeleport 6
#ACT
goto @zum_Bind2_1
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind2_1]
#IF
checkgold 100
checkitem RandomTeleport 6
#ACT
take gold 100
take RandomTeleport 6
give RandomTeleportBundle 1
#SAY
Your teleports are bundled.\
Would you like to bundle more?\ \
<Bind more/@z_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if u do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind3]
#IF
checkitem TownTeleport 6
#ACT
goto @zum_Bind3_1
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind3_1]
#IF
checkgold 100
checkitem TownTeleport 6
#ACT
take gold 100
take TownTeleport 6
give TownTeleportBundle 1
#SAY
Your teleports are bundled.\
Would you like to bundle more?\ \
<Bind more/@z_Bind> \
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind4]
#IF
checkitem TeleportHome 6
#ACT
goto @zum_Bind4_1
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@zum_Bind4_1]
#IF
checkgold 100
checkitem TeleportHome 6
#ACT
take gold 100
take TeleportHome 6
give TeleportHomeBundle 1
#SAY
Your teleports are bundled.\
Would you like to bundle more?\ \
<Bind more/@z_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of teleports.\
Please come Back if you do have enough teleports.\ \
<Cancel/@exit>
[@am_Bind1]
#IF
checkitem Amulet 6
#ACT
goto @am_Bind1_1
#ELSESAY
You do not have the needed amount of amulets.\
Please come Back if you do have enough amulets.\ \
<Cancel/@exit>
[@am_Bind1_1]
#IF
checkgold 100
checkitem Amulet 6
#ACT
take gold 100
take Amulet 6
give AmuletBundle 1
#SAY
Your amulets are bundled.\
Would you like to bundle more?\ \
<Bind more/@A_Bind>\
<Cancel/@exit>
#ELSESAY
You do not have the needed amount of amulets.\
Please come Back if u do have enough amulets.\ \
<Cancel/@exit>