Every server holds many types of scripts to to turn silly merchants just to select 1 type of merchantitems.
Would it be easier if i remade a version of the NPC merchant script to link the mobs guildname to the merchantitems?
So if you made a new merchant eg, DOL.GS.NewUniMerchant, Set the mobs guild to Epic Armor, it would use Epic Armor as the merchantstradeitems.
It would take alot of database work, to change the merchanttradeitems names to match the guild names, but i dont mind doing them
DW
-------------------------------- Test Version .1 --------------------------------------
Right.. here we go, i made a test version, not going to put it under user release yet, want to keep it here for the min, why i remake all the merchantitems for it and fix any bugges i have missed.
How to create use /mob create DOL.GS.NewUniNPC
How to use:
The mobs guild = mobs merchanttradeitems - BP's as defualt
Change the mobs PackageID to BPMerchant for bp's trade window, or NormalMerchant for coin tradewindow.
For Class type merchant, eg, epic armor (can only view items to the players class) use BPClassMerchant for bp's version or NormalClassMerchant for coin version.
With tradeitems like AlbLabbyWeapons if mob.Realm != 0 && mob.PackageID == "BPMerchant/NormalMerchant" - you will not have to have AlbLabbyWeapons as the guild name, the mob will take the players.eRealm and then add the realm part so you dont have to view Alb/mid/hib part if its a merchant in the players realm.
I will Start working on new Merchant items for the merchant right away, just to make them fit the mob guild name better eg change AlbLabWeap to Alb-Labby-Weapons-Merchant, so it looks better ingame
Enjoy please report any bugs or views on this merchant idea
DW
------- Added Epic Armor Items to match the npc to use, Set mob guild to Epic Armor and the mob packageID to BPClassMerchant for bps version or NormalClassMerchant for coin version
---- With Labby items -------------
if mob = realm 0, set mob guild to Alb/Hib/Mid Labby Weapons.
if mob is a set realm eg alb, just set mob guild to Labby Weapons.
Remember you can change the type of merchant by setting the mob PackageID to BPMerchant or NormalMerchant for different currenceys
---- Astral items ------
Set mob guild to Astral Armor for armor or Astral Weapons for weapons