/*
 * Copyright (c) 2018 modmuss50 and Gigabit101
 *
 *
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 *
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 *
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package reborncore.common;

import reborncore.common.registration.RebornRegister;
import reborncore.common.registration.config.ConfigRegistry;

@RebornRegister("reborncore")
public class RebornCoreConfig {

	@ConfigRegistry(config = "power", key = "EU - FU ratio", comment = "The Amount of FU to output from EU")
	public static int euPerFU = 4;

	@ConfigRegistry(config = "power", key = "Enable FE support", comment = "Whether energy blocks will accept and emit Forge Energy (FE/RF/etc)")
	public static boolean enableFE = true;

	@ConfigRegistry(config = "client", key = "Show Stack Info HUD", comment = "Show Stack Info HUD")
	public static boolean ShowStackInfoHUD = true;

	@ConfigRegistry(config = "client", key = "Stack Info Corner", comment = "Screen corner for HUD, 0 is top left, 1 is top right, 2 is bottom right and 3 is bottom left")
	public static int stackInfoCorner = 0;

	@ConfigRegistry(config = "client", key = "Stack Info X", comment = "X padding for HUD ")
	public static int stackInfoX = 2;

	@ConfigRegistry(config = "client", key = "Stack Info Y", comment = "Y padding for HUD ")
	public static int stackInfoY = 7;

	@ConfigRegistry(config = "misc", key = "Version Check", comment = "Enable version checker")
	public static boolean versionCheck = true;

	@ConfigRegistry(config = "misc", key = "Enable Seasonal Easter Eggs", comment = "Disable this is you don't want seasonal easter eggs")
	public static boolean easterEggs = true;

	@ConfigRegistry(config = "misc", category = "debug", key = "Enable Debug tools for ores", comment = "Contains some debug tools to help fix issues with ores")
	public static boolean oreDebug = false;

	@ConfigRegistry(config = "misc", key = "Config Updater", comment = "AutoUpdates none user chnaged config values, when the mod default changes.")
	public static boolean configUpdating = true;

	@ConfigRegistry(config = "power", key = "Energy smoking", comment = "When enabled machines that try to insert power into a machine with a lower teir will smoke")
	public static boolean smokeHighTeir = false;

	@ConfigRegistry(config = "misc", key = "Wrench Required", comment = "Wrench required to pick machine. If not wrenched than machine frame will drop instead.")
	public static boolean wrenchRequired = true;

	@ConfigRegistry(config = "upgrades", key = "Use Exponential Machine Speed Scaling", comment =
		"Whether to use an alternative, exponential scaling algorithm like IC2.\n" +
			"With the exponential scaling algorithm (true), processing time will be determined by (1 - OverclockerSpeed)^NumberOfOverclockers.\n" +
			"Without the algorithm (false), processing time is determined by (1 - OverclockerSpeed*NumberOfOverclockers), with a minimum of 1% processing time."
	)
	public static boolean exponentialMachineSpeedScaling = false;
}

@@ -1492,339 +1492,8 @@
 4;%0A%0A
-%09@ConfigRegistry(config = %22power%22, key = %22Enable FE support%22, comment = %22Whether energy blocks will accept and emit Forge Energy (FE/RF/etc)%22)%0A%09public static boolean enableFE = true;%0A%0A%09@ConfigRegistry(config = %22client%22, key = %22Show Stack Info HUD%22, comment = %22Show Stack Info HUD%22)%0A%09public static boolean ShowStackInfoHUD = true;%0A%0A
 %09@Co
@@ -1954,145 +1954,8 @@
 7;%0A%0A
-%09@ConfigRegistry(config = %22misc%22, key = %22Version Check%22, comment = %22Enable version checker%22)%0A%09public static boolean versionCheck = true;%0A
 %0A%09@C
@@ -2161,1320 +2161,189 @@
  = %22
-misc%22, category = %22debug%22, key = %22Enable Debug tools for ores%22, comment = %22Contains some debug tools to help fix issues with ores%22)%0A%09public static boolean oreDebug = false;%0A%0A%09@ConfigRegistry(config = %22misc%22, key = %22Config Updater%22, comment = %22AutoUpdates none user chnaged config values, when the mod default changes.%22)%0A%09public static boolean configUpdating = true;%0A%0A%09@ConfigRegistry(config = %22power%22, key = %22Energy smoking%22, comment = %22When enabled machines that try to insert power into a machine with a lower teir will smoke%22)%0A%09public static boolean smokeHighTeir = false;%0A%0A%09@ConfigRegistry(config = %22misc%22, key = %22Wrench Required%22, comment = %22Wrench required to pick machine. If not wrenched than machine frame will drop instead.%22)%0A%09public static boolean wrenchRequired = true;%0A%0A%09@ConfigRegistry(config = %22upgrades%22, key = %22Use Exponential Machine Speed Scaling%22, comment =%0A%09%09%22Whether to use an alternative, exponential scaling algorithm like IC2.%5Cn%22 +%0A%09%09%09%22With the exponential scaling algorithm (true), processing time will be determined by (1 - OverclockerSpeed)%5ENumberOfOverclockers.%5Cn%22 +%0A%09%09%09%22Without the algorithm (false), processing time is determined by (1 - OverclockerSpeed*NumberOfOverclockers), with a minimum of 1%25 processing time.%22%0A%09)%0A%09public static boolean exponentialMachineSpeedScaling = false;
+power%22, key = %22Energy smoking%22, comment = %22When enabled machines that try to insert power into a machine with a lower teir will smoke%22)%0A%09public static boolean smokeHighTeir = false;%0A
 %0A%7D%0A

Fix block drops by removing wrench requirement. It will come back in a totally different form later.