Improve handling of single-input recipes

* Single input alloy smelter recipes now will get multi-slot variants
added automatically
* There's a config flag to disable this
* Removed existing partila multi-slot recipes
* Fixed code that depends on the order of recipes in a HashMap
* Fixed code that depends on the order of machineRecipes in a HashMap
This commit is contained in:
HenryLoenwind committed 2015-11-22 16:17:11 +01:00
1 parent a7c88fff59
commit 4d3d59e4bb
7 files changed
+88 -47

No files matched your search

@@ -108,6 +108,7 @@ public final class Config {
public static boolean useHardRecipes = false;
public static boolean addPeacefulRecipes = false;
public static boolean allowExternalTickSpeedup = true;
public static boolean crateSyntheticRecipes = true;
public static boolean useSteelInChassi = false;
@@ -611,6 +612,13 @@ public final class Config {
"The number of conduits crafted per recipe.").getInt(numConduitsPerRecipe);
transceiverUseEasyRecipe= config.get(sectionRecipe.name, "transceiverUseEasyRecipe", transceiverUseEasyRecipe, "When enabled the dim trans. will use a cheaper recipe")
.getBoolean(useHardRecipes);
crateSyntheticRecipes = config
.get(
sectionRecipe.name,
"crateSyntheticRecipes",
crateSyntheticRecipes,
"Automatically create alloy smelter recipes with double and tripple inputs and different slot allocations (1+1+1, 2+1, 1+2, 3 and 2) for single-input recipes.")
.getBoolean(crateSyntheticRecipes);
allowExternalTickSpeedup = config.get(sectionMisc.name, "allowExternalTickSpeedup", allowExternalTickSpeedup,
"Allows machines to run faster if another mod speeds up the tickrate. Running at higher tickrates is "