Siddhartha
Initiate
Pretty new but i am attempting to modify a script to include just specific items in a bag. how do i add more than one item. Below is the wrong thing to do. In the below i would like the bag to be able to hold ore, granite, possibly bars, etc. only. Probably pretty simple answer i just don't know it.
thanks for any help.
thanks for any help.
C#:
public override bool OnDragDrop(Mobile from, Item dropped)
{
if (!(dropped is BaseOre, BaseGranite))
{
from.SendMessage("It seems you can't place that item in this bag.");
return false;
}