Skip to content

Commit 2f08760

Browse files
committed
Version bump
- preliminary v13 release
1 parent 012a784 commit 2f08760

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 6.0.0
2+
3+
- Preliminary v13 compatible release
4+
15
# 5.1.6
26

37
Courtesy to: jacobsteffler

token-variants/applications/effectMappingForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ export default class EffectMappingForm extends FormApplication {
686686
title2: 'Select Mappings to Copy:',
687687
buttonTitle: 'Copy',
688688
callback: (mappings) => {
689-
this._insertMappings(event, mappings);
689+
if (mappings) this._insertMappings(event, mappings);
690690
},
691691
});
692692
}

token-variants/applications/tokenCustomConfig.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,7 @@ export default class TokenCustomConfig extends foundry.applications.sheets.Token
212212
}
213213

214214
get id() {
215-
return `token-custom-config-${this.object.id}`;
216-
}
217-
218-
_getHeaderButtons() {
219-
const buttons = super._getHeaderButtons();
220-
return buttons;
215+
return `token-custom-config-${this.document.id}`;
221216
}
222217
}
223218

token-variants/module.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"id": "token-variants",
33
"title": "Token Variant Art",
44
"description": "Searches a customizable list of directories and displays art variants for tokens/actors through pop-ups and a new Token HUD button. Variants can be individually shared with players allowing them to switch out their token art on the fly.",
5-
"version": "5.1.6",
5+
"version": "6.0.0",
66
"compatibility": {
7-
"minimum": 12,
8-
"verified": 12
7+
"minimum": 13,
8+
"verified": 13
99
},
10-
"download": "https://github.com/Aedif/TokenVariants/releases/download/5.1.6/token-variants.zip",
10+
"download": "https://github.com/Aedif/TokenVariants/releases/download/6.0.0/token-variants.zip",
1111
"url": "https://github.com/Aedif/TokenVariants",
1212
"manifest": "https://raw.githubusercontent.com/Aedif/TokenVariants/master/token-variants/module.json",
1313
"authors": [

token-variants/templates/effectMappingForm.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="mapping-expression"><label>Expression</label>&nbsp;&nbsp;<i class="fas fa-question-circle" title="Accepted Operators:&#013;• && ( logical AND)&#013;• || (logical OR)&#013;• \! (escaped logical NOT)&#013;• \( (escaped open bracket to group expressions)&#013;• \) (escaped closed bracket to group expressions)&#013;&#013;Accepted hp and Token property Comparators:&#013;• = (equal)&#013;• < (less than)&#013;• > (greater than)&#013;• <= (less than or equal)&#013;• >= (greater than or equal)&#013;• <> (lesser or greater than)&#013;&#013;Accepted wildcards&#013;• \*&#013;• \{ \}&#013;&#013;Examples of valid expressions:&#013;• Flying&#013;• Dead && Burning&#013;• Flying && \! \( Prone || Dead \)&#013;• hp<=50%&#013;• name=&ldquo;Raging Barbarian&ldquo;&#013;• lockRotation=&ldquo;true&ldquo;&#013;• flags.token-variants.test=&ldquo;true&ldquo;&#013;• Exhaustion \*&#013;• Exhaustion \{1,2,3\}&#013;&#013;Special Effect Names:&#013;• token-variants-combat : Actives when Token is in combat&#013;• combat-turn : Activates when it's Token's turn in combat&#013;• combat-turn-next : Actives when Token is next in the initiative order"></i></div>
1717
<div class="mapping-priority" title="The order in which mappings are to be resolved. Which scripts are run first, token configs are prioritized, and overlay display order will all be based off of this value."><label>Priority</label></div>
1818
<div class="mapping-image" title="Image to be applied to the token."><label>Image</label></div>
19-
<div class="mapping-config" title="Token Configuration and Scripts"><label>Config</label></div>
19+
<!-- <div class="mapping-config" title="Token Configuration and Scripts"><label>Config</label></div> -->
2020
<div class="mapping-overlay" title="Image, text, or shapes to be shown on the token."><label>Overlay</label></div>
2121
<div class="mapping-alwaysOn" title="If checked mapping will always be treated as active, regardless whether the Expression is true or not."><label>Always On</label></div>
2222
<div class="mapping-disable" title="If checked mapping will never be activated regardless of whether the Expression is true or not."><label>Disable</label></div>
@@ -96,7 +96,7 @@
9696
/>
9797
</div>
9898
<div class="mapping-config">
99-
<a><i class="fas fa-cog fa-lg config {{#if mapping.hasTokenConfig}}active{{/if}}"></i></a>
99+
<!-- <a><i class="fas fa-cog fa-lg config {{#if mapping.hasTokenConfig}}active{{/if}}"></i></a> -->
100100
<a><i class="fas fa-edit config-edit {{#if mapping.hasConfig}}active{{/if}}"></i></a>
101101
<a><i class="fas fa-play config-script {{#if mapping.hasScript}}active{{/if}}"></i></a>
102102
<input class="config" type="hidden" name="mappings.{{mapping.i}}.config" value="{{mapping.config}}">

0 commit comments

Comments
 (0)