;(() => {
  // Kitchen 奖励池：检测到玩家拥有目标菜品后，不扣除菜品，只发放随机饮料
  if (!global.cloudIslandKitchenMenu) global.cloudIslandKitchenMenu = {}

  // 随机饮料池：可直接增删 ID
  const DRINK_POOL = [
    'brewinandchewin:saccharine_rum',
    'brewinandchewin:glittering_grenadine',
    'brewinandchewin:egg_grog',
    'brewinandchewin:bloody_mary',
    'brewinandchewin:red_rum',
    'brewinandchewin:kombucha',
    'brewinandchewin:strongroot_ale',
    'farmersrespite:strong_black_tea',
    'farmersrespite:strong_rose_hip_tea',
    'farmersrespite:strong_coffee',
    'farmersrespite:strong_apple_cider',
    'farmersrespite:dandelion_tea',
  ]

  // 每个 menu_* 都应有一项，key 需与 10_menu_pool.js 的任务 key 一致
  global.cloudIslandKitchenMenu.rewardsByTask = {
    menu_beef_stew: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_bone_broth: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_chicken_soup: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_dumplings: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_cabbage_rolls: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_fish_stew: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_vegetable_noodles: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_stuffed_pumpkin: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_pumpkin_soup: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_baked_cod_stew: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_fried_rice: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_mushroom_rice: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_glow_berry_custard: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_noodle_soup: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_pasta_with_meatballs: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_smoked_ham: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_ratatouille: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_pasta_with_mutton_chop: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
    menu_squid_ink_pasta: [{ type: 'random_item', pool: DRINK_POOL, count: 1 }],
  }
})()
