v1.1.0: adjusted recipe costs for elixirs and spells
This commit is contained in:
parent
144e98c51e
commit
0213cfe318
|
@ -76,7 +76,7 @@ public class ElixirOfMight extends Elixir {
|
||||||
inputs = new Class[]{PotionOfStrength.class, AlchemicalCatalyst.class};
|
inputs = new Class[]{PotionOfStrength.class, AlchemicalCatalyst.class};
|
||||||
inQuantity = new int[]{1, 1};
|
inQuantity = new int[]{1, 1};
|
||||||
|
|
||||||
cost = 5;
|
cost = 6;
|
||||||
|
|
||||||
output = ElixirOfMight.class;
|
output = ElixirOfMight.class;
|
||||||
outQuantity = 1;
|
outQuantity = 1;
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class AquaBlast extends TargetedSpell {
|
||||||
inputs = new Class[]{PotionOfStormClouds.class, ArcaneCatalyst.class};
|
inputs = new Class[]{PotionOfStormClouds.class, ArcaneCatalyst.class};
|
||||||
inQuantity = new int[]{1, 1};
|
inQuantity = new int[]{1, 1};
|
||||||
|
|
||||||
cost = 4;
|
cost = 2;
|
||||||
|
|
||||||
output = AquaBlast.class;
|
output = AquaBlast.class;
|
||||||
outQuantity = 12;
|
outQuantity = 12;
|
||||||
|
|
|
@ -202,7 +202,7 @@ public class BeaconOfReturning extends Spell {
|
||||||
inputs = new Class[]{ScrollOfPassage.class, ArcaneCatalyst.class};
|
inputs = new Class[]{ScrollOfPassage.class, ArcaneCatalyst.class};
|
||||||
inQuantity = new int[]{1, 1};
|
inQuantity = new int[]{1, 1};
|
||||||
|
|
||||||
cost = 10;
|
cost = 8;
|
||||||
|
|
||||||
output = BeaconOfReturning.class;
|
output = BeaconOfReturning.class;
|
||||||
outQuantity = 5;
|
outQuantity = 5;
|
||||||
|
|
|
@ -68,7 +68,7 @@ public class FeatherFall extends Spell {
|
||||||
inputs = new Class[]{PotionOfLevitation.class, ArcaneCatalyst.class};
|
inputs = new Class[]{PotionOfLevitation.class, ArcaneCatalyst.class};
|
||||||
inQuantity = new int[]{1, 1};
|
inQuantity = new int[]{1, 1};
|
||||||
|
|
||||||
cost = 6;
|
cost = 8;
|
||||||
|
|
||||||
output = FeatherFall.class;
|
output = FeatherFall.class;
|
||||||
outQuantity = 2;
|
outQuantity = 2;
|
||||||
|
|
|
@ -81,7 +81,7 @@ public class MagicalInfusion extends InventorySpell {
|
||||||
inputs = new Class[]{ScrollOfUpgrade.class, ArcaneCatalyst.class};
|
inputs = new Class[]{ScrollOfUpgrade.class, ArcaneCatalyst.class};
|
||||||
inQuantity = new int[]{1, 1};
|
inQuantity = new int[]{1, 1};
|
||||||
|
|
||||||
cost = 4;
|
cost = 3;
|
||||||
|
|
||||||
output = MagicalInfusion.class;
|
output = MagicalInfusion.class;
|
||||||
outQuantity = 1;
|
outQuantity = 1;
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class WildEnergy extends TargetedSpell {
|
||||||
inputs = new Class[]{ScrollOfMysticalEnergy.class, MetalShard.class};
|
inputs = new Class[]{ScrollOfMysticalEnergy.class, MetalShard.class};
|
||||||
inQuantity = new int[]{1, 1};
|
inQuantity = new int[]{1, 1};
|
||||||
|
|
||||||
cost = 8;
|
cost = 6;
|
||||||
|
|
||||||
output = WildEnergy.class;
|
output = WildEnergy.class;
|
||||||
outQuantity = 5;
|
outQuantity = 5;
|
||||||
|
|
|
@ -170,9 +170,11 @@ public class QuickRecipe extends Component {
|
||||||
height = 16;
|
height = 16;
|
||||||
width = 0;
|
width = 0;
|
||||||
|
|
||||||
|
int padding = inputs.size() == 1 ? 8 : 0;
|
||||||
|
|
||||||
for (ItemSlot item : inputs){
|
for (ItemSlot item : inputs){
|
||||||
item.setRect(x + width, y, 16, 16);
|
item.setRect(x + width + padding, y, 16, 16);
|
||||||
width += 16;
|
width += 16 + padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
arrow.setRect(x + width, y, 14, 16);
|
arrow.setRect(x + width, y, 14, 16);
|
||||||
|
@ -180,6 +182,8 @@ public class QuickRecipe extends Component {
|
||||||
|
|
||||||
output.setRect(x + width, y, 16, 16);
|
output.setRect(x + width, y, 16, 16);
|
||||||
width += 16;
|
width += 16;
|
||||||
|
|
||||||
|
width += padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
//used to ensure that un-IDed items are not spoiled
|
//used to ensure that un-IDed items are not spoiled
|
||||||
|
@ -361,8 +365,6 @@ public class QuickRecipe extends Component {
|
||||||
result.add(null);
|
result.add(null);
|
||||||
result.add(new QuickRecipe(new ElixirOfHoneyedHealing.Recipe()));
|
result.add(new QuickRecipe(new ElixirOfHoneyedHealing.Recipe()));
|
||||||
result.add(new QuickRecipe(new ElixirOfAquaticRejuvenation.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 ElixirOfMight.Recipe()));
|
||||||
result.add(new QuickRecipe(new ElixirOfDragonsBlood.Recipe()));
|
result.add(new QuickRecipe(new ElixirOfDragonsBlood.Recipe()));
|
||||||
result.add(new QuickRecipe(new ElixirOfIcyTouch.Recipe()));
|
result.add(new QuickRecipe(new ElixirOfIcyTouch.Recipe()));
|
||||||
|
@ -376,13 +378,13 @@ public class QuickRecipe extends Component {
|
||||||
result.add(null);
|
result.add(null);
|
||||||
result.add(null);
|
result.add(null);
|
||||||
result.add(new QuickRecipe(new AquaBlast.Recipe()));
|
result.add(new QuickRecipe(new AquaBlast.Recipe()));
|
||||||
result.add(new QuickRecipe(new FeatherFall.Recipe()));
|
|
||||||
result.add(new QuickRecipe(new ReclaimTrap.Recipe()));
|
result.add(new QuickRecipe(new ReclaimTrap.Recipe()));
|
||||||
|
result.add(new QuickRecipe(new FeatherFall.Recipe()));
|
||||||
result.add(null);
|
result.add(null);
|
||||||
result.add(null);
|
result.add(null);
|
||||||
result.add(new QuickRecipe(new CurseInfusion.Recipe()));
|
|
||||||
result.add(new QuickRecipe(new MagicalInfusion.Recipe()));
|
|
||||||
result.add(new QuickRecipe(new Alchemize.Recipe()));
|
result.add(new QuickRecipe(new Alchemize.Recipe()));
|
||||||
|
result.add(new QuickRecipe(new MagicalInfusion.Recipe()));
|
||||||
|
result.add(new QuickRecipe(new CurseInfusion.Recipe()));
|
||||||
result.add(new QuickRecipe(new Recycle.Recipe()));
|
result.add(new QuickRecipe(new Recycle.Recipe()));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user