Frosttiger

Member
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:
Expand Collapse Copy
if (item is Container && (item).Items.Count != 0)
{
	continue;
}

Add:

Code:
Expand Collapse Copy
if (item.IsArtifact)
{
	continue;
}
 

Donations

Total amount
$50.00
Goal
$500.00

Shards

Back