{
  "criteria": {
    "consume_stew": {
      "trigger": "minecraft:effects_changed",
      "conditions": {
        "effects": {
          "minecraft:luck": {
            "amplifier": 244,
            "visible": false
          }
        }
      }
    }
  },
  "requirements": [
    [
      "consume_stew"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/foods/dirty_food_use"
  }
}