1. Can anyone help me with a piece of code to check the water in a container like a small water bottle or bota bag ?
     
  2. This should work:
    Code:
    int GetContentsInMililitres(Item item)
    {
        if (item.contents == null || item.contents.allowedContents != ItemContainer.ContentsType.Liquid) return -1;    int amount = 0;
        foreach (Item i in item.contents.itemList)
        {
            amount += i.amount;
        }
        return amount;
    }
     
  3. Thanks !