Skip to content

Commit

Permalink
v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Moerill committed Jun 15, 2020
1 parent 7edbb2a commit 69cdfcc
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.8.1
* Fix settings menu not showing for non DnD Systems.
* Undid a change making video textures not work anymore.

# v0.8.0
<ul>
<li>New Settings Menu!
Expand Down
4 changes: 2 additions & 2 deletions dist/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mess",
"title": "Mess - Moerills enhancing super-suit(e)",
"description": "This module is a mix of QoL changes, enhancements for my game and stuff i play around with. For a complete feature list check the URL down below.",
"version": "0.8.0",
"version": "0.8.1",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.2",
"author": "Moerill",
Expand All @@ -28,5 +28,5 @@
],
"manifest": "https://raw.githubusercontent.com/Moerill/mess/master/src/module.json",
"url": "https://github.com/Moerill/mess",
"download": "https://github.com/Moerill/mess/releases/download/v0.8.0/mess.zip"
"download": "https://github.com/Moerill/mess/releases/download/v0.8.1/mess.zip"
}
4 changes: 2 additions & 2 deletions dist/scripts/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/scripts/index.js.map

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dist/templates/welcome-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ <h2></h2>
<p style="text-align: right">Want to support development? <a href="https://github.com/Moerill/token-mold#support-the-development">Click here</a></p>
<h2></h2>
<h1>Changelog</h1>
<h2>v0.8.0</h2>>
<h2>v0.8.1</h2>
<ul>
<li>Fix settings menu not showing for non DnD systems.</li>
<li>Undid a change, making videos not work anymore.</li>
</ul>
<h2>v0.8.0</h2>
<ul>
<li>New Settings Menu!
<ul>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "module-template",
"version": "0.8.0",
"version": "0.8.1",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
4 changes: 2 additions & 2 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mess",
"title": "Mess - Moerills enhancing super-suit(e)",
"description": "This module is a mix of QoL changes, enhancements for my game and stuff i play around with. For a complete feature list check the URL down below.",
"version": "0.8.0",
"version": "0.8.1",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.2",
"author": "Moerill",
Expand All @@ -28,5 +28,5 @@
],
"manifest": "https://raw.githubusercontent.com/Moerill/mess/master/src/module.json",
"url": "https://github.com/Moerill/mess",
"download": "https://github.com/Moerill/mess/releases/download/v0.8.0/mess.zip"
"download": "https://github.com/Moerill/mess/releases/download/v0.8.1/mess.zip"
}
7 changes: 7 additions & 0 deletions src/scripts/modify-templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ export function changeTemplates() {
matrix: mat,
alpha: 0.8
});
// move into draw or so
const source = getProperty(this.texture, "baseTexture.resource.source")
if ( source && (source.tagName === "VIDEO") ) {
source.loop = true;
source.muted = true;
game.video.play(source);
}
}`);

Hooks.on('renderMeasuredTemplateConfig', (app, html, data) => {
Expand Down
16 changes: 7 additions & 9 deletions src/scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,13 @@ export class MessSettings extends FormApplication {
default: true,
type: Boolean
});
if (isDnD)
game.settings.registerMenu('mess', 'templateTexture', {
name: game.i18n.localize('MESS.FVTTSettings.description'),
label: game.i18n.localize('MESS.FVTTSettings.button'),
// hint: "!",
icon: "fas fa-mug-hot",
type: MessSettings,
restricted: true
});
game.settings.registerMenu('mess', 'templateTexture', {
name: game.i18n.localize('MESS.FVTTSettings.description'),
label: game.i18n.localize('MESS.FVTTSettings.button'),
icon: "fas fa-mug-hot",
type: MessSettings,
restricted: true
});

game.settings.register('mess', 'templateTexture', {
name: "Activate placeables changes.",
Expand Down
7 changes: 6 additions & 1 deletion src/templates/welcome-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ <h2></h2>
<p style="text-align: right">Want to support development? <a href="https://github.com/Moerill/token-mold#support-the-development">Click here</a></p>
<h2></h2>
<h1>Changelog</h1>
<h2>v0.8.0</h2>>
<h2>v0.8.1</h2>
<ul>
<li>Fix settings menu not showing for non DnD systems.</li>
<li>Undid a change, making videos not work anymore.</li>
</ul>
<h2>v0.8.0</h2>
<ul>
<li>New Settings Menu!
<ul>
Expand Down

0 comments on commit 69cdfcc

Please sign in to comment.