Conquest rank and vendors

Any discussion not related to the other forum topics
Post Reply
Keldegar
Posts: 32
Joined: Sat Mar 15, 2014 4:37 pm

Conquest rank and vendors

Post by Keldegar » Mon Jun 16, 2014 3:35 pm

How would one make vendors ignore the conquest rankings and show all of their wares?

In the lua I notice the ranking:

stock = {16584,37800,1, --Mythril Claymore
16466,2182,1, --Knife
17060,2386,1, --Rod

16640,284,2, --Bronze Axe
16465,147,2, --Bronze Knife
17081,621,2, --Brass Rod
16583,2448,2, --Claymore
17035,4363,2, --Mace

17059,90,3, --Bronze Rod
17034,169,3} --Bronze Mace

I'd like the vendors to show all their wares regardless of rank, but don't want to modify each vendor. Possible?

Keldegar
Posts: 32
Joined: Sat Mar 15, 2014 4:37 pm

Re: Conquest rank and vendors

Post by Keldegar » Mon Jun 16, 2014 3:40 pm

aha I just modify shop.lua?

https://github.com/DarkstarProject/dark ... s/shop.lua

and I can remove the if's in showNationShop() so it just shows the items to everyone?
Last edited by Keldegar on Mon Jun 16, 2014 3:40 pm, edited 1 time in total.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Conquest rank and vendors

Post by kjLotus » Mon Jun 16, 2014 3:40 pm

modify the showNationShop function in scripts/globals/shop

Keldegar
Posts: 32
Joined: Sat Mar 15, 2014 4:37 pm

Re: Conquest rank and vendors

Post by Keldegar » Mon Jun 16, 2014 3:41 pm

kjLotus wrote:modify the showNationShop function in scripts/globals/shop
Thanks I think I found it right when you mentioned it :)

Post Reply