public override Item CreateItem(Loot loot) { return new ClubItem(loot.GetId()); }
/// <summary> /// If adding to inventory succeeded (returned true) remove loot from map /// </summary> /// <param name="loot">Loot to add to inventory</param> private void InteractWithObject(Loot loot) { if (inventory.addToInventory(loot.CreateItem(loot), loot.Stackable)) Map.RemoveGameObject(loot.GetId()); }