v1.1.0: adjusted recipe costs for food, catalysts, and brews

This commit is contained in:
Evan Debenham
2021-11-18 18:22:31 -05:00
parent 3b252327b9
commit 144e98c51e
9 changed files with 18 additions and 16 deletions

View File

@@ -273,7 +273,7 @@ public class Blandfruit extends Food {
@Override
public int cost(ArrayList<Item> ingredients) {
return 3;
return 2;
}
@Override

View File

@@ -42,7 +42,7 @@ public class StewedMeat extends Food {
inputs = new Class[]{MysteryMeat.class};
inQuantity = new int[]{1};
cost = 2;
cost = 1;
output = StewedMeat.class;
outQuantity = 1;
@@ -54,7 +54,7 @@ public class StewedMeat extends Food {
inputs = new Class[]{MysteryMeat.class};
inQuantity = new int[]{2};
cost = 3;
cost = 2;
output = StewedMeat.class;
outQuantity = 2;
@@ -69,7 +69,7 @@ public class StewedMeat extends Food {
inputs = new Class[]{MysteryMeat.class};
inQuantity = new int[]{3};
cost = 4;
cost = 2;
output = StewedMeat.class;
outQuantity = 3;

View File

@@ -114,12 +114,12 @@ public class AlchemicalCatalyst extends Potion {
public int cost(ArrayList<Item> ingredients) {
for (Item i : ingredients){
if (i instanceof Plant.Seed){
return 1;
return 0;
} else if (i instanceof Runestone){
return 2;
return 1;
}
}
return 1;
return 0;
}
@Override

View File

@@ -60,7 +60,7 @@ public class BlizzardBrew extends Brew {
inputs = new Class[]{PotionOfFrost.class, AlchemicalCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 6;
cost = 4;
output = BlizzardBrew.class;
outQuantity = 1;

View File

@@ -74,7 +74,7 @@ public class CausticBrew extends Brew {
inputs = new Class[]{PotionOfToxicGas.class, GooBlob.class};
inQuantity = new int[]{1, 1};
cost = 4;
cost = 3;
output = CausticBrew.class;
outQuantity = 1;

View File

@@ -61,7 +61,7 @@ public class InfernalBrew extends Brew {
inputs = new Class[]{PotionOfLiquidFlame.class, AlchemicalCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 6;
cost = 5;
output = InfernalBrew.class;
outQuantity = 1;

View File

@@ -66,7 +66,7 @@ public class ShockingBrew extends Brew {
inputs = new Class[]{PotionOfParalyticGas.class, AlchemicalCatalyst.class};
inQuantity = new int[]{1, 1};
cost = 8;
cost = 6;
output = ShockingBrew.class;
outQuantity = 1;

View File

@@ -107,12 +107,12 @@ public class ArcaneCatalyst extends Spell {
public int cost(ArrayList<Item> ingredients) {
for (Item i : ingredients){
if (i instanceof Plant.Seed){
return 2;
} else if (i instanceof Runestone){
return 1;
} else if (i instanceof Runestone){
return 0;
}
}
return 1;
return 0;
}
@Override

View File

@@ -354,14 +354,16 @@ public class QuickRecipe extends Component {
return result;
case 8:
result.add(new QuickRecipe(new CausticBrew.Recipe()));
result.add(new QuickRecipe(new InfernalBrew.Recipe()));
result.add(new QuickRecipe(new BlizzardBrew.Recipe()));
result.add(new QuickRecipe(new InfernalBrew.Recipe()));
result.add(new QuickRecipe(new ShockingBrew.Recipe()));
result.add(null);
result.add(null);
result.add(new QuickRecipe(new ElixirOfHoneyedHealing.Recipe()));
result.add(new QuickRecipe(new ElixirOfMight.Recipe()));
result.add(new QuickRecipe(new ElixirOfAquaticRejuvenation.Recipe()));
result.add(null);
result.add(null);
result.add(new QuickRecipe(new ElixirOfMight.Recipe()));
result.add(new QuickRecipe(new ElixirOfDragonsBlood.Recipe()));
result.add(new QuickRecipe(new ElixirOfIcyTouch.Recipe()));
result.add(new QuickRecipe(new ElixirOfToxicEssence.Recipe()));