1. Hey there. I tried to replace the item gathered in OnDispenserGather, but it didnt seem to work. So I did the following :

    Code:
                                        Item item2 = ItemManager.CreateByName("meat.boar", (int)Mathf.Round(RandomQuantity(1,4,1)));
                                        item.info = item2.info;
                                        item.amount = item2.amount;
                                        item.contents = item2.contents;
    I feel dirty for doing that, isnt there a better way ?
     
  2. I bump this one. This methods mostly works, but if you replace a non-cookable item by a cookable one, it wont be able to be cooked (tough you can remove some of its stack to cook that as a new item).