From 68d44148436abea578f12a2ae93e812855799836 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Wed, 28 Jun 2023 01:34:16 -0400 Subject: [PATCH 1/3] Add assembling machine lootbag upgrades/downgrades --- .../gthandler/recipes/AssemblerRecipes.java | 389 ++++++++++++++++++ 1 file changed, 389 insertions(+) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java index 3541b4774..2eac768ef 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java @@ -38,6 +38,7 @@ public class AssemblerRecipes implements Runnable { public void run() { makeCoilRecipes(); makePistonRecipes(); + makeLootBagRecipes(); registerMixedMetalIngotRecipes(); registerReinforcedIronAlloyPlates(); registerNEIPlanetRecipes(); @@ -6804,6 +6805,394 @@ private static final void registerMixedMetalIngotRecipes() { 30); } + private void makeLootBagRecipes() { + // Basic->Steam Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 1) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 2), + 600, + 32); + // Steam->Basic Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 2) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 1), + 600, + 32); + // Steam->LV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 2) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 4), + 600, + 32); + // LV->Steam Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 4) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 2), + 600, + 32); + // LV->MV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 4) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 5), + 600, + 128); + // MV->LV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 5) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 4), + 600, + 128); + // MV->HV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 5) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 6), + 600, + 512); + // HV->MV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 6) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 5), + 600, + 512); + // HV->EV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 6) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 7), + 600, + 2048); + // EV->HV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 7) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 6), + 600, + 2048); + // EV->IV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 7) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 8), + 600, + 8192); + // IV->EV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 8) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 7), + 600, + 8192); + // IV->LuV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 8) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 41), + 600, + 32768); + // LuV->IV Lootbag + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 41) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 8), + 600, + 32768); + // Forest Ranger Basic -> Forest Ranger Advanced + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 19) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 20), + 600, + 32); + // Forest Ranger Advanced -> Forest Ranger Basic + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 20) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 19), + 600, + 32); + // Forest Ranger Advanced -> Forest Ranger Expert + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 20) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 21), + 600, + 128); + // Forest Ranger Expert -> Forest Ranger Advanced + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 21) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 20), + 600, + 128); + // BM Novice -> BM Adept + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 16) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 17), + 600, + 128); + // BM Adept -> BM Novice + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 17) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 16), + 600, + 128); + // BM Adept -> BM Master + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 17) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 18), + 600, + 128); + // BM Master -> BM Adept + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 18) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 17), + 600, + 128); + // Bees Basic -> Bees Advanced + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 25) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 26), + 600, + 32); + // Bees Advanced -> Bees Basic + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 26) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 25), + 600, + 32); + // Bees Advanced -> Bees Expert + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 26) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 27), + 600, + 512); + // Bees Expert -> Bees Advanced + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 27) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 26), + 600, + 512); + // Space Invaders Moon -> Space Invaders Mars + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 22) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 23), + 600, + 2048); + // Space Invaders Mars -> Space Invaders Moon + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 23) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 22), + 600, + 2048); + // Space Invaders Mars -> Space Invaders Asteroids + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 23) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 24), + 600, + 2048); + // Space Invaders Asteroids -> Space Invaders Mars + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 24) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 23), + 600, + 2048); + // Fast Food -> Slow Food + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 28) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 29), + 600, + 32); + // Slow Food -> Fast Food + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 29) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 28), + 600, + 32); + // Slow Food -> Haute Cuisine + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 29) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 30), + 600, + 32); + // Haute Cuisine -> Slow Food + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 30) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 29), + 600, + 32); + // Haute Cuisine -> Dessert + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 30) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 31), + 600, + 32); + // Dessert -> Haute Cuisine + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 31) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 30), + 600, + 32); + // Transportation 3 -> Transportation 2 + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 32) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 33), + 600, + 32); + // Transportation 2 -> Transportation 3 + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 33) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 32), + 600, + 32); + // Transportation 2 -> Transportation 1 + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 33) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 34), + 600, + 32); + // Transportation 1 -> Transportation 2 + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 34) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 33), + 600, + 32); + // Magic Novice -> Magic Adept + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 9) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 10), + 600, + 32); + // Magic Adept -> Magic Novice + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 10) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 9), + 600, + 32); + // Magic Adept -> Magic Master + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 10) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 11), + 600, + 128); + // Magic Master -> Magic Adept + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 11) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 10), + 600, + 128); + // Magic Master -> Magic Grandmaster + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 11) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 12), + 600, + 128); + // Magic Grandmaster -> Magic Master + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 12) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 11), + 600, + 128); + // Magic Grandmaster -> Magic Grandmaster Unique + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(1), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 16, 12) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 13), + 600, + 128); + // Magic Grandmaster Unique -> Magic Grandmaster + GT_Values.RA.addAssemblerRecipe( + new ItemStack[] { GT_Utility.getIntegratedCircuit(2), + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 13) }, + GT_Values.NF, + GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 16L, 12), + 600, + 128); + + } + private void makePistonRecipes() { // Vanilla Piston Assembler recipe List fenceWood = OreDictionary.getOres("fenceWood"); From 40687cad3b25f67c90ba7c430580333a886de423 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Wed, 28 Jun 2023 15:17:28 -0400 Subject: [PATCH 2/3] Switch to new recipe builder and remove downgrade recipes --- .../gthandler/recipes/AssemblerRecipes.java | 389 ------------------ .../dreammaster/scripts/ScriptCoreMod.java | 98 ++++- 2 files changed, 97 insertions(+), 390 deletions(-) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java index 2eac768ef..3541b4774 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java @@ -38,7 +38,6 @@ public class AssemblerRecipes implements Runnable { public void run() { makeCoilRecipes(); makePistonRecipes(); - makeLootBagRecipes(); registerMixedMetalIngotRecipes(); registerReinforcedIronAlloyPlates(); registerNEIPlanetRecipes(); @@ -6805,394 +6804,6 @@ private static final void registerMixedMetalIngotRecipes() { 30); } - private void makeLootBagRecipes() { - // Basic->Steam Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 1) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 2), - 600, - 32); - // Steam->Basic Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 2) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 1), - 600, - 32); - // Steam->LV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 2) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 4), - 600, - 32); - // LV->Steam Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 4) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 2), - 600, - 32); - // LV->MV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 4) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 5), - 600, - 128); - // MV->LV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 5) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 4), - 600, - 128); - // MV->HV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 5) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 6), - 600, - 512); - // HV->MV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 6) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 5), - 600, - 512); - // HV->EV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 6) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 7), - 600, - 2048); - // EV->HV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 7) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 6), - 600, - 2048); - // EV->IV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 7) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 8), - 600, - 8192); - // IV->EV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 8) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 7), - 600, - 8192); - // IV->LuV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 8) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 41), - 600, - 32768); - // LuV->IV Lootbag - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 41) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 8), - 600, - 32768); - // Forest Ranger Basic -> Forest Ranger Advanced - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 19) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 20), - 600, - 32); - // Forest Ranger Advanced -> Forest Ranger Basic - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 20) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 19), - 600, - 32); - // Forest Ranger Advanced -> Forest Ranger Expert - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 20) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 21), - 600, - 128); - // Forest Ranger Expert -> Forest Ranger Advanced - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 21) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 20), - 600, - 128); - // BM Novice -> BM Adept - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 16) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 17), - 600, - 128); - // BM Adept -> BM Novice - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 17) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 16), - 600, - 128); - // BM Adept -> BM Master - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 17) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 18), - 600, - 128); - // BM Master -> BM Adept - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 18) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 17), - 600, - 128); - // Bees Basic -> Bees Advanced - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 25) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 26), - 600, - 32); - // Bees Advanced -> Bees Basic - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 26) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 25), - 600, - 32); - // Bees Advanced -> Bees Expert - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 26) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 27), - 600, - 512); - // Bees Expert -> Bees Advanced - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 27) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 26), - 600, - 512); - // Space Invaders Moon -> Space Invaders Mars - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 22) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 23), - 600, - 2048); - // Space Invaders Mars -> Space Invaders Moon - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 23) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 22), - 600, - 2048); - // Space Invaders Mars -> Space Invaders Asteroids - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 23) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 24), - 600, - 2048); - // Space Invaders Asteroids -> Space Invaders Mars - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 24) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 23), - 600, - 2048); - // Fast Food -> Slow Food - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 28) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 29), - 600, - 32); - // Slow Food -> Fast Food - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 29) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 28), - 600, - 32); - // Slow Food -> Haute Cuisine - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 29) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 30), - 600, - 32); - // Haute Cuisine -> Slow Food - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 30) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 29), - 600, - 32); - // Haute Cuisine -> Dessert - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 30) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 31), - 600, - 32); - // Dessert -> Haute Cuisine - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 31) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 30), - 600, - 32); - // Transportation 3 -> Transportation 2 - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 32) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 33), - 600, - 32); - // Transportation 2 -> Transportation 3 - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 33) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 32), - 600, - 32); - // Transportation 2 -> Transportation 1 - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 33) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 34), - 600, - 32); - // Transportation 1 -> Transportation 2 - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 34) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 33), - 600, - 32); - // Magic Novice -> Magic Adept - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 9) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 10), - 600, - 32); - // Magic Adept -> Magic Novice - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 10) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 9), - 600, - 32); - // Magic Adept -> Magic Master - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 10) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 11), - 600, - 128); - // Magic Master -> Magic Adept - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 11) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 10), - 600, - 128); - // Magic Master -> Magic Grandmaster - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3, 11) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 12), - 600, - 128); - // Magic Grandmaster -> Magic Master - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 12) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 3L, 11), - 600, - 128); - // Magic Grandmaster -> Magic Grandmaster Unique - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(1), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 16, 12) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1L, 13), - 600, - 128); - // Magic Grandmaster Unique -> Magic Grandmaster - GT_Values.RA.addAssemblerRecipe( - new ItemStack[] { GT_Utility.getIntegratedCircuit(2), - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 1, 13) }, - GT_Values.NF, - GT_ModHandler.getModItem(EnhancedLootBags.ID, "lootbag", 16L, 12), - 600, - 128); - - } - private void makePistonRecipes() { // Vanilla Piston Assembler recipe List fenceWood = OreDictionary.getOres("fenceWood"); diff --git a/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java b/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java index cbbf91a2b..abd91ea10 100644 --- a/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java +++ b/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java @@ -6,6 +6,7 @@ import static gregtech.api.enums.Mods.BiomesOPlenty; import static gregtech.api.enums.Mods.BuildCraftSilicon; import static gregtech.api.enums.Mods.EnderIO; +import static gregtech.api.enums.Mods.EnhancedLootBags; import static gregtech.api.enums.Mods.Forestry; import static gregtech.api.enums.Mods.GalacticraftCore; import static gregtech.api.enums.Mods.GalacticraftMars; @@ -2065,6 +2066,101 @@ public void loadRecipes() { GT_Values.RA.stdBuilder().itemInputs(getModItem(ProjectRedCore.ID, "projectred.core.part", 1, 55, missing)) .itemOutputs(getModItem(NewHorizonsCoreMod.ID, "item.ElectrotineWire", 2, 0, missing)).noFluidInputs() .noFluidOutputs().duration(100).eut(4).addTo(sWiremillRecipes); - + // Basic -> Steam Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 1, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 2, missing)).noFluidInputs().noFluidOutputs() + .duration(600).eut(32).addTo(sAssemblerRecipes); + // Steam -> LV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 2, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 4, missing)).noFluidInputs().noFluidOutputs() + .duration(600).eut(32).addTo(sAssemblerRecipes); + // LV -> MV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 4, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 5, missing)).noFluidInputs().noFluidOutputs() + .duration(600).eut(128).addTo(sAssemblerRecipes); + // MV -> HV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 5, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 6, missing)).noFluidInputs().noFluidOutputs() + .duration(600).eut(512).addTo(sAssemblerRecipes); + // HV -> EV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 6, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 7, missing)).noFluidInputs().noFluidOutputs() + .duration(600).eut(2048).addTo(sAssemblerRecipes); + // EV -> IV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 7, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 8, missing)).noFluidInputs().noFluidOutputs() + .duration(600).eut(8192).addTo(sAssemblerRecipes); + // IV -> LuV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 8, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 41, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32768).addTo(sAssemblerRecipes); + // Forest Ranger Basic -> Forest Ranger Advanced Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 19, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 20, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Forest Ranger Advanced -> Forest Ranger Expert Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 20, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 21, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); + // BM Novice -> BM Adept Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 16, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 17, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); + // BM Adept -> BM Master Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 17, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 18, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); + // Bees Basic -> Bees Advanced Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 25, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 26, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Bees Advanced -> Bees Expert Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 26, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 27, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(512).addTo(sAssemblerRecipes); + // Space Invaders Moon -> Space Invaders Mars Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 22, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 23, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(2048).addTo(sAssemblerRecipes); + // Space Invaders Mars -> Space Invaders Asteroids Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 23, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 24, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(2048).addTo(sAssemblerRecipes); + // Fast Food -> Slow Food Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 28, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 29, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Slow Food -> Haute Cuisine Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 29, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 30, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Haute Cuisine -> Dessert Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 30, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 31, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Transportation 3 -> 2 Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 32, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 33, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Transportation 2 -> 1 Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 33, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 34, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Magic Novice -> Magic Adept Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 9, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 10, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); + // Magic Adept -> Magic Master Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 10, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 11, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); + // Magic Master -> Magic Grandmaster Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 11, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 12, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); + // Magic Grandmaster -> Magic Grandmaster Unique Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 16, 12, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 13, missing)).noFluidInputs() + .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); } } From ab0696aac350faf51fbdbb50784146e91de1b09d Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Wed, 28 Jun 2023 15:50:45 -0400 Subject: [PATCH 3/3] Organization/API Improvements --- .../gthandler/recipes/AssemblerRecipes.java | 105 ++++++++++++++++++ .../dreammaster/scripts/ScriptCoreMod.java | 97 ---------------- 2 files changed, 105 insertions(+), 97 deletions(-) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java index 3541b4774..21a56e374 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/AssemblerRecipes.java @@ -4,6 +4,7 @@ import static com.dreammaster.gthandler.GT_CoreModSupport.Xenoxene; import static gregtech.api.enums.GT_Values.W; import static gregtech.api.enums.Mods.*; +import static gregtech.api.util.GT_ModHandler.getModItem; import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sAssemblerRecipes; import static gregtech.api.util.GT_RecipeBuilder.SECONDS; @@ -34,10 +35,15 @@ public class AssemblerRecipes implements Runnable { // put the soldering Materials in this array final Materials[] solderingMaterials = new Materials[] { Materials.Lead, Materials.SolderingAlloy, Materials.Tin }; + ItemStack missing = new ItemStack(Blocks.fire); + @Override public void run() { makeCoilRecipes(); makePistonRecipes(); + if (EnhancedLootBags.isModLoaded()) { + makeLootBagRecipes(); + } registerMixedMetalIngotRecipes(); registerReinforcedIronAlloyPlates(); registerNEIPlanetRecipes(); @@ -6804,6 +6810,105 @@ private static final void registerMixedMetalIngotRecipes() { 30); } + private void makeLootBagRecipes() { + // Basic -> Steam Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 1, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 2, missing)).noFluidInputs().noFluidOutputs() + .duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Steam -> LV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 2, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 4, missing)).noFluidInputs().noFluidOutputs() + .duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // LV -> MV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 4, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 5, missing)).noFluidInputs().noFluidOutputs() + .duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + // MV -> HV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 5, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 6, missing)).noFluidInputs().noFluidOutputs() + .duration(SECONDS * 30).eut(TierEU.RECIPE_HV).addTo(sAssemblerRecipes); + // HV -> EV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 6, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 7, missing)).noFluidInputs().noFluidOutputs() + .duration(SECONDS * 30).eut(TierEU.RECIPE_EV).addTo(sAssemblerRecipes); + // EV -> IV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 7, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 8, missing)).noFluidInputs().noFluidOutputs() + .duration(SECONDS * 30).eut(TierEU.RECIPE_IV).addTo(sAssemblerRecipes); + // IV -> LuV Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 8, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 41, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LuV).addTo(sAssemblerRecipes); + // Forest Ranger Basic -> Forest Ranger Advanced Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 19, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 20, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Forest Ranger Advanced -> Forest Ranger Expert Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 20, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 21, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + // BM Novice -> BM Adept Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 16, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 17, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + // BM Adept -> BM Master Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 17, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 18, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + // Bees Basic -> Bees Advanced Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 25, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 26, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Bees Advanced -> Bees Expert Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 26, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 27, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_HV).addTo(sAssemblerRecipes); + // Space Invaders Moon -> Space Invaders Mars Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 22, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 23, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_EV).addTo(sAssemblerRecipes); + // Space Invaders Mars -> Space Invaders Asteroids Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 23, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 24, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_EV).addTo(sAssemblerRecipes); + // Fast Food -> Slow Food Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 28, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 29, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Slow Food -> Haute Cuisine Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 29, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 30, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Haute Cuisine -> Dessert Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 30, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 31, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Transportation 3 -> 2 Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 32, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 33, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Transportation 2 -> 1 Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 33, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 34, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Magic Novice -> Magic Adept Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 9, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 10, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_LV).addTo(sAssemblerRecipes); + // Magic Adept -> Magic Master Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 10, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 11, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + // Magic Master -> Magic Grandmaster Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 11, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 12, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + // Magic Grandmaster -> Magic Grandmaster Unique Lootbags + GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 16, 12, missing)) + .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 13, missing)).noFluidInputs() + .noFluidOutputs().duration(SECONDS * 30).eut(TierEU.RECIPE_MV).addTo(sAssemblerRecipes); + } + private void makePistonRecipes() { // Vanilla Piston Assembler recipe List fenceWood = OreDictionary.getOres("fenceWood"); diff --git a/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java b/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java index abd91ea10..109a26e9a 100644 --- a/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java +++ b/src/main/java/com/dreammaster/scripts/ScriptCoreMod.java @@ -6,7 +6,6 @@ import static gregtech.api.enums.Mods.BiomesOPlenty; import static gregtech.api.enums.Mods.BuildCraftSilicon; import static gregtech.api.enums.Mods.EnderIO; -import static gregtech.api.enums.Mods.EnhancedLootBags; import static gregtech.api.enums.Mods.Forestry; import static gregtech.api.enums.Mods.GalacticraftCore; import static gregtech.api.enums.Mods.GalacticraftMars; @@ -2066,101 +2065,5 @@ public void loadRecipes() { GT_Values.RA.stdBuilder().itemInputs(getModItem(ProjectRedCore.ID, "projectred.core.part", 1, 55, missing)) .itemOutputs(getModItem(NewHorizonsCoreMod.ID, "item.ElectrotineWire", 2, 0, missing)).noFluidInputs() .noFluidOutputs().duration(100).eut(4).addTo(sWiremillRecipes); - // Basic -> Steam Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 1, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 2, missing)).noFluidInputs().noFluidOutputs() - .duration(600).eut(32).addTo(sAssemblerRecipes); - // Steam -> LV Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 2, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 4, missing)).noFluidInputs().noFluidOutputs() - .duration(600).eut(32).addTo(sAssemblerRecipes); - // LV -> MV Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 4, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 5, missing)).noFluidInputs().noFluidOutputs() - .duration(600).eut(128).addTo(sAssemblerRecipes); - // MV -> HV Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 5, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 6, missing)).noFluidInputs().noFluidOutputs() - .duration(600).eut(512).addTo(sAssemblerRecipes); - // HV -> EV Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 6, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 7, missing)).noFluidInputs().noFluidOutputs() - .duration(600).eut(2048).addTo(sAssemblerRecipes); - // EV -> IV Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 7, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 8, missing)).noFluidInputs().noFluidOutputs() - .duration(600).eut(8192).addTo(sAssemblerRecipes); - // IV -> LuV Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 8, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 41, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32768).addTo(sAssemblerRecipes); - // Forest Ranger Basic -> Forest Ranger Advanced Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 19, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 20, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Forest Ranger Advanced -> Forest Ranger Expert Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 20, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 21, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); - // BM Novice -> BM Adept Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 16, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 17, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); - // BM Adept -> BM Master Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 17, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 18, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); - // Bees Basic -> Bees Advanced Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 25, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 26, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Bees Advanced -> Bees Expert Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 26, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 27, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(512).addTo(sAssemblerRecipes); - // Space Invaders Moon -> Space Invaders Mars Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 22, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 23, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(2048).addTo(sAssemblerRecipes); - // Space Invaders Mars -> Space Invaders Asteroids Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 23, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 24, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(2048).addTo(sAssemblerRecipes); - // Fast Food -> Slow Food Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 28, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 29, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Slow Food -> Haute Cuisine Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 29, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 30, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Haute Cuisine -> Dessert Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 30, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 31, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Transportation 3 -> 2 Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 32, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 33, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Transportation 2 -> 1 Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 33, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 34, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Magic Novice -> Magic Adept Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 9, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 10, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(32).addTo(sAssemblerRecipes); - // Magic Adept -> Magic Master Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 10, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 11, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); - // Magic Master -> Magic Grandmaster Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 3, 11, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 12, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); - // Magic Grandmaster -> Magic Grandmaster Unique Lootbags - GT_Values.RA.stdBuilder().itemInputs(getModItem(EnhancedLootBags.ID, "lootbag", 16, 12, missing)) - .itemOutputs(getModItem(EnhancedLootBags.ID, "lootbag", 1, 13, missing)).noFluidInputs() - .noFluidOutputs().duration(600).eut(128).addTo(sAssemblerRecipes); } }