Skip to content

Instantly share code, notes, and snippets.

@kindlich
Created September 19, 2017 14:49
Show Gist options
  • Save kindlich/357598af41e7a31d0887cf94b226ed72 to your computer and use it in GitHub Desktop.
Save kindlich/357598af41e7a31d0887cf94b226ed72 to your computer and use it in GitHub Desktop.
import mods.actuallyadditions.Empowerer;
import mods.actuallyadditions.AtomicReconstructor;
import crafttweaker.item.IItemStack;
val EmpowererRecipe = [
//Recipe in format of [output, centerInput, sideInput1, sideInput2, sideInput3, sideInput4, energyPerStand, timeInTicks]
[<mysticalagriculture:tier1_inferium_seeds>, <mysticalagriculture:ingot_storage:1>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 1
[<mysticalagriculture:tier2_inferium_seeds>, <mysticalagriculture:ingot_storage:2>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 2
[<mysticalagriculture:tier3_inferium_seeds>, <mysticalagriculture:ingot_storage:3>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 3
[<mysticalagriculture:tier4_inferium_seeds>, <mysticalagriculture:ingot_storage:4>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 4
[<mysticalagriculture:tier5_inferium_seeds>, <mysticalagriculture:ingot_storage:5>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>], //Inferium Tier 5
[<mysticalagradditions:tier6_inferium_seeds>, <mysticalagradditions:storage:1>, <botania:grassseeds>, <extrautils2:enderlilly>, <actuallyadditions:item_misc:24>, <extrautils2:redorchid>] //Inferium Tier 6
] as IItemStack[][];
val AtomicReconstructorRecipe = [
];
for i, item in EmpowererRecipe {
val ePS as int = (i+1)*10000;
Empowerer.addRecipe(item[0], item[1], item[2], item[3], item[4], item[5], ePS, 200);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment