Skip to content

Commit c8f9506

Browse files
authored
Merge pull request #1092 from jendave/roll_twice_three_times
add roll twice, roll three times functionality
2 parents 977cd6e + b391aa8 commit c8f9506

98 files changed

Lines changed: 2735 additions & 322 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Widen and lengthen Rollable Table rich text editor. Editing icons no longer wrap around and text box can show multiple lines. ([#1089](https://github.com/ben/foundry-ironsworn/pull/1089)).
77
- Add name and description fields to rollable tables. ([#1090](https://github.com/ben/foundry-ironsworn/pull/1090)).
88
- Add Lodestar Expanded Moves and Oracles.
9+
- Add "Roll twice" and "Roll three times" functionality to tables.
910

1011
## 1.28.0
1112

json-packs/delve-oracles/Category_a3327b88a5bd074f.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,32 @@
9999
91,
100100
100
101101
],
102-
"text": "Roll twice",
103-
"_key": "!tables.results!a3327b88a5bd074f.b3abc7f6766cd0db",
104-
"_id": "b3abc7f6766cd0db"
102+
"_id": "b3abc7f6766cd0db",
103+
"type": "document",
104+
"weight": 1,
105+
"drawn": false,
106+
"flags": {},
107+
"img": "icons/dice/d10black.svg",
108+
"description": "<p>Roll twice</p>",
109+
"name": "Category",
110+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.a3327b88a5bd074f",
111+
"_key": "!tables.results!a3327b88a5bd074f.b3abc7f6766cd0db"
112+
},
113+
{
114+
"range": [
115+
91,
116+
100
117+
],
118+
"_id": "d746bae635cff948",
119+
"type": "document",
120+
"weight": 1,
121+
"drawn": false,
122+
"flags": {},
123+
"img": "icons/dice/d10black.svg",
124+
"description": "<p>Roll twice</p>",
125+
"name": "Category",
126+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.a3327b88a5bd074f",
127+
"_key": "!tables.results!a3327b88a5bd074f.d746bae635cff948"
105128
}
106129
],
107130
"folder": "b42117d1724e54e9",

json-packs/delve-oracles/Primary_Form_845f91fcab961f20.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,32 @@
171171
81,
172172
100
173173
],
174-
"text": "Hybrid (roll twice)",
175-
"_key": "!tables.results!845f91fcab961f20.957b3a605b59bdcb",
176-
"_id": "957b3a605b59bdcb"
174+
"_id": "957b3a605b59bdcb",
175+
"type": "document",
176+
"weight": 1,
177+
"drawn": false,
178+
"flags": {},
179+
"img": "icons/dice/d10black.svg",
180+
"description": "<p>Hybrid (roll twice)</p>",
181+
"name": "Primary Form",
182+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.845f91fcab961f20",
183+
"_key": "!tables.results!845f91fcab961f20.957b3a605b59bdcb"
184+
},
185+
{
186+
"range": [
187+
81,
188+
100
189+
],
190+
"_id": "4837ea248f502cf9",
191+
"type": "document",
192+
"weight": 1,
193+
"drawn": false,
194+
"flags": {},
195+
"img": "icons/dice/d10black.svg",
196+
"description": "<p>Hybrid (roll twice)</p>",
197+
"name": "Primary Form",
198+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.845f91fcab961f20",
199+
"_key": "!tables.results!845f91fcab961f20.4837ea248f502cf9"
177200
}
178201
],
179202
"folder": "feaab449f5044ca1",

json-packs/delve-oracles/Reveal_a_Danger__alternate_version__95147fbd7fa7f4a5.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,32 @@
9999
95,
100100
100
101101
],
102-
"text": "Roll twice more on this table. Both results occur. If they are the same result, make it worse.",
103-
"_key": "!tables.results!95147fbd7fa7f4a5.6d3721912d3dfc23",
104-
"_id": "6d3721912d3dfc23"
102+
"_id": "6d3721912d3dfc23",
103+
"type": "document",
104+
"weight": 1,
105+
"drawn": false,
106+
"flags": {},
107+
"img": "icons/dice/d10black.svg",
108+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
109+
"name": "Reveal a Danger (alternate version)",
110+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.95147fbd7fa7f4a5",
111+
"_key": "!tables.results!95147fbd7fa7f4a5.6d3721912d3dfc23"
112+
},
113+
{
114+
"range": [
115+
95,
116+
100
117+
],
118+
"_id": "a4bda8c5357e9203",
119+
"type": "document",
120+
"weight": 1,
121+
"drawn": false,
122+
"flags": {},
123+
"img": "icons/dice/d10black.svg",
124+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
125+
"name": "Reveal a Danger (alternate version)",
126+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.95147fbd7fa7f4a5",
127+
"_key": "!tables.results!95147fbd7fa7f4a5.a4bda8c5357e9203"
105128
}
106129
],
107130
"folder": "0e08d4bb1591c3a9",

json-packs/delve-oracles/Reveal_a_Danger_f5b86c5fa202b8f5.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,32 @@
117117
95,
118118
100
119119
],
120-
"text": "Roll twice more on this table. Both results occur. If they are the same result, make it worse.",
121-
"_key": "!tables.results!f5b86c5fa202b8f5.b24ae24408966531",
122-
"_id": "b24ae24408966531"
120+
"_id": "b24ae24408966531",
121+
"type": "document",
122+
"weight": 1,
123+
"drawn": false,
124+
"flags": {},
125+
"img": "icons/dice/d10black.svg",
126+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
127+
"name": "Reveal a Danger",
128+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.f5b86c5fa202b8f5",
129+
"_key": "!tables.results!f5b86c5fa202b8f5.b24ae24408966531"
130+
},
131+
{
132+
"range": [
133+
95,
134+
100
135+
],
136+
"_id": "3bc7c008f1b8a1aa",
137+
"type": "document",
138+
"weight": 1,
139+
"drawn": false,
140+
"flags": {},
141+
"img": "icons/dice/d10black.svg",
142+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
143+
"name": "Reveal a Danger",
144+
"documentUuid": "Compendium.foundry-ironsworn.ironsworndelveoracles.RollTable.f5b86c5fa202b8f5",
145+
"_key": "!tables.results!f5b86c5fa202b8f5.3bc7c008f1b8a1aa"
123146
}
124147
],
125148
"folder": "0e08d4bb1591c3a9",

json-packs/ironsworn-oracles/Character_Goal_093f68d2fa077bd0.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,32 @@
306306
96,
307307
100
308308
],
309-
"text": "Roll twice",
310-
"_key": "!tables.results!093f68d2fa077bd0.2d43560b6391c725",
311-
"_id": "2d43560b6391c725"
309+
"_id": "2d43560b6391c725",
310+
"type": "document",
311+
"weight": 1,
312+
"drawn": false,
313+
"flags": {},
314+
"img": "icons/dice/d10black.svg",
315+
"description": "<p>Roll twice</p>",
316+
"name": "Character Goal",
317+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.093f68d2fa077bd0",
318+
"_key": "!tables.results!093f68d2fa077bd0.2d43560b6391c725"
319+
},
320+
{
321+
"range": [
322+
96,
323+
100
324+
],
325+
"_id": "f629dbc604a7cd79",
326+
"type": "document",
327+
"weight": 1,
328+
"drawn": false,
329+
"flags": {},
330+
"img": "icons/dice/d10black.svg",
331+
"description": "<p>Roll twice</p>",
332+
"name": "Character Goal",
333+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.093f68d2fa077bd0",
334+
"_key": "!tables.results!093f68d2fa077bd0.f629dbc604a7cd79"
312335
}
313336
],
314337
"folder": "aa60f0d1adbed892",

json-packs/ironsworn-oracles/Major_Plot_Twist_425cab9e4749acb0.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,32 @@
189189
96,
190190
100
191191
],
192-
"text": "Roll twice more on this table. Both results occur. If they are the same result, make it more dramatic.",
193-
"_key": "!tables.results!425cab9e4749acb0.0eceddc7e3e45269",
194-
"_id": "0eceddc7e3e45269"
192+
"_id": "0eceddc7e3e45269",
193+
"type": "document",
194+
"weight": 1,
195+
"drawn": false,
196+
"flags": {},
197+
"img": "icons/dice/d10black.svg",
198+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it more dramatic.</p>",
199+
"name": "Major Plot Twist",
200+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.425cab9e4749acb0",
201+
"_key": "!tables.results!425cab9e4749acb0.0eceddc7e3e45269"
202+
},
203+
{
204+
"range": [
205+
96,
206+
100
207+
],
208+
"_id": "2c6dea19ee0867e6",
209+
"type": "document",
210+
"weight": 1,
211+
"drawn": false,
212+
"flags": {},
213+
"img": "icons/dice/d10black.svg",
214+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it more dramatic.</p>",
215+
"name": "Major Plot Twist",
216+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.425cab9e4749acb0",
217+
"_key": "!tables.results!425cab9e4749acb0.2c6dea19ee0867e6"
195218
}
196219
],
197220
"folder": "b4c697d8bd353315",

json-packs/ironsworn-oracles/Mystic_Backlash_800b70d26ca31f93.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,32 @@
234234
97,
235235
100
236236
],
237-
"text": "Roll twice more on this table. Both results occur. If they are the same result, make it worse.",
238-
"_key": "!tables.results!800b70d26ca31f93.aa953366315f30ec",
239-
"_id": "aa953366315f30ec"
237+
"_id": "aa953366315f30ec",
238+
"type": "document",
239+
"weight": 1,
240+
"drawn": false,
241+
"flags": {},
242+
"img": "icons/dice/d10black.svg",
243+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
244+
"name": "Mystic Backlash",
245+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.800b70d26ca31f93",
246+
"_key": "!tables.results!800b70d26ca31f93.aa953366315f30ec"
247+
},
248+
{
249+
"range": [
250+
97,
251+
100
252+
],
253+
"_id": "9dde7c2e811f9e47",
254+
"type": "document",
255+
"weight": 1,
256+
"drawn": false,
257+
"flags": {},
258+
"img": "icons/dice/d10black.svg",
259+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
260+
"name": "Mystic Backlash",
261+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.800b70d26ca31f93",
262+
"_key": "!tables.results!800b70d26ca31f93.9dde7c2e811f9e47"
240263
}
241264
],
242265
"folder": "b4c697d8bd353315",

json-packs/ironsworn-oracles/Pay_the_Price_3fcb4ee313ec1534.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,32 @@
153153
99,
154154
100
155155
],
156-
"text": "Roll twice more on this table. Both results occur. If they are the same result, make it worse.",
157-
"_key": "!tables.results!3fcb4ee313ec1534.a8e034a2aa702aec",
158-
"_id": "a8e034a2aa702aec"
156+
"_id": "a8e034a2aa702aec",
157+
"type": "document",
158+
"weight": 1,
159+
"drawn": false,
160+
"flags": {},
161+
"img": "icons/dice/d10black.svg",
162+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
163+
"name": "Pay the Price",
164+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.3fcb4ee313ec1534",
165+
"_key": "!tables.results!3fcb4ee313ec1534.a8e034a2aa702aec"
166+
},
167+
{
168+
"range": [
169+
99,
170+
100
171+
],
172+
"_id": "c4fa27e232508c93",
173+
"type": "document",
174+
"weight": 1,
175+
"drawn": false,
176+
"flags": {},
177+
"img": "icons/dice/d10black.svg",
178+
"description": "<p>Roll twice more on this table. Both results occur. If they are the same result, make it worse.</p>",
179+
"name": "Pay the Price",
180+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.3fcb4ee313ec1534",
181+
"_key": "!tables.results!3fcb4ee313ec1534.c4fa27e232508c93"
159182
}
160183
],
161184
"folder": "88ca8e80b03ed3dd",

json-packs/ironsworn-oracles/Settlement_Trouble_07a1e0a1d0bbe788.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,32 @@
423423
91,
424424
100
425425
],
426-
"text": "Roll twice",
427-
"_key": "!tables.results!07a1e0a1d0bbe788.abdc5c44a0354ab2",
428-
"_id": "abdc5c44a0354ab2"
426+
"_id": "abdc5c44a0354ab2",
427+
"type": "document",
428+
"weight": 1,
429+
"drawn": false,
430+
"flags": {},
431+
"img": "icons/dice/d10black.svg",
432+
"description": "<p>Roll twice</p>",
433+
"name": "Settlement Trouble",
434+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.07a1e0a1d0bbe788",
435+
"_key": "!tables.results!07a1e0a1d0bbe788.abdc5c44a0354ab2"
436+
},
437+
{
438+
"range": [
439+
91,
440+
100
441+
],
442+
"_id": "2ab8da06bd501734",
443+
"type": "document",
444+
"weight": 1,
445+
"drawn": false,
446+
"flags": {},
447+
"img": "icons/dice/d10black.svg",
448+
"description": "<p>Roll twice</p>",
449+
"name": "Settlement Trouble",
450+
"documentUuid": "Compendium.foundry-ironsworn.ironswornoracles.RollTable.07a1e0a1d0bbe788",
451+
"_key": "!tables.results!07a1e0a1d0bbe788.2ab8da06bd501734"
429452
}
430453
],
431454
"folder": "1a0cbf46c7e7fb26",

0 commit comments

Comments
 (0)