From f024f6ba1625c286f74103bf76914eede805a4f5 Mon Sep 17 00:00:00 2001 From: Vlyan Date: Thu, 5 May 2022 09:37:13 +0200 Subject: [PATCH] Added some 20q questions in GM monitor global tooltip (q14, q15, q20) for quick access. --- CHANGELOG.md | 3 ++- system/scripts/gm/gm-monitor.js | 2 ++ system/templates/gm/monitor-tooltips/global.html | 8 ++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c358b60..70a4155 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ Date format : day/month/year ## 1.8.1 - ??/??/2022 - ??? -- Restricted symbols to lower-case only, ex : (air) work, (Air) will not (#36). +- Added a restriction on symbols, they are now lower-case only, ex : (air) work, (Air) will not (#36). +- Added some 20q questions in GM monitor global tooltip (q14, q15, q20) for quick access. ## 1.8.0 - 29/04/2022 - QoL & Compendiums Update - Added 179 Japanese villages name table. diff --git a/system/scripts/gm/gm-monitor.js b/system/scripts/gm/gm-monitor.js index c45f17e..d9a58c8 100644 --- a/system/scripts/gm/gm-monitor.js +++ b/system/scripts/gm/gm-monitor.js @@ -359,6 +359,8 @@ export class GmMonitor extends FormApplication { actorData: data, advantages: adv, disadvantages: dis, + suffix: data.template === "pow" ? "_pow" : "", + actor_type: actor.data.type, }); } diff --git a/system/templates/gm/monitor-tooltips/global.html b/system/templates/gm/monitor-tooltips/global.html index 1a5b0bc..142ce28 100644 --- a/system/templates/gm/monitor-tooltips/global.html +++ b/system/templates/gm/monitor-tooltips/global.html @@ -17,5 +17,13 @@
  • {{localize 'l5r5e.social.glory'}} : {{actorData.social.glory}}
  • {{localize 'l5r5e.social.status'}} : {{actorData.social.status}}
  • + {{#ifCond actor_type "==" "character"}} + {{!-- 20Q --}} + + {{/ifCond}}

    {{{enrichHTML actorData.description}}}

    \ No newline at end of file