[
  {
    "function": "minecraft:copy_nbt",
    "source": {
      "type": "minecraft:storage",
      "source": "sanguine:storage"
    },
    "ops": [
      {
        "source": "root.temp.item.tag",
        "target": "{}",
        "op": "merge"
      }
    ]
  },
  {
    "function": "minecraft:set_nbt",
    "tag": "{CustomModelData:8361008,sanguine:{state:0}}"
  },
  {
    "function": "minecraft:set_lore",
    "entity": "this",
    "lore": [
      {
        "translate": "item.sanguine.blood_oath.lore",
        "color": "dark_gray",
        "italic": true
      },
      {
        "translate": "item.sanguine.sanguine_chalice.lore",
        "with": [
          {
            "text": "0"
          },
          {
            "text": "5"
          }
        ],
        "color": "gray",
        "italic": false
      },
      {
        "translate": "pack.sanguine",
        "color": "#880f0f",
        "italic": true
      }
    ],
    "replace": true
  }
]
