diff --git a/module/system/handlebars-manager.mjs b/module/system/handlebars-manager.mjs index ffcca19..2f75f9d 100644 --- a/module/system/handlebars-manager.mjs +++ b/module/system/handlebars-manager.mjs @@ -216,5 +216,12 @@ export const registerHandlebarsHelpers = function () { .map(function(num) { return options.fn(num); }) .join(''); }); + + // return age type information + Handlebars.registerHelper('ife', function(arg1, arg2, options) { + return (arg1 == arg2) ? options.fn(this) : options.inverse(this); + }); + + } \ No newline at end of file diff --git a/system.json b/system.json index 72b9c1c..e1f447a 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "vermine2047", "title": "Vermine 2047", "description": "The Vermine 2047 system for FoundryVTT!", - "version": "0.1.6", + "version": "0.1.7", "compatibility": { "minimum": "10", "verified": "10.287", diff --git a/templates/actor/parts/actor-combat.html b/templates/actor/parts/actor-combat.html index a490227..5af0bcf 100644 --- a/templates/actor/parts/actor-combat.html +++ b/templates/actor/parts/actor-combat.html @@ -15,21 +15,20 @@

{{ localize "VERMINE.wounds.name"}}

{{ localize "UI.effects.name"}}

    {{#each effects as |section sid|}}