v0.7.3b: added a price to broken honeypots

This commit is contained in:
Evan Debenham 2019-05-30 19:54:06 -04:00
parent fff6687f50
commit 167c3e88bc
2 changed files with 11 additions and 1 deletions

View File

@ -230,5 +230,9 @@ public class Honeypot extends Item {
return true; return true;
} }
@Override
public int price() {
return 5 * quantity;
}
} }
} }

View File

@ -67,6 +67,12 @@ public class ElixirOfHoneyedHealing extends Elixir {
} }
} }
@Override
public int price() {
//prices of ingredients
return quantity * (30 + 5);
}
public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe { public static class Recipe extends com.shatteredpixel.shatteredpixeldungeon.items.Recipe.SimpleRecipe {
{ {