/* SevTech: Ages Astral Sorcery Script This script handles custom integration control to a mod. Note: These scripts are created and for the usage in SevTech: Ages and other modpacks curated by DarkPacks. You can use these scripts for reference and for learning but not for copying and pasting and claiming as your own. */ import mods.astralsorcery.Altar; import mods.astralsorcery.LightTransmutation; import mods.astralsorcery.StarlightInfusion; import scripts.crafttweaker.craftingUtils; function init() { /* Altar http://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Altar/ */ // ======================================= // Discovery Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/upgrade_tier2"); Altar.addDiscoveryAltarRecipe("sevtech/altar/upgrade_tier2", , 200, 1600, [ , , , , craftingUtils.getBucketIngredient(), , , null, ]); // ======================================= // Attunement Altar.addAttunementAltarRecipe("sevtech/altar/illimination_powder", * 8, 80, 600, [ , , , null, , null, , null, , , , , ]); Altar.addAttunementAltarRecipe("sevtech/altar/starmetal_ore", * 1, 1400, 600, [ , , , , , , , , , , , , ]); // Conversion Wand Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/tool_exchange"); Altar.addAttunementAltarRecipe("sevtech/altar/conversion_wand", * 1, 600, 180, [ null, , , , , null, , null, null, null, null, , null ]); // Modifies the Altar recipe to use TF items Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/upgrade_tier3"); Altar.addAttunementAltarRecipe("sevtech/altar/upgrade_tier3", , 1250, 600, [ , , , , , , , , , , , , ]); // ======================================= // Constellation // Resplendent Prism Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/enchantment_amulet_craft"); Altar.addConstellationAltarRecipe("sevtech/altar/resplendent_prism", , 3100, 600, [ , , , , , , , , , null, null, null, null, , , , , , , , ]); // Coal Engine Altar.addConstellationAltarRecipe("sevtech/coal_engine", , 3000, 900, [ metals.fiery.gear, , metals.fiery.gear, , , , metals.fiery.gear, , metals.fiery.gear, , , , , , , metals.steeleaf.rod, metals.steeleaf.rod, metals.steeleaf.rod, metals.steeleaf.rod, , ]); // ======================================= // Trait Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/chalice"); Altar.addTraitAltarRecipe("sevtech/altar/chalice", , 5500, 700, [ // 0-2 null, null, null, // 3-5 null, null, null, // 6-8 null, , null, // 9-12 null, null, null, null, // 13-14 metals.platinum.ingot, metals.platinum.ingot, // 15-18 null, null, null, null, // 19-20 metals.platinum.ingot, metals.platinum.ingot, // 21-22 , , // 23-24 , , // Outer Items, indices 25+ , , , , ]); // Sextants Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/sextant"); /* Starlight Infusion http://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Infusion/ */ StarlightInfusion.addInfusion(, , false, 0.25, 300); /* Starlight Transmutation https://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Transmutation/ */ LightTransmutation.addTransmutation(, , 1000); LightTransmutation.addTransmutation(, , 1000); astralSorcery.addGrindstone(.withTag({}), * 2); // Death Compass -> Bone Meal }