From ba45ecda8b6313c31eee3fb88552fe9a2ecb9c47 Mon Sep 17 00:00:00 2001 From: Fred Hicks Date: Mon, 29 Jun 2020 12:47:51 -0400 Subject: [PATCH] [Monster of the Week Official] Supplemental to pr/6839 (#6872) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Monster of the Week Official Sheet Based on the prior work of Katie Bennie (LethalKitten) and Anistuffs, this is a major revision and interface improvement for the Monster of the Week system. * Create MotWPreview.jpg * Proper options Most weren't implemented properly vis a vis data-i18n due to how the inherited legacy one was implemented. Fixed what I found. * Update MotWHTML.html * Update MotWHTML.html 'Enabled' showed up next to IAM flex alt when it was not the flex alt that was advanced, fixed * Changes to crooked-move1 strings Preparation for checkboxing the options * Update translation.json Lots of surplus spaces. I know it's cosmetic, but I wanted to tighten it up. * Update MotWHTML.html Crooked playbook feature adds * Expert tweak Expert tweak * Update MotWHTML.html Monstrous adjustments * Spellslinger tweaks * Update MotWHTML.html Wronged tweak * Gumshoe tweaks * Hex modifications * Pararomantic tweaks * Searcher adjustments * Update MotWHTML.html Exile tweak * Update MotWHTML.html Hardcase * hardcase, sidekick * Summoned tweaks * Update MotWHTML.html Traveler tweaks * Update MotWHTML.html Preparation for rearchitecture — moving sheet workers and roll templates to the top * Update translation.json Turns out the Chosen's fate list never had translation tags. * Big rearchitecture There were a lot of inefficiencies and repeated code in the prior version. This new version does the same work with about 10,000 fewer lines of HTML, and unlocks a few new features. * Bugs and Action Science Fixed some bugs, added the Action Scientist playbook * Improvements to Mystery Sheet * Update translation.json * Update MotWHTML.html Added in some dynamic bullet points to go with the Hook. * Update MotWHTML.html Accidentally got the attribute name wrong on this one * Update MotWHTML.html Added in a header * Update MotWHTML.html Fixed some issues with Keeper sheet * Update .gitignore * Update MotWCSS.css Spooktacular CSS support * Update translation.json Translation support for Spooktacular playtest * Prelim partial Spooktacular * Spooktacular playtest playbook added * Update MotWCSS.css Roll20 has a bug in how it renders CSS in production. See https://app.roll20.net/forum/post/8867346/production-has-a-css-rendering-bug/ for details. This is hopefully my workaround. * Weird Move Alt Support It's now possible to mark in the hunter's reference when you have access to an alternative weird move. Doing so will also allow you to advance that move in the menu that displays when you take a "Advance 2 Basic Moves" improvement. * Update translation.json Setting up translation keys for The Constructed * Update MotWCSS.css * Constructed playbook added Added the recently revised Constructed playbook * Bringing up to date with development copy * Correcting following merge * Revert "Correcting following merge" This reverts commit 8c12e73c923418b68f5262e0ccf735959f2ef3f2. * Updating the translation files Looks like they were out of date (and none actually translated for that matter, but that's beyond my scope) Co-authored-by: Cassie Levett --- Monster of the Week Official/MotWCSS.css | 9 +- Monster of the Week Official/MotWHTML.html | 61 +- .../translations/af.json | 821 +++-- .../translations/cs.json | 821 +++-- .../translations/da.json | 821 +++-- .../translations/de.json | 821 +++-- .../translations/el.json | 821 +++-- .../translations/en.json | 213 +- .../translations/es.json | 821 +++-- .../translations/fr.json | 1463 ++++---- .../translations/he.json | 821 +++-- .../translations/it.json | 821 +++-- .../translations/ja.json | 821 +++-- .../translations/ko.json | 821 +++-- .../translations/nl.json | 821 +++-- .../translations/pl.json | 821 +++-- .../translations/pt.json | 821 +++-- .../translations/ru.json | 821 +++-- .../translations/sv.json | 821 +++-- .../translations/tr.json | 821 +++-- .../translations/zh.json | 821 +++-- .../translations/zu.json | 3215 +++++++++-------- 22 files changed, 10429 insertions(+), 8489 deletions(-) diff --git a/Monster of the Week Official/MotWCSS.css b/Monster of the Week Official/MotWCSS.css index a8e117e52f..992a1ac436 100644 --- a/Monster of the Week Official/MotWCSS.css +++ b/Monster of the Week Official/MotWCSS.css @@ -571,16 +571,17 @@ input[type="radio"].sheet-radio:checked ~ span.sheet-grayable i color: #990000; } +.sheet-OPBHead { + display: none; +} + +.sheet-UnusedToggle[value="1"]:checked ~ .sheet-OPBToggle[value="1"]:checked ~ .sheet-OPBHead, .sheet-OPBToggle[value="1"]:checked ~ .sheet-OPB { display: block; padding-right: 10px; } -.sheet-OPBHead { - display: none; -} - .sheet-ExpToggle[value="1"]:checked ~ .sheet-move > .sheet-checkbox, .sheet-ExpToggle[value="1"]:checked ~ .sheet-move > .sheet-checkbox + .sheet-mainbox, .sheet-ExpToggle[value="1"]:checked ~ .sheet-move > .sheet-checkbox + .sheet-mainbox + .sheet-grayable, diff --git a/Monster of the Week Official/MotWHTML.html b/Monster of the Week Official/MotWHTML.html index cc7a0e3119..dbd6908418 100644 --- a/Monster of the Week Official/MotWHTML.html +++ b/Monster of the Week Official/MotWHTML.html @@ -10,9 +10,7 @@ }); console.log("SkinName change event ends."); }); - -