{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "predicates": {
              "minecraft:custom_data": "{curse_book:tag}"
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "survivalplus:giant_deal/convert/takebook"
  }
}