import mods.thaumcraft.Infusion;
import mods.bloodmagic.Alchemy;

val PortokaliShard = <ChromatiCraft:chromaticraft_item_shard:14>;
val IronBars = <ore:barsIron>;
val IronIngot = <ore:ingotIron>;
val LivingRock = <ore:livingrock>;
val WitchesOven = <witchery:witchesovenidle>;
val ProtectionAmuletRed = <aura:redAmulet>;
val ProtectionAmuletBlue = <aura:blueAmulet>;
val ProtectionAmuletYellow = <aura:yellowAmulet>;
val ProtectionAmuletGreen = <aura:greenAmulet>;
val ProtectionAmuletOrange = <aura:orangeAmulet>;
val ProtectionAmuletViolet = <aura:purpleAmulet>;
val KarmirPendant2 = <ChromatiCraft:chromaticraft_item_pendant3:1>;
val DiamondVapor = <witchery:ingredient:29>;
val DropOfLuck = <witchery:ingredient:39>;
val Poppet = <witchery:poppet>;
val AntiDeathPoppet = <witchery:poppet:6>;
val ArcaneStoneBrick = <Thaumcraft:blockCosmeticSolid:7>;
val RowanWood = <witchery:witchlog>;
val ExhaleOfTheHornedOne = <witchery:ingredient:31>;
val BreathOfTheGoddess = <witchery:ingredient:32>;
val Nitor = <Thaumcraft:ItemResource:1>;
val Altar = <witchery:altar>;
val Alembic = <Thaumcraft:blockMetalDevice:1>;
val Thaumium = <Thaumcraft:ItemResource:2>;
val BoostedPortokaliShard = <ChromatiCraft:chromaticraft_item_shard:30>;
val ArcaneBlackIngot = <aura:ingotBlack>;
val EssentiaTube = <Thaumcraft:blockTube>;
val ClayJar = <witchery:ingredient:27>;
val Distillery = <witchery:distilleryidle>;
val HydraBlood = <TwilightForest:item.fieryBlood>;
val AttunedStone = <witchery:ingredient:10>;
val WhiffOfMagic = <witchery:ingredient:34>;
val ManaDiamond = <Botania:manaResource:2>;
val LiquidEnderBucket = <TConstruct:buckets:23>;
val Kettle = <witchery:kettle>;
val LivingWoodStick = <Botania:manaResource:3>;
val FlameString = <Natura:barleyFood:7>;
val Crucible = <Thaumcraft:blockMetalDevice>;
val SubduedSpirit = <witchery:ingredient:112>;
val EnergeticEssence = <ChromatiCraft:chromaticraft_item_crafting:28>;
val MotiveDust = <ChromatiCraft:chromaticraft_item_crafting:26>;
val PoltergeistSpectralStone = <witchery:spectralstone:19>;
val SpectralStone = <witchery:spectralstone>;
val SpectralDust = <witchery:ingredient:66>;
val WormWood = <witchery:ingredient:111>;
val EntropyShard = <Thaumcraft:ItemShard:5>;
val GraveyardDust = <witchery:ingredient:128>;

recipes.remove(WitchesOven);
recipes.addShaped(WitchesOven,[[null,IronIngot,null],[IronBars,IronBars,IronBars],[IronBars,PortokaliShard,IronBars]]);

recipes.remove(AntiDeathPoppet);
Infusion.addRecipe("ASPECTS",Poppet,[ProtectionAmuletRed,ProtectionAmuletOrange,ProtectionAmuletYellow,ProtectionAmuletGreen,ProtectionAmuletBlue,ProtectionAmuletViolet,DropOfLuck,DiamondVapor,KarmirPendant2],"tutamen 256, permutatio 32", AntiDeathPoppet,6);

recipes.remove(Altar);
recipes.addShaped(Altar*3,[[BreathOfTheGoddess,Nitor,ExhaleOfTheHornedOne],[ArcaneStoneBrick,RowanWood,ArcaneStoneBrick],[ArcaneStoneBrick,RowanWood,ArcaneStoneBrick]]);

recipes.remove(Distillery);
recipes.addShaped(Distillery,[[ClayJar,EssentiaTube,ClayJar],[Thaumium,Alembic,Thaumium],[ArcaneBlackIngot,BoostedPortokaliShard,ArcaneBlackIngot]]);
recipes.addShaped(Distillery,[[ClayJar,EssentiaTube,ClayJar],[Thaumium,Alembic,Thaumium],[ArcaneBlackIngot,HydraBlood,ArcaneBlackIngot]]);

recipes.remove(AttunedStone);
recipes.addShaped(AttunedStone,[[WhiffOfMagic], [ManaDiamond], [LiquidEnderBucket]]);

recipes.remove(Kettle);
recipes.addShaped(Kettle,[[LivingWoodStick,FlameString,LivingWoodStick],[FlameString,AttunedStone,FlameString],[null,Crucible,null]]);

Alchemy.addRecipe(SubduedSpirit*2,[SubduedSpirit,EnergeticEssence,EnergeticEssence,EnergeticEssence,MotiveDust], 4, 15000);
Alchemy.addRecipe(PoltergeistSpectralStone,[SpectralStone, SpectralDust, GraveyardDust, EntropyShard, WormWood], 5, 30000);