public void InventoryAdd(int amount, int item, bool add)
    {
        bool exists = false;

        switch (add)
        {
        case true:
            for (int i = 0; i < inventory.Count; i++)
            {
                if (inventory[i].x == item)
                {
                    exists       = true;
                    inventory[i] = new Vector2(inventory[i].x, inventory[i].y + amount);
                }
                else
                {
                    print("Not!");
                }
            }
            if (!exists)
            {
                inventory.Add(new Vector2(item, amount));
            }
            if (item == 0)
            {
                UIUpdater.GoldChange(amount, true);
            }
            break;

        case false:
            for (int i = 0; i < inventory.Count; i++)
            {
                if (inventory[i].x == item)
                {
                    exists = true;
                    if (inventory[i].y - amount < 0)
                    {
                        print("poor like the devs!");
                        PlantingManager.poor = true;
                    }
                    else
                    {
                        inventory[i] = new Vector2(inventory[i].x, inventory[i].y - amount);
                        if (inventory[i].x == 0)
                        {
                        }
                    }
                }
                else
                {
                    print("Not!");
                }
            }
            if (item == 0)
            {
                UIUpdater.GoldChange(amount, false);
            }
            break;
        }
    }