public void Entry(DratModMain parentMod, IModHelper helper)
        {
            if (!parentMod.Config.ArtifactSubmodEnabled)
            {
                return;
            }

            _parentMod        = parentMod;
            _reflectionHelper = helper.Reflection;
            _config           = parentMod.Config;
            HookEvents();
            _parentMod.Monitor.Log("[DratMod.Artifact] Submod loaded");
        }
Example #2
0
        public void Entry(DratModMain parentMod, IModHelper helper)
        {
            if (!parentMod.Config.CoffeeBeanStoreEnabled)
            {
                return;
            }

            HookEvents();

            _shopItems = new Dictionary <Item, int[]>();
            _shopItems.Add(new StardewValley.Object(433, int.MaxValue, false, parentMod.Config.CoffeeBeanPrice, 0), new[] { parentMod.Config.CoffeeBeanPrice, int.MaxValue });

            parentMod.Monitor.Log("[DratMod.CoffeeShop] Submod loaded.");
        }