Added Current/Max Power to Network Tool.
Added Current/Max Power to Spatial IO Port. Added Required/Efficiency to Spatial IO Port. Added Power Unit Button / Setting. Fixed bug with Meteorite and Spatial IO. Removed Random Logging in Spatial IO.
This commit is contained in:
Vendored
+7
-1
@@ -23,6 +23,7 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
|
||||
{
|
||||
|
||||
long powerRequired = 0;
|
||||
double effiency = 0.0;
|
||||
|
||||
DimensionalCoord captureMin;
|
||||
DimensionalCoord captureMax;
|
||||
@@ -76,7 +77,6 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
|
||||
int reqZ = 0;
|
||||
int requirePylongBlocks = 1;
|
||||
|
||||
double effiency = 0.0;
|
||||
double minPower = 0;
|
||||
double maxPower = 0;
|
||||
|
||||
@@ -181,6 +181,12 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public float currentEffiency()
|
||||
{
|
||||
return (float) effiency * 100;
|
||||
}
|
||||
|
||||
@MENetworkEventSubscribe
|
||||
public void bootingRender(MENetworkBootingStatusChange c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user