コード例 #1
0
 public override bool RecipeAvailable()
 {
     //if (Main.LocalPlayer.GetModPlayer<MyPlayer>(mod).GetExp() < experienceNeeded)
     //    return false;
     //else
     return(SGArecipes.EnforceDuplicatesInRecipe(this));
 }
コード例 #2
0
 public override bool RecipeAvailable()
 {
     //if (Main.LocalPlayer.GetModPlayer<MyPlayer>(mod).GetExp() < experienceNeeded)
     //    return false;
     //else
     if (SGAWorld.downedHellion < 1 && !Main.LocalPlayer.SGAPly().gothellion)
     {
         return(false);
     }
     return(SGArecipes.EnforceDuplicatesInRecipe(this));
 }
コード例 #3
0
 public override bool RecipeAvailable()
 {
     return(SGArecipes.EnforceDuplicatesInRecipe(this));
 }