Added a missing config option for Crafter Manager energy usage.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
- You can no longer put a Filter in filter slots to gain additional filter slots (raoulvdberge)
|
||||
- You can now re-insert Processing Patterns in the Pattern Grid and have the inputs and outputs be completed (raoulvdberge)
|
||||
- Fixed bug where pattern was recipe pattern was creatable when there was no recipe output (raoulvdberge)
|
||||
- Added a missing config option for Crafter Manager energy usage (raoulvdberge)
|
||||
- If an Interface is configured to expose the entire network storage (by configuring no export slots), it will no longer expose the entire RS storage, due to performance issues (raoulvdberge)
|
||||
- The Portable Grid no longer exposes a inventory for crossmod interaction, due to performance issues (raoulvdberge)
|
||||
- The Crafting Monitor is now resizable and its size can be configured (stretched, small, medium, large) (raoulvdberge)
|
||||
|
||||
@@ -21,6 +21,7 @@ public final class RSConfig {
|
||||
public int crafterUsage;
|
||||
public int crafterPerPatternUsage;
|
||||
public int craftingMonitorUsage;
|
||||
public int crafterManagerUsage;
|
||||
public int destructorUsage;
|
||||
public int detectorUsage;
|
||||
public int diskDriveUsage;
|
||||
@@ -144,6 +145,7 @@ public final class RSConfig {
|
||||
crafterUsage = config.getInt("crafter", ENERGY, 2, 0, Integer.MAX_VALUE, "The base energy used by Crafters");
|
||||
crafterPerPatternUsage = config.getInt("crafterPerPattern", ENERGY, 1, 0, Integer.MAX_VALUE, "The additional energy used per Pattern in a Crafter");
|
||||
craftingMonitorUsage = config.getInt("craftingMonitor", ENERGY, 2, 0, Integer.MAX_VALUE, "The energy used by Crafting Monitors");
|
||||
crafterManagerUsage = config.getInt("crafterManagerUsage", ENERGY, 4, 0, Integer.MAX_VALUE, "The energy used by Crafter Managers");
|
||||
destructorUsage = config.getInt("destructor", ENERGY, 1, 0, Integer.MAX_VALUE, "The energy used by Destructors");
|
||||
detectorUsage = config.getInt("detector", ENERGY, 2, 0, Integer.MAX_VALUE, "The energy used by Detectors");
|
||||
diskDriveUsage = config.getInt("diskDrive", ENERGY, 0, 0, Integer.MAX_VALUE, "The base energy used by Disk Drives");
|
||||
|
||||
@@ -22,7 +22,7 @@ public class NetworkNodeCrafterManager extends NetworkNode {
|
||||
|
||||
@Override
|
||||
public int getEnergyUsage() {
|
||||
return 0; // TODO: config
|
||||
return RS.INSTANCE.config.crafterManagerUsage;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user