public int GetAssociatedSkillLevel(ChoreGroup group) { Klei.AI.Attributes attributes = this.GetAttributes(); float value = attributes.GetValue(group.attribute.Id); return((int)value); }