public bool AcceptRecipeGroup(string groupName)
{
int groupID;
if (!RecipeGroup.recipeGroupIDs.TryGetValue(groupName, out groupID))
{
throw new RecipeException("No recipe group is named " + groupName);
}
if (recipe.acceptedGroups.Contains(groupID))
{
return false;
}
recipe.acceptedGroups.Add(groupID);
return true;
}