//ABOE scripts | All Rights Reserved unless otherwise explicitly stated.
//
//Information.
//This removes the crafting recipes for problematic items.
//
//Scripted by Peter.
//Last edited by Peter 09.04.2022 (EU date format) (Initial version)
//Last edited by Predundant 17.05.2022 (EU date format) (Added Valhesia Dungeon Door recipe)
//Last edited by <name> <date> (EU date format) (Changelog).


settings.logAddedRecipes = true
settings.logRemovedRecipes = true
settings.logSkippedRecipes = false
settings.logErroringRecipes = false

onEvent('recipes', event => {

	//Add Shaped recipes

	//Add new recipe for teleporter_pad
	event.shaped('1x allthemodium:teleport_pad', [
		' D ',
		'EYE',
		'IGI'
	  ], {
		D: 'minecraft:diamond',
		E: 'minecraft:ender_pearl',
		Y: 'minecraft:ender_eye',
		G: 'minecraft:gold_ingot',
		I: 'minecraft:iron_ingot'
	  })

	//Add a recipe for rubber essence
	event.shaped('6x thermal:rubber', [
		'RRR',
		'R R',
		'RRR'
	  ], {
		R: 'mysticalagriculture:rubber_essence',
	  })

	//Add a recipe for filled glowstone units
	event.shaped('1x simplyjetpacks:unit_glowstone', [
		'DDD',
		'DED',
		'DDD'
	  ], {
		E: 'simplyjetpacks:unit_glowstone_empty',
		D: 'minecraft:glowstone_dust',
	  })

	//Add a recipe for filled cryotheum units
	event.shaped('1x simplyjetpacks:unit_cryotheum', [
		'BBB',
		'BEB',
		'BBB'
	  ], {
		E: 'simplyjetpacks:unit_cryotheum_empty',
		B: 'thermal:blizz_powder',
	  })
	  
	  
	  //Add a recipe for Valhesia Dungeon Doors
	event.shaped('1x valhelsia_structures:dungeon_door', [
		'BB ',
		'CC ',
		'DD '
	  ], {
		B: 'minecraft:skeleton_skull',
		C: '#minecraft:logs',		
		D: 'minecraft:iron_block',
	  })	  
		
})
