[feature] Action UsesButton (#662)

* Added a button to spend/restore uses of an action

* Fixed some compendium Uses on actions

* Went over all item compendia and fixed some Uses on actions

* Fixed folder order in Subclass compendium
This commit is contained in:
WBHarry 2025-08-07 01:10:56 +02:00 committed by GitHub
parent ead2f6b8f3
commit a1a3ccc461
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 471 additions and 358 deletions

View file

@ -6,13 +6,7 @@
"img": "icons/magic/nature/tree-twisted-glow-yellow.webp",
"system": {
"description": "<p>Once per long rest, you can create a space of natural serenity within Close range. When you spend a few minutes resting within the space, clear Stress equal to your Instinct, distributed as you choose between you and your allies.</p>",
"resource": {
"type": "simple",
"value": 1,
"recovery": "longRest",
"max": "1",
"icon": ""
},
"resource": null,
"actions": {
"az7YUpxy1ysn12tO": {
"type": "healing",
@ -108,7 +102,7 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754179740310,
"modifiedTime": 1754353339637,
"modifiedTime": 1754496518048,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!etaQ01yGJhBLDUqZ"

View file

@ -6,13 +6,7 @@
"img": "icons/skills/social/theft-pickpocket-bribery-brown.webp",
"system": {
"description": "<p>Once per session, you can briefly call on a shady contact. Choose one of the following benefits and describe what brought them here to help you in this moment: </p><ul><li><p>They provide 1 handful of gold, a unique tool, or a mundane object that the situation requires.</p></li><li><p>On your next action roll, their help provides a +3 bonus to the result of your Hope or Fear Die. </p></li><li><p>The next time you deal damage, they snipe from the shadows, adding 2d8 to your damage roll.</p></li></ul>",
"resource": {
"type": "simple",
"value": 1,
"max": "",
"icon": "",
"recovery": "session"
},
"resource": null,
"actions": {
"GZDYjtPh0lCJ5VNq": {
"type": "effect",
@ -24,16 +18,17 @@
"cost": [
{
"scalable": false,
"key": "cXbRm744mW6UXGam",
"key": "hitPoints",
"value": 1,
"keyIsID": true,
"step": null
"keyIsID": false,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"recovery": null
"max": "1",
"recovery": "session"
},
"effects": [],
"target": {
@ -63,8 +58,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754320389008,
"modifiedTime": 1754322535699,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754496752362,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!cXbRm744mW6UXGam"
}

View file

@ -5,15 +5,7 @@
"img": "icons/skills/social/diplomacy-writing-letter.webp",
"system": {
"description": "<p>Your moving words boost morale. Once per session, when you encourage an ally, you can do one of the following: </p><ul><li><p>Allow them to find a mundane object or tool they need.</p></li><li><p>Help an Ally without spending Hope.</p></li><li><p>Give them an additional downtime move during their next rest.</p></li></ul>",
"resource": {
"type": "simple",
"value": 1,
"recovery": "session",
"max": "1",
"icon": "",
"diceStates": {},
"dieFaces": "d4"
},
"resource": null,
"actions": {
"o1MWnafbLsXnvSUl": {
"type": "effect",
@ -25,8 +17,8 @@
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null
"max": "1",
"recovery": "session"
},
"effects": [],
"target": {
@ -51,8 +43,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754174646194,
"modifiedTime": 1754236474581,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754494786779,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"ownership": {
"default": 0,

View file

@ -16,9 +16,9 @@
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null
"value": 0,
"max": "1",
"recovery": "longRest"
},
"damage": {
"parts": [
@ -83,9 +83,9 @@
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null
"value": 0,
"max": "1",
"recovery": "longRest"
},
"effects": [
{
@ -110,8 +110,8 @@
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"value": 0,
"max": "1",
"recovery": "longRest"
},
"damage": {
@ -228,8 +228,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754174646194,
"modifiedTime": 1754236401349,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754475491670,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"ownership": {
"default": 0,

View file

@ -7,7 +7,31 @@
"system": {
"description": "<p>Once per long rest, when the damage from an attack would mark your companions last Stress or your last Hit Point and youre within Close range of each other, you or your companion can rush to the others side and take that damage instead.</p>",
"resource": null,
"actions": {},
"actions": {
"Z82YQzYWo4eektMa": {
"type": "effect",
"_id": "Z82YQzYWo4eektMa",
"systemPath": "actions",
"description": "<p>Once per long rest, when the damage from an attack would mark your companions last Stress or your last Hit Point and youre within Close range of each other, you or your companion can rush to the others side and take that damage instead.</p>",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "1",
"recovery": "longRest",
"consumeOnSuccess": false
},
"effects": [],
"target": {
"type": "any",
"amount": null
},
"name": "Rush",
"img": "icons/creatures/mammals/humanoid-wolf-dog-blue.webp",
"range": "close"
}
},
"originItemType": null,
"originId": null
},
@ -26,8 +50,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754267956703,
"modifiedTime": 1754267994139,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754496703770,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!xjZHD5Yo3Tu26rLm"
}

View file

@ -5,15 +5,7 @@
"img": "icons/tools/instruments/megaphone.webp",
"system": {
"description": "<p><strong>Once per long rest</strong>, you can give a heartfelt, inspiring speech. <strong>All allies</strong> within <strong>Far</strong> range <strong>clear 2 Stress</strong>.</p>",
"resource": {
"type": "simple",
"value": 1,
"max": "1",
"icon": "",
"recovery": "longRest",
"diceStates": {},
"dieFaces": "d4"
},
"resource": null,
"actions": {
"WNtHiko4DRGbxKnm": {
"type": "healing",
@ -25,15 +17,16 @@
"cost": [
{
"scalable": false,
"key": "iLytX899psvrPRnG",
"key": "hitPoints",
"value": 1,
"keyIsID": true,
"step": null
"keyIsID": false,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"max": "1",
"recovery": "longRest"
},
"damage": {
@ -104,8 +97,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754174646194,
"modifiedTime": 1754236406644,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754494763682,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"ownership": {
"default": 0,

View file

@ -9,8 +9,9 @@
"resource": {
"type": "simple",
"value": 1,
"progression": "decreasing",
"max": "1",
"icon": "",
"icon": "fa-solid fa-hands-praying",
"recovery": "longRest"
},
"actions": {
@ -69,7 +70,7 @@
},
"target": {
"type": "any",
"amount": null
"amount": 1
},
"effects": [],
"roll": {
@ -98,7 +99,16 @@
"description": "<p><span style=\"color: rgb(239, 230, 216); font-family: Montserrat, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgba(24, 22, 46, 0.376); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none\">Once per long rest, touch a creature and clear 2 Hit Points or 2 Stress from them.</span></p>",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"cost": [
{
"scalable": false,
"key": "GfOSgVJW8bS1OjNq",
"value": 1,
"keyIsID": true,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
@ -137,7 +147,7 @@
},
"target": {
"type": "any",
"amount": null
"amount": 1
},
"effects": [],
"roll": {

View file

@ -6,15 +6,7 @@
"img": "icons/magic/fire/elemental-fire-flying.webp",
"system": {
"description": "<p>Once per long rest, you can transform into a physical manifestation of your element. When you do, describe your transformation and choose two of the following benefits to gain until your next rest:</p><ul><li><p>+4 bonus to your Severe threshold</p></li><li><p>+1 bonus to a character trait of your choice</p></li><li><p>+1 bonus to your Proficiency</p></li><li><p>+2 bonus to your Evasion</p></li></ul>",
"resource": {
"type": "simple",
"value": 1,
"max": "1",
"icon": "",
"recovery": "longRest",
"diceStates": {},
"dieFaces": "d4"
},
"resource": null,
"actions": {
"RIbyJjEkCgqoDmyn": {
"type": "effect",
@ -26,17 +18,17 @@
"cost": [
{
"scalable": false,
"key": "th6HZwEFnVBjUtqm",
"key": "hitPoints",
"value": 1,
"keyIsID": true,
"keyIsID": false,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"recovery": null,
"max": "1",
"recovery": "longRest",
"consumeOnSuccess": false
},
"effects": [],
@ -250,8 +242,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754349515898,
"modifiedTime": 1754349515898,
"lastModifiedBy": "Q9NoTaEarn3VMS6Z"
"modifiedTime": 1754497438787,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!th6HZwEFnVBjUtqm"
}

View file

@ -6,13 +6,7 @@
"img": "icons/magic/nature/barrier-shield-wood-vines.webp",
"system": {
"description": "<p>Once per long rest, spend 2 Hope to clear 2 Hit Points on 1d4 allies within Close range.</p>",
"resource": {
"type": "simple",
"value": 1,
"max": "1",
"icon": "",
"recovery": "longRest"
},
"resource": null,
"actions": {
"ozYzhQfRt5sp19di": {
"type": "healing",
@ -23,7 +17,7 @@
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"value": 0,
"max": "1",
"recovery": "longRest",
"consumeOnSuccess": false
@ -101,7 +95,7 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754183079986,
"modifiedTime": 1754353582707,
"modifiedTime": 1754496541966,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!2F1bUFY80oce97C9"

View file

@ -6,7 +6,7 @@
"sorting": "m",
"_id": "0DMzpFZB8A6vwpRX",
"description": "",
"sort": 200000,
"sort": 1000000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754236641265,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501841544,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!0DMzpFZB8A6vwpRX"
}

View file

@ -6,7 +6,7 @@
"sorting": "m",
"_id": "AZWrSJzGXltzQhAJ",
"description": "",
"sort": 300000,
"sort": 1100000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754236669632,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501843662,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!AZWrSJzGXltzQhAJ"
}

View file

@ -6,7 +6,7 @@
"sorting": "m",
"_id": "WMlU3baiUdMgfuak",
"description": "",
"sort": 400000,
"sort": 1200000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754245852289,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501845702,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!WMlU3baiUdMgfuak"
}

View file

@ -6,7 +6,7 @@
"sorting": "m",
"_id": "ArVAtkgkm5bYpKHL",
"description": "",
"sort": 500000,
"sort": 1300000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754268221221,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501849009,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!ArVAtkgkm5bYpKHL"
}

View file

@ -6,7 +6,7 @@
"sorting": "m",
"_id": "36dtJE1CPjPt76pP",
"description": "",
"sort": 550000,
"sort": 1400000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754322803534,
"modifiedTime": 1754322806911,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501852870,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!36dtJE1CPjPt76pP"
}

View file

@ -6,7 +6,7 @@
"sorting": "a",
"_id": "RZOEu0ZYQNPs6O2c",
"description": "",
"sort": 0,
"sort": 1500000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754352793139,
"modifiedTime": 1754352793139,
"lastModifiedBy": "Q9NoTaEarn3VMS6Z"
"modifiedTime": 1754501855742,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!RZOEu0ZYQNPs6O2c"
}

View file

@ -6,7 +6,7 @@
"sorting": "a",
"_id": "F0mW5ofdyyfE2hHo",
"description": "",
"sort": 800000,
"sort": 1600000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754349604935,
"modifiedTime": 1754349604956,
"lastModifiedBy": "Q9NoTaEarn3VMS6Z"
"modifiedTime": 1754501856827,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!F0mW5ofdyyfE2hHo"
}

View file

@ -6,7 +6,7 @@
"sorting": "m",
"_id": "Sfpr4iK1cGrmncok",
"description": "",
"sort": 100000,
"sort": 900000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754174646170,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501800511,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!Sfpr4iK1cGrmncok"
}

View file

@ -6,7 +6,7 @@
"sorting": "a",
"_id": "aTyhcJgENR9uI7u4",
"description": "",
"sort": 600000,
"sort": 1700000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754256060634,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501859285,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!aTyhcJgENR9uI7u4"
}

View file

@ -6,7 +6,7 @@
"sorting": "a",
"_id": "Bb9SLVpYHGBrOB59",
"description": "",
"sort": 700000,
"sort": 1800000,
"flags": {},
"_stats": {
"compendiumSource": null,
@ -16,8 +16,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754253525540,
"modifiedTime": 1754268224220,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754501860252,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!folders!Bb9SLVpYHGBrOB59"
}