Removed inf power config from AL
This commit is contained in:
parent
b7e3e4beef
commit
2ed29bc6fb
2 changed files with 0 additions and 11 deletions
|
@ -86,9 +86,6 @@ public class AssemblyLine extends ModPrefab
|
||||||
|
|
||||||
public static Logger FMLog = Logger.getLogger(AssemblyLine.MOD_NAME);
|
public static Logger FMLog = Logger.getLogger(AssemblyLine.MOD_NAME);
|
||||||
|
|
||||||
// TODO: MAKE THIS FALSE EVERY BUILD!
|
|
||||||
public static final boolean DEBUG = false;
|
|
||||||
public static boolean REQUIRE_NO_POWER = false;
|
|
||||||
public static boolean VINALLA_RECIPES = false;
|
public static boolean VINALLA_RECIPES = false;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -162,7 +159,6 @@ public class AssemblyLine extends ModPrefab
|
||||||
|
|
||||||
AssemblyLine.VINALLA_RECIPES = CONFIGURATION.get("general", "Vinalla_Recipes", false).getBoolean(false);
|
AssemblyLine.VINALLA_RECIPES = CONFIGURATION.get("general", "Vinalla_Recipes", false).getBoolean(false);
|
||||||
|
|
||||||
AssemblyLine.REQUIRE_NO_POWER = !CONFIGURATION.get("TileSettings", "requirePower", true).getBoolean(true);
|
|
||||||
TileEntityAssembly.refresh_diff = CONFIGURATION.get("TileSettings", "RefreshRandomRange", 9, "n = value of config, 1 + n, random number range from 1 to n that will be added to the lowest refresh value").getInt();
|
TileEntityAssembly.refresh_diff = CONFIGURATION.get("TileSettings", "RefreshRandomRange", 9, "n = value of config, 1 + n, random number range from 1 to n that will be added to the lowest refresh value").getInt();
|
||||||
TileEntityAssembly.refresh_min_rate = CONFIGURATION.get("TileSettings", "RefreshLowestValue", 20, "Lowest value the refresh rate of the tile network will be").getInt();
|
TileEntityAssembly.refresh_min_rate = CONFIGURATION.get("TileSettings", "RefreshLowestValue", 20, "Lowest value the refresh rate of the tile network will be").getInt();
|
||||||
|
|
||||||
|
|
|
@ -71,13 +71,6 @@ public abstract class TileEntityAssembly extends TileEntityEnergyMachine impleme
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean canFunction()
|
|
||||||
{
|
|
||||||
//TODO add check for network power
|
|
||||||
return super.canFunction() || AssemblyLine.REQUIRE_NO_POWER;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canTileConnect(Connection type, ForgeDirection dir)
|
public boolean canTileConnect(Connection type, ForgeDirection dir)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue