Skip to content

Commit

Permalink
PUM V8-1 preview
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed Jan 30, 2024
1 parent 8b32bc8 commit 76fcb8f
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 35 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2.9.14
* Feature: Plot unfolding machine to preview v8-1

### 2.9.13
* Feature: Scene unfolding machine v6
* Enhancement: PUM oracle questions now prompt
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"ko-fi": "https://ko-fi.com/jeansenvaars"
}
],
"version": "2.9.13",
"version": "2.9.14",
"url": "https://github.com/saif-ellafi/foundryvtt-mythic-gme.git",
"manifest": "https://github.com/saif-ellafi/foundryvtt-mythic-gme/releases/latest/download/module.json",
"download": "https://github.com/saif-ellafi/foundryvtt-mythic-gme/releases/download/2.9.13/foundryvtt-mythic-gme_2.9.13.zip",
"download": "https://github.com/saif-ellafi/foundryvtt-mythic-gme/releases/download/2.9.14/foundryvtt-mythic-gme_2.9.14.zip",
"changelog": "https://github.com/saif-ellafi/foundryvtt-mythic-gme/blob/master/CHANGELOG.md",
"compatibility": {
"minimum": "11",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foundryvtt-mythic-gme",
"version": "2.9.13",
"version": "2.9.14",
"description": "A set of Macros and Random Tables for playing with the Mythic Game Master Emulator",
"main": "mythic-gme-tools.js",
"scripts": {
Expand Down
Binary file removed packs/plot-unfolding-machine/000143.ldb
Binary file not shown.
File renamed without changes.
Binary file added packs/plot-unfolding-machine/000156.ldb
Binary file not shown.
2 changes: 1 addition & 1 deletion packs/plot-unfolding-machine/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000139
MANIFEST-000152
30 changes: 15 additions & 15 deletions packs/plot-unfolding-machine/LOG
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
2024/01/25-23:17:10.026941 7f05722006c0 Recovering log #138
2024/01/25-23:17:10.029036 7f05722006c0 Delete type=0 #138
2024/01/25-23:17:10.029074 7f05722006c0 Delete type=3 #137
2024/01/26-00:01:01.496583 7f05f76006c0 Level-0 table #142: started
2024/01/26-00:01:01.498336 7f05f76006c0 Level-0 table #142: 27376 bytes OK
2024/01/26-00:01:01.499218 7f05f76006c0 Delete type=0 #140
2024/01/26-00:01:01.503568 7f05f76006c0 Manual compaction at level-0 from '!tables!06uczVGH6OTYz7Ca' @ 72057594037927935 : 1 .. '!tables.results!zo3xReHcpsYE2V1F.uaK9mf6N5L7RNKsW' @ 0 : 0; will stop at (end)
2024/01/26-00:01:01.504743 7f05f76006c0 Manual compaction at level-1 from '!tables!06uczVGH6OTYz7Ca' @ 72057594037927935 : 1 .. '!tables.results!zo3xReHcpsYE2V1F.uaK9mf6N5L7RNKsW' @ 0 : 0; will stop at '!tables.results!f7P8OUZYnSH5DWaW.wKW7fT9IoGWjxprQ' @ 12106 : 0
2024/01/26-00:01:01.504770 7f05f76006c0 Compacting 1@1 + 1@2 files
2024/01/26-00:01:01.509251 7f05f76006c0 Generated table #143@1: 1221 keys, 136225 bytes
2024/01/26-00:01:01.509277 7f05f76006c0 Compacted 1@1 + 1@2 files => 136225 bytes
2024/01/26-00:01:01.510179 7f05f76006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/01/26-00:01:01.510284 7f05f76006c0 Delete type=2 #130
2024/01/26-00:01:01.510381 7f05f76006c0 Delete type=2 #142
2024/01/26-00:01:01.531194 7f05f76006c0 Manual compaction at level-1 from '!tables.results!f7P8OUZYnSH5DWaW.wKW7fT9IoGWjxprQ' @ 12106 : 0 .. '!tables.results!zo3xReHcpsYE2V1F.uaK9mf6N5L7RNKsW' @ 0 : 0; will stop at (end)
2024/01/30-22:42:48.526 4a8c Recovering log #151
2024/01/30-22:42:48.530 4a8c Delete type=0 #151
2024/01/30-22:42:48.530 4a8c Delete type=3 #150
2024/01/30-23:20:31.204 29c4 Level-0 table #155: started
2024/01/30-23:20:31.206 29c4 Level-0 table #155: 17900 bytes OK
2024/01/30-23:20:31.208 29c4 Delete type=0 #153
2024/01/30-23:20:31.208 29c4 Manual compaction at level-0 from '!tables!06uczVGH6OTYz7Ca' @ 72057594037927935 : 1 .. '!tables.results!zo3xReHcpsYE2V1F.uaK9mf6N5L7RNKsW' @ 0 : 0; will stop at (end)
2024/01/30-23:20:31.209 29c4 Manual compaction at level-1 from '!tables!06uczVGH6OTYz7Ca' @ 72057594037927935 : 1 .. '!tables.results!zo3xReHcpsYE2V1F.uaK9mf6N5L7RNKsW' @ 0 : 0; will stop at '!tables.results!w1j5OM647PEVHVrd.yYk5iObFPrYMLzqk' @ 13088 : 0
2024/01/30-23:20:31.209 29c4 Compacting 1@1 + 1@2 files
2024/01/30-23:20:31.213 29c4 Generated table #156@1: 1214 keys, 135158 bytes
2024/01/30-23:20:31.213 29c4 Compacted 1@1 + 1@2 files => 135158 bytes
2024/01/30-23:20:31.215 29c4 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/01/30-23:20:31.215 29c4 Delete type=2 #143
2024/01/30-23:20:31.215 29c4 Delete type=2 #155
2024/01/30-23:20:31.221 29c4 Manual compaction at level-1 from '!tables.results!w1j5OM647PEVHVrd.yYk5iObFPrYMLzqk' @ 13088 : 0 .. '!tables.results!zo3xReHcpsYE2V1F.uaK9mf6N5L7RNKsW' @ 0 : 0; will stop at (end)
6 changes: 3 additions & 3 deletions packs/plot-unfolding-machine/LOG.old
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
2024/01/24-17:32:54.565 5afc Recovering log #136
2024/01/24-17:32:54.569 5afc Delete type=0 #136
2024/01/24-17:32:54.569 5afc Delete type=3 #135
2024/01/26-01:16:45.854418 7fc550c006c0 Recovering log #149
2024/01/26-01:16:45.856618 7fc550c006c0 Delete type=0 #149
2024/01/26-01:16:45.856650 7fc550c006c0 Delete type=3 #148
Binary file removed packs/plot-unfolding-machine/MANIFEST-000139
Binary file not shown.
Binary file added packs/plot-unfolding-machine/MANIFEST-000152
Binary file not shown.
2 changes: 2 additions & 0 deletions src/app/panel-pum-v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default class PUMV8Panel extends MGMEPanel {
html.find("#pum_qqd").click(api.pumV8Deterministic);
html.find("#pum_qqi").click(api.pumV8Interaction);

html.find("#pum_disd").click(api.pumV8Disruption);

html.find("#pum_who").click(api.pumV8Someone);
html.find("#pum_want").click(api.pumV8Intent);
html.find("#pum_doing").click(api.pumV8Activity);
Expand Down
8 changes: 8 additions & 0 deletions src/logic/pum-v8-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ export default class PUMV8Core {
});
}

static pumV8Disruption() {
MGMEOracleUtils._mgmeSimpleTableOracle(
{name: 'PUM v8 - Disruption'},
'Disruption check',
false
);
}

static pumV8Someone() {
MGMEOracleUtils._mgmeSimpleTableOracle(
{name: 'PUM v8 - Someone'},
Expand Down
2 changes: 2 additions & 0 deletions src/mgme-macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ export default class MGMEMacroAPI {
static pumV8Deterministic = PUMV8Core.pumV8Deterministic;
static pumV8Interaction = PUMV8Core.pumV8Interaction;

static pumV8Disruption = PUMV8Core.pumV8Disruption;

static pumV8Someone = PUMV8Core.pumV8Someone;
static pumV8Intent = PUMV8Core.pumV8Intent;
static pumV8Activity = PUMV8Core.pumV8Activity;
Expand Down
24 changes: 13 additions & 11 deletions template/panel-pum-v8.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
<td class='spaced' colspan="1"><button id="pum_chll">Challenge</button></td>
<td class='spaced' colspan="1"><button id="pum_sit">Situation</button></td>
</tr>
<tr>
<td class='spaced' colspan="4"><button id="pum_disd">Disruption check</button></td>
</tr>
<tr>
<td colspan="4"><h5 style="text-align:center; margin-bottom: 0; margin-top: 0">Yes or No oracles</h5></td>
</tr>
Expand All @@ -72,33 +75,32 @@
<td colspan="4"><h5 style="text-align:center; margin-bottom: 0; margin-top: 0">Open oracles</h5></td>
</tr>
<tr>
<td class='spaced' colspan="1"><button id="pum_who">Someone (who?)</button></td>
<td class='spaced' colspan="1"><button id="pum_who">Someone (who)</button></td>
<td class='spaced' colspan="2"><button id="pum_want">Intent (want)</button></td>
<td class='spaced' colspan="1"><button id="pum_doing">Activity (doing)</button></td>
</tr>
<tr>
<td class='spaced' colspan="1"><button id="pum_where">Place (where?)</button></td>
<td class='spaced' colspan="2"><button id="pum_why">Reason (why?)</button></td>
<td class='spaced' colspan="1"><button id="pum_how">Explain (how?)</button></td>
<td class='spaced' colspan="1"><button id="pum_where">Place (where)</button></td>
<td class='spaced' colspan="2"><button id="pum_why">Reason (why)</button></td>
<td class='spaced' colspan="1"><button id="pum_how">Explain (how)</button></td>
</tr>
<tr>
<td class='spaced' colspan="4"><button id="pum_focus">Focus (what?)</button></td>
<td class='spaced' colspan="4"><button id="pum_focus">Focus (what)</button></td>
</tr>
<tr>
<td colspan="4"><h5 style="text-align:center; margin-bottom: 0; margin-top: 0">Quantifier oracles</h5></td>
</tr>
<tr>
<td class='spaced' colspan="1"><button id="pum_qhma">How many?</button></td>
<td class='spaced' colspan="1"><button id="pum_qhmu">How much?</button></td>
<td class='spaced' colspan="1"><button id="pum_qhw">How well?</button></td>
<td class='spaced' colspan="1"><button id="pum_qhh">How hard?</button></td>
<td class='spaced' colspan="1"><button id="pum_qhma">How many/much</button></td>
<td class='spaced' colspan="2"><button id="pum_qhh">How hard/tough</button></td>
<td class='spaced' colspan="1"><button id="pum_qhw">How good/well</button></td>
</tr>
<tr>
<td colspan="4"><h5 style="text-align:center; margin-bottom: 0; margin-top: 0">Extra oracles</h5></td>
</tr>
<tr>
<td class='spaced' colspan="1"><button id="pum_when">Time (when?)</button></td>
<td class='spaced' colspan="2"><button id="pum_whatfor">Object (what for?)</button></td>
<td class='spaced' colspan="1"><button id="pum_when">Time (when)</button></td>
<td class='spaced' colspan="2"><button id="pum_whatfor">Object (what for)</button></td>
<td class='spaced' colspan="1"><button id="pum_skill">Fight (skill)</button></td>
</tr>
<tr>
Expand Down

0 comments on commit 76fcb8f

Please sign in to comment.