public static Food cook( MysteryMeat ingredient ) { ChargrilledMeat result = new ChargrilledMeat(); result.quantity = ingredient.quantity(); return result; } }
public static Food cook( MysteryMeat ingredient ) { FrozenCarpaccio result = new FrozenCarpaccio(); result.quantity = ingredient.quantity(); return result; } }
@Override public Item sampleOutput(ArrayList<Item> ingredients) { if (!testIngredients(ingredients)) return null; return new Blandfruit().cook((Seed) ingredients.get(1)); } }
@Override public void reset() { if (potionAttrib != null) imbuePotion(potionAttrib); else super.reset(); }
@Override public void restoreFromBundle(Bundle bundle) { super.restoreFromBundle(bundle); if (bundle.contains(POTIONATTRIB)) { imbuePotion((Potion) bundle.get(POTIONATTRIB)); } }
@Override public Item sampleOutput(ArrayList<Item> ingredients) { return new MeatPie(); } }
@Override public void storeInBundle(Bundle bundle){ super.storeInBundle(bundle); bundle.put( POTIONATTRIB , potionAttrib); }
@Override protected Item createLoot() { //(9-count) / 9 chance of getting healing, otherwise mystery meat if (Random.Float() < ((9f - Dungeon.LimitedDrops.SCORPIO_HP.count) / 9f)) { Dungeon.LimitedDrops.SCORPIO_HP.count++; return (Item)loot; } else { return new MysteryMeat(); } }
@Override public Item sampleOutput(ArrayList<Item> ingredients) { if (!testIngredients(ingredients)) return null; return new Blandfruit().cook((Seed) ingredients.get(1)); } }
public static Food cook( MysteryMeat ingredient ) { ChargrilledMeat result = new ChargrilledMeat(); result.quantity = ingredient.quantity(); return result; } }
public static Food cook( MysteryMeat ingredient ) { FrozenCarpaccio result = new FrozenCarpaccio(); result.quantity = ingredient.quantity(); return result; } }
@Override public void reset() { if (potionAttrib != null) imbuePotion(potionAttrib); else super.reset(); }
@Override public void restoreFromBundle(Bundle bundle) { super.restoreFromBundle(bundle); if (bundle.contains(POTIONATTRIB)) { imbuePotion((Potion) bundle.get(POTIONATTRIB)); } }
@Override public Item sampleOutput(ArrayList<Item> ingredients) { return new MeatPie(); } }
@Override public Item brew(ArrayList<Item> ingredients) { if (!testIngredients(ingredients)) return null; ingredients.get(0).quantity(ingredients.get(0).quantity() - 1); ingredients.get(1).quantity(ingredients.get(1).quantity() - 1); return new Blandfruit().cook((Seed) ingredients.get(1)); }
@Override public Item brew(ArrayList<Item> ingredients) { if (!testIngredients(ingredients)) return null; ingredients.get(0).quantity(ingredients.get(0).quantity() - 1); ingredients.get(1).quantity(ingredients.get(1).quantity() - 1); return new Blandfruit().cook((Seed) ingredients.get(1)); }