// priority: 0

// Enable recipe logging, off by default
settings.logAddedRecipes = true
settings.logRemovedRecipes = true
// Enable skipped recipe logging, on by default
settings.logSkippedRecipes = false
	
// Listen to server recipe event
events.listen("recipes", event => { 
	/*
	terrestrial agglomeration plate blank: 
	event.custom({
		"type": "botania:terra_plate",
		"mana": 200000,
		"ingredients": [
			{
				"item": "astralsorcery:aquamarine"
			},
			{
				"item": "botania:pixie_dust"
			},
			{
				"item": "astralsorcery:stardust"
			}
		],
		"result": {
			"item": "astralsorcery:resonating_gem"
		}
	})
	
	Runic Altar Blank
	{
		"type": "botania:runic_altar",
		"output": {
			"item": "botania:rune_air",
			"count": 2
		},
		"mana": 5200,
		"ingredients": [
			{
				"tag": "forge:dusts/mana"
			},
			{
				"tag": "forge:ingots/manasteel"
			},
			{
				"tag": "minecraft:carpets"
			},
			{
				"item": "minecraft:feather"
			},
			{
				"item": "minecraft:string"
			}
	  ]
	}
	//Astral altar blank
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 1,
		"duration": 200,
		"starlight": 600,
		"pattern": [
			"_____",
			"_DED_",
			"_EFE_",
			"_ABA_",
			"C___C"
		],
		"key": {
			"A": {
				"item": "astralsorcery:infused_wood_engraved"
			},
			"B": {
				"tag": "forge:ingots/gold"
			},
			"C": {
				"item": "astralsorcery:marble_runed"
			},
			"D": {
				"item": "astralsorcery:aquamarine"
			},
			"E": {
				"item": "astralsorcery:glass_lens"
			},
			"F": {
				"type": "astralsorcery:crystal",
				"hasToBeAttuned": false,
				"hasToBeCelestial": false,
				"canBeAttuned": true,
				"canBeCelestialCrystal": true
			}
		},
		"recipe_class": "astralsorcery:crystal_count",
		"output": [
			{
				"item": "astralsorcery:lens",
				"count": 1
			}
		],
		 "effects": [
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	*/
	//Teleport Core
	event.remove({output: "mekanism:teleportation_core"})
	event.custom({
		"type": "botania:terra_plate",
		"mana": 200000,
		"ingredients": [
			{
				"item": "minecraft:diamond"
			},
			{
				"item": "minecraft:ender_eye"
			},
			{
				"item": "mekanism:alloy_atomic"
			},
			{
				"item": "thermal:gold_plate"
			}
		],
		"result": {
			"item": "mekanism:teleportation_core"
		}
	})
	
	//starmetal
	event.remove({output: "astralsorcery:starmetal_ingot"})
	event.recipes.immersiveengineering.arc_furnace([item.of("astralsorcery:starmetal_ingot")], ingredient.of(["astralsorcery:starmetal_ore", "astralsorcery:stardust"])).time(50).energy(10000)
	event.recipes.immersiveengineering.arc_furnace([item.of("astralsorcery:starmetal_ingot", 2)], ingredient.of(["astralsorcery:starmetal_ore", "astralsorcery:stardust"], 1), [ingredient.of(["#forge:dusts/iron", "#forge:ingots/iron"], 2)], item.of("thermal:slag", 2)).time(200).energy(30000)
	
	//Resonating gem
	event.custom({
		"type": "botania:terra_plate",
		"mana": 200000,
		"ingredients": [
			{
				"item": "astralsorcery:aquamarine"
			},
			{
				"item": "botania:pixie_dust"
			},
			{
				"item": "astralsorcery:stardust"
			}
		],
		"result": {
			"item": "astralsorcery:resonating_gem"
		}
	})

	//Living Armor with runic altar
	event.remove({input: "bloodmagic:reagentbinding"})
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "bloodmagic:livingplate"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "minecraft:iron_chestplate"
			},
			{
				"item": "bloodmagic:reagentbinding"
			},
			{
				"item": "botania:rune_spring"
			},
			{
				"tag": "forge:rawmeats"
			}
	  ]
	})
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "bloodmagic:livinghelmet"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "minecraft:iron_helmet"
			},
			{
				"item": "bloodmagic:reagentbinding"
			},
			{
				"item": "botania:rune_spring"
			},
			{
				"tag": "forge:rawmeats"
			}
	  ]
	})
	
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "bloodmagic:livingleggings"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "minecraft:iron_leggings"
			},
			{
				"item": "bloodmagic:reagentbinding"
			},
			{
				"item": "botania:rune_spring"
			},
			{
				"tag": "forge:rawmeats"
			}
	  ]
	})
	
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "bloodmagic:livingboots"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "minecraft:iron_boots"
			},
			{
				"item": "bloodmagic:reagentbinding"
			},
			{
				"item": "botania:rune_spring"
			},
			{
				"tag": "forge:rawmeats"
			}
	  ]
	})
	
	//Weak alchemical catalyst
	event.remove({output: "bloodmagic:lavacrystal"})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 1,
		"duration": 200,
		"starlight": 600,
		"pattern": [
			"_____",
			"_EAE_",
			"_ABA_",
			"_DCD_",
			"A___A"
		],
		"key": {
			"A": {
				"item": "minecraft:lava_bucket"
			},
			"B": {
				"item": "bloodmagic:weakbloodorb"
			},
			"C": {
				"item": "minecraft:diamond"
			},
			"D": {
				"item": "minecraft:obsidian"
			},
			"E": {
				"tag": "forge:glass"
			}
		},
		"output": [
			{
				"item": "bloodmagic:lavacrystal",
				"count": 1
			}
		],
		 "effects": [
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	event.remove({output: "bloodmagic:largebloodstonebrick"})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 1,
		"duration": 200,
		"starlight": 100,
		"pattern": [
			"_____",
			"_AAA_",
			"_ABA_",
			"_AAA_",
			"_____"
		],
		"key": {
			"A": {
				"item": "minecraft:stone"
			},
			"B": {
				"item": "bloodmagic:weakbloodshard"
			}
		},
		"output": [
			{
				"item": "bloodmagic:largebloodstonebrick",
				"count": 8
			}
		],
		 "effects": [
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	//Astral infused tools
	event.remove({output: "astralsorcery:infused_crystal_sword"})
	event.remove({output: "astralsorcery:infused_crystal_pickaxe"})
	event.remove({output: "astralsorcery:infused_crystal_axe"})
	event.remove({output: "astralsorcery:infused_crystal_shovel"})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F_G_F"
		],
		"key": {
			"A": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "astralsorcery:crystal_shovel"
			},
			"E": {
			  "tag": "astralsorcery:stardust"
			},
			"F": {
			  "tag": "forge:ingots/terrasteel"
			},
			"G": {
			  "item": "bloodmagic:destructivecrystal"
			}
		},
		"output": [
			{
			"item": "astralsorcery:infused_crystal_shovel",
			"count": 1
			}
		],
		"relay_inputs": [
			{
				"tag": "astralsorcery:starmetal"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "minecraft:grass_block"
			},
			{
				"item": "botania:rune_sloth"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F_G_F"
		],
		"key": {
			"A": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "astralsorcery:crystal_pickaxe"
			},
			"E": {
			  "tag": "astralsorcery:stardust"
			},
			"F": {
			  "tag": "forge:ingots/terrasteel"
			},
			"G": {
			  "item": "bloodmagic:corrosivecrystal"
			}
		},
		"output": [
			{
			"item": "astralsorcery:infused_crystal_pickaxe",
			"count": 1
			}
		],
		"relay_inputs": [
			{
				"tag": "astralsorcery:starmetal"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "minecraft:diamond_ore"
			},
			{
				"item": "botania:rune_greed"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F_G_F"
		],
		"key": {
			"A": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "astralsorcery:crystal_axe"
			},
			"E": {
			  "tag": "astralsorcery:stardust"
			},
			"F": {
			  "tag": "forge:ingots/terrasteel"
			},
			"G": {
			  "item": "bloodmagic:steadfastcrystal"
			}
		},
		"output": [
			{
			"item": "astralsorcery:infused_crystal_axe",
			"count": 1
			}
		],
		"relay_inputs": [
			{
				"tag": "astralsorcery:starmetal"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "botania:livingwood"
			},
			{
				"item": "botania:rune_wrath"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F_G_F"
		],
		"key": {
			"A": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "astralsorcery:crystal_sword"
			},
			"E": {
			  "tag": "astralsorcery:stardust"
			},
			"F": {
			  "tag": "forge:ingots/terrasteel"
			},
			"G": {
			  "item": "bloodmagic:steadfastcrystal"
			}
		},
		"output": [
			{
			"item": "astralsorcery:infused_crystal_sword",
			"count": 1
			}
		],
		"relay_inputs": [
			{
				"tag": "astralsorcery:starmetal"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "thermal:lightning_charge"
			},
			{
				"item": "botania:rune_pride"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	//Astral mantle rework
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F_G_F"
		],
		"key": {
			"A": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "minecraft:leather_chestplate"
			},
			"E": {
			  "tag": "astralsorcery:stardust"
			},
			"F": {
			  "tag": "forge:ingots/terrasteel"
			},
			"G": {
			  "item": "botania:life_essence"
			}
		},
		"output": [
			{
				"item": "astralsorcery:mantle",
				"count": 1
			}
		],
		"relay_inputs": [
			{
				"tag": "astralsorcery:starmetal"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "minecraft:feather"
			},
			{
				"item": "botania:rune_envy"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	//Ars Nouveau spell books
	//ars nouveau reworking
	event.remove({output: "ars_nouveau:novice_spell_book"})
	
	event.remove({output: "ars_nouveau:apprentice_spell_book"})

	event.remove({output: "ars_nouveau:archmage_spell_book"})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 0,
		"duration": 60,
		"starlight": 100,
		"pattern": [
			/*"F____F",
			"__C__",
			"_BAD_",
			"__E__",
			"F____F"*/
			"_____",
			"_FCG_",
			"_BAD_",
			"_GEF_",
			"_____"
		],
		"key": {
			"A": {
			  "item": "minecraft:book"
			},
			"B": {
			  "item": "minecraft:iron_shovel"
			},
			"C": {
			  "item": "minecraft:iron_sword"
			},
			"D": {
			  "item": "minecraft:iron_pickaxe"
			},
			"E": {
			  "item": "minecraft:iron_axe"
			},
			"F": {
			  "item": "astralsorcery:aquamarine"
			},
			"G": {
			  "item": "ars_nouveau:mana_gem"
			}
		},
		"output": [
			{
				"item": "ars_nouveau:novice_spell_book",
				"count": 1
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:altar_default_sparkle"
		]
	})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 1,
		"duration": 60,
		"starlight": 100,
		"pattern": [
			/*"F____G",
			"__C__",
			"_BAB_",
			"__E__",
			"G____F"*/
			"H___G",
			"_FC__",
			"_BAB_",
			"__CF_",
			"G___H"
		],
		"key": {
			"A": {
			  "item": "ars_nouveau:novice_spell_book"
			},
			"B": {
			  "item": "ars_nouveau:mana_gem"
			},
			"C": {
			  "item": "botania:mana_pearl"
			},
			"F": {
			  "item": "astralsorcery:aquamarine"
			},
			"G": {
			  "item": "minecraft:blaze_powder"
			},
			"H": {
			  "item": "minecraft:paper"
			}
		},
		"output": [
			{
				"item": "ars_nouveau:apprentice_spell_book",
				"count": 1
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:altar_default_sparkle"
		]
	})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F___F"
		],
		"key": {
			"A": {
			  "item": "bloodmagic:infusedslate"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "ars_nouveau:apprentice_spell_book"
			},
			"E": {
			  "item": "astralsorcery:nocturnal_powder"
			},
			"F": {
			  "item": "astralsorcery:parchment"
			},
			"G": {
			  "item": "minecraft:totem_of_undying"
			}
		},
		"output": [
			{
				"item": "ars_nouveau:archmage_spell_book",
				"count": 1
			}
		],
		"relay_inputs": [
			{
				"tag": "astralsorcery:starmetal"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "minecraft:nether_star"
			},
			{
				"item": "botania:rune_mana"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	event.remove({output: "tomeofblood:tome_of_blood"})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"__G__",
			"_EAA_",
			"A_D_A",
			"_AAE_",
			"__G__"
		],
		"key": {
			"A": {
			  "item": "bloodmagic:demonslate"
			},
			"D": {
			  "item": "ars_nouveau:archmage_spell_book"
			},
			"E": {
			  "item": "botania:pixie_dust"
			},
			"G": {
			  "tag": "bloodmagic:crystals/demon"
			}
		},
		"output": [
			{
				"item": "tomeofblood:tome_of_blood",
				"count": 1
			}
		],
		"relay_inputs": [
			{
				"item": "bloodmagic:reagentbinding"
			},
			{
				"item": "botania:rune_gluttony"
			},
			{
				"item": "bloodmagic:weakbloodshard"
			},
			{
				"item": "bloodmagic:masterbloodorb"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	//Endgame botania stuffs
	event.remove({input: "botania:manasteel_helmet"})
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "botania:terrasteel_helmet"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "botania:manasteel_helmet"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:rune_spring"
			},
			{
				"item": "astralsorcery:colored_lens_growth"
			}
	  ]
	})
	
	event.remove({input: "botania:manasteel_chestplate"})
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "botania:terrasteel_chestplate"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "botania:manasteel_chestplate"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:rune_summer"
			},
			{
				"item": "astralsorcery:colored_lens_growth"
			}
	  ]
	})
	
	event.remove({input: "botania:manasteel_leggings"})
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "botania:terrasteel_leggings"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "botania:manasteel_leggings"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:rune_autumn"
			},
			{
				"item": "astralsorcery:colored_lens_growth"
			}
	  ]
	})
	
	event.remove({input: "botania:manasteel_boots"})
	event.custom({
		"type": "botania:runic_altar",
		"output": {
			"item": "botania:terrasteel_boots"
		},
		"mana": 5200,
		"ingredients": [
			{
				"item": "botania:manasteel_boots"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:terrasteel_ingot"
			},
			{
				"item": "botania:rune_winter"
			},
			{
				"item": "astralsorcery:colored_lens_growth"
			}
	  ]
	})
	
	event.remove({output: "botania:terra_sword"})
	event.remove({output: "botania:terra_axe"})
	event.remove({output: "botania:terraform_rod"})
	event.remove({output: "botania:terra_pick"})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 2,
		"duration": 600,
		"starlight": 1200,
		"pattern": [
	
			"_____",
			"_DD__",
			"__CD_",
			"_A_D_",
			"B____"
		],
		"key": {
			"A": {
			  "item": "botania:livingwood_twig"
			},
			"B": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "botania:mana_tablet"
			},
			"D": {
			  "tag": "forge:ingots/terrasteel"
			}
		},
		"output": [
			{
			"item": "botania:terra_pick",
			"count": 1
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle"
		]
	})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 2,
		"duration": 600,
		"starlight": 1200,
		"pattern": [
	
			"____D",
			"___D_",
			"__D__",
			"_A___",
			"C____"
		],
		"key": {
			"A": {
			  "item": "botania:livingwood_twig"
			},
			"C": {
			  "item": "botania:mana_tablet"
			},
			"D": {
			  "tag": "forge:ingots/terrasteel"
			}
		},
		"output": [
			{
			"item": "botania:terra_sword",
			"count": 1
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle"
		]
	})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 2,
		"duration": 600,
		"starlight": 1200,
		"pattern": [
	
			"___DD",
			"___CD",
			"__AD_",
			"_A___",
			"B____"
		],
		"key": {
			"A": {
			  "item": "botania:livingwood_twig"
			},
			"B": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "botania:mana_tablet"
			},
			"D": {
			  "tag": "forge:ingots/terrasteel"
			}
		},
		"output": [
			{
			"item": "botania:terra_axe",
			"count": 1
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle"
		]
	})
	
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 2,
		"duration": 600,
		"starlight": 1200,
		"pattern": [
	
			"____B",
			"__FA_",
			"_ECG_",
			"_AH__",
			"D____"
		],
		"key": {
			"A": {
			  "item": "botania:livingwood_twig"
			},
			"B": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "botania:mana_tablet"
			},
			"D": {
			  "tag": "forge:ingots/terrasteel"
			},
			"E": {
			  "item": "botania:rune_summer"
			},
			"F": {
			  "item": "botania:rune_autumn"
			},
			"G": {
			  "item": "botania:rune_winter"
			},
			"H": {
			  "item": "botania:rune_spring"
			}
		},
		"output": [
			{
			"item": "botania:terraform_rod",
			"count": 1
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
	
	//Quark to AS marble
	event.custom({
		"type": "botania:mana_infusion",
		"input": {
			"item": "quark:marble"
		},
		"output": {
			"item": "astralsorcery:marble_raw"
		},
		"mana": 2500
	})
	event.custom({
		"type": "botania:mana_infusion",
		"input": {
			"item": "quark:polished_marble"
		},
		"output": {
			"item": "astralsorcery:marble_raw"
		},
		"mana": 2500
	})
	event.custom({
		"type": "botania:mana_infusion",
		"input": {
			"item": "quark:marble_bricks"
		},
		"output": {
			"item": "astralsorcery:marble_raw"
		},
		"mana": 2500
	})
	event.custom({
		"type": "botania:mana_infusion",
		"input": {
			"item": "quark:chiseled_marble_bricks"
		},
		"output": {
			"item": "astralsorcery:marble_raw"
		},
		"mana": 2500
	})
	event.custom({
		"type": "botania:mana_infusion",
		"input": {
			"item": "quark:marble_pavement"
		},
		"output": {
			"item": "astralsorcery:marble_raw"
		},
		"mana": 2500
	})
	event.custom({
		"type": "botania:mana_infusion",
		"input": {
			"item": "quark:marble_pillar"
		},
		"output": {
			"item": "astralsorcery:marble_raw"
		},
		"mana": 2500
	})
	
	
	event.remove({output: "rftoolsdim:empty_dimension_tab"})
	event.custom({
		"type": "astralsorcery:altar",
		"altar_type": 3,
		"duration": 600,
		"starlight": 4800,
		"pattern": [
	
			"F_G_F",
			"_EAC_",
			"A_D_A",
			"_CAE_",
			"F_G_F"
		],
		"key": {
			"A": {
			  "item": "astralsorcery:resonating_gem"
			},
			"C": {
			  "item": "astralsorcery:illumination_powder"
			},
			"D": {
			  "item": "minecraft:book"
			},
			"E": {
			  "tag": "astralsorcery:stardust"
			},
			"F": {
			  "item": "mekanism:hdpe_sheet"
			},
			"G": {
			  "item": "rftoolsbase:dimensionalshard"
			}
		},
		"output": [
			{
			"item": "rftoolsdim:empty_dimension_tab",
			"count": 4
			}
		],
		"relay_inputs": [
			{
				"item": "mekanism:pellet_antimatter"
			},
			{
				"tag": "astralsorcery:stardust"
			},
			{
				"item": "minecraft:ender_eye"
			},
			{
				"item": "botania:rune_greed"
			}
		],
		"effects": [
			"astralsorcery:built_in_effect_constellation_finish",
			"astralsorcery:built_in_effect_trait_relay_highlight",
			"astralsorcery:built_in_effect_discovery_central_beam",
			"astralsorcery:built_in_effect_trait_focus_circle",
			"astralsorcery:altar_default_sparkle",
			"astralsorcery:built_in_effect_constellation_lines",
			"astralsorcery:built_in_effect_attunement_sparkle"
		]
	})
	
})
	