diff --git a/Mutant Year Zero/mutantyearzero.css b/Mutant Year Zero/mutantyearzero.css index e7de1ae655..651f8897be 100644 --- a/Mutant Year Zero/mutantyearzero.css +++ b/Mutant Year Zero/mutantyearzero.css @@ -1,6 +1,4 @@ -@import url('https://fonts.googleapis.com/css?family=Didact+Gothic|Oswald:wght@300&display=swap'); - - +@import url('https://fonts.googleapis.com/css?family=Material+Symbols+Outlined|Material+Icons|Material+Icons+Outlined|Didact+Gothic|Oswald:wght@300&display=swap'); .characterdialog { background-color: #fff; @@ -905,9 +903,7 @@ input.allow-scaling:checked + .year-zero-sheet /* Removes xbox from all radios _after_ selected one */ input[type="radio"]:checked ~ input[type="radio"].xbox + span::before, - input[type="radio"].xbox:checked - ~ input[type="radio"].xbox - + span::before { + input[type="radio"].xbox:checked ~ input[type="radio"].xbox + span::before { content: ""; } @@ -943,7 +939,8 @@ input.allow-scaling:checked + .year-zero-sheet /* Fake Action Button */ button[type="action"].roll-button, button[type="roll"].roll-button { - font-family: "dicefontd20"; + position: relative; + font-family: "Pictos Custom"; font-size: 1.25em; line-height: 1em; display: flex; @@ -953,16 +950,39 @@ input.allow-scaling:checked + .year-zero-sheet height: 1.25em; margin: 5px 2px 5px 2px; padding: 0 0 0 0; - content: "t"; + /* content: "t"; */ cursor: pointer; border: 1px solid #ccc; - border-width: 2px; + /* border-width: 2px; border-style: outset; border-bottom-color: #bbb; border-image: initial; - background-image: -webkit-linear-gradient(top, #fff, #e6e6e6); + background-image: -webkit-linear-gradient(top, #fff, #e6e6e6); */ + border: 0; + background-image: none; + background-color: transparent; justify-self: center; } + button[type="action"].roll-button:hover, + button[type="roll"].roll-button:hover { + color: var(--bg-clr-button-active); + background-color: transparent; + } + + input.attack-toggle ~ button.weapons-box60:after, + input.attack-toggle ~ button.weapons-box61:after { + position: absolute; + inset: 0; + content: ''; + } + input.attack-toggle:checked ~ button.weapons-box60:after { content: 'e'; } + input.attack-toggle:not(:checked) ~ button.weapons-box60:after { content: ''; } + input.attack-toggle:not(:checked) ~ button.weapons-box60 { opacity: 0; pointer-events: none; } + input.attack-toggle:not(:checked) ~ button.weapons-box61:after { content: '['; } + input.attack-toggle:checked ~ button.weapons-box61:after { + font-family: 'Material Symbols Outlined'; + content: 'swords'; + } button[type="roll"].roll-button-textonly::before { content: ""; @@ -2482,6 +2502,33 @@ input.allow-scaling:checked + .year-zero-sheet .powerpoint-grid .powerpoint-box3 { -padding: 0 0 10px 0; } + /* Testing */ + .powerpoint-grid .powerpoint-box2 :is(input[type='checkbox'],input[type="radio"]).xbox { + position: relative; + opacity: 1; + width: 1.5rem; + height: 1.5rem; + border:0; + background: none; + appearance: none; + margin: 4px 0 3px 0; + } + .powerpoint-grid .powerpoint-box2 .xbox:after { + position: absolute; + inset: 0; + /*font-size: 24px;*/ + display: inline-block; + content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Forbidden_Lands/images/xbox_checked.png); + text-align: center; + vertical-align: middle; + } + .powerpoint-grid .powerpoint-box2 .xbox-null:checked ~ .xbox:after, + .powerpoint-grid .powerpoint-box2 .xbox:checked ~ .xbox:after { + content: ''; + background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Forbidden_Lands/images/xbox_empty.png); + background-repeat: no-repeat; + background-size: contain; + } .character-spells { display: none; @@ -3502,6 +3549,10 @@ input.allow-scaling:checked + .year-zero-sheet grid-column: 1/19; grid-row-start: 1; } + .weapons-box0.header h1 { + width: 90%; + + } .weapons-box-header { grid-column: 1/5; @@ -4258,8 +4309,6 @@ input.allow-scaling:checked + .year-zero-sheet } input[type="checkbox"][name="attr_powerincrease"]:checked + div input { margin-left: 0px; - width: 0.85em; - height: 0.85em; } /* ---------------------------------- Talents */ @@ -4325,14 +4374,59 @@ input.allow-scaling:checked + .year-zero-sheet /* input[name="attr_rot_permanent"][value="0"] ~ input:nth-of-type(1n+1) + span, */ input[name="attr_rot_permanent"][value="1"] ~ .rot1, + input[name="attr_rot_permanent"][value="2"] ~ .rot1, input[name="attr_rot_permanent"][value="2"] ~ .rot2, + input[name="attr_rot_permanent"][value="3"] ~ .rot1, + input[name="attr_rot_permanent"][value="3"] ~ .rot2, input[name="attr_rot_permanent"][value="3"] ~ .rot3, + input[name="attr_rot_permanent"][value="4"] ~ .rot1, + input[name="attr_rot_permanent"][value="4"] ~ .rot2, + input[name="attr_rot_permanent"][value="4"] ~ .rot3, input[name="attr_rot_permanent"][value="4"] ~ .rot4, + input[name="attr_rot_permanent"][value="5"] ~ .rot1, + input[name="attr_rot_permanent"][value="5"] ~ .rot2, + input[name="attr_rot_permanent"][value="5"] ~ .rot3, + input[name="attr_rot_permanent"][value="5"] ~ .rot4, input[name="attr_rot_permanent"][value="5"] ~ .rot5, + input[name="attr_rot_permanent"][value="6"] ~ .rot1, + input[name="attr_rot_permanent"][value="6"] ~ .rot2, + input[name="attr_rot_permanent"][value="6"] ~ .rot3, + input[name="attr_rot_permanent"][value="6"] ~ .rot4, + input[name="attr_rot_permanent"][value="6"] ~ .rot5, input[name="attr_rot_permanent"][value="6"] ~ .rot6, + input[name="attr_rot_permanent"][value="7"] ~ .rot1, + input[name="attr_rot_permanent"][value="7"] ~ .rot2, + input[name="attr_rot_permanent"][value="7"] ~ .rot3, + input[name="attr_rot_permanent"][value="7"] ~ .rot4, + input[name="attr_rot_permanent"][value="7"] ~ .rot5, + input[name="attr_rot_permanent"][value="7"] ~ .rot6, input[name="attr_rot_permanent"][value="7"] ~ .rot7, + input[name="attr_rot_permanent"][value="8"] ~ .rot1, + input[name="attr_rot_permanent"][value="8"] ~ .rot2, + input[name="attr_rot_permanent"][value="8"] ~ .rot3, + input[name="attr_rot_permanent"][value="8"] ~ .rot4, + input[name="attr_rot_permanent"][value="8"] ~ .rot5, + input[name="attr_rot_permanent"][value="8"] ~ .rot6, + input[name="attr_rot_permanent"][value="8"] ~ .rot7, input[name="attr_rot_permanent"][value="8"] ~ .rot8, + input[name="attr_rot_permanent"][value="9"] ~ .rot1, + input[name="attr_rot_permanent"][value="9"] ~ .rot2, + input[name="attr_rot_permanent"][value="9"] ~ .rot3, + input[name="attr_rot_permanent"][value="9"] ~ .rot4, + input[name="attr_rot_permanent"][value="9"] ~ .rot5, + input[name="attr_rot_permanent"][value="9"] ~ .rot6, + input[name="attr_rot_permanent"][value="9"] ~ .rot7, + input[name="attr_rot_permanent"][value="9"] ~ .rot8, input[name="attr_rot_permanent"][value="9"] ~ .rot9, + input[name="attr_rot_permanent"][value="10"] ~ .rot1, + input[name="attr_rot_permanent"][value="10"] ~ .rot2, + input[name="attr_rot_permanent"][value="10"] ~ .rot3, + input[name="attr_rot_permanent"][value="10"] ~ .rot4, + input[name="attr_rot_permanent"][value="10"] ~ .rot5, + input[name="attr_rot_permanent"][value="10"] ~ .rot6, + input[name="attr_rot_permanent"][value="10"] ~ .rot7, + input[name="attr_rot_permanent"][value="10"] ~ .rot8, + input[name="attr_rot_permanent"][value="10"] ~ .rot9, input[name="attr_rot_permanent"][value="10"] ~ .rot10 { content: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Mutant%20Year%20Zero/images/dotx_redx.png');; } @@ -4476,6 +4570,7 @@ input.allow-scaling:checked + .year-zero-sheet } .skills-box1 h1 { justify-content: flex-end; + justify-self: center; } .skills-box-base { diff --git a/Mutant Year Zero/mutantyearzero.html b/Mutant Year Zero/mutantyearzero.html index 114913584c..c9a26e624b 100644 --- a/Mutant Year Zero/mutantyearzero.html +++ b/Mutant Year Zero/mutantyearzero.html @@ -3,7 +3,7 @@ - + @@ -1423,16 +1423,16 @@
- - - -
@@ -1460,9 +1460,9 @@ Whisper roll?
- - - + + +
@@ -2130,16 +2127,16 @@
- - - - - - - - - - + + + + + + + + + +
@@ -2178,18 +2175,18 @@
- - - - - - - - - - - - + + + + + + + + + + + +
@@ -2227,16 +2224,16 @@
- - - - - - - - - - + + + + + + + + + +
@@ -2274,16 +2271,16 @@
- - - - - - - - - - + + + + + + + + + +
@@ -2325,16 +2322,16 @@
- - - - - - - - - - + + + + + + + + + +
@@ -3169,6 +3166,15 @@ Allow scaling of the sheet to make it fit in a smaller window (not to be used with built-in sheet zoom option)
 
+
+ Select the die size to use when rolling for Initiative + +
+
 
Advanced vehicle encumbrance @@ -3246,6 +3252,14 @@

Latest Announcements

+
    + v3.11 +
  1. Changed the icons used for weapon parry and attack to better display what type of attack it is. Also hiding hte parry button when the weapon is a ranged one.
  2. +
  3. Fixed and improved the implementation of the ablity points.
  4. +
  5. Fixed a display issue with the Weapons header.
  6. +
  7. Added translation in the Dice Pool, e.g. for the Whisper option buttons and initiative roll.
  8. +
  9. Added an option for changing the die size when rolling for initiative, and use either D6, D10 or D20.
  10. +
    v3.10
  1. Added a checkbox in dice pool to indicate and toggle whether a roll is pushable or not. This will automatically be set to disabled for e.g. Armor and Rot rolls.
  2. @@ -3254,7 +3268,7 @@ The setting now controls whether the Whisper roll to GM checkbox will be enabled, disabled or use a query by default, and it is the same setting for both regular and API rolls.
  3. Added a D6 roll button.
  4. Made buttons in the Dice Pool change color according to how many are selected, to make it easier to see how many dice are in the pool.
  5. -
  6. Added an option to display dice differently, they can now be shown in a row sequentially instead of in their own columns. The row-based view is similar to how the API script would output dice rolls. +
  7. Added an option to display dice differently in the roll output, they can now be shown in a row sequentially instead of in their own columns. The row-based view is similar to how the API script would output dice rolls. There is a configuration in the Settings tab (and sheet settings) to change between the new row based and the "legacy" column-based way of displaying the dice.
  8. Made the roll template background color based on the character type, to make it similar to the sheet color.
  9. Fixed how attributes and skills are translated, previously they used global sheetworker variables which meant the latest character sheet opened dictated @@ -6557,8 +6571,8 @@ extraAttributesArr = [ //clog("Translation of query text complete."); setAttrs({ translation_push_query: getTranslationByKey("push-query"), - translation_whisper_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",|" + getTranslationByKey("yes") + ",/w gm |" + "}", - translation_whisper_api_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",!myz |" + getTranslationByKey("yes") + ",!wmyz |" + "}", + translation_whisper_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",|" + getTranslationByKey("yes") + ",/w gm" + "}", + translation_whisper_api_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",!myz |" + getTranslationByKey("yes") + ",!wmyz" + "}", }); }); @@ -6753,7 +6767,6 @@ extraAttributesArr = [ } setAttrs({ push_latest: pushRoll, - pushable: 1, }); //clog("Push data: "+ JSON.stringify(pushRoll)); diff --git a/Mutant Year Zero/translation.json b/Mutant Year Zero/translation.json index 59fc2f969e..847458350b 100644 --- a/Mutant Year Zero/translation.json +++ b/Mutant Year Zero/translation.json @@ -58,6 +58,9 @@ "bosses-u": "BOSSES", "bullets": "Bullets", "bullets-abbr": "B", + "button-ask": "Ask", + "button-no": "No", + "button-yes": "Yes", "calista": "Calista", "cargo-lift": "Cargo lift function?", "cargo-lift-title": "When you calculate your maximum carrying capacity, multiply your Servos score by 4 instead of 2.", @@ -99,6 +102,9 @@ "d6-roll": "D6 Roll", "d66-roll": "D66 Roll", "d666-roll": "D666 Roll", + "d6":"D6", + "d10":"D10", + "d20":"D20", "damage": "Damage", "damage-abbr": "Dmg", "datamine": "Datamine", @@ -173,6 +179,7 @@ "influence-points": "Influence Points", "information": "Information", "initiative": "Initiative", + "init-die": "Select the die size to use when rolling for Initiative", "injury": "Injury", "instinct": "Instinct", "instinct-abbr": "Ins",