public static void SetFirewoodCountAtIndex(int index, int newValue) { firewood[index] = Mathf.Clamp(newValue, 0, PlayerSkills.GetMaxLumberFirewoodValue()); }
public static void UpdateFirewoodCountAtGrade(QualityGrade grade, int changeValue) { firewood[grade.GetHashCode()] = Mathf.Clamp((firewood[grade.GetHashCode()] += changeValue), 0, PlayerSkills.GetMaxLumberFirewoodValue()); }
public static void SetFirewoodCountAtGrade(QualityGrade grade, int newValue) { firewood[grade.GetHashCode()] = Mathf.Clamp(newValue, 0, PlayerSkills.GetMaxLumberFirewoodValue()); }