mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
[Feature] RollTable Improvements (#1552)
* Initial - Branch Test * reorganized path for better usage * something to mess with * registration things * . * root-template error * pushing in for the day * hook? * help? * . * implementation initial * updated comment * overcomplicated it * . * Added Formula select to view mode * . * Prettied up roll-results template * Removed SRD table descriptions * Improved draw result description css * Fallback for default dark dice * . --------- Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
This commit is contained in:
parent
fdb6412c8c
commit
a78ef1f70c
20 changed files with 660 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "Consumables",
|
||||
"img": "icons/consumables/potions/bottle-corked-red.webp",
|
||||
"description": "<p>To generate a random consumable, choose a rarity, roll the designated dice, and match the total to the item in the table:</p><ul><li><p>Common: 1d12 or 2d12</p></li><li><p>Uncommon: 2d12 or 3d12</p></li><li><p>Rare: 3d12 or 4d12</p></li><li><p>Legendary: 4d12 or 5d12</p></li></ul>",
|
||||
"description": "",
|
||||
"results": [
|
||||
{
|
||||
"type": "document",
|
||||
|
|
@ -1511,8 +1511,27 @@
|
|||
"default": 0,
|
||||
"Bgvu4A6AMkRFOTGR": 3
|
||||
},
|
||||
"flags": {},
|
||||
"formula": "1d60",
|
||||
"flags": {
|
||||
"daggerheart": {
|
||||
"activeAltFormula": "",
|
||||
"formulaName": "Common",
|
||||
"altFormula": {
|
||||
"uoUn5fRTUkyg6U2G": {
|
||||
"name": "Uncommon",
|
||||
"formula": "3d12"
|
||||
},
|
||||
"FGxM2yoxUUUd9Eov": {
|
||||
"name": "Rare",
|
||||
"formula": "4d12"
|
||||
},
|
||||
"HZ2hRBxu0k8IW0jC": {
|
||||
"name": "Legendary",
|
||||
"formula": "5d12"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"formula": "2d12",
|
||||
"_id": "tF04P02yVN1YDVel",
|
||||
"sort": 300000,
|
||||
"_key": "!tables!tF04P02yVN1YDVel"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "Loot",
|
||||
"img": "icons/commodities/treasure/brooch-gold-ruby.webp",
|
||||
"description": "<p>To generate a random item, choose a rarity, roll the designated dice, and match the total to the item in the table: </p><ul><li><p> Common: 1d12 or 2d12 </p></li><li><p>Uncommon: 2d12 or 3d12 </p></li><li><p>Rare: 3d12 or 4d12 </p></li><li><p>Legendary: 4d12 or 5d12</p></li></ul>",
|
||||
"description": "",
|
||||
"results": [
|
||||
{
|
||||
"type": "document",
|
||||
|
|
@ -1511,8 +1511,27 @@
|
|||
"default": 0,
|
||||
"Bgvu4A6AMkRFOTGR": 3
|
||||
},
|
||||
"flags": {},
|
||||
"formula": "1d60",
|
||||
"flags": {
|
||||
"daggerheart": {
|
||||
"activeAltFormula": "",
|
||||
"formulaName": "Common",
|
||||
"altFormula": {
|
||||
"hJJtajaMk14bYM4X": {
|
||||
"name": "Uncommon",
|
||||
"formula": "3d12"
|
||||
},
|
||||
"yDVeXdKpG7LzjHWa": {
|
||||
"name": "Rare",
|
||||
"formula": "4d12"
|
||||
},
|
||||
"qPHNIuUgWAHauI6V": {
|
||||
"name": "Legendary",
|
||||
"formula": "5d12"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"formula": "2d12",
|
||||
"_id": "S61Shlt2I5CbLRjz",
|
||||
"sort": 200000,
|
||||
"_key": "!tables!S61Shlt2I5CbLRjz"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "Table of Random Objectives",
|
||||
"name": "Random Objectives",
|
||||
"img": "icons/sundries/documents/document-torn-diagram-tan.webp",
|
||||
"description": "<p>Layering Goals Other than Attrition into Combat</p>",
|
||||
"description": "",
|
||||
"results": [
|
||||
{
|
||||
"type": "text",
|
||||
|
|
@ -311,7 +311,20 @@
|
|||
"default": 0,
|
||||
"Bgvu4A6AMkRFOTGR": 3
|
||||
},
|
||||
"flags": {},
|
||||
"flags": {
|
||||
"daggerheart": {
|
||||
"formulaName": "Roll Formula",
|
||||
"altFormula": {},
|
||||
"activeAltFormula": null,
|
||||
"flags": {
|
||||
"daggerheart": {
|
||||
"formulaName": "Roll Formula",
|
||||
"altFormula": {},
|
||||
"activeAltFormula": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"formula": "1d12",
|
||||
"_id": "I5L1dlgxXTNrCCkL",
|
||||
"sort": 400000,
|
||||
Loading…
Add table
Add a link
Reference in a new issue