public static void RandomizeNonShopCosts()
        {
            foreach (string item in LogicManager.ItemNames)
            {
                ReqDef def = LogicManager.GetItemDef(item);
                if (!RandomizerMod.Instance.Settings.GetRandomizeByPool(def.pool))
                    continue; //Skip cost rando if this item's pool is vanilla

                if (def.costType == Actions.AddYNDialogueToShiny.CostType.Essence) //essence cost
                {
                    int cost = 1 + rand.Next(MAX_ESSENCE_COST);

                    def.cost = cost;
                    LogicManager.EditItemDef(item, def);
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                    continue;
                }

                if (def.costType == Actions.AddYNDialogueToShiny.CostType.Grub) //grub cost
                {
                    int cost = 1 + rand.Next(MAX_GRUB_COST);

                    def.cost = cost;
                    LogicManager.EditItemDef(item, def);
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                    continue;
                }
            }
        }
        public static void RandomizeNonShopCosts()
        {
            foreach (string item in LogicManager.ItemNames)
            {
                ReqDef def = LogicManager.GetItemDef(item);
                if (!RandomizerMod.Instance.Settings.GetRandomizeByPool(def.pool))
                {
                    RandomizerMod.Instance.Settings.AddNewCost(item, def.cost);
                    continue; //Skip cost rando if this item's pool is vanilla
                }

                if (def.costType == AddYNDialogueToShiny.CostType.Essence) //essence cost
                {
                    int cost = 1 + rand.Next(MAX_ESSENCE_COST);

                    def.cost = cost;
                    LogicManager.EditItemDef(item, def); // really shouldn't be editing this, bad idea
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                    continue;
                }

                if (def.costType == AddYNDialogueToShiny.CostType.Grub) //grub cost
                {
                    int cost = 1 + rand.Next(MAX_GRUB_COST);

                    def.cost = cost;
                    LogicManager.EditItemDef(item, def); // yeah, I'm probably not fixing it though
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                    continue;
                }

                if (def.costType == AddYNDialogueToShiny.CostType.RancidEggs) //eggu cost
                {
                    int cost = MIN_EGG_COST + rand.Next(MAX_EGG_COST - MIN_EGG_COST + 1);

                    def.cost = cost;
                    LogicManager.EditItemDef(item, def); // blah blah blah would be nicer to have a random number of items in the eggu shop
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                    continue;
                }
            }
        }
        public static void RandomizeCosts()
        {
            foreach (string item in LogicManager.ItemNames)
            {
                if (LogicManager.GetItemDef(item).costType == 1) //essence cost
                {
                    ReqDef def  = LogicManager.GetItemDef(item);
                    int    cost = 1 + rand.Next(900);
                    def.cost = cost;
                    LogicManager.EditItemDef(item, def);
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                }

                if (LogicManager.GetItemDef(item).costType == 3) //grub cost
                {
                    ReqDef def  = LogicManager.GetItemDef(item);
                    int    cost = 1 + rand.Next(23);
                    def.cost = cost;
                    LogicManager.EditItemDef(item, def);
                    RandomizerMod.Instance.Settings.AddNewCost(item, cost);
                }
            }
        }