예제 #1
0
        public Use14On14Settings(CustomSettingsData settingsData)
        {
            InitializeComponent();

            settings = settingsData.Use14On14;
            LoadPriorSelections();
        }
예제 #2
0
        /// <summary>
        /// Sets the time required to make 14 items
        /// </summary>
        /// <param name="startParams"></param>
        /// <param name="makeTime">time needed to make the 14 items being crafted</param>
        public Use14On14(RunParams startParams, int makeTime) : base(startParams)
        {
            UserSelections = startParams.CustomSettingsData.Use14On14;
            if (UserSelections.MakeTime > 0)
            {
                SingleMakeTime = UserSelections.MakeTime;
            }
            else
            {
                SingleMakeTime = makeTime;
            }

            MakeQuantity         = Inventory.INVENTORY_CAPACITY / 2;
            UseOnInventorySlot   = new Point(0, 4);
            UseWithInventorySlot = new Point(0, 3);
            UseOnBankSlot        = new Point(6, 0);
            UseWithBankSlot      = new Point(7, 0);
        }