[Feature] 1033 - Consume Quantity On Use (#1106)

* Initial migration

* Updated compendium YML

* Added Quantity as a possible cost

* Added quantity consumption to all Compendium Consumables

* .

* Added DestroyOnEmpty property
This commit is contained in:
WBHarry 2025-08-28 18:29:17 +02:00 committed by GitHub
parent 9dd773001d
commit 8fd63d5963
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
397 changed files with 1276 additions and 930 deletions

View file

@ -14,7 +14,16 @@
"description": "<p>After you drink this tea, you instantly kill your target when you critically succeed on an attack. If you dont critically succeed on an attack before your next long rest, you die.</p>",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"cost": [
{
"scalable": false,
"key": "quantity",
"value": 1,
"itemId": "xDnJeF1grkmKck8Q",
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
@ -36,6 +45,7 @@
}
},
"consumeOnUse": true,
"destroyOnEmpty": true,
"attribution": {
"source": "Daggerheart SRD",
"page": 62,
@ -101,10 +111,10 @@
"exportSource": null,
"coreVersion": "13.347",
"systemId": "daggerheart",
"systemVersion": "1.1.0",
"systemVersion": "1.2.0",
"createdTime": 1753592717630,
"modifiedTime": 1756041829971,
"lastModifiedBy": "vUIbuan0U50nfKBE"
"modifiedTime": 1756336445925,
"lastModifiedBy": "gbAAZWyczKwejDNh"
},
"_key": "!items!xDnJeF1grkmKck8Q"
}