onEvent("recipes", (event) => {

//Draconium Ingot
event.remove({ output: 'draconicevolution:draconium_ingot' })
event.custom(
  {
    "type": "botania:runic_altar",
    "output": {
      "item": 'draconicevolution:draconium_ingot'
    },
    "mana": 12000,
    "ingredients": [
      {
        "item": 'botania:elementium_ingot'
      },
      {
        "item": 'botania:elementium_ingot'
      },
      {
        "item": 'botania:elementium_ingot'
      },
      {
        "item": 'extrabotany:shadowium'
      },
      {
        "item": 'astralsorcery:stardust'
      },
      {
        "item": 'astralsorcery:stardust'
      }
    ]
  }
)

//Fusion Crafting Core
event.remove({ output: 'draconicevolution:crafting_core' })
event.custom(
  {
  "type": "astralsorcery:altar",
  "altar_type": 3,
  "duration": 100,
  "starlight": 200,
  "pattern": [
    "FADAG",
    "AEBEA",
    "DBCBD",
    "AEBEA",
    "HADAI"
  ],
  "key": {
    "A": {
      "item": 'mekanism:hdpe_rod'
    },
    "B": {
      "item": 'bloodmagic:voidsigil'
    },
    "C": {
      "item": 'extrabotany:firstfractal'
    },
    "D": {
      "item": 'powah:capacitor_niotic'
    },
    "E": {
      "item": 'draconicevolution:wyvern_core'
    },
    "F": {
      "item": 'mythicbotany:alfsteel_armor_upgrade'
    },
    "G": {
      "item": 'pneumaticcraft:printed_circuit_board'
    },
    "H": {
      "item": 'extrabotany:theuniverse'
    },
    "I": {
      "item": 'botania:black_hole_talisman'
    }
  },
  "output": [
    {
      "item": 'draconicevolution:crafting_core',
      "count": 1
    }
  ],
  "effects": [
    "astralsorcery:built_in_effect_constellation_finish",
    "astralsorcery:pillar_sparkle",
    "astralsorcery:luminescence_flare",
    "astralsorcery:built_in_effect_discovery_central_beam",
    "astralsorcery:upgrade_altar",
    "astralsorcery:altar_default_sparkle",
    "astralsorcery:built_in_effect_constellation_lines",
    "astralsorcery:built_in_effect_attunement_sparkle",
    "astralsorcery:built_in_effect_trait_relay_highlight"
  ],
}
)

//Wyvern Chest Piece
event.remove({ output: 'draconicevolution:wyvern_chestpiece' })
event.custom(
  {
  "type": "draconicevolution:fusion_crafting",
  "result": {
    "item": "draconicevolution:wyvern_chestpiece"
  },
  "catalyst": {
    "item": 'extrabotany:theuniverse'
  },
  "total_energy": 10000000,
  "tier": "WYVERN",
  "ingredients": [
    {
      "item": 'naturesaura:sky_chest'
    },
    {
      "item": 'astralsorcery:celestial_crystal'
    },
    {
      "item": 'extrabotany:shootingguardian_chest'
    },
    {
      "item": 'bloodmagic:etherealslate'
    },
    {
      "item": 'bloodmagic:livingplate'
    },
    {
      "item": 'mekanism:alloy_atomic'
    },
    {
      "item": 'pneumaticcraft:pneumatic_chestplate'
    },
    {
      "item": 'draconicevolution:wyvern_capacitor'
    },
    {
      "item": 'mysticalagriculture:supremium_chestplate'
    },
    {
      "item": 'draconicevolution:draconic_energy_core'
    },
    {
      "item": 'mythicbotany:alfsteel_chestplate'
    },
    {
      "item": 'draconicevolution:awakened_core'
    }
  ]
}
)

//Awakened draconium dust
event.custom(
{"type":"mekanism:crushing","input":{"ingredient":{"item":'draconicevolution:awakened_draconium_ingot'}},"output":{"item":'draconicevolution:awakened_draconium_dust'}}
)
})
