From 32ee1527c9879a1e70b724b0ebeb0bd7af6828f7 Mon Sep 17 00:00:00 2001 From: Calclavia Date: Thu, 27 Feb 2014 19:24:57 +0800 Subject: [PATCH] Increased mechanical network acceleration --- .../resonantinduction/electrical/generator/TileGenerator.java | 2 +- .../mechanical/energy/network/MechanicalNetwork.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electrical/src/main/java/resonantinduction/electrical/generator/TileGenerator.java b/electrical/src/main/java/resonantinduction/electrical/generator/TileGenerator.java index bf7f052f..385b7aff 100644 --- a/electrical/src/main/java/resonantinduction/electrical/generator/TileGenerator.java +++ b/electrical/src/main/java/resonantinduction/electrical/generator/TileGenerator.java @@ -63,7 +63,7 @@ public class TileGenerator extends TileElectrical implements IRotatable if (mech != null) { - long power = (long) Math.abs(mech.getTorque() * mech.getAngularVelocity()); + long power = (long) Math.abs(mech.getTorque() * mech.getAngularVelocity()) / 2; long receive = energy.receiveEnergy(power, true); if (receive > 0) diff --git a/mechanical/src/main/java/resonantinduction/mechanical/energy/network/MechanicalNetwork.java b/mechanical/src/main/java/resonantinduction/mechanical/energy/network/MechanicalNetwork.java index 6d53fa16..17362f38 100644 --- a/mechanical/src/main/java/resonantinduction/mechanical/energy/network/MechanicalNetwork.java +++ b/mechanical/src/main/java/resonantinduction/mechanical/energy/network/MechanicalNetwork.java @@ -31,7 +31,7 @@ import universalelectricity.core.net.NetworkTickHandler; */ public class MechanicalNetwork extends Network implements IMechanicalNetwork, IUpdate { - public static final float ACCELERATION = 0.1f; + public static final float ACCELERATION = 0.2f; /** The current rotation of the network */ private float rotation = 0; private long lastRotateTime;