Skip to content

Commit

Permalink
GUM rules
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed Apr 7, 2023
1 parent 5163f3f commit f0013a1
Show file tree
Hide file tree
Showing 16 changed files with 1,157 additions and 63 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2.8.0
* Enhancement: Included the rulesets for my Game Unfolding Machine homebrew

### 2.7.1
* Enhancement: Mythic 2nd Edition and PUM panels now vertically resizable
* Bugfix: Event meaning tables of Mythic 2nd edition rolls twice now
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Mythic GME Tools provides everything needed for playing Mythic GM Emulator with

**Supported ruleset**: Mythic (Blue Book), Mythic Variations 1, Mythic Variations 2, Mythic 2nd Edition

**Extra rulesets**: Game Apprentice Cards, The Adventure Crafter Cards, Plot Unfolding Machine, Tricube Tales Countdown Cards
**Extra rulesets**: Game Apprentice Cards, The Adventure Crafter Cards, Plot Unfolding Machine, Game Unfolding Machine, Tricube Tales Countdown Cards

### _Created by: JeansenVaars_
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/V7V14D3AH)
Expand Down Expand Up @@ -137,6 +137,12 @@ This Solo system can be played with Mythic or on its own, and it focuses on plac

Check it out if getting stuck in your Solo or GMLess games is an often-issue, because PUM is designed to help with Scene Setup proposals.

#### Game Unfolding Machine

This GM Emulator is action driven and focuses on getting you started with a solo adventure [HERE](https://jeansenvaars.itch.io/game-unfolding-machine) :)

Check it out if you'd like to try something different in your adventures.

![pum-example.png](pum-example.png)

#### Game Master's Apprentice Cards
Expand Down
12 changes: 10 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.7.1",
"version": "2.8.0",
"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.7.1/foundryvtt-mythic-gme_2.7.1.zip",
"download": "https://github.com/saif-ellafi/foundryvtt-mythic-gme/releases/download/2.8.0/foundryvtt-mythic-gme_2.8.0.zip",
"changelog": "https://github.com/saif-ellafi/foundryvtt-mythic-gme/blob/master/CHANGELOG.md",
"compatibility": {
"minimum": "10",
Expand Down Expand Up @@ -131,6 +131,14 @@
"module": "mythic-gme-tools",
"type": "RollTable",
"private": true
},
{
"name": "game-unfolding-machine",
"label": "Game Unfolding Machine Tables",
"path": "packs/game-unfolding-machine.db",
"module": "mythic-gme-tools",
"type": "RollTable",
"private": true
}
]
}
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.7.1",
"version": "2.8.0",
"description": "A set of Macros and Random Tables for playing with the Mythic Game Master Emulator",
"main": "mythic-gme-tools.js",
"scripts": {
Expand Down
51 changes: 51 additions & 0 deletions packs/game-unfolding-machine.db

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/app/panel-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export default class MGMEPanel extends Application {
case 'pum_core': {
break;
}
case 'gum_core': {
break;
}
}
}
}
Expand Down
106 changes: 106 additions & 0 deletions src/app/panel-gum.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
import MGMEPanel from "./panel-base";

export default class GUMPanel extends MGMEPanel {

static get defaultOptions() {
return mergeObject(super.defaultOptions, {
id: "gum_panel_window",
title: 'Game Unfolding Machine',
template: "./modules/mythic-gme-tools/template/panel-gum.hbs"
});
}

activateListeners(html) {
const api = game.modules.get('mythic-gme-tools').api;

html.find("#gum_qqgm_n").click(() => {
api.gumQuestionGM('1d20dis')
})
html.find("#gum_qqgm_u").click(() => {
api.gumQuestionGM('1d20dis')
})
html.find("#gum_qqgm_y").click(() => {
api.gumQuestionGM('1d20dis')
})

html.find("#gum_qqpc_n").click(() => {
api.gumQuestionPC('1d20dis')
})
html.find("#gum_qqpc_u").click(() => {
api.gumQuestionPC('1d20dis')
})
html.find("#gum_qqpc_y").click(() => {
api.gumQuestionPC('1d20dis')
})

html.find("#gum_qqnpc_n").click(() => {
api.gumQuestionNPC('1d20dis')
})
html.find("#gum_qqnpc_u").click(() => {
api.gumQuestionNPC('1d20dis')
})
html.find("#gum_qqnpc_y").click(() => {
api.gumQuestionNPC('1d20dis')
})

html.find("#gum_act").click(api.gumGrandAction);
html.find("#gum_desc").click(api.gumGrandDescriptor);
html.find("#gum_sub").click(api.gumGrandSubject);

html.find("#gum_pc_safe").click(api.gumPlanCheckSafe);
html.find("#gum_pc_risky").click(api.gumPlanCheckRisky);
html.find("#gum_pc_tense").click(api.gumPlanCheckTense);
html.find("#gum_pc_explo").click(api.gumPlanCheckExploding);

html.find("#gum_pc_circ").click(api.gumPlanCheckCircumstance);
html.find("#gum_pc_comp").click(api.gumPlanCheckComplication);
html.find("#gum_pc_inc").click(api.gumPlanCheckInconvenience);
html.find("#gum_pc_prob").click(api.gumPlanCheckProblem);

html.find("#gum_intervention").click(api.gumGMIntervention);
html.find("#gum_scene").click(api.gumSceneDesign);
html.find("#gum_skill").click(api.gumChallenge);

html.find("#gum_combat_beh").click(api.gumCombatBehavior);
html.find("#gum_combat_comp").click(api.gumCombatComposition);
html.find("#gum_combat_cond").click(api.gumCombatConditions);
html.find("#gum_combat_tac").click(api.gumCombatTactical);

html.find("#gum_locid_build").click(api.gumLocationIdBuilding);
html.find("#gum_locid_outs").click(api.gumLocationIdOutskirts);
html.find("#gum_locid_space").click(api.gumLocationIdSpace);
html.find("#gum_locid_special").click(api.gumLocationIdSpecial);
html.find("#gum_locid_urban").click(api.gumLocationIdUrban);
html.find("#gum_locid_wild").click(api.gumLocationIdWilderness);

html.find("#gum_locdet_act").click(api.gumLocationDetActivity);
html.find("#gum_locdet_feat").click(api.gumLocationDetFeature);
html.find("#gum_locdet_inh").click(api.gumLocationDetInhabitants);
html.find("#gum_locdet_looks").click(api.gumLocationDetLooks);
html.find("#gum_locdet_purp").click(api.gumLocationDetPurpose);
html.find("#gum_locdet_worth").click(api.gumLocationDetWorth);

html.find("#gum_npcid_civ").click(api.gumNPCIdCivilian);
html.find("#gum_npcid_conn").click(api.gumNPCIdConnected);
html.find("#gum_npcid_fight").click(api.gumNPCIdFighting);
html.find("#gum_npcid_skill").click(api.gumNPCIdSkilled);
html.find("#gum_npcid_spec").click(api.gumNPCIdSpecial);
html.find("#gum_npcid_vip").click(api.gumNPCIdVIP);

html.find("#gum_npcdet_att").click(api.gumNPCDetAttitude);
html.find("#gum_npcdet_edge").click(api.gumNPCDetEdge);
html.find("#gum_npcdet_looks").click(api.gumNPCDetLooks);
html.find("#gum_npcdet_quirk").click(api.gumNPCDetQuirk);
html.find("#gum_npcdet_stuff").click(api.gumNPCDetStuff);
html.find("#gum_npcdet_wants").click(api.gumNPCDetWants);

html.find("#gum_mot_good").click(api.gumMotiveGood);
html.find("#gum_mot_evil").click(api.gumMotiveEvil);
html.find("#gum_npc_who").click(api.gumNPCWho);

html.find("#gum_act_good").click(api.gumActionGood);
html.find("#gum_act_evil").click(api.gumActionEvil);

}

}
Loading

0 comments on commit f0013a1

Please sign in to comment.