settings.logAddedRecipes = true
settings.logRemovedRecipes = true
settings.logSkippedRecipes = false
settings.logErroringRecipes = true
console.info('Scripts have been reloaded')

let creativerecipes = (output,i1,i2,i3,i4,i5,i6,i7) => {
  onEvent('recipes', e => 
  {e.recipes.extendedcrafting.shaped_table(output, 
    ['123454321',
    '234555432',
    '345666543',
    '456666654',
    '556676655',
    '456666654',
    '345666543',
    '234555432',
    '123454321'], 
    {1:i1,2:i2,3:i3,4:i4,5:i5,6:i6,7:i7})})}

onEvent('recipes', e => {
  e.remove({output: 'extradisks:infinite_storage_disk'})
  e.remove({output: 'creativecrafter:creative_crafter'})
  e.remove({output: 'creativeapiary:tcreative_apiary'})
  e.remove({output: 'extendedcrafting:ultimate_singularity'})
  //Ultimate Singularity
  e.recipes.extendedcrafting.shapeless_table('extendedcrafting:ultimate_singularity', [Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:bronze"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:invar"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:electrum"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:steel"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:lapis_lazuli"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:uranium"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:emerald"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:coal"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:redstone"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:glowstone"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:nickel"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:lead"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:iron"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:copper"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:platinum"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:diamond"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:tin"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:silver"}'), Item.of('extendedcrafting:singularity', '{Id:"extendedcrafting:aluminum"}')]);
  
  //creative controller
  creativerecipes('refinedstorage:creative_controller',"refinedstorage:crafting_grid","refinedstorage:construction_core","refinedstorage:destruction_core","refinedstorage:advanced_processor","refinedstorage:improved_processor","refinedstorage:basic_processor", 'extendedcrafting:ultimate_singularity')
  //creative energy cube
  creativerecipes(Item.of('mekanism:creative_energy_cube', '{mekData:{EnergyContainers:[{Container:0b,stored:"18446744073709551615.9999"}]}}'),"mekanism:ultimate_energy_cube","mekanism:elite_energy_cube","mekanism:advanced_energy_cube","mekanism:basic_energy_cube","mekanism:alloy_atomic","mekanism:alloy_reinforced",'extendedcrafting:ultimate_singularity')
  //creative fluid tank
  creativerecipes("mekanism:creative_fluid_tank","mekanism:ultimate_fluid_tank","mekanism:elite_fluid_tank","mekanism:advanced_fluid_tank","mekanism:basic_fluid_tank","mekanism:alloy_atomic","mekanism:alloy_reinforced",'extendedcrafting:ultimate_singularity')
  //infinite storage disk
  creativerecipes("extradisks:infinite_storage_disk","extradisks:1048576k_storage_disk","extradisks:262144k_storage_disk","extradisks:65536k_storage_disk","extradisks:16384k_storage_disk","refinedstorage:advanced_processor","refinedstorage:improved_processor","extradisks:advanced_storage_housing")
  //creative mystical agradditions essence
  creativerecipes("mysticalagradditions:creative_essence","mysticalagradditions:insanium_essence","mysticalagradditions:insanium_essence","mysticalagradditions:insanium_essence","mysticalagradditions:insanium_essence","mysticalagriculture:supremium_essence","mysticalagriculture:supremium_essence","mysticalagriculture:master_infusion_crystal")
  //creative mana pool
  creativerecipes("botania:creative_pool","botania:gaia_ingot","botania:life_essence","botania:terrasteel_ingot","botania:fabulous_pool","botania:diluted_pool","botania:mana_pool","botania:twig_wand")
  //creative jet pack
  creativerecipes("simplyjetpacks:jetpack_creative","simplyjetpacks:jetpack_te4","simplyjetpacks:jetpack_vanilla4","simplyjetpacks:jetpack_mek4","simplyjetpacks:jetpack_mek3","simplyjetpacks:jetpack_vanilla3","mysticalagradditions:creative_essence",'extendedcrafting:ultimate_singularity')
  //creative energy cell
  e.recipes.extendedcrafting.shaped_table("powah:energy_cell_creative",['123454321','234555432','345666543','456666654','556168655','456666654','345666543','234555432','123454321'], {1: "powah:energy_cell_nitro",2: "powah:energy_cell_niotic",3: "powah:energy_cell_spirited",4: "powah:energy_cell_blazing",5: "powah:nitro_crystal_block",6: "mysticalagradditions:creative_essence",8: "draconicevolution:creative_capacitor"})
  //creative storage upgrade
  creativerecipes("storagedrawers:creative_storage_upgrade","storagedrawers:emerald_storage_upgrade","storagedrawers:diamond_storage_upgrade","storagedrawers:gold_storage_upgrade","storagedrawers:iron_storage_upgrade","storagedrawers:obsidian_storage_upgrade","mysticalagradditions:creative_essence","storagedrawers:upgrade_template")
  //creative me storage cell
  //creative crafter for refined storage
  creativerecipes("creativecrafter:creative_crafter","extrastorage:netherite_crafter","extrastorage:diamond_crafter","extrastorage:gold_crafter","extrastorage:iron_crafter","refinedstorage:construction_core","refinedstorage:destruction_core","refinedstorage:machine_casing")
  creativerecipes('mekanism:creative_chemical_tank', 'mekanism:ultimate_chemical_tank', 'mekanism:ultimate_chemical_tank', 'mekanism:elite_chemical_tank', 'mekanism:alloy_atomic', 'mekanism:alloy_reinforced', 'mekanism:block_osmium', 'extendedcrafting:ultimate_singularity')
  
  e.recipes.extendedcrafting.shaped_table('extrautilitiesrebirth:creative_chest', ['123456781','2EEE5EEE2','3EEE5EEE3','4EEE5EEE4','5555C5555','4EEE5EEE4','3EEE5EEE3','2EEE5EEE2','123456781'], {C: 'draconicevolution:draconium_chest',E: 'allthemodium:unobtainium_block',1: 'refinedstorage:creative_controller',2: Item.of('mekanism:creative_energy_cube', '{mekData:{EnergyContainers:[{Container:0b,stored:"18446744073709551615.9999"}]}}'),3: 'mekanism:creative_fluid_tank',4: 'extradisks:infinite_storage_disk',5: 'storagedrawers:creative_storage_upgrade',6: 'simplyjetpacks:jetpack_creative',7: 'powah:energy_cell_creative',8: 'botania:creative_pool',})
})

/*creativerecipes("",
  "",
  "",
  "",
  "",
  "",
  "",
  "") */