by Lyl on Wed Nov 06, 2002 5:22 pm
In playermerchant.src there is a function CanSellAtThisLocation (). This determines if a vendor is allowed to sell at its location. You could write a little check at the beginning of the function that does a "return 2;" if the vendor is within a certain bound.
Or you could use the feature thats already built it for this purpose. CanSellAtThisLocation looks for an objtype 0x7009 near the merchant and allows the merchant to sell if its within 10 spaces. So you could create some 0x7009s and spread them 20 spaces apart in the desired general merchant area. I don't know what an 0x7009 is offhand, you may need to set them invisible and unmovable.