Merchants

Apostle

Dedicated Member
Dedicated Member
Oct 17, 2006
31
0
52
How do you Edit what a Merchant is selling? ie. Potionshops, bookstores, weapons shops. etc.

And where do you change the names of them? Like ArmourShop, etc. What is in ()'s above their name?

Also, last question. Where is the NPC gen files??? I found mob gens, and figured out how to change those, and their dropfiles, but I cant figure out NPCs and such, also like the teleporters.
 

Azura

Mir3 Coder & Adviser
Mar 12, 2005
3,249
111
300
%100
+5
+6
+43


[@main]
#IF
checkpkpoint 2

#SAY
#INCLUDE [..\Convert_Def\Market_Def\02Weapon_Numa-4.txt] @Convert_02Weapon_Numa-4_0


#ELSESAY
#INCLUDE [..\Convert_Def\Market_Def\02Weapon_Numa-4.txt] @Convert_02Weapon_Numa-4_1

[@Special_Repair()]
#CALL [System\TotalRepair.txt] @SRepairItem

[@buy]

#SAY
#INCLUDE [..\Convert_Def\Market_Def\02Weapon_Numa-4.txt] @Convert_02Weapon_Numa-4_2

[@sell]

#SAY
#INCLUDE [..\Convert_Def\Market_Def\02Weapon_Numa-4.txt] @Convert_02Weapon_Numa-4_3

[@repair]

#SAY
#INCLUDE [..\Convert_Def\Market_Def\02Weapon_Numa-4.txt] @Convert_02Weapon_Numa-4_4

[~@repair]

#SAY
#INCLUDE [..\Convert_Def\Market_Def\02Weapon_Numa-4.txt] @Convert_02Weapon_Numa-4_5

[Goods]

WoodenSword 100 1
BronzeSword 100 1
ArisuSword 100 1
IronSword 100 1
BroadBlade 100 1
BrokenSoul 100 1
CursedTrident 100 1
CursedScimitar 100 1
BronzeAxe 100 1
Trident 100 1
Scimitar 100 1
LongBlade 100 1
SteelSword 100 1
HookedBlade 100 1
BroadBladedSpear 100 1
KrissSword 100 1
PowerAxe 100 1
RedBladedSpear 100 1
BlackKrissSword 100 1
KrissSword(God) 100 1
GhostKingAxe 100 1
GhostKingBlade 100 1
PurifierSword 100 1
SharpenedPurifier 100 1
CursedSnakeSword 100 1
NumaPowerAxe 100 1
NumaMageStaff 100 1
BluePurifierSword 100 1
MageStaff 100 1
SnakeSword 100 1


[@TalkToQuest]
#CALL [NPCQuest_Def\02Weapon_Numa-4.txt] @NPCQuest_Check

[@everythingreward]
#CALL [System\TotalRewardSystem.txt] @TotalRewardSystem
;;²»ÒªÉ¾µô´ËÐÐ

Is hte Stdmode of whatever sort of item you with the npc to sell


Is the name amount ad refresh rate of the items you want the npc to sell i belive
 
Last edited:
Upvote 0

Tass

Dedicated Member
Dedicated Member
Jun 8, 2005
150
0
62
xtreme-server.co.uk on the forum it has scripting lessons and explains everything
 
Upvote 0

Apostle

Dedicated Member
Dedicated Member
Oct 17, 2006
31
0
52
having issues finding anything on merchants on their forum. @Lyncus What file did you pull that info from? It would be a great help. Thanks. And, is that a file for a single npc?

I am using CruelDragon3G (not 3.55, i think its 3.08?)
 
Upvote 0