Log in

View Full Version : More merchant options


ChaosSlayerZ
09-05-2011, 06:54 PM
I have recently read in server updates, that ability to control items by faction and level has been added to vendor inventory.

I would like to propose some more additions to that: ability for merchant to occasionally offer small quantities of rare items.

This would require 3 extra fields in DB:
-minq
-maxq
-timer (in min)

For example you would have a merchant who can occasionally offer Spider Silk for sale, which is not normally sold by vendors. You set minq to 0, maxq to 10, and timer to 2 hours.
Every 2 hours the timer will be checked, RND run, and between 0 and 10 spider silks added to that vendor inventory.

This could go long way for future customization depth, letting merchants to occasionally offer rare weapons, armor, and craft/quest items for sale :cool:

KLS
09-14-2011, 05:37 PM
Not so sure about the implementation but I like the idea, we'll see.

ChaosSlayerZ
09-14-2011, 06:40 PM
Woot! ;)

BTW, another small addition, a small feature that I call "Merchant Greed Factor", could be represented as a numerical field somehow attached to an individual vendor npc (maybe in npc_types table?)

What it does it sets up an additional % price penalty for goods sold/bought, which goes on top of prices modified by your CHA/faction

Essentially this allows you to have 2 different merchants on same faction, one of which will be set at default price setting, while another could be selling at additional +20% greed mark (his prices will be +20% more, and he will buy your items at -20%)

This could be used for example to distinguish between city and country side merchants who otherwise share the same faction - country side merchant would offer you prices at greed penalty so if you want to get the best price you would have to go to the city.

Alternatively you could set up traders square, where there would be 2 merchants who sell identical crafting supply items, but only one of them would spawn at a time, and one could have higher prices, while another would have lower prices etc, and they would switch places like every couple hours.

Of course you could also emulate this with just having them on 2 different factions, one of which likes you less than the other, but then you run into multiple issues like faction maxing out with both groups, or having them faction fixed for all races/classes to prevent faction maxing etc, which eliminates a need to work up a faction at all to buy/sell as say evil race in good city etc.

I think this could be a useful feature :)

ChaosSlayerZ
09-25-2011, 12:38 PM
Ah look, apparently my 2nd proposal is also in tune with Classic/Life! =)

http://www.project1999.org/forums/showthread.php?t=49671

I always new some merchants were greedier than others, despite being on same faction!