// --- Created by DreamMasterXXL --- // --- Forestry 4 tweaks by Lefty --- // --- Imports --- import mods.forestry.Squeezer; import mods.gregtech.Pulverizer; import mods.gregtech.Extractor; import mods.gregtech.FluidExtractor; import mods.nei.NEI; // --- Remove Recipes --- // --- Mutator recipes.remove(); // --- Frame Housing recipes.remove(); // --- Rain Shield recipes.remove(); // --- Electrical Stimulator recipes.remove(); // --- Hatchery recipes.remove(); // --- Alveary Transmission recipes.remove(); // --- Alveary Light recipes.remove(); // --- Ruby recipes.removeShapeless(); // --- Sapphire recipes.removeShapeless(); // --- Lapis recipes.removeShapeless(); // --- Apiarist Database mods.forestry.Carpenter.removeRecipe(); // --- Restraint Frame recipes.remove(); // --- Healing Frame recipes.remove(); // --- Chocolate Frame recipes.remove(); // --- Soul Frame recipes.remove(); // --- Scented Gear mods.forestry.Carpenter.removeRecipe(); // --- Dyes Squeezer.removeRecipe( * 200, []); Squeezer.removeRecipe( * 200, []); Squeezer.removeRecipe( * 200, []); Squeezer.removeRecipe( * 200, []); Squeezer.removeRecipe( * 200, []); Squeezer.removeRecipe( * 200, []); Squeezer.removeRecipe( * 200, []); // --- Add Recipes --- // --- Apiarist Database mods.forestry.Carpenter.addRecipe(, [[, , ], [, , ], [, , ]], * 1440, 60, ); // - recipes.addShapeless(, []); // --- Mutator mods.forestry.Carpenter.addRecipe(60, * 7500, [, , , , , , , , ], , ); // --- Frame Housing mods.forestry.Carpenter.addRecipe(60, * 7500, [, , , , , , , , ], , ); // --- Rain Shield mods.forestry.Carpenter.addRecipe(60, * 7500, [, , , , , , , , ], , ); // --- Alveary Light mods.forestry.Carpenter.addRecipe(60, * 7500, [, , , , , , , , ], , ); // --- Electrical Stimulator mods.forestry.Carpenter.addRecipe(60, * 7500, [, , , , , , , , ], , ); // --- Hatchery mods.forestry.Carpenter.addRecipe(60, * 7500, [, , , , , , , , ], , ); // --- Alveary Transmission mods.forestry.Carpenter.addRecipe(, [[, , ], [, , ], [, , ]], * 7500, 60, ); // --- Scented Gear mods.forestry.Carpenter.addRecipe(20, * 1000, [, , , , , , , , ], , ); // --- Healing Frame recipes.remove(); mods.thaumcraft.Research.addResearch("HEALINGFRAME", "MAGICBEES", "praecantatio 15, fabrico 12, cognitio 9, victus 6", 7, -2 as int, 4, ); game.setLocalization("tc.research_name.HEALINGFRAME", "Healing Frame"); game.setLocalization("tc.research_text.HEALINGFRAME", "[EB] The Bees will never die ?"); mods.thaumcraft.Research.addPrereq("HEALINGFRAME", "MB_EssenceLife", false); mods.thaumcraft.Research.setConcealed("HEALINGFRAME", true); mods.thaumcraft.Research.addPage("HEALINGFRAME", "ExtraBees.research_page.HEALINGFRAME"); game.setLocalization("ExtraBees.research_page.HEALINGFRAME", "The Healing Frame is an Item used in an Apiary, which increases a Queens lifespan at the cost of a lesser productivity and a decreased mutation rate. It increases a bees lifespan 50% while reducing its productivity to 75% and the chance of mutation to only 50%. It is constructed using Clay and an Impregnated Frame. In an Alveary structure, the Frame Housing can be added to make use of the Frame."); mods.thaumcraft.Arcane.addShaped("HEALINGFRAME", , "ordo 4, terra 4, aer 4, perditio 4, ignis 4, aqua 4", [ [, , ], [, , ], [, , ]]); mods.thaumcraft.Research.addArcanePage("HEALINGFRAME", ); // --- Chocolate Frame recipes.remove(); mods.thaumcraft.Research.addResearch("CHOCOLATEFRAME", "MAGICBEES", "praecantatio 15, fabrico 12, cognitio 9, fames 6", 7, 2, 4, ); game.setLocalization("tc.research_name.CHOCOLATEFRAME", "Chocolate Frame"); game.setLocalization("tc.research_text.CHOCOLATEFRAME", "[EB] Feeding the Bees"); mods.thaumcraft.Research.addPrereq("CHOCOLATEFRAME", "MB_EssenceUnstable", false); mods.thaumcraft.Research.setConcealed("CHOCOLATEFRAME", true); mods.thaumcraft.Research.addPage("CHOCOLATEFRAME", "ExtraBees.research_page.CHOCOLATEFRAME_1"); mods.thaumcraft.Research.addPage("CHOCOLATEFRAME", "ExtraBees.research_page.CHOCOLATEFRAME_2"); game.setLocalization("ExtraBees.research_page.CHOCOLATEFRAME_1", "The Chocolate Frame is an item used in an Apiary or Alveary Frame Housing , which increases a Queens productivity at the cost of a shorter lifespan. One Chocolate Frame increases the production of the Queen by 50% while reducing her lifespan by 50%. The effects of multiple frames stack multiplicatively, so three Chocolate Frames will make the Lifespan for a Longest life Queen four minutes instead of the usual thirty two. It is constructed using Cocoa Beans and an Impregnated Frame. Chocolate Frames are most often employed to speed up generational turnover, when cloning Princesses for a pure strain or breeding for traits."); game.setLocalization("ExtraBees.research_page.CHOCOLATEFRAME_2", "For increased production, Forestrys standard Frames are more effective, unless the apiary is set up to automatically replace the drones and princess when the queen dies; in this case the chocolate frame will speed up production."); mods.thaumcraft.Arcane.addShaped("CHOCOLATEFRAME", , "ordo 4, terra 4, aer 4, perditio 4, ignis 4, aqua 4", [ [, , ], [, , ], [, , ]]); mods.thaumcraft.Research.addArcanePage("CHOCOLATEFRAME", ); // --- Restraint Frame recipes.remove(); mods.thaumcraft.Research.addResearch("RESTRAINTFRAME", "MAGICBEES", "praecantatio 15, fabrico 12, cognitio 9, metallum 6", 9, 0, 4, ); game.setLocalization("tc.research_name.RESTRAINTFRAME", "Restraint Frame"); game.setLocalization("tc.research_text.RESTRAINTFRAME", "[EB] A Bee Cage ?"); mods.thaumcraft.Research.addPrereq("RESTRAINTFRAME", "PROVENFRAME", false); mods.thaumcraft.Research.addPrereq("RESTRAINTFRAME", "HEALINGFRAME", false); mods.thaumcraft.Research.addPrereq("RESTRAINTFRAME", "CHOCOLATEFRAME", false); mods.thaumcraft.Research.setConcealed("RESTRAINTFRAME", true); mods.thaumcraft.Research.addPage("RESTRAINTFRAME", "ExtraBees.research_page.RESTRAINTFRAME"); game.setLocalization("ExtraBees.research_page.RESTRAINTFRAME", "The Restraint Frame is an Item used in an Apiary, which decreases a bees range at the cost of lesser productivity and a shorter lifespan. The lifespan and production are both reduced to 75%. The bees territory is decreased to 50%, meaning that special effects such as poison or aggression have a smaller range. The Restraint Frame is only considered useful in special cases, as a bees damaging effects can also be cancelled out using Apiarists Clothes. In an Alveary structure, the Frame Housing can be added to make use of the Frame."); mods.thaumcraft.Arcane.addShaped("RESTRAINTFRAME", , "ordo 8, terra 8, aer 8, perditio 8, ignis 8, aqua 8", [ [, , ], [, , ], [, , ]]); mods.thaumcraft.Research.addArcanePage("RESTRAINTFRAME", ); // --- Soul Frame recipes.remove(); mods.thaumcraft.Research.addResearch("SOULFRAME", "MAGICBEES", "praecantatio 15, fabrico 12, cognitio 9, spiritus 6", 11, 0, 4, ); game.setLocalization("tc.research_name.SOULFRAME", "Soul Frame"); game.setLocalization("tc.research_text.SOULFRAME", "[EB] Feeding the Bees"); mods.thaumcraft.Research.addPrereq("SOULFRAME", "RESTRAINTFRAME", false); mods.thaumcraft.Research.setConcealed("SOULFRAME", true); mods.thaumcraft.Research.addPage("SOULFRAME", "ExtraBees.research_page.SOULFRAME"); game.setLocalization("ExtraBees.research_page.SOULFRAME", "The Soul Frame is an Item used in an Apiary, which increases the chance of getting a different type of Bee species at the cost of drastically reduced production and a shorter lifespan. It increases the chance of mutation by 50% of the initial mutation chance. The lifespan is reduced to 75% while production is reduced to 25% of its original value. In an Alveary structure, the Frame Housing can be added to make use of the Frame."); mods.thaumcraft.Arcane.addShaped("SOULFRAME", , "ordo 16, terra 16, aer 16, perditio 16, ignis 16, aqua 16", [ [, , ], [, , ], [, , ]]); mods.thaumcraft.Research.addArcanePage("SOULFRAME", ); mods.thaumcraft.Warp.addToResearch("SOULFRAME", 1); // --- Pulverizer Recipes --- // --- Small Emerald Dust Pulverizer.addRecipe([], , [10000], 300, 2); // --- Small Diamond Dust Pulverizer.addRecipe([], , [10000], 300, 2); // --- Small Ruby Dust Pulverizer.addRecipe([], , [10000], 300, 2); // --- Small Sapphire Dust Pulverizer.addRecipe([], , [10000], 300, 2); // --- Small Lapis Dust Pulverizer.addRecipe([], , [10000], 300, 2); // --- Dyes Recipes // --- Red Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- Yellow Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- Blue Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- Green Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- White Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- Black Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- White Dye Squeezer.addRecipe( * 200, % 100, [], 20); FluidExtractor.addRecipe(, , * 200, 32, 7, 1000); // --- Hiding Stuff --- // Dyes for meta in [19, 20, 21, 22, 23, 24, 25] as int[] { NEI.hide(.definition.makeStack(meta)); }