public bool Equip(int SlotNo)
{
//To handle what happens when an item (typically armour is equipped
//Debug.Log ("Equip Event on " + this.gameObject.name);
inventorySlot=SlotNo;
object_base item=null;
item=this.GetComponent<object_base>();
if( item !=null)
{
return (item.EquipEvent(SlotNo));
}
else
{
return false;
}
}