public bool IsEqualTo(RecipeRequirement other) { if (other is null) { return(false); } return(this.ingredientType == other.ingredientType && this.ingredientAmmount == other.ingredientAmmount); }
public Item_MonsterBait() { name = "Monster Bait"; recipe = new RecipeRequirement[1]; recipe[0] = new RecipeRequirement("RottingFlesh", 3); }