//ABOE scripts | All Rights Reserved unless otherwise explicitly stated.
//
//Information.
//This adds new crafting recipes for Mystical Agriculture infusion altar for any missing seeds
//
// Credit to Quentin765 in the KubeJS Discord for the assistance tracking down the recipe format 
//
//Scripted by Peter.
//Last edited by Peter 14.04.2022 (EU date format) (Initial version)
//Last edited by predundant 16.05.2022 (EU date format) (Reformatted and added Hal's and Lithium seeds).
//Last edited by predundant 18.06.2022 (EU date format) (Removed recipes no longer required.  Added essence recipe for netherite scrap).


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


onEvent('recipes', event=>{

	event.shapeless('minecraft:netherite_scrap', ['mysticalagriculture:netherite_essence', 'mysticalagriculture:netherite_essence'])
	

/*
	//Recipe format for reference
    event.recipes.mysticalagriculture.infusion({
      input: { item: middle },
      ingredients: [
        { item: item1 },
        { item: item2 },
        { item: item3 },
        { item: item4 },
        { item: item5 },
        { item: item6 },
        { item: item7 },
        { item: item8 }
      ],
      result: { item: output }
    })
*/


	//Add Rubber seed recipe
    event.recipes.mysticalagriculture.infusion({
      input: { item: 'mysticalagriculture:prosperity_seed_base' },
      ingredients: [
        { item: 'thermal:rubber' },
        { item: 'mysticalagriculture:prudentium_essence' },
        { item: 'thermal:rubber' },
        { item: 'mysticalagriculture:prudentium_essence' },
        { item: 'thermal:rubber' },
        { item: 'mysticalagriculture:prudentium_essence' },
        { item: 'thermal:rubber' },
        { item: 'mysticalagriculture:prudentium_essence' }
      ],
      result: { item: 'mysticalagriculture:rubber_seeds' }
    })



})