From bb9e03ee0fc03505e6499102dc36a08a4bcefde4 Mon Sep 17 00:00:00 2001 From: Vali Date: Wed, 23 Sep 2020 21:39:49 +0200 Subject: [PATCH] v2.10.0 --- CHANGELOG.md | 6 ++++++ module.json | 4 ++-- package.json | 2 +- scripts/token-mold.js | 2 +- templates/token-mold.html | 3 ++- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 027b724..bc82cbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v2.9.1 + +- Fixed compatibility issue with the multilevel token module. Thanks to github user @grandseiken for fixing this! +- Changed Settings from automatically saving every time a setting was changed, to prevent accidently downloading all dicts, just because on looked at the replace name setting. +- Added clarification that enabling name replacement results in about 100MB of extra memory usage for the GM. (Someone mentioned this and it catched me by surprise. I'll still look into it if there is something i can do, but i'm not sure about that.) + # v2.9 - New smaller but curated list of english adjectives. This list is designed to allow for a better narrative instead of just having a lot of random, but sometimes really unfitting, adjectives. Thanks to Reddit user u/VagabondVivant and Github user @focalmatter for providing this list. diff --git a/module.json b/module.json index 4897154..bec79da 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "token-mold", "title": "Token Mold", "description": "

Gives the option to cast your tokens into a mold of your choosing.

Possible options for your mold include:


", - "version": "2.9.0", + "version": "2.10.0", "minimumCoreVersion": "0.6.5", "compatibleCoreVersion": "0.7.1", "type": "module", @@ -20,5 +20,5 @@ "styles": ["token-mold.css"], "manifest": "https://raw.githubusercontent.com/Moerill/token-mold/master/module.json", "url": "https://github.com/Moerill/token-mold", - "download": "https://github.com/Moerill/token-mold/releases/download/v2.9.0/v2.9.0.zip" + "download": "https://github.com/Moerill/token-mold/releases/download/v2.10.0/v2.10.0.zip" } \ No newline at end of file diff --git a/package.json b/package.json index dc7f6cd..628613e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "module-template", - "version": "2.9.0", + "version": "2.10.0", "description": "", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/scripts/token-mold.js b/scripts/token-mold.js index 34b069b..397343d 100644 --- a/scripts/token-mold.js +++ b/scripts/token-mold.js @@ -806,7 +806,7 @@ class TokenMoldForm extends FormApplication { options.title = "Token Mold"; options.closeOnSubmit = false; options.submitOnClose = true; - options.submitOnChange = true; + options.submitOnChange = false; options.tabs = [ { navSelector: '.tabs', contentSelector: 'form', diff --git a/templates/token-mold.html b/templates/token-mold.html index dad9bdf..6eb1208 100644 --- a/templates/token-mold.html +++ b/templates/token-mold.html @@ -82,7 +82,8 @@

The chosen option will replace the tokens base name with a generated name.
- You can choose a number of attributes. For each attribute you can choose possible values and assign them a language. On token creation the first value that fits will be chosen. If no fitting value was found, the default will be used.
+ You can choose a number of attributes. For each attribute you can choose possible values and assign them a language. On token creation the first value that fits will be chosen. If no fitting value was found, the default will be used.
+ Important: Enabling this feature will result in about 100MB of extra memory used! (for GMs only)