Ejemplo n.º 1
0
        /// <summary>
        /// Takes initial values and scales them based on potency
        /// </summary>
        private void SetupChemicalContents()
        {
            ReagentMix CurrentReagentMix = new ReagentMix();

            foreach (var reagentAndAmount in plantData.ReagentProduction)
            {
                CurrentReagentMix.Add(reagentAndAmount.ChemistryReagent, reagentAndAmount.Amount);
            }

            reagentContainer.Add(CurrentReagentMix);

            reagentContainer.Multiply(plantData.Potency / 100f * 2.5f);               //40 Potency = * 1
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Takes initial values and scales them based on potency
 /// </summary>
 private void SetupChemicalContents()
 {
     reagentContainer.Multiply(plantData.Potency);
 }