mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Lava lasts a tad longer. Turns out smelteries are consuming 1.5x as much lava as the old smelteries! It's only 1.25 as much now.
To be exact: 15 mb are used every 4 seconds
This commit is contained in:
1 parent
49d804daa2
commit
9cb2e27fe3
2 files changed
+5
-5
No files matched your search
@@ -1077,11 +1077,11 @@ public class TinkerSmeltery
|
||||
protected static void addRecipesForSmeltery ()
|
||||
{
|
||||
// Smeltery fuels
|
||||
Smeltery.addSmelteryFuel(FluidRegistry.LAVA, 1300, 10);
|
||||
Smeltery.addSmelteryFuel(FluidRegistry.LAVA, 1300, 12); // lava lasts 4 seconds per 15 mb
|
||||
// register pyrotheum if it's present
|
||||
Fluid pyrotheum = FluidRegistry.getFluid("pyrotheum");
|
||||
if (pyrotheum != null)
|
||||
Smeltery.addSmelteryFuel(pyrotheum, 5000, 9);
|
||||
Smeltery.addSmelteryFuel(pyrotheum, 5000, 9); // pyrotheum lasts 3 seconds per 15 mb
|
||||
|
||||
// BLOOD FOR THE BLOOD GOD
|
||||
if (TinkerWorld.meatBlock != null)
|
||||
|
||||
@@ -304,10 +304,10 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
if (!validStructure)
|
||||
checkValidPlacement();
|
||||
|
||||
if (useTime > 0 && inUse)
|
||||
if (useTime > 0)
|
||||
useTime -= 3;
|
||||
|
||||
if (validStructure && useTime <= 0)
|
||||
if (validStructure && useTime <= 0 && inUse)
|
||||
{
|
||||
updateFuelGague();
|
||||
}
|
||||
@@ -600,7 +600,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
{
|
||||
// drain actual liquid, non simulated
|
||||
liquid = tankContainer.drain(ForgeDirection.DOWN, 15, true);
|
||||
useTime += Smeltery.getFuelDuration(liquid.getFluid());
|
||||
useTime += (int)((float)Smeltery.getFuelDuration(liquid.getFluid())*15f/(float)liquid.amount);
|
||||
internalTemp = Smeltery.getFuelPower(liquid.getFluid());
|
||||
|
||||
// update fuel display
|
||||
|
||||
Reference in new issue
Block a user