public bool IsEqualTo(RecipeRequirement other)
    {
        if (other is null)
        {
            return(false);
        }

        return(this.ingredientType == other.ingredientType && this.ingredientAmmount == other.ingredientAmmount);
    }
示例#2
0
 public Item_MonsterBait()
 {
     name      = "Monster Bait";
     recipe    = new RecipeRequirement[1];
     recipe[0] = new RecipeRequirement("RottingFlesh", 3);
 }
示例#3
0
 public Item_MonsterBait()
 {
     name = "Monster Bait";
     recipe = new RecipeRequirement[1];
     recipe[0] = new RecipeRequirement("RottingFlesh", 3);
 }