Update config to include comments (#108)

* Add comments to configs
* Removed unused options
* Added a few of the newer options mainline Mekanism supports
* Also list the default values in the MekanismConfig class for easier comparision
* Change spacing slightly for tools config in code
* Add some of the missing generator config comments
* Config comments for tiers, and add missing comment for MinerSilkMultiplier
* Config comments for rest of generators module
* Fix which stick to sawdust recipe
* Config comments for tools
* Config comments for armor
* Add warning to DM radius comment, and fix a couple things addressed in PR comments
This commit is contained in:
Richard Freimer authored and Dave Smith committed 2019-03-24 14:40:28 -06:00
1 parent 1b6cfd37e9
commit 5a67067f07
18 files changed
+751 -480

No files matched your search

+215 -93
View File
@@ -162,119 +162,193 @@ public class CommonProxy implements IGuiProvider {
* Set and load the mod's common configuration properties.
*/
public void loadConfiguration() {
general.updateNotifications = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "UpdateNotifications", true).getBoolean();
general.controlCircuitOreDict = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "ControlCircuitOreDict", true).getBoolean();
general.logPackets = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "LogPackets", false)
.get(Configuration.CATEGORY_GENERAL, "ControlCircuitOreDict", true,
"Enables recipes using Control Circuits to use OreDict'd Control Circuits from other mods.")
.getBoolean();
general.logPackets = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "LogPackets", false, "Log Mekanica packet names. Debug setting.")
.getBoolean();
general.dynamicTankEasterEgg = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "DynamicTankEasterEgg", false).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "DynamicTankEasterEgg", false, "Audible sparkles.").getBoolean();
general.cardboardSpawners = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "AllowSpawnerBoxPickup", true).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "AllowSpawnerBoxPickup", true,
"Allows vanilla spawners to be moved with a Cardboard Box.").getBoolean();
general.enableWorldRegeneration = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EnableWorldRegeneration", false).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "EnableWorldRegeneration", false,
"Allows chunks to retrogen Mekanica ore blocks.").getBoolean();
general.spawnBabySkeletons = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "SpawnBabySkeletons", true).getBoolean();
general.obsidianTNTDelay = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "ObsidianTNTDelay", 100)
.get(Configuration.CATEGORY_GENERAL, "SpawnBabySkeletons", true,
"Enable the spawning of baby skeletons. Think baby zombies but skeletons.")
.getBoolean();
general.obsidianTNTDelay = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "ObsidianTNTDelay", 100, "Fuse time for Obsidian TNT.")
.getInt();
general.obsidianTNTBlastRadius = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "ObsidianTNTBlastRadius", 12).getInt();
general.UPDATE_DELAY = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "ClientUpdateDelay", 10)
.get(Configuration.CATEGORY_GENERAL, "ObsidianTNTBlastRadius", 12,
"Radius of the explosion of Obsidian TNT.").getInt();
general.UPDATE_DELAY = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "ClientUpdateDelay", 10,
"How many ticks must pass until a block's active state can sync with the client.")
.getInt();
general.osmiumPerChunk = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "OsmiumPerChunk", 12)
general.osmiumPerChunk = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "OsmiumPerChunk", 12, "Chance that osmium generates in a chunk.", 0,
Integer.MAX_VALUE).getInt();
general.osmiumMaxVeinSize = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "OsmiumVeinSize", 8, "Max number of blocks in an osmium vein.", 1,
Integer.MAX_VALUE)
.getInt();
general.copperPerChunk = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "CopperPerChunk", 16)
general.copperPerChunk = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "CopperPerChunk", 16, "Chance that copper generates in a chunk.", 0,
Integer.MAX_VALUE)
.getInt();
general.tinPerChunk = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "TinPerChunk", 14).getInt();
general.saltPerChunk = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "SaltPerChunk", 2).getInt();
general.userWorldGenVersion = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "WorldRegenVersion", 0)
general.copperMaxVeinSize = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "CopperVeinSize", 8, "Max number of blocks in a copper vein.", 1,
Integer.MAX_VALUE)
.getInt();
general.FROM_IC2 = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToEU", 10D).getDouble();
general.TO_IC2 = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "EUToJoules", .1D).getDouble();
general.FROM_RF = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToRF", 2.5D).getDouble();
general.TO_RF = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "RFToJoules", 0.4D).getDouble();
general.FROM_TESLA = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToTesla", 2.5D)
general.tinPerChunk = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "TinPerChunk", 14, "Chance that tin generates in a chunk.", 0,
Integer.MAX_VALUE).getInt();
general.tinMaxVeinSize = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "TinVeinSize", 8, "Max number of blocks in a tin vein.", 1,
Integer.MAX_VALUE).getInt();
general.saltPerChunk = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "SaltPerChunk", 2, "Chance that salt generates in a chunk.", 0,
Integer.MAX_VALUE).getInt();
general.saltMaxVeinSize = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "SaltVeinSize", 6, "Max number of blocks in a salt vein.", 1,
Integer.MAX_VALUE).getInt();
general.userWorldGenVersion = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "WorldRegenVersion", 0,
"Change this value to cause Mekanica to regen its ore in all loaded chunks.")
.getInt();
general.FROM_IC2 = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToEU", 10D,
"Conversion multiplier from EU to Joules (EU * JoulesToEU = Joules)").getDouble();
general.TO_IC2 = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "EUToJoules", .1D,
"Conversion multiplier from Joules to EU (Joules * EUToJoules = EU)").getDouble();
general.FROM_RF = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToRF", 2.5D,
"Conversion multiplier from RF to Joules (RF * JoulesToRF = Joules)").getDouble();
general.TO_RF = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "RFToJoules", 0.4D,
"Conversion multiplier from Joules to RF (Joules * RFToJoules = RF)").getDouble();
general.FROM_TESLA = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToTesla", 2.5D,
"Conversion multiplier from Tesla to Joules (Tesla * JoulesToTesla = Joules)")
.getDouble();
general.TO_TESLA = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "TeslaToJoules", 0.4D)
general.TO_TESLA = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "TeslaToJoules", 0.4D,
"Conversion multiplier from Joules to Tesla (Joules * TeslaToJoules = Tesla)")
.getDouble();
general.FROM_FORGE = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToForge", 2.5D)
general.FROM_FORGE = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "JoulesToForge", 2.5D,
"Conversion multiplier from Forge Energy to Joules (FE * JoulesToForge = Joules)")
.getDouble();
general.TO_FORGE = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "ForgeToJoules", 0.4D)
general.TO_FORGE = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "ForgeToJoules", 0.4D,
"Conversion multiplier from Joules to Forge Energy (Joules * ForgeToJoules = FE)")
.getDouble();
general.FROM_H2 = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "HydrogenEnergyDensity", 200D,
"Determines Electrolytic Separator usage").getDouble();
general.ETHENE_BURN_TIME = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "EthyleneBurnTime", 40)
.getInt();
"How much energy is produced per mB of Hydrogen, also affects Electrolytic Separator usage, Ethylene burn rate and Gas generator energy capacity")
.getDouble();
general.ETHENE_BURN_TIME = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "EthyleneBurnTime", 40,
"Burn time for Ethylene (1mB hydrogen + 2*bioFuel/tick*200ticks/100mB * 20x efficiency bonus).").getInt();
general.ENERGY_PER_REDSTONE = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EnergyPerRedstone", 10000D).getDouble();
.get(Configuration.CATEGORY_GENERAL, "EnergyPerRedstone", 10000D,
"How much energy (Joules) a piece of redstone gives in machines.").getDouble();
general.DISASSEMBLER_USAGE = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "DisassemblerEnergyUsage", 10).getInt();
.get(Configuration.CATEGORY_GENERAL, "DisassemblerEnergyUsage", 10,
"Base Energy (Joules) usage of the Atomic Disassembler.").getInt();
//If this is less than 1, upgrades make machines worse. If less than 0, I don't even know.
general.maxUpgradeMultiplier = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "UpgradeModifier", 10, null, 1, Integer.MAX_VALUE).getInt();
.get(Configuration.CATEGORY_GENERAL, "UpgradeModifier", 10,
"Base factor for working out machine performance with upgrades - UpgradeModifier * (UpgradesInstalled/UpgradesPossible).",
1, Integer.MAX_VALUE).getInt();
general.minerSilkMultiplier = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "MinerSilkMultiplier", 6).getDouble();
.get(Configuration.CATEGORY_GENERAL, "MinerSilkMultiplier", 6,
"Energy multiplier for using silk touch mode with the Digital Miner.").getDouble();
general.prefilledGasTanks = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "PrefilledGasTanks", true).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "PrefilledGasTanks", true,
"Add filled creative gas tanks to creative/JEI.").getBoolean();
general.armoredJetpackDamageRatio = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "ArmoredJetpackDamageRatio", 0.8).getDouble();
.get(Configuration.CATEGORY_GENERAL, "ArmoredJetpackDamageRatio", 0.8,
"Damage absorb ratio of the Armored Jetpack.").getDouble();
general.armoredJetpackDamageMax = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "ArmoredJepackDamageMax", 115).getInt();
.get(Configuration.CATEGORY_GENERAL, "ArmoredJepackDamageMax", 115,
"Max damage the Armored Jetpack can absorb.").getInt();
general.aestheticWorldDamage = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "AestheticWorldDamage", true).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "AestheticWorldDamage", true,
"If enabled, lasers can break blocks and the flamethrower starts fires.").getBoolean();
general.opsBypassRestrictions = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "OpsBypassRestrictions", false).getBoolean();
general.thermalEvaporationSpeed = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "ThermalEvaporationSpeed", 1.0D).getDouble();
general.maxJetpackGas = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "MaxJetpackGas", 24000)
.get(Configuration.CATEGORY_GENERAL, "OpsBypassRestrictions", false,
"Ops can bypass the block security restrictions if enabled.").getBoolean();
general.maxJetpackGas = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "MaxJetpackGas", 24000, "Jetpack Gas Tank capacity in mB.")
.getInt();
general.maxScubaGas = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "MaxScubaGas", 24000, "Scuba Tank Gas Tank capacity in mB.")
.getInt();
general.maxScubaGas = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "MaxScubaGas", 24000).getInt();
general.maxFlamethrowerGas = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "MaxFlamethrowerGas", 24000).getInt();
general.maxPumpRange = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "MaxPumpRange", 80).getInt();
general.pumpWaterSources = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "PumpWaterSources", false)
.get(Configuration.CATEGORY_GENERAL, "MaxFlamethrowerGas", 24000, "Flamethrower Gas Tank capacity in mB.")
.getInt();
general.maxPumpRange = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "MaxPumpRange", 80,
"Maximum block distance to pull fluid from for the Electric Pump.").getInt();
general.pumpWaterSources = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "PumpWaterSources", false,
"If enabled makes Water and Heavy Water blocks be removed from the world on pump.")
.getBoolean();
general.maxPlenisherNodes = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "MaxPlenisherNodes", 4000).getInt();
.get(Configuration.CATEGORY_GENERAL, "MaxPlenisherNodes", 4000,
"Fluidic Plenisher stops after this many blocks.").getInt();
general.evaporationHeatDissipation = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EvaporationHeatDissipation", 0.02D).getDouble();
.get(Configuration.CATEGORY_GENERAL, "EvaporationHeatDissipation", 0.02D,
"Thermal Evaporation Tower heat loss per tick.").getDouble();
general.evaporationTempMultiplier = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EvaporationTempMultiplier", 0.1D).getDouble();
.get(Configuration.CATEGORY_GENERAL, "EvaporationTempMultiplier", 0.1D,
"Temperature to amount produced ratio for Thermal Evaporation Tower.").getDouble();
general.evaporationSolarMultiplier = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EvaporationSolarMultiplier", 0.2D).getDouble();
.get(Configuration.CATEGORY_GENERAL, "EvaporationSolarMultiplier", 0.2D,
"Heat to absorb per Solar Panel array of Thermal Evaporation Tower.").getDouble();
general.evaporationMaxTemp = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EvaporationMaxTemp", 3000D).getDouble();
general.energyPerHeat = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "EnergyPerHeat", 1000D)
.get(Configuration.CATEGORY_GENERAL, "EvaporationMaxTemp", 3000D,
"Max Temperature of the Thermal Evaporation Tower.").getDouble();
general.energyPerHeat = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "EnergyPerHeat", 1000D,
"Joules required by the Resistive Heater to produce one unit of heat. Also affects Thermoelectric Boiler's Water->Steam rate.")
.getDouble();
general.maxEnergyPerSteam = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "MaxEnergyPerSteam", 100D).getDouble();
.get(Configuration.CATEGORY_GENERAL, "MaxEnergyPerSteam", 100D,
"Maximum Joules per mB of Steam. Also affects Thermoelectric Boiler.").getDouble();
general.superheatingHeatTransfer = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "SuperheatingHeatTransfer", 10000D).getDouble();
general.heatPerFuelTick = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "HeatPerFuelTick", 4D)
.get(Configuration.CATEGORY_GENERAL, "SuperheatingHeatTransfer", 10000D,
"Amount of heat each Boiler heating element produces.").getDouble();
general.heatPerFuelTick = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "HeatPerFuelTick", 4D,
"Amount of heat produced per fuel tick of a fuel's burn time in the Fuelwood Heater.")
.getDouble();
general.allowTransmitterAlloyUpgrade = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "AllowTransmitterAlloyUpgrade", true).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "AllowTransmitterAlloyUpgrade", true,
"Allow right clicking on Cables/Pipes/Tubes with alloys to upgrade the tier.").getBoolean();
general.allowChunkloading = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "AllowChunkloading", true).getBoolean();
general.allowProtection = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "AllowProtection", true)
.get(Configuration.CATEGORY_GENERAL, "AllowChunkloading", true,
"Disable to make the anchor upgrade not do anything.").getBoolean();
general.allowProtection = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "AllowProtection", true,
"Enable the security system for players to prevent others from accessing their machines. Does NOT affect Frequencies.")
.getBoolean();
general.portableTeleporterDelay = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "PortableTeleporterDelay", 0).getInt();
.get(Configuration.CATEGORY_GENERAL, "PortableTeleporterDelay", 0,
"Delay in ticks before a player is teleported after clicking the Teleport button in the portable teleporter.")
.getInt();
general.quantumEntangloporterEnergyTransfer = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "QuantumEntangloporterEnergyTransfer", 16000000D).getDouble();
.get(Configuration.CATEGORY_GENERAL, "QuantumEntangloporterEnergyTransfer", 16000000D,
"Maximum buffer of an Entangoloporter frequency.").getDouble();
general.blacklistIC2 = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "BlacklistIC2Power", false,
"Disables IC2 power integration. Requires world restart (server-side option in SMP)").getBoolean();
general.blacklistRF = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "BlacklistRFPower", false)
"Disables IC2 power integration. Requires world restart (server-side option in SMP).").getBoolean();
general.blacklistRF = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "BlacklistRFPower", false,
"Disables Thermal Expansion RedstoneFlux power integration. Requires world restart (server-side option in SMP).")
.getBoolean();
general.blacklistTesla = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "BlacklistTeslaPower", false).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "BlacklistTeslaPower", false,
"Disables Tesla power integration. Requires world restart (server-side option in SMP).")
.getBoolean();
general.blacklistForge = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "BlacklistForgePower", false).getBoolean();
.get(Configuration.CATEGORY_GENERAL, "BlacklistForgePower", false,
"Disables Forge Energy (FE,IF,uF,CF) power integration. Requires world restart (server-side option in SMP).")
.getBoolean();
String s = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "EnergyType", "RF", null, new String[]{"J", "RF", "EU", "T"})
.get(Configuration.CATEGORY_GENERAL, "EnergyType", "RF", "Displayed energy type in Mekanica GUIs.",
new String[]{"J", "RF", "EU", "T"})
.getString().trim().toLowerCase();
switch (s) {
@@ -293,7 +367,8 @@ public class CommonProxy implements IGuiProvider {
}
s = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "Temperature Units", "K", null, new String[]{"K", "C", "R", "F"})
.get(Configuration.CATEGORY_GENERAL, "Temperature Units", "K",
"Displayed temperature unit in Mekanica GUIs.", new String[]{"K", "C", "R", "F"})
.getString();
if (s != null) {
@@ -312,53 +387,100 @@ public class CommonProxy implements IGuiProvider {
}
}
general.laserRange = Mekanism.configuration.get("general", "LaserRange", 64).getInt();
general.laserEnergyNeededPerHardness = Mekanism.configuration.get("general", "LaserDiggingEnergy", 100000)
general.laserRange = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "LaserRange", 64, "How far (in blocks) a laser can travel.")
.getInt();
general.destroyDisabledBlocks = Mekanism.configuration.get("general", "DestroyDisabledBlocks", true)
general.laserEnergyNeededPerHardness = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "LaserDiggingEnergy", 100000,
"Energy needed to destroy or attract blocks with a Laser (per block hardness level).")
.getInt();
general.destroyDisabledBlocks = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "DestroyDisabledBlocks", true,
"If machine is disabled in config, do we set its block to air if it is found in world?")
.getBoolean();
general.digitalMinerMaxRadius = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "DigitalMinerMaxRadius", 32,
"Maximum radius in blocks that the Digital Miner can reach. "
+ "(Increasing this may have negative effects on stability and/or performance. "
+ "We strongly recommend you leave it at the default value.)",
1, Integer.MAX_VALUE).getInt();
for (MachineType type : BlockStateMachine.MachineType.getValidMachines()) {
general.machinesManager.setEntry(type.blockName,
Mekanism.configuration.get("machines", type.blockName + "Enabled", true).getBoolean());
Mekanism.configuration.get("machines", type.blockName + "Enabled", true,
"Allow " + type.blockName + " to be used/crafted.").getBoolean());
}
usage.enrichmentChamberUsage = Mekanism.configuration.get("usage", "EnrichmentChamberUsage", 50D).getDouble();
usage.osmiumCompressorUsage = Mekanism.configuration.get("usage", "OsmiumCompressorUsage", 100D).getDouble();
usage.combinerUsage = Mekanism.configuration.get("usage", "CombinerUsage", 50D).getDouble();
usage.crusherUsage = Mekanism.configuration.get("usage", "CrusherUsage", 50D).getDouble();
usage.metallurgicInfuserUsage = Mekanism.configuration.get("usage", "MetallurgicInfuserUsage", 50D).getDouble();
usage.purificationChamberUsage = Mekanism.configuration.get("usage", "PurificationChamberUsage", 200D)
general.sawdustChancePlank = Mekanism.configuration
.get(Configuration.CATEGORY_GENERAL, "SawdustChancePlank", 0.25D,
"Chance of producing sawdust per operation in the precision sawmill when turning planks into sticks.")
.getDouble();
usage.energizedSmelterUsage = Mekanism.configuration.get("usage", "EnergizedSmelterUsage", 50D).getDouble();
usage.digitalMinerUsage = Mekanism.configuration.get("usage", "DigitalMinerUsage", 100D).getDouble();
usage.electricPumpUsage = Mekanism.configuration.get("usage", "ElectricPumpUsage", 100D).getDouble();
usage.rotaryCondensentratorUsage = Mekanism.configuration.get("usage", "RotaryCondensentratorUsage", 50D)
general.sawdustChanceLog = Mekanism.configuration.get(Configuration.CATEGORY_GENERAL, "SawdustChanceLog", 1D,
"Chance of producing sawdust per operation in the precision sawmill when turning logs into planks.")
.getDouble();
usage.oxidationChamberUsage = Mekanism.configuration.get("usage", "OxidationChamberUsage", 200D).getDouble();
usage.chemicalInfuserUsage = Mekanism.configuration.get("usage", "ChemicalInfuserUsage", 200D).getDouble();
usage.chemicalInjectionChamberUsage = Mekanism.configuration.get("usage", "ChemicalInjectionChamberUsage", 400D)
usage.enrichmentChamberUsage = Mekanism.configuration
.get("usage", "EnrichmentChamberUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.osmiumCompressorUsage = Mekanism.configuration
.get("usage", "OsmiumCompressorUsage", 100D, "Energy per operation tick (Joules).").getDouble();
usage.combinerUsage = Mekanism.configuration
.get("usage", "CombinerUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.crusherUsage = Mekanism.configuration
.get("usage", "CrusherUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.metallurgicInfuserUsage = Mekanism.configuration
.get("usage", "MetallurgicInfuserUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.purificationChamberUsage = Mekanism.configuration
.get("usage", "PurificationChamberUsage", 200D, "Energy per operation tick (Joules).")
.getDouble();
usage.precisionSawmillUsage = Mekanism.configuration.get("usage", "PrecisionSawmillUsage", 50D).getDouble();
usage.energizedSmelterUsage = Mekanism.configuration
.get("usage", "EnergizedSmelterUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.digitalMinerUsage = Mekanism.configuration
.get("usage", "DigitalMinerUsage", 100D, "Energy per operation tick (Joules).").getDouble();
usage.electricPumpUsage = Mekanism.configuration
.get("usage", "ElectricPumpUsage", 100D, "Energy per operation tick (Joules).").getDouble();
usage.rotaryCondensentratorUsage = Mekanism.configuration
.get("usage", "RotaryCondensentratorUsage", 50D, "Energy per operation tick (Joules).")
.getDouble();
usage.oxidationChamberUsage = Mekanism.configuration
.get("usage", "OxidationChamberUsage", 200D, "Energy per operation tick (Joules).").getDouble();
usage.chemicalInfuserUsage = Mekanism.configuration
.get("usage", "ChemicalInfuserUsage", 200D, "Energy per operation tick (Joules).").getDouble();
usage.chemicalInjectionChamberUsage = Mekanism.configuration
.get("usage", "ChemicalInjectionChamberUsage", 400D, "Energy per operation tick (Joules).")
.getDouble();
usage.precisionSawmillUsage = Mekanism.configuration
.get("usage", "PrecisionSawmillUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.chemicalDissolutionChamberUsage = Mekanism.configuration
.get("usage", "ChemicalDissolutionChamberUsage", 400D).getDouble();
usage.chemicalWasherUsage = Mekanism.configuration.get("usage", "ChemicalWasherUsage", 200D).getDouble();
usage.chemicalCrystallizerUsage = Mekanism.configuration.get("usage", "ChemicalCrystallizerUsage", 400D)
usage.chemicalWasherUsage = Mekanism.configuration
.get("usage", "ChemicalWasherUsage", 200D, "Energy per operation tick (Joules).").getDouble();
usage.chemicalCrystallizerUsage = Mekanism.configuration
.get("usage", "ChemicalCrystallizerUsage", 400D, "Energy per operation tick (Joules).")
.getDouble();
usage.seismicVibratorUsage = Mekanism.configuration.get("usage", "SeismicVibratorUsage", 50D).getDouble();
usage.pressurizedReactionBaseUsage = Mekanism.configuration.get("usage", "PressurizedReactionBaseUsage", 5D)
usage.seismicVibratorUsage = Mekanism.configuration
.get("usage", "SeismicVibratorUsage", 50D, "Energy per operation tick (Joules).").getDouble();
usage.pressurizedReactionBaseUsage = Mekanism.configuration
.get("usage", "PressurizedReactionBaseUsage", 5D, "Energy per operation tick (Joules).")
.getDouble();
usage.fluidicPlenisherUsage = Mekanism.configuration.get("usage", "FluidicPlenisherUsage", 100D).getDouble();
usage.laserUsage = Mekanism.configuration.get("usage", "LaserUsage", 5000D).getDouble();
usage.gasCentrifugeUsage = Mekanism.configuration.get("usage", "GasCentrifugeUsage", 100D).getDouble();
usage.heavyWaterElectrolysisUsage = Mekanism.configuration.get("usage", "HeavyWaterElectrolysisUsage", 800D)
usage.fluidicPlenisherUsage = Mekanism.configuration
.get("usage", "FluidicPlenisherUsage", 100D, "Energy per operation tick (Joules).").getDouble();
usage.laserUsage = Mekanism.configuration
.get("usage", "LaserUsage", 5000D, "Energy per operation tick (Joules).").getDouble();
usage.heavyWaterElectrolysisUsage = Mekanism.configuration.get("usage", "HeavyWaterElectrolysisUsage", 800D,
"Energy needed for one [recipe unit] of heavy water production (Joules).")
.getDouble();
usage.formulaicAssemblicatorUsage = Mekanism.configuration.get("usage", "FormulaicAssemblicatorUsage", 100D)
usage.formulaicAssemblicatorUsage = Mekanism.configuration
.get("usage", "FormulaicAssemblicatorUsage", 100D, "Energy per operation tick (Joules).")
.getDouble();
usage.teleporterBaseUsage = Mekanism.configuration.get("usage", "TeleporterBaseUsage", 1000).getInt();
usage.teleporterDistanceUsage = Mekanism.configuration.get("usage", "TeleporterDistanceUsage", 10).getInt();
usage.teleporterDimensionPenalty = Mekanism.configuration.get("usage", "TeleporterDimensionPenalty", 10000)
usage.teleporterBaseUsage = Mekanism.configuration
.get("usage", "TeleporterBaseUsage", 1000, "Base Joules cost for a teleportation.")
.getInt();
usage.teleporterDistanceUsage = Mekanism.configuration.get("usage", "TeleporterDistanceUsage", 10,
"Joules per unit of distance travelled during teleportation - sqrt(xDiff^2 + yDiff^2 + zDiff^2).")
.getInt();
usage.teleporterDimensionPenalty = Mekanism.configuration
.get("usage", "TeleporterDimensionPenalty", 10000,
"Flat additional cost for interdimensional teleportation.").getInt();
Tier.loadConfig();