Increased mechanical network acceleration

This commit is contained in:
Calclavia 2014-02-27 19:24:57 +08:00
parent f5e35f9924
commit 32ee1527c9
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -31,7 +31,7 @@ import universalelectricity.core.net.NetworkTickHandler;
*/
public class MechanicalNetwork extends Network<IMechanicalNetwork, IMechanical> 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;