50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
#priority 3400
|
|
|
|
/*
|
|
SevTech: Ages Astral Sorcery Script
|
|
|
|
This script is a zenClass to allow easy interation with Astral Sorcery.
|
|
|
|
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 crafttweaker.item.IItemStack;
|
|
|
|
import mods.astralsorcery.Grindstone;
|
|
import mods.astralsorcery.StarlightInfusion;
|
|
|
|
zenClass AstralSorcery {
|
|
zenConstructor() {
|
|
}
|
|
|
|
/*
|
|
Remove a Grindstone Recipe
|
|
*/
|
|
function removeGrindstone(output as IItemStack) {
|
|
Grindstone.removeRecipe(output);
|
|
}
|
|
|
|
/*
|
|
Add a Grindstone Recipe
|
|
*/
|
|
function addGrindstone(input as IItemStack, output as IItemStack) {
|
|
Grindstone.addRecipe(input, output);
|
|
}
|
|
|
|
/*
|
|
Remove a Starlight Infusion Recipe
|
|
*/
|
|
function removeStarlight(output as IItemStack) {
|
|
StarlightInfusion.removeInfusion(output);
|
|
}
|
|
|
|
/*
|
|
Add a Starlight Infusion Recipe
|
|
*/
|
|
function addStarlight(input as IItemStack, output as IItemStack, consumeMultiple as bool, consumptionChance as float, tickTime as int) {
|
|
StarlightInfusion.addInfusion(input, output, consumeMultiple, consumptionChance, tickTime);
|
|
}
|
|
}
|
|
|