// priority: 90

onEvent('item.tags', event => {

  // Fruits
  event.get('forge:fruits').add([
    'atmospheric:passionfruit',
    'autumnity:foul_berries',
    'bayou_blues:gooseberries',
    'betterendforge:blossom_berry',
    'betterendforge:shadow_berry_raw',
    'blue_skies:cherry',
    'blue_skies:scalefruit',
    'blue_skies:crescent_fruit',
    'blue_skies:brewberry',
    'blue_skies:pink_brewberry',
    'blue_skies:black_brewberry',
    'minecraft:sweet_berries',
    'neapolitan:white_strawberries'
  ])
  
  // Specific Fruits
  event.add('forge:fruits/cherry', 'blue_skies:cherry')
  event.add('forge:fruits/scalefruit', 'blue_skies:scalefruit')
  event.add('forge:fruits/pine_fruit', 'blue_skies:pine_fruit')
  event.add('forge:fruits/crescent_fruit', 'blue_skies:crescent_fruit')
  event.add('forge:fruits/brewberry', 'blue_skies:brewberry')
  event.add('forge:fruits/brewberry', 'blue_skies:pink_brewberry')
  event.add('forge:fruits/brewberry', 'blue_skies:black_brewberry')
  event.add('forge:fruits/strawberry', 'neapolitan:white_strawberries')
  
  // Vegetables
  event.get('forge:vegetables').add([
    'betterendforge:amber_root_raw',
    'blue_skies:cryo_root',
    'blue_skies:fiery_beans',
    'blue_skies:winter_leaves'
  ])

  // Specific Vegetables
  event.add('forge:vegetables/amber_root', 'betterendforge:amber_root_raw')
  event.add('forge:vegetables/cryo_root', 'blue_skies:cryo_root')
  event.add('forge:vegetables/fiery_beans', 'blue_skies:fiery_beans')
  event.add('forge:vegetables/winter_leaves', 'blue_skies:winter_leaves')

  // Cooked Vegetables
  event.get('forge:cooked_vegetables').add([
    'seasonals:roasted_pumpkin'
  ])

  // Cookies (mainly so that they can be added to Jars)
  event.get('supplementaries:cookies').add([
    'abnormals_delight:cherry_cookie',
    'abnormals_delight:mulberry_cookie',
    'abnormals_delight:maple_cookie',
    'cookielicious:chocolate_cookie',
    'cookielicious:banana_cookie',
    'cookielicious:mint_cookie',
    'cookielicious:adzuki_cookie'
  ])

  // Dough
  event.get('forge:food/dough').add([ // Using the tag that Atum already uses.
    'create:dough',
    'farmersdelight:wheat_dough',
    'minecolonies:bread_dough'
    // Deliberately excluding Cookie Dough here - this is intended to be fairly neutral doughs.
  ])

  // Eggs
  event.get('forge:eggs').add([
    'atum:quail_egg'
  ])

  // Ice
  event.get('forge:ice').add([
    'betterendforge:emerald_ice',
    'betterendforge:dense_emerald_ice',
    'betterendforge:ancient_emerald_ice'
  ])

  // Mushrooms
  event.get('forge:mushrooms').add([
    'betterendforge:bolux_mushroom',
    'betterendforge:chorus_mushroom_raw',
    'betterendforge:small_amaranita_mushroom',
    'betterendforge:small_jellyshroom',
    'blue_skies:snowcap_mushroom',
    'darkerdepths:glowshroom',
    'forbidden_arcanus:fungyss'
  ])

  // Raw Fishes
  event.get('forge:raw_fishes').add([
    'betterendforge:end_fish_raw',
    'blue_skies:grittle_flatfish',
    'blue_skies:municipal_monkfish',
    'blue_skies:charscale_moki',
    'blue_skies:horizofin_tunid'
  ])

  // Cooked Fishes
  event.get('forge:cooked_fishes').add([
    'betterendforge:end_fish_cooked',
    'blue_skies:cooked_grittle_flatfish',
    'blue_skies:cooked_municipal_monkfish',
    'blue_skies:cooked_charscale_moki',
    'blue_skies:cooked_horizofin_tunid'
  ])
  
  // Raw Venison
  event.get('forge:raw_venison').add([
    'blue_skies:venison',
    'mysticalworld:venison',
    'twilightforest:raw_venison'
  ])

  // Cooked Venison
  event.get('forge:cooked_venison').add([
    'blue_skies:cooked_venison',
    'mysticalworld:cooked_venison',
    'twilightforest:cooked_venison'
  ])
  
  // Proteins
  event.get('mysticalworld:proteins').add([
    'alexsmobs:blobfish',
    'alexsmobs:boiled_emu_egg',
    'alexsmobs:maggot',
    'alexsmobs:lobster_tail',
    'alexsmobs:cooked_lobster_tail',
    'alexsmobs:kangaroo_meat',
    'alexsmobs:cooked_kangaroo_meat',
    'alexsmobs:moose_ribs',
    'alexsmobs:cooked_moose_ribs',
    'blue_skies:carabeef',
    'blue_skies:cooked_carabeef',
    'blue_skies:monitor_tail',
    'blue_skies:cooked_monitor_tail',
    'blue_skies:bug_guts',
    'environmental:scrambled_eggs',
    '#forge:raw_duck',
    '#forge:cooked_duck',
    '#forge:cooked_venison',
    '#forge:raw_venison',
    '#forge:raw_fishes',
    '#forge:cooked_fishes',
    '#forge:eggs',
    '#forge:cooked_eggs',
  ])

  event.get('mysticalworld:sugars').add([
    'abnormals_delight:vanilla_cake_slice' // Example - many more are missing here (TODO).
  ])

  // Wolf Prey
  event.get('farmersdelight:wolf_prey').add([
    'mysticalworld:venison'
  ])

});