import mods.wizardryutils.ZenSpell; #MC Eternal Scripts print("--- loading EBWizardry.zs ---"); #Setup/Vars // The spell oredict was not very functional across saves carried over between versions, it has been deprecated val disabledSpells = [ "ebwizardry:telekinesis", "ebwizardry:empowering_presence", "ebwizardry:greater_telekinesis", "ebwizardry:curse_of_enfeeblement", "ancientspellcraft:extension" ] as string[]; val bookTypes = [ "ebwizardry:spell_book", "ebwizardry:scroll", "tfspellpack:twilight_spell_book", "tfspellpack:twilight_scroll", "ancientspellcraft:ancient_spellcraft_spell_book", "ancientspellcraft:ancient_spell_book", "ancientspellcraft:ancient_spellcraft_scroll", "ancientspellcraft:mystic_spell_book", "ancientspellcraft:runic_plate", "mospells:mospells_spell_book", "mospells:mospells_scroll" ] as string[]; #Disabled Spell Tooltips for spell in disabledSpells { for book in bookTypes { itemUtils.getItem(book, ZenSpell.getMetaData(spell)).addTooltip(format.red(game.localize("mce.ebwizardry.tip.disabled_spell"))); } } // Ancient Spellcraft Transmutation Manipulation Baubles // Battlemage Hammer mods.thaumcraft.ArcaneWorkbench.registerShapedRecipe("mce_battlemage_transmutation_hammer", "", 100, [ *8, *8, *10], , [ [, , ], [, .withTag({Material: "knightmetal"}), ], [null, , .withTag({Material: "treatedwood"})] ]); // Sage Toolkit mods.thaumcraft.ArcaneWorkbench.registerShapedRecipe("mce_sage_transmutation_toolkit", "", 100, [ *8, *18], , [ [, , ], [, , ], [.withTag({Material: "treatedwood"}), .withTag({Material: "treatedwood"}), ] ]); // Warlock Scissors mods.thaumcraft.ArcaneWorkbench.registerShapedRecipe("mce_warlock_transmutation_scissors", "", 100, [ *8, *10, *8], , [ [null, , null], [, , ], [, , null] ]); print("--- EBWizardry.zs initialized ---");