Lets say I wanted a vendor not to beable to buy broken items or lets say for example a item that has No repair tag on it how would I go about adding these to the basevendor code to see the tag.

NoRepair ?

or even better example a artifact item just examples.
 
public virtual void VendorSell(Mobile from)

Look for the lines where it searches the players pack:

After this line:

Code:
if (item is Container && (item).Items.Count != 0)
{
	continue;
}

Add:

Code:
if (item.IsArtifact)
{
	continue;
}
 
Thank you so much I was trying different methods and I couldn't get it to work. you have helped me a lot I think these will help other people as well.
 
Back