diff --git a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileGourmaryllis.java b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileGourmaryllis.java index c1f044baa..0e69370e3 100644 --- a/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileGourmaryllis.java +++ b/src/main/java/vazkii/botania/common/block/subtile/generating/SubTileGourmaryllis.java @@ -46,7 +46,7 @@ public class SubTileGourmaryllis extends TileEntityGeneratingFlower { private int cooldown = 0; private int digestingMana = 0; private List lastFoods = new LinkedList<>(); - private int streakLength = 0; + private int streakLength = -1; private int lastFoodCount = 0; public SubTileGourmaryllis() { @@ -109,7 +109,7 @@ public class SubTileGourmaryllis extends TileEntityGeneratingFlower { addMana(digestingMana); digestingMana = 0; - float burpPitch = 1 - (lastFoodCount - 1) * 0.05F; + float burpPitch = (float) Math.pow(2.0, (streakLength == 0 ? -lastFoodCount : streakLength) / 12.0); getWorld().playSound(null, getEffectivePos(), SoundEvents.ENTITY_PLAYER_BURP, SoundCategory.BLOCKS, 1, burpPitch); sync(); } else if (cooldown % munchInterval == 0) { diff --git a/src/main/resources/assets/botania/lang/en_us.json b/src/main/resources/assets/botania/lang/en_us.json index f1c933b46..a04f3a38a 100644 --- a/src/main/resources/assets/botania/lang/en_us.json +++ b/src/main/resources/assets/botania/lang/en_us.json @@ -2188,8 +2188,8 @@ "botania.entry.gourmaryllis": "Gourmaryllis", "botania.tagline.gourmaryllis": "Mana from food", "botania.page.gourmaryllis0": "The $(item)Gourmaryllis$(0) is one hungry flower. It'll eat any food items it finds in a small area and turn them into $(thing)Mana$(0).$(p)There's a catch, though: it can only digest a single food item at any given time, outputting $(thing)Mana$(0) once it's done. It will devour any other foods while digesting, but yield no returns for those.", - "botania.page.gourmaryllis1": "The amount of time it takes to digest a delicacy depends on the food's nutritional value-- in layman's terms: the number of food points it restores.$(p)Thus, a $(item)Steak$(0) will take four seconds to digest, an $(item)Apple$(0) will take two, a loaf of $(item)Bread$(0) will take two and a half, and so on.", - "botania.page.gourmaryllis2": "The rate of $(thing)Mana$(0) production will also vary with nutrition: the $(item)Gourmaryllis$(0) prefers bigger foods. For example, a single $(item)Steak$(0) will produce more $(item)Mana$(0) than two $(item)Apples$(0), both in total and per-second.$(p)Of course, like any proper gourmand, the $(item)Gourmaryllis$(0) loves variety in its diet; feeding it many different foods can be very rewarding.$(p)Giving it the same food repeatedly might not go over so well, though.", + "botania.page.gourmaryllis1": "The amount of time it takes to digest a delicacy depends on the food's nutritional value-- in layman's terms: the number of food points it restores.$(p)Thus, a $(item)Steak$(0) will take four seconds to digest, an $(item)Apple$(0) will take two, a loaf of $(item)Bread$(0) will take two and a half, and so on.$(p)The rate of $(thing)Mana$(0) production will also vary with nutrition: the $(item)Gourmaryllis$(0) prefers bigger foods.", + "botania.page.gourmaryllis2": "For example, a single $(item)Steak$(0) will produce more $(item)Mana$(0) than two $(item)Apples$(0), both in total and per-second.$(p)Of course, like any proper gourmand, the $(item)Gourmaryllis$(0) loves variety in its diet; feeding it many different foods can be very rewarding. (Giving it the same food repeatedly might not go over so well, though.)$(p)An experienced botanist can infer the $(item)Gourmaryllis$(0)' mood from the sounds it makes.", "botania.page.gourmaryllis3": "$(o)A hot pot for our new residents$().", "botania.entry.narslimmus": "Narslimmus",