From 6f6174d93c01625342570cf1ee61d254a4d5b69b Mon Sep 17 00:00:00 2001 From: Andreas Johansson Date: Tue, 18 May 2021 19:29:19 +0300 Subject: [PATCH 01/14] Star Wars D6 v.2.40 refactor sheet to CSE & skillname suggestions --- D6StarWars/CHANGELOG.md | 15 + D6StarWars/D6StarWars.css | 710 +++++++++--- D6StarWars/D6StarWars.html | 2159 +++++++++++++++++++++--------------- D6StarWars/sheet.json | 4 +- 4 files changed, 1836 insertions(+), 1052 deletions(-) diff --git a/D6StarWars/CHANGELOG.md b/D6StarWars/CHANGELOG.md index 0a9a1d1d82..ef21807330 100644 --- a/D6StarWars/CHANGELOG.md +++ b/D6StarWars/CHANGELOG.md @@ -1,3 +1,18 @@ +### Version 2.40 (2021-5): +- refactor sheet to be able to use the new Roll20 Sheet framework +- Feature: Skill name auto-suggestions, suggest relevant names as you start typing +- more code cleanup + +### Version 2.34 (2021-05): +- Enhance Player Core info section's layout +- Reformats Player Secondary Info section +- Enhance Attributes & Skills section's layout +- Enhance Weapons & Armors section's layout +- Enhance Force section's layout +- FIX: cleaning up HTML code +- FIX: removes invalid CSS code +- FIX: Resist Pain effect works as expected + ### Version 2.33 (2021-04-06): - remove duplicated control force power name field - fix force power section width diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index f4c806b7a7..1ae2b9c819 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -8,11 +8,23 @@ color:white; } -.charsheet .sheet-version::after { - content: '2.32'; +.charsheet div.version-top{ + position: absolute; + right: 5px; + top: 30px; } -.charsheet label, h1, h2, h3{ +.charsheet div.logo{ + display: inline-block; + position: absolute; + left: 150px; + padding-bottom: 50px; +} +.charsheet img.logo{ + max-height: 80px; +} + +.charsheet :is(label, h1, h2, h3, h4, h5){ color:white; } @@ -25,94 +37,95 @@ resize:none; } -.charsheet .sheet-toppad{ +.charsheet :is(p, .txtcenter){ + text-align: center; +} + +.charsheet .toppad{ padding:2px; } -.charsheet .sheet-section{ +.charsheet .section{ border-top: 5px dotted white; padding:10px; width: 100%; } -.charsheet .sheet-shipinfo span { - display: inline-block; - margin: 5px 10px 5px 10px; -} -.charsheet .sheet-flex-box{ +.charsheet .flex-box{ display: flex; } -.charsheet .sheet-flex-col{ +.charsheet .flex-col{ flex: 1; } -.charsheet input[type=number].sheet-pipnumber{ - width:33px; -} -.charsheet input[type=number].sheet-smallnumber{ - width:40px; -} -.charsheet input[type=number].sheet-smallshortnumber{ - width:40px; +.charsheet input[type=number].p60{ + width: 60px; + text-align: center; padding-top:2px; padding-bottom:2px; display: inline-block; float:right; } -.charsheet input[type=number].sheet-shortnumber{ - padding-top:2px; - padding-bottom:2px; + +.charsheet .p90{ + width: 90px; } -.charsheet input[type=number].sheet-mediumnumber{ +.charsheet input[type=number].mediumnumber{ width:60px; } -.charsheet input[type=number].sheet-credits, -.charsheet span.sheet-credits { +.charsheet input[type=number].credits, +.charsheet span.credits { width: 80px; padding-top: 2px; padding-bottom: 2px; + text-align: center; +} +.charsheet input[type=number].totalcredits{ + width: 60%; + float: right; } -.charsheet input[type=text].sheet-smalltext{ + +.charsheet input[type=text].smalltext{ width:60px; - margin:0px; + margin:0; } -.charsheet input[type=text].sheet-mediumtext{ +.charsheet input[type=text].mediumtext{ width:80px; - margin:0px; + margin:0; } -.charsheet input[type=text].sheet-shorttext{ +.charsheet input[type=text].reduce-padd{ padding-top:2px; padding-bottom:2px; } -.charsheet input[type=text].sheet-skilltext{ +.charsheet input[type=text].skilltext{ width:115px; padding:2px; margin-left:3px; } -.charsheet .sheet-right{ +.charsheet .right{ float:right; } -.charsheet .sheet-left{ +.charsheet .left{ float:left; } -.charsheet .sheet-bold{ +.charsheet .bold{ font-size: 12pt; margin-bottom: 10px; } -.charsheet span.sheet-num { +.charsheet span.num { background: white; color: black; border-radius: 2px; @@ -123,143 +136,163 @@ } -.charsheet .sheet-tdborder{ +.charsheet .tdborder{ border: 2px solid white; vertical-align:top; - width:330px; padding:5px; margin: 5px; } -.charsheet .sheet-rightmargin{ - margin-right:0px; +.charsheet .rightmargin{ + margin-right:0; } -.charsheet select.sheet-smallselect{ +.charsheet select.smallselect{ width:60px; height:25px; padding-top:2px; padding-bottom:2px; - margin:0px; + margin:0; display: inline-block; float:right; + text-align: center; } -.charsheet select.sheet-mediumselect{ /*Used for Wound levels dropdown select*/ +.charsheet select.mediumselect{ /*Used for Wound levels dropdown select*/ width:100px; height:25px; padding-top:2px; padding-bottom:2px; - margin:0px; + margin:0; display: inline-block; float:right; } -.charsheet label.sheet-areaLabel{ - margin:0px; +.charsheet label.areaLabel{ + margin:0; } + +.charsheet input[type="text"].60p{ + width: 60%; +} + +.charsheet .lineblck{ + display:inline-block; +} + /*-----------------------------------------*/ /*----------Roll Buttons classes-----------*/ -.charsheet button[type=roll].sheet-d6-dice::before { /*new die changes die roller to d6*/ - font-family: 'dicefontd6',arial; +.charsheet button[type=roll].d6-dice::before { /*new die changes die roller to d6*/ + font-family: 'dicefontd6', arial, sans-serif; content: 'F '; color: red; } -.charsheet .sheet-forcebutton{ +.charsheet .forcebutton{ width:90px; padding-right:5px; } -.charsheet .sheet-redtxt{ +.charsheet .redtxt{ font-size: 8px; color: red; - font-family: 'Arial'; + font-family: 'Arial', sans-serif; } /* writing the letter 't' with this font shows an impact icon signifying physical damage */ -.charsheet button.sheet-physical{ +.charsheet button.physical{ font-family: 'Pictos Custom'; } /* writing the letter 'e' with this font shows e bolt icon signifying energy damage */ -.charsheet button.sheet-energy{ +.charsheet button.energy{ font-family: 'Pictos'; } +.charsheet span.physical{ + font-family: 'Pictos Custom'; + font-size: large; + content: 't'; +} +/* writing the letter 'e' with this font shows e bolt icon signifying energy damage */ +.charsheet span.energy{ + font-family: 'Pictos'; + font-size: large; + content: 'e'; +} + /*-------------------------------------------*/ /*-----Main Settings and hide classes--------*/ /*-----------(from GUMSHOE Official)---------*/ - -.charsheet .sheet-main-settings .sheet-input-row label { +.charsheet .main-settings .container{ + width: 850px; +} +.charsheet .main-settings .input-row label { display: inline-block; width: auto; } - -.charsheet .sheet-main-settings .sheet-input-row input { + +.charsheet .main-settings .input-row input { margin-right: 30px; } -.charsheet .sheet-main-settings .sheet-input-row select { +.charsheet .main-settings .input-row select { width: 45%; margin-right: 15px; } -input.sheet-main-options.sheet-options-flag + span,/*displays the cog icon*/ -input[type=radio]:checked ~ .sheet-master-container input.sheet-options-flag + span { +.charsheet input.main-options.options-flag + span,/*displays the cog icon*/ +.charsheet input[type=radio]:checked ~ .master-container input.options-flag + span { font-family: pictos; font-style: normal; } -div.sheet-main-settings { +.charsheet div.main-settings { display: none; position: relative; margin-left: 0; } -input.sheet-options-flag:checked ~ div.sheet-main-settings { +.charsheet input.options-flag:checked ~ div.main-settings { display: inline-block; width: 600px; height: 500px; } -input.sheet-selector-switch , -input.sheet-options-flag:checked ~ div.sheet-main-container { +.charsheet input.selector-switch , +.charsheet input.options-flag:checked ~ div.main-container { display: none; } /* all hide options using option menu checkboxes*/ -.sheet-master-container .sheet-pc, -.sheet-master-container .sheet-npc, -.sheet-master-container .sheet-ship, -.sheet-master-container .sheet-shop-inventory { +.charsheet .master-container :is(.pc, .npc, .ship, .shop-inventory) { display: none; } -input.sheet-toggle[value="0"] ~ .sheet-master-container .sheet-pc, -input.sheet-toggle[value="1"] ~ .sheet-master-container .sheet-npc, -input.sheet-toggle[value="2"] ~ .sheet-master-container .sheet-ship, -input.sheet-toggle[value="3"] ~ .sheet-master-container .sheet-shop-inventory { +.charsheet input.toggle[value="0"] ~ .master-container .pc, +.charsheet input.toggle[value="1"] ~ .master-container .npc, +.charsheet input.toggle[value="2"] ~ .master-container .ship, +.charsheet input.toggle[value="3"] ~ .master-container .shop-inventory { display: block; } -input.sheet-toggle[value="2"] ~ .sheet-master-container .sheet-ship.sheet-shipblock{ +.charsheet input.toggle[value="2"] ~ .master-container .ship.shipblock{ display: grid; } -input.sheet-toggle[value="2"] ~ .sheet-master-container .sheet-ship.sheet-shipheader{ +.charsheet input.toggle[value="2"] ~ .master-container .ship.shipheader{ display: flex; } -input.sheet-background:checked ~ .sheet-master-container .sheet-background-hide, -input.sheet-force:checked ~ .sheet-master-container .sheet-force-hide, -input.sheet-equipment:checked ~ .sheet-master-container .sheet-equipment-hide, -input.sheet-gmroll:checked ~ .sheet-master-container .sheet-gmroll-hide, -input.sheet-rollmod:checked ~ .sheet-master-container .sheet-rollmod, -input.sheet-rollmod:not(:checked) ~ .sheet-master-container .sheet-rollmod-no, -input.sheet-cptracker:checked ~ .sheet-master-container .sheet-cptracker-hide, -input.sheet-credittracker:checked ~ .sheet-master-container .sheet-credittracker-hide { +.charsheet input.background:checked ~ .master-container .background-hide, +.charsheet input.force:checked ~ .master-container .force-hide, +.charsheet input.equipment:checked ~ .master-container .equipment-hide, +.charsheet input.gmroll:checked ~ .master-container .gmroll-hide, +.charsheet input.rollmod:checked ~ .master-container .rollmod, +.charsheet input.rollmod:not(:checked) ~ .master-container .rollmod-no, +.charsheet input.cptracker:checked ~ .master-container .cptracker-hide, +.charsheet input.credittracker:checked ~ .master-container .credittracker-hide { display: none; } @@ -267,35 +300,49 @@ input.sheet-credittracker:checked ~ .sheet-master-container .sheet-credittracker /*------------- General Styles---------------*/ /*------------(from GUMSHOE Official)--------*/ -input[type=number]::-webkit-inner-spin-button {} +.charsheet input[type=number].txtfield::-webkit-inner-spin-button, +.charsheet input[type=number].txtfield::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} +.charsheet input[type=number].txtfield { + -moz-appearance: textfield; +} -.sheet-master-container { +.charsheet .master-container { position: relative; padding: 0; display: inline-block; background-image: url(https://cdn.pixabay.com/photo/2015/09/29/15/12/stars-964022_960_720.png); /*black space with tiny stars*/ background-color: black; background-repeat: repeat; + width: 860px; + top: -10px; } -.sheet-container { +.charsheet .container { padding: 5px; margin-left: -25px; position: relative; } -.sheet-main-container { +.charsheet .main-container { display: inline-block; padding-top: 75px; margin-left: 0; } +.charsheet div.footer{ + text-align: center; + padding-top:10px; +} + /*-------------------------------------------*/ /*------------- Options Toggles--------------*/ /*-----------(from GUMSHOE Official)---------*/ -input.sheet-options-flag, -input.sheet-options-flag + span { +.charsheet input.options-flag, +.charsheet input.options-flag + span { position: absolute; top: 2px; right: 2px; @@ -303,13 +350,13 @@ input.sheet-options-flag + span { height: 15px; } -input.sheet-options-flag { +.charsheet input.options-flag { z-index: 99; opacity: 0; } -input.sheet-options-flag + span { - margin-top: 0px; +.charsheet input.options-flag + span { + margin-top: 0; display: none; white-space: nowrap; line-height: 15px; @@ -318,7 +365,7 @@ input.sheet-options-flag + span { cursor: pointer; } -input.sheet-options-flag.sheet-main-options { +.charsheet input.options-flag.main-options { width: 30px; height: 30px; top: 20px; @@ -326,7 +373,7 @@ input.sheet-options-flag.sheet-main-options { z-index: 3; } -input.sheet-options-flag.sheet-main-options + span { +.charsheet input.options-flag.main-options + span { width: 30px; height: 30px; top: 20px; @@ -338,50 +385,415 @@ input.sheet-options-flag.sheet-main-options + span { display: block; } -input.sheet-options-flag.sheet-main-options:hover + span { +.charsheet input.options-flag.main-options:hover + span { opacity: 1; } -input.sheet-options-flag:checked + span { +.charsheet input.options-flag:checked + span { color: white; display: block; } -input.sheet-selector-switch:checked ~ .sheet-master-container .sheet-content .sheet-options, -input.sheet-selector-switch:checked ~ .sheet-master-container .sheet-content .sheet-options-flag:checked ~ .sheet-display { +.charsheet input.selector-switch:checked ~ .master-container .content .options, +.charsheet input.selector-switch:checked ~ .master-container .content .options-flag:checked ~ .display { display: none; } -input.sheet-selector-switch:checked ~ .sheet-master-container .sheet-content .sheet-options-flag:checked ~ .sheet-options { +.charsheet input.selector-switch:checked ~ .master-container .content .options-flag:checked ~ .options { display: block; } +.charsheet div.sheettype-title{ + position:absolute; + right: 5px; + top:-35px; +} +/*-------------------------------------------*/ +/*--------------- PC Section-----------------*/ + +.charsheet .physical-params { + display: flex; + margin-top: 25px; +} + +.charsheet .physical-params label { + text-align: center; +} + +.charsheet .physical-params input { + display: block; + width: 100% !important; + text-align: center; +} + +.charsheet .custom-roll-table { + display: table; + width: 100%; +} + +.charsheet .custom-roll-table button.d6-dice { + width: 35px; + height: 18px; +} +.charsheet textarea.description{ + height:6em; + width:97% +} +.charsheet textarea.description-phys{ + height: 6em; + width: 97%; + margin-top: 3px; +} +.charsheet textarea.specabilities{ + width: 95%; + height: 12em; +} + +.charsheet th.init{ + vertical-align: top; +} +.charsheet td.init{ + padding-left: 6px; + padding-bottom: 40px; +} +.charsheet label input[type="number"].init, +.charsheet input[type="number"].init{ + width: 33px; +} + +/*-------------------------------------------*/ +/*--------------- NPC Section-----------------*/ +.charsheet div.section.npc div.first-col{ + display: inline-block; +} +.charsheet div.section.npc .npcname{ + width: 65%; +} +.charsheet label.wound{ + text-decoration: underline; +} +.charsheet select.wound{ + width: 125px; +} + +/* Attributes */ +.charsheet .attributes { + border: 2px solid white; + margin: 5px; + padding: 10px; +} + +.charsheet .attribute { + margin-bottom: 5px; +} + +/* Unified Dice */ +.charsheet .unified-dice { + width: 32px; + height: 34px; + line-height: 34px; +} +.charsheet .unified-dice-text { + display: inline-flex; + width: calc(100% - 240px); + height: 40px; + margin: 0; + padding: 0 5px; + font-size: x-large; + vertical-align: top; + line-height: 40px; +} + +.charsheet input.gmroll:checked ~ .master-container .unified-dice-text { + width: calc(100% - 181px); +} + +.charsheet .unified-dice-roll { +} + +.charsheet button[type=roll].unified-dice-roll { + margin: 0; +} + +.charsheet input[type="number"].unified-dice-input { + font-size: large; + font-weight: bold; + text-align: center; + width: 46px; + padding: 2px 4px; +} + +.charsheet .unified-dice-middle { + display: inline-flex; + width: 24px; + height: 40px; + line-height: 40px; + font-size: 1.6em; + vertical-align: top; + font-weight: bold; +} + +.charsheet input[type="number"].unified-dice-pip { + font-size: large; + font-weight: bold; + text-align: center; + width: 46px; + padding: 2px 4px; +} + +/* Skill */ +.charsheet .skill { + height: 28px; + margin: 4px 0; +} +.charsheet .skill * { + height: 28px; + line-height: 26px; + width: 100%; +} +.charsheet .skill input[type="text"]{ + width: calc(100% - 5px); +} + +.charsheet .skill label { + padding: 0 1px; +} + +.charsheet .skill .unified-dice-text { + display: inline-flex; + width: calc(100% - 225px); + height: 28px; + font-size: medium; + font-weight: normal; + vertical-align: top; + line-height: 28px; +} + +.charsheet input.gmroll:checked ~ .master-container .skill .unified-dice-text { + width: calc(100% - 173px); +} + +.charsheet .skill button[type=roll].unified-dice-roll { + width: 32px; + height: 24px; + padding-top: 0; +} + +.charsheet .skill input[type="number"].unified-dice-input { + width: 46px; + height: 28px; + font-size: inherit; + text-align: center; +} + +.charsheet .skill .unified-dice-middle { + display: inline-flex; + width: 24px; + height: 28px; + font-size: medium; + vertical-align: top; + line-height: 28px; +} + +.charsheet .repcontrol { + height: 28px; +} + +.charsheet .skill input[type="number"].unified-dice-pip { + display: inline-flex; + width: 46px; + height: 28px; + font-size: inherit; + text-align: center; +} + + +.charsheet .redtxt { + bottom: -3px; + right: 5px; +} + + +/* Edit Mode */ +.charsheet .editmode .skill { + margin: 4px 36px 4px 34px +} + +.charsheet .editmode :is(.unified-dice-roll, .unified-dice-input, .unified-dice-middle, .unified-dice-pip) { + display: none !important; +} + +.charsheet .editmode .unified-dice-text { + width: 100% !important; +} +.charsheet .editmode .armor.sheet-row:not(:first-of-type) .cell:not(:first-of-type), +.charsheet .editmode .weapon.sheet-row:not(:first-of-type) .cell:not(:first-of-type) { + display: none; +} +.charsheet .editmode .armor.sheet-row:not(:first-of-type) .cell:first-of-type, +.charsheet .editmode .weapon.sheet-row:not(:first-of-type) .cell:first-of-type { + width: 100%; +} +.charsheet .force .editmode .skill input[type=checkbox] { + display: none; +} + + +/* Weapons & Armors */ +.charsheet .armor.sheet-row, +.charsheet .weapon.sheet-row{ + width: 850px; +} +.charsheet .armor.sheet-row:first-of-type .cell, +.charsheet .weapon.sheet-row:first-of-type .cell { + height: 36px; + border-bottom: 5px solid white; +} +.charsheet .armor.sheet-row:first-of-type .cell-4, +.charsheet .weapon.sheet-row:first-of-type .cell-4 { + vertical-align: bottom; +} +.charsheet .cell { + display: inline-block; + margin: 0 4px; + text-align: center; +} +.charsheet .cell:first-of-type { + margin-left: 0; +} +.charsheet .cell:last-of-type { + margin-right: 0; +} +.charsheet .armor.sheet-row:first-of-type .cell, +.charsheet .weapon.sheet-row:first-of-type .cell { + vertical-align: top; + line-height: 36px; + font-weight: bold; +} +.charsheet .weapon.sheet-row:first-of-type .cell.cell-4 { + line-height: inherit; +} +.charsheet .cell-name { + min-width: 50px; + width: calc(100% - 743px); +} +.charsheet .cell-name .unified-dice-text { + width: 100%; +} +.charsheet .cell-dice { + width: 197px; +} +.charsheet .cell-1 { + width: 46px; +} +.charsheet .cell-2 { + width: 84px; +} +.charsheet .cell-4 { + width: 198px; +} +.charsheet .armor .cell-4 { + width: 218px; +} +.charsheet .cell-4 .part { + display: inline-block; + width: 20%; +} +.charsheet .cell-5 { + width: 219px; +} + +.charsheet .repcontainer[data-groupname="repeating_weapons"] > .repitem input[type="text"].name, +.charsheet .repcontainer[data-groupname="repeating_armors"] > .repitem input[type="text"].name{ + width: 107px; +} +.charsheet .repcontainer[data-groupname="repeating_weapons"] > .repitem input[type="number"].40px, +.charsheet .repcontainer[data-groupname="repeating_armors"] > .repitem input[type="number"].40px{ + width: 40px; +} + +/* Force */ +.charsheet .force .skill .unified-dice-text { + width: calc(100% - 139px); +} + +.charsheet .force .skill input[type=checkbox], +.charsheet .powers input[type=checkbox] { + display: inline-block; + height: 28px; + width: 44px; +} +.charsheet .force-powers-description { + width: 100%; + height: 14em; + resize: vertical; +} +.charsheet table.powers { + width: 100%; +} +.charsheet table.powers td { + text-align: end; +} +.charsheet .force-hide .weapon .cell.cell-name { + width: calc(100% - 418px); +} + + +/* Equipment & Backgorund */ + +.charsheet div.section.equipment-hide textarea{ + height: 7em; + width: 96%; +} + +.charsheet div.section.backgorund-hide td.33p{ + width: 33.33%; +} + + +/* Char point & credit tracking */ + + +.charsheet .repcontainer[data-groupname="repeating_cptable"] > .repitem div, +.charsheet .repcontainer[data-groupname="repeating_credittable"] > .repitem div{ + padding-top: 8px; +} +.charsheet .repcontainer[data-groupname="repeating_cptable"] > .repitem input[type="text"], +.charsheet .repcontainer[data-groupname="repeating_credittable"] > .repitem input[type="text"]{ + width:80%; +} +.charsheet .repcontainer[data-groupname="repeating_credittable"] > .repitem input[type="number"]{ + width:100px; +} /*-------------------------------------------*/ /*------------- Ship Section-----------------*/ -div.sheet-ship .sheet-wborder{ +.charsheet .shipinfo span { + display: inline-block; + margin: 5px 10px 5px 10px; +} + +.charsheet div.ship .wborder{ border: 2px solid white; padding: 5px; } -div.sheet-shipheader{ +.charsheet div.shipheader{ display: flex; justify-content: center; flex-flow: row nowrap; } -div.sheet-shipheader span:nth-child(1) input[type="text"]{ +.charsheet div.shipheader span:nth-child(1) input[type="text"]{ width: 300px; } -div.sheet-shipheader span:nth-child(2) input[type="text"]{ - width: 150px; -} -div.sheet-shipheader span:nth-child(3) input[type="text"]{ +.charsheet div.shipheader span:nth-child(2) input[type="text"], +.charsheet div.shipheader span:nth-child(3) input[type="text"]{ width: 150px; } -div.sheet-shipblock{ +.charsheet div.shipblock{ padding: 5px; display: grid; grid-template-columns: 3fr 7fr; @@ -395,23 +807,23 @@ div.sheet-shipblock{ height: 550px; } -div.sheet-shipblock div.sheet-price{ +.charsheet div.shipblock div.price{ grid-area: price; flex-flow: column nowrap; justify-content: space-between; } -div.sheet-shipblock div.sheet-price span{ +.charsheet div.shipblock div.price span{ width: 100px; } -div.sheet-shipblock div.sheet-price div{ +.charsheet div.shipblock div.price div{ display: flex; flex-flow: column nowrap; justify-content: space-between; } -div.sheet-shipblock div.sheet-priceblock div.sheet-flex-row{ +.charsheet div.shipblock div.priceblock div.flex-row{ flex-flow: row nowrap; justify-content: space-around; margin: 3px; @@ -419,28 +831,29 @@ div.sheet-shipblock div.sheet-priceblock div.sheet-flex-row{ /* Performance */ -div.sheet-shipblock div.sheet-perf{ +.charsheet div.shipblock div.perf{ grid-area: perf; padding: 5px; } -div.sheet-shipblock div.sheet-perf .sheet-medium, -div.sheet-shipblock div.sheet-sensor .sheet-medium, -div.sheet-shipblock div.sheet-hyperdrive input[type="text"], -div.sheet-shipblock div.sheet-price input[type="text"]{ +.charsheet div.shipblock div.perf .medium, +.charsheet div.shipblock div.sensor .medium, +.charsheet div.shipblock div.hyperdrive input[type="text"], +.charsheet div.shipblock div.price input[type="text"], +{ width: 80px; } -div.sheet-shipblock div.sheet-perf label:not(.sheet-title){ +.charsheet div.shipblock div.perf label:not(.title){ font-size: 0.8em; } -div.sheet-shipblock div.sheet-perf div.sheet-perf, -div.sheet-shipblock div.sheet-perf-block div.sheet-flex-col{ +.charsheet div.shipblock div.perf div.perf, +.charsheet div.shipblock div.perf-block div.flex-col{ display: flex; flex-flow: column nowrap; } -div.sheet-shipblock div.sheet-perf div.sheet-perf-block{ +.charsheet div.shipblock div.perf div.perf-block{ display: flex; flex-flow: row nowrap; justify-content: space-between; @@ -448,18 +861,18 @@ div.sheet-shipblock div.sheet-perf div.sheet-perf-block{ } /* Sensors */ -div.sheet-shipblock div.sheet-sensor{ +.charsheet div.shipblock div.sensor{ grid-area: sensor; border: 2px solid white; } -div.sheet-shipblock div.sheet-sensor div.sheet-flex-row{ +.charsheet div.shipblock div.sensor div.flex-row{ display: flex; flex-flow: row nowrap; } -div.sheet-shipblock div.sheet-sensor div.sheet-grid{ +.charsheet div.shipblock div.sensor div.grid{ display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); @@ -469,24 +882,24 @@ div.sheet-shipblock div.sheet-sensor div.sheet-grid{ } /* Hyperdrive */ -div.sheet-shipblock div.sheet-hyperdrive{ +.charsheet div.shipblock div.hyperdrive{ grid-area: hyperdrive; display: flex; flex-flow: column nowrap; } -div.sheet-shipblock div.sheet-hyperdrive div{ +.charsheet div.shipblock div.hyperdrive div{ display: flex; flex-flow: row nowrap; font-size: 0.8em; } -div.sheet-shipblock div.sheet-hyperdrive .sheet-crew{ +.charsheet div.shipblock div.hyperdrive .crew{ display: flex; flex-flow: column nowrap; } -div.sheet-shipblock div.sheet-hyperdrive .sheet-hyper-grid{ +.charsheet div.shipblock div.hyperdrive .hyper-grid{ display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); @@ -495,34 +908,66 @@ div.sheet-shipblock div.sheet-hyperdrive .sheet-hyper-grid{ width: 440px; } -div.sheet-shipblock div.sheet-hyper-grid label{ +.charsheet div.shipblock div.hyper-grid label{ width: 110px; } -div.sheet-shipblock div.sheet-hyperdrive input[type="text"]{ +.charsheet div.shipblock div.hyperdrive input[type="text"]{ height: 22px; } -div.sheet-shipblock div.sheet-consume{ +.charsheet div.shipblock div.consume{ grid-area: consume; } -div.sheet-shipblock div.sheet-dura{ +.charsheet div.shipblock div.dura{ grid-area: dura; display: grid; grid-template-rows: 1fr 1fr; grid-template-columns: 1fr 1fr 1fr; } -div.sheet-shipblock div.sheet-dura label{ +.charsheet div.shipblock div.dura label{ width:80px; } -div.sheet-section.sheet-ship div.sheet-other{ +.charsheet div.section.ship div.other{ margin-bottom: 10px; } +/* Ship Weapons */ + +.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem div{ + margin-bottom:10px; +} +.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem span.range{ + margin-left: 15px; +} + +/* Generic Ship & Vehicle section */ + +.charsheet div.section.ship label{ + padding-top: 4px; + padding-bottom: 4px; + +} +.charsheet div.section.ship input[type="text"]{ + width: 95%; + padding-bottom:8px; +} +.charsheet div.section.ship textarea{ + width: 97% + height: 17em; +} + +/* misc sheet styling */ + +.charsheet input[type=number].40px{ + width: 40px; +} + + /*-------------------------------------------*/ /*------------- Roll Templates---------------*/ @@ -571,7 +1016,7 @@ div.sheet-section.sheet-ship div.sheet-other{ /* alt template colors */ .sheet-rolltemplate-swd6 .sheet-container.sheet-color-green { --header-bg-color: #008000; -}rgba(204, 0, 0,1) +} .sheet-rolltemplate-swd6 .sheet-container.sheet-color-red { --header-bg-color: rgba(204, 0, 0,1); } @@ -743,3 +1188,4 @@ div.sheet-section.sheet-ship div.sheet-other{ .sheet-rolltemplate-black tr:nth-child(even) { background-color:#eee; } + diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index f38844916a..714581a8e4 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1,3 +1,5 @@ + + @@ -6,936 +8,1251 @@ - - + +
- - y - - - - -

Settings

-

Player Sheet

-

NPC Sheet

-

Ship

-

Shop/Container

- - -

- - - -
- -
- - - -
-
- - -
- Sheet type: - -
- - -
- Hide GM Rolls? - -
- - -
- Disable roll modification query when rolling? - -
- - -
- Use Wild Die in rolls? - -
- - -
- Hide/Show Sections: -
-
- Hide Force Section? -
-
- Hide Equipment Section? - -
-
- Hide Background Section? - -
-
- Hide Character Point Summary Section? - -
-
- Hide Credit Summary Section? - -
-
-
- - - -
- - - -
-
-
- - - - - - - -
- - - - - - - -
-
-
- - - -
-
-
- - - -
-
-
- - -
-
- - - - - - - - -
-
- - - - - - - -
-
-
- - - - -
-
-
- - - - - - - - -
-
- - -
-
-
- -
- -
- - - -
-
-
- - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
- D+ -
-
-
- - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
- D+ -
-
-
- - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
- D+ -
-
-
-
- - -
- - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
- D+ -
-
-
- - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
- D+ -
-
-
- - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
- D+ -
-
-
-
-
-
- - - -
- - - - - - - - - - - - -
Skill RollDamageShortMedLongROFAmmo
-
- - D+ - D+ - - - - - - - - - - - - - - - -
- - - - - - - - -
PhysicalEnergyOtherDamage Soak Rolls
-
- - D+ - D+ - - - - - - - - - - - - - - - - -
-
- - - -
- -
-
- - - - - - - - - - -
-
- - - - - -
- D+ -
-
-
- - - - - - -
-
-
- - - - - -
- D+ -
-
-
- - - - - - -
-
-
- - - - - -
- D+ -
-
-
- - - - - - -
-
-
-
- - - - -
- Force Emptiness active - -
- Resist Pain active - - -
- # of other powers active - - -
-
-
- - -
-
-
-
-
- Lightsaber Combat - - D+ - - - D+ - - - -
-
- - - -
- - - - - - - -
- - - - - - - - -
-
- - - -
- - -
- - - - -
- - - - - - - - - - - - -
-
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
-
- - - -
- - Character Point Balance: - -
-
- - -
-
-
- - - -
- - Credit Balance: - -
-
- - -
-
-
- - - - -
- Starship: - Scale: - Length: + + y + + +

Settings

+

Player Sheet

+

NPC Sheet

+

Ship

+

Shop/Container

+ +

+ + + + + + +
+
+ + +
+ Sheet type: + +
+ + +
+ Hide GM Rolls? + +
+ + +
+ Disable roll modification query when rolling? + +
+ + +
+ Use Wild Die in rolls? + +
+ + +
+ Hide/Show Sections: +
+
+ Hide Force Section? +
+
+ Hide Equipment Section? + +
+
+ Hide Background Section? + +
+
+ Hide Character Point Summary Section? + +
+
+ Hide Credit Summary Section? + +
+
+
+ + + +
+ + + +
+
+
+ + + + +
+ + + + +
+
+
+ + +
+
+
+ + + +
+
+
+ + +
+
+ + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Initiative bonus + D+ +
Initiative + + +
Custom Roll + + + +
Extra Dice + + + +
Char Points Roll + + + +
+
+
+
+ + + +
+
+
+ + + + + + + + +
+
+ + +
+
+
+ +
+ +
+ + + +
+ +
+
+ +
+
+ + + + + + + +
D+
+ +
+ +
+
+ + + + + + +
D+
+ +
+
+
+ +
+
+ + + + + + + +
D+
+ +
+ +
+
+ + + + + + +
D+
+ +
+
+
+ +
+
+ + + + + + + +
D+
+ +
+ +
+
+ + + + + + +
D+
+ +
+
+
+
-
-
- - -
-
- Era - -
-
- New - -
-
- Used - -
-
- -
-
- Era - -
-
- Reproduction - -
-
- New-Old-Stock - -
-
- Restored - -
-
- Used - -
-
+
+
+ + + + + + + +
D+
+
-
- -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
+
+
+ + + + + + +
D+
+ +
+
+
+ +
+
+ + + + + + + +
D+
+
-
- -
-
- - -
-
-
- Search - Scan - Passive - Focus +
+
+ + + + + + +
D+
+ +
+
+
- Range - - - - +
+
+ + - Sensitivity - - - - -
-
-
- -
- -
-
- - -
-
- - - - - - - - - - - - - - - -
-
- -
- -
-
- - -
- -
- - -
+ + + + +
D+
+
-
- - - -
- -
-
- -
-
- -
-
-
+
+
+ + + + + + +
D+
+ +
+
+
- - -
- -
- -
- Scale: - Fire Arc: - Crew: -
- -
- Skill: - Fire Control: D - Space Range: - Atmosphere Range: -
- -
- Damage:D+ -
- -
-
- - -
- -
- Craft: - Type: - Crew: -
-
- Skill: - Passangers: - Cargo Capacity: -
-
- Hyperdrive Multipiler: - Hyperdrive Backup: - Nav Computer: -
- +
+
- + -
-
-
- - - -
-
- - - -
-
-
+
+ +
+
+
Weapon
+
Attack
+
Damage
+
+
Range
+
PB
-
S
/
M
/
L
+
+
ROF
+
Ammo
+
- +
+
+
+ +
+
+ D+ + + + + +
+
+ D+ + + + + +
+
+ -// +
+
+
+
+
+
-
-

Original Author: Timothy O'Driscoll | Main Editor: Andreas J. (Roll20user: 1223200) |

-
-
+
+
+
Armor
+
Physical
+
Energy
+
Str
+
Other
+
+ +
+
+
+ +
+
+ D+ + + + + +
+
+ D+ + + + + +
+
+ + + + +
+
+ +
+
+
+
+ +
+ + + +
+ + +
+
+ +
+
+ + + + + + + +
D+
+ +
+ +
+
+ + + + + + +
+
+
+ +
+
+ + + + + + + +
D+
+ +
+ +
+
+ + + + + + +
+
+
+ +
+
+ + + + + + + +
D+
+ +
+ +
+
+ + + + + + +
+
+
+
+ +
+ + + + + + + + + + + + + + +
Force Emptiness details + +
Resist Pain details + +
Number of active powers details + +
+ +

Force Powers

+ + +
+
+ +
+
+
Lightsaber combat
+
Attack
+
Damage
+
+ +
+
+ +
+
+ D+ + + + + +
+
+ D+ + + + + +
+
+
+
+ + + +
+ + + + + + + +
+ + + + + + + + +
+
+ + + +
+ + +
+ + + +
+ + + + + + + + + + + + +
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+ + + +
+ + Character Point Balance: + +
+
+ + +
+
+
+ + + +
+ + Credit Balance: + +
+
+ + +
+
+
+ + + +
+ Starship: + Scale: + Length: +
+ +
+
+ + +
+
+ Era + +
+
+ New + +
+
+ Used + +
+
+ +
+
+ Era + +
+
+ Reproduction + +
+
+ New-Old-Stock + +
+
+ Restored + +
+
+ Used + +
+
+
+ +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+
+ + +
+
+
+ Search + Scan + Passive + Focus + + Range + + + + + + Sensitivity + + + + +
+
+
+ +
+ +
+
+ + +
+
+ + + + + + + + + + + + + + + +
+
+ +
+ +
+
+ + +
+ +
+ + +
+
+ +
+ + + +
+ +
+
+ +
+
+ +
+
+
+ + + +
+ +
+ +
+ Scale: + Fire Arc: + Crew: +
+ +
+ Skill: + Fire Control: D + Space Range: + Atmosphere Range: +
+ +
+ Damage: + D+ + + +
+ +
+
+ + + +
+ +
+ Craft: + Type: + Crew: +
+
+ Skill: + Passangers: + Cargo Capacity: +
+
+ Hyperdrive Multipiler: + Hyperdrive Backup: + Nav Computer: +
+
+ + + +
+
+
+ + + +
+
+ + + +
+
+
+ + + + + +
+ - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- {{#name}}
{{name}}
{{/name}} - {{#subtitle}}
{{subtitle}}
{{/subtitle}} + {{#name}} +
{{name}}
+ {{/name}} + {{#subtitle}} +
{{subtitle}}
+ {{/subtitle}}
{{#allprops() title subtitle desc color}}
{{key}}
{{value}}
{{/allprops() title subtitle desc color}} - {{#desc}}
{{desc}}
{{/desc}} + {{#desc}} +
{{desc}}
+ {{/desc}}
@@ -943,43 +1260,50 @@ - +
{{#allprops() }} - - {{/allprops() }} -
{{name}}
{{key}}{{value}}
+ + {{key}} + {{value}} + {{/allprops() }} +
- +
{{#allprops() }} - - {{/allprops() }} -
{{name}}
{{key}}{{value}}
+ + {{key}} + {{value}} + {{/allprops() }} +
- +
{{#allprops() }} - - {{/allprops() }} -
{{name}}
{{key}}{{value}}
+ + {{key}} + {{value}} + {{/allprops() }} +
- +
{{#allprops() }} - - {{/allprops() }} -
{{name}}
{{key}}{{value}}
+ + {{key}} + {{value}} + {{/allprops() }} +
- - + diff --git a/D6StarWars/sheet.json b/D6StarWars/sheet.json index 7b6510c8e0..f96cc874f9 100644 --- a/D6StarWars/sheet.json +++ b/D6StarWars/sheet.json @@ -5,7 +5,7 @@ "roll20userid": "555352, 1223200", "patreon": "https://www.patreon.com/anduh", "preview": "d6starwarspreview.png", - "instructions": "\n This sheet is for Star Wars: The Roleplaying Game by West End Games(WEG) that uses the d6 pool system(**Sheet Version 2.32**).\n* Can be used for 1E, 2E, 2E R&E and REUP games, Wild Die can be disabled if wanted \n* NPC & Starship sheets available \n* Customization options include: hiding some sections, show/hide GM rolls, and disable/enable rolls to ask for modifiers before rolling \n* For more info, check out the sheet's [wiki page](https://wiki.roll20.net/Star_Wars_WEG_D6_character_sheet) \n\n Issues, Ideas & Questions can be sent to the [active editor](https://app.roll20.net/users/1223200)", + "instructions": "\n This sheet is for Star Wars: The Roleplaying Game by West End Games(WEG) that uses the d6 pool system.\n* Can be used for 1E, 2E, 2E R&E and REUP games, Wild Die can be disabled if wanted \n* NPC & Starship sheets available \n* Customization options include: hiding some sections, show/hide GM rolls, and disable/enable rolls to ask for modifiers before rolling \n* For more info, check out the sheet's [wiki page](https://wiki.roll20.net/Star_Wars_WEG_D6_character_sheet) \n\n Issues, Ideas & Questions can be sent to the [active editor](https://app.roll20.net/users/1223200)", "useroptions": [ { "attribute": "sheettype", @@ -102,5 +102,5 @@ "description": "How many Force Points a character starts with." } ], - "legacy": true + "legacy": false } \ No newline at end of file From 7648b8c4dd75c47523936498c05e8a57ccc3776e Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Wed, 19 May 2021 14:30:26 +0200 Subject: [PATCH 02/14] D6StarWars 2.41 - Fix Weapon and Armor section --- D6StarWars/CHANGELOG.md | 3 +++ D6StarWars/D6StarWars.css | 6 ++++++ D6StarWars/D6StarWars.html | 6 +++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/D6StarWars/CHANGELOG.md b/D6StarWars/CHANGELOG.md index ef21807330..a3ad9e94c1 100644 --- a/D6StarWars/CHANGELOG.md +++ b/D6StarWars/CHANGELOG.md @@ -1,3 +1,6 @@ +### Version 2.40 (2021-5): +- fix broken styles + ### Version 2.40 (2021-5): - refactor sheet to be able to use the new Roll20 Sheet framework - Feature: Skill name auto-suggestions, suggest relevant names as you start typing diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index 1ae2b9c819..e6f2429d10 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -639,6 +639,12 @@ } +.charsheet .overflow-auto { + overflow: auto; + padding-top: 15px; + padding-bottom: 10px; +} + /* Weapons & Armors */ .charsheet .armor.sheet-row, .charsheet .weapon.sheet-row{ diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index 714581a8e4..eef7f23e4c 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -274,7 +274,7 @@ -
+
@@ -464,7 +464,7 @@
-
+
Weapon
Attack
@@ -507,7 +507,7 @@
-
+
Armor
Physical
From e412cabf8c3d2eeb63f924002aad12d9a3bb15c8 Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Thu, 20 May 2021 22:51:51 +0200 Subject: [PATCH 03/14] D6StarWars 2.41 - Fix dice input alignment --- D6StarWars/D6StarWars.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index e6f2429d10..12fe6f8b1c 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -495,11 +495,11 @@ } .charsheet .unified-dice-text { display: inline-flex; - width: calc(100% - 240px); + width: calc(100% - 231px); height: 40px; margin: 0; padding: 0 5px; - font-size: x-large; + font-size: 20px; vertical-align: top; line-height: 40px; } @@ -525,7 +525,7 @@ .charsheet .unified-dice-middle { display: inline-flex; - width: 24px; + width: 29px; height: 40px; line-height: 40px; font-size: 1.6em; @@ -561,7 +561,7 @@ .charsheet .skill .unified-dice-text { display: inline-flex; - width: calc(100% - 225px); + width: calc(100% - 223px); height: 28px; font-size: medium; font-weight: normal; @@ -588,8 +588,9 @@ .charsheet .skill .unified-dice-middle { display: inline-flex; - width: 24px; + width: 25px; height: 28px; + padding-left: 4px; font-size: medium; vertical-align: top; line-height: 28px; @@ -597,6 +598,7 @@ .charsheet .repcontrol { height: 28px; + margin-top: 10px; } .charsheet .skill input[type="number"].unified-dice-pip { @@ -740,6 +742,9 @@ .charsheet table.powers td { text-align: end; } +.charsheet .force-hide .weapon.sheet-row { + width: 100%; +} .charsheet .force-hide .weapon .cell.cell-name { width: calc(100% - 418px); } From 8e0d11caf3bb0de53fb54f2b78679236e382e61f Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Thu, 20 May 2021 23:01:32 +0200 Subject: [PATCH 04/14] D6StarWars 2.41 - Update version --- D6StarWars/CHANGELOG.md | 4 ++-- D6StarWars/D6StarWars.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/D6StarWars/CHANGELOG.md b/D6StarWars/CHANGELOG.md index a3ad9e94c1..c69a3e6af8 100644 --- a/D6StarWars/CHANGELOG.md +++ b/D6StarWars/CHANGELOG.md @@ -1,7 +1,7 @@ -### Version 2.40 (2021-5): +### Version 2.41 (2021-05): - fix broken styles -### Version 2.40 (2021-5): +### Version 2.40 (2021-05): - refactor sheet to be able to use the new Roll20 Sheet framework - Feature: Skill name auto-suggestions, suggest relevant names as you start typing - more code cleanup diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index eef7f23e4c..49362a37e3 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1,4 +1,4 @@ - + From 587742ade6d88bfc9742d921a72c0cc385bb235b Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Sat, 22 May 2021 00:17:16 +0200 Subject: [PATCH 05/14] D6StarWars 2.41 - Fix breaking lines --- D6StarWars/D6StarWars.css | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index 12fe6f8b1c..29ca0d07a8 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -484,6 +484,7 @@ } .charsheet .attribute { + display: flex; margin-bottom: 5px; } @@ -494,8 +495,7 @@ line-height: 34px; } .charsheet .unified-dice-text { - display: inline-flex; - width: calc(100% - 231px); + flex-grow: 1; height: 40px; margin: 0; padding: 0 5px; @@ -525,8 +525,9 @@ .charsheet .unified-dice-middle { display: inline-flex; - width: 29px; + width: 32px; height: 40px; + padding: 0 2px; line-height: 40px; font-size: 1.6em; vertical-align: top; @@ -541,18 +542,24 @@ padding: 2px 4px; } +.charsheet .attributes button[type=roll].unified-dice-roll { + margin: 0 5px 0 0; +} + /* Skill */ .charsheet .skill { + display: flex; height: 28px; margin: 4px 0; } .charsheet .skill * { height: 28px; line-height: 26px; - width: 100%; } .charsheet .skill input[type="text"]{ - width: calc(100% - 5px); + flex-grow: 1; + width: inherit; + margin-right: 5px; } .charsheet .skill label { @@ -590,7 +597,9 @@ display: inline-flex; width: 25px; height: 28px; + margin: 0 2px; padding-left: 4px; + padding-right: 3px; font-size: medium; vertical-align: top; line-height: 28px; @@ -649,8 +658,9 @@ /* Weapons & Armors */ .charsheet .armor.sheet-row, -.charsheet .weapon.sheet-row{ - width: 850px; +.charsheet .weapon.sheet-row { + display: flex; + width: 856px; } .charsheet .armor.sheet-row:first-of-type .cell, .charsheet .weapon.sheet-row:first-of-type .cell { @@ -683,25 +693,25 @@ } .charsheet .cell-name { min-width: 50px; - width: calc(100% - 743px); + flex-grow: 1; } .charsheet .cell-name .unified-dice-text { width: 100%; } .charsheet .cell-dice { - width: 197px; + width: 205px; } .charsheet .cell-1 { width: 46px; } .charsheet .cell-2 { - width: 84px; + width: 98px; } .charsheet .cell-4 { - width: 198px; + width: 200px; } .charsheet .armor .cell-4 { - width: 218px; + width: 204px; } .charsheet .cell-4 .part { display: inline-block; From b8aa427ea8b182ea954697d6520529c9a89740ac Mon Sep 17 00:00:00 2001 From: Andreas Johansson Date: Sat, 22 May 2021 04:41:50 +0300 Subject: [PATCH 06/14] datalists for species + force power names --- D6StarWars/D6StarWars.html | 903 +++++++++++++++++++++++++++++------- D6StarWars/src/datalist.pug | 73 +++ 2 files changed, 808 insertions(+), 168 deletions(-) create mode 100644 D6StarWars/src/datalist.pug diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index 49362a37e3..cbba30681f 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -109,7 +109,7 @@ - +
@@ -564,10 +564,10 @@
- + - + @@ -582,7 +582,7 @@
@@ -591,11 +591,11 @@
- + - - + +
D+
@@ -609,7 +609,7 @@
@@ -618,11 +618,11 @@
- - + + - - + +
D+
@@ -636,7 +636,7 @@
@@ -1058,177 +1058,744 @@
- + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/D6StarWars/src/datalist.pug b/D6StarWars/src/datalist.pug new file mode 100644 index 0000000000..1312452bc9 --- /dev/null +++ b/D6StarWars/src/datalist.pug @@ -0,0 +1,73 @@ +-var dex = ["Acrobatics", "Archaic Guns", "Blaster", "Blaster Artillery", "Bowcaster", "Bows", "Brawling Parry", "Contortions", "Dancing", "Dodge", "Firearms", "Grenade", "Lightsaber", "Melee Combat", "Melee Parry", "Missile Weapon", "Pick Pocket", "Running", "Shockball Fling", "Shockball Scoop", "Slingshot", "Thrown Weapons", "Vehicle Blasters", "Wedsphere"]; + +-var know = ["Accounting", "Agriculture", "Alien Species", "Artist", "Brainwashing", "Bureaucracy", "Business Administration", "Business", "Culinary Arts", "Cultures", "Drink Mixology", "Economics", "Home Economics", "Intimidation", "Languages", "Law Enforcement", "Military History", "Planetary Systems", "Shockball", "Streetwise", "Survival", "Tactics", "Traffic Control", "Torture", "Value", "Willpower"]; + +-var mech = ["Airship Operation", "Aquatic Ship Operation", "Archaic Starship Piloting", "Astrogation Calculating", "Beast Handling", "Beast Riding", "Capital Ship Gunnery", "Capital Ship Piloting", "Capital Ship Shields", "Ground Vehicle Operation", "Holorecorder Operation", "Household Appliance Operation", "Hover Vehicle Operation", "Jet Pack Operation", "Machinery Operation", "Musical Instrument", "Powersuit Operation", "Repulsorlift Operation", "Sailed Nautical Vessel Operation", "Sensors Operation", "Space Transports", "Starfighter Piloting", "Starship Gunnery", "Starship shields", "Swoop Operation", "Undersea Vehicle operation", "Walker Operation"]; + +-var per= ["Bargain", "Command", "Con", "Forgery", "Gambling", "Cesa", "Hide", "Investigation", "Persuasion", "Search", "Singing", "Sneak"]; + +-var str = ["Brawling", "Cleaning", "Climbing/Jumping", "Digging", "Stamina", "Swimming"]; + +-var tech = ["Aquatic Vehicle Engineering", "Aquatic Vehicle Repair", "Archaic Gun Repair", "Armor Design", "Armor Repair", "Battle Station Engineering", "Battle Station Repair", "Battle Station Weapon Engineering", "Battle Station Weapon Repair", "Blaster Artillery Engineering", "Blaster Repair", "Blaster Engineering", "Bowcaster Repair", "Bow Repair Repairing", "Capital Ship Engineering", "Capital Ship Repair", "Communications Repair", "Computer Engineering", "Computer Programming/Repair", "Construction", "Cyborg Technology", "Demolitions", "Droid Engineering", "Droid Repair", "Encryption Securing", "Engineering", "Firearms Repair", "First Aid", "Ground Vehicle Engineering", "Ground Vehicle Repair", "Holorecorder Repair", "Hover Vehicle Engineering", "Hover Vehicle Repair", "Jet Pack Engineering", "Jet Pack Repair", "Lightsaber Repair", "Machinery Repair", "Medicine Performing", "Melee Weapon Construction", "Melee Weapon Repair", "Musical Instrument Repair", "Powersuit Repair", "Prosthetic Design", "Prosthetic Repair", "Repulsorlift Engineering", "Repulsorlift Repair", "Rocket Pack Repair", "Sailed Nautical Vessel Repair", "Security Bypassing", "Space Transports Engineering", "Space Transports Repair", "Starfighter Engineering", "Starfighter Repair", "Starship Weapon Engineering", "Starship Weapon Repair", "Swoop Engineering", "Swoop Repair", "Walker Engineering", "Walker Repair"]; + +- var species = ["Aar’aa", "Abinyshi", "Abyssin", "Adarian", "Adnerem", "Advozse", "Aganof", "Aing-Tii", "Akwin", "Aleena", "Amanin", "Anguilla", "Annoo-dat", "Anointed People", "Anomid", "Anx", "Anzat", "Aqualish", "Arachnoid", "Aramandi", "Araquia", "Arcona", "Arkanian", "Askajian", "Avogwi (Altorian Bird)", "Ayrou", "Balinaka", "Balosar", "Barabel", "Baragwin", "Bartokk", "Berrite", "Besalisk", "Bilar", "Bimm (near-human)", "Bimm", "Bith", "Bitthævrian", "Blood Carver", "Boltrunian", "Borneck", "Bosph", "Bothan", "Bouncer", "Bovorian", "Brizzit", "Brubb", "Buzchub", "Caamasi", "Caarite", "Calibop", "Caridan", "Carosite", "Cathar", "Celegian", "Cerean", "Chadra-Fan", "Chagrian", "Chalactan", "Charon", "Charr Ontee", "Cha’wen’he", "Chazrach", "Chev", "Chevin", "Chikarri", "Chiss", "Chistori", "Chuhkyvi Iskalonian", "Clawdite", "Cliffborer", "Codru-Ji", "Colicoid", "Columi", "Conjeni", "Covallon", "Coway", "Coynite", "Cragmoloid", "Damaronian", "Dantari", "Dashade", "Dathomirian Rancor", "Dazouri", "Defel", "Derriphan", "Devaronian", "Devlikk", "Dornean", "Draedan", "Draethos", "Drall", "Dresselian", "Dug", "Duinuogwuin", "Dulok", "Duros", "Ebranite", "Ee", "Eirrauc", "Eklaad", "Elom", "Elomin", "Em’liy", "Entymal", "Epicanthix", "Ergesh", "Er’Kit", "Esoomian", "Essastii", "Etti", "Ewok", "Falleen", "Farghul", "Feeorin", "Fefze", "Fiery One", "Filar-Nitzan", "Filordus", "Filvian", "Firrerreo", "Flakax", "Florn Lamproid", "Fluggrian", "Fosh", "Frog-dog", "Frozian", "Gacerite", "Gados", "Galidyn", "Gamorrean", "Gand", "Gazaran", "Geelan", "Gen’Dai", "Geonosian", "Geran", "Gerb", "Gesaril", "Gigoran", "Givin", "Glymphid", "Gorm", "Gorothite", "Gossam", "Gotal", "Gran", "Gree", "Gruvian", "Gungan", "Gutratee", "Guudrian", "Hapan", "Herglic", "Hethas", "H’nemthe", "Ho’Din", "Hoojib", "Horansi", "Hortek", "Houk", "Hrakian", "Human", "Huralok", "Hutt", "Iktotchi", "Iotran", "Ipharian-Da’Lor", "Ishi Tib", "Iskalloni", "Issori", "Ithorian", "Ixlls", "Iyra", "Jarell", "Jawa", "Jenet", "Jiivahar", "Jillsarian", "Kadri’Ra", "Ka’hren", "Kalduu", "Kaleesh", "Kamarian", "Kaminoan", "Kari", "Karran", "Kel Dor", "Kentra", "Kerestian", "Ketton", "Khil", "Khommite", "Kian’thar", "Kilmaulsi", "Kitonak", "Klatooinian", "Kluuzot", "Kobok", "Kolac", "Koorivar", "Kowakian Monkey-Lizard", "Krakai", "Krevaaki", "Kriek", "Krikthasi", "Krish", "Krytollak", "Kubaz", "Kurtzen", "Kushiban", "Laboi", "Lafrarian", "Lahsbee / Huhk", "Lannik", "Lasat", "Lepi", "Lorrdian", "Lurrian", "Lutrillian", "Makurth", "Mantellian Savrip", "Maoi", "Marasan", "Massassi", "Meerian", "Melodie", "Menahuun", "Meri", "Mimbanite", "Miraluka", "Mirialan", "Mon Calamari", "Morodin", "Morseerian", "Mriss", "Mrlssi", "M’shinn", "Multopos", "Murachaun", "Muun", "Myneyrsh", "Nagai", "Najib", "Nalrithian", "Nalroni", "Nautolan", "Nazzar", "Neimoidian", "Nelvaanian", "Neti", "Nikto", "Nimbanel", "Noehon", "Noghri", "Nosaurian", "Nuiwit (Altorian Lizard)", "Nuknog", "Oblee", "Odenji", "Omwati", "Ongree", "Orfite", "Orgon", "Ortolan", "Ossan", "Pacithhip", "Paigun", "Pa’lowick", "Pau’an", "Permian", "Phindian", "Pho Ph’eahian", "Phuii", "Polis Massan", "Polydroxol", "Poss’Nomin", "Priapulin", "Protean", "Psadan", "Pulra", "P’w’eck", "Qieg", "Qiraash", "Quarren", "Quermian", "Quockran", "Quor’sav", "Qwohog", "Rakaan", "Rakatan", "Rakririan", "Ranat", "Ranth", "Reigat", "Rellarin", "Revwien", "Ri’Dar", "Riileb", "Riorian ", "Rishii", "Rodian", "Roonan", "Ropagu", "Ruurian", "Ruusanian", "Rybet", "Ryn", "Saheelindeeli", "Sakiyan", "Sanyassan", "Sarkan", "Sarrish", "Saurin", "Saurton", "Sauvax", "Sebiri", "Sedrian", "Segmi", "Seikoshan", "Sekct", "Selkath", "Selonian", "Shard", "Sharu", "Shashay", "Shatras", "Shawda Ubb", "Shi’ido", "Shistavanen", "Sic-Six", "Silika", "Siniteen", "Skakoan", "Skrilling", "S’kytri", "Slith", "Sljee", "Sludir", "Sluissi", "Sneevel", "Snivvian", "Spiner", "Squalris", "Squib", "Srrors’tok", "Ssamb", "Ssi-ruu", "Ssither", "Stenax", "Stennes Shifter", "Sullustan", "Sunesi", "Svivreni", "Swokes Swokes", "Sy Myrthian", "Talid", "Talz", "Tammuz-an", "Tarasin", "Tarc", "Tarong", "Tarro", "Tasari", "Tchuukthai", "Teek", "Teltior", "Temolak", "Tempestro", "Thakwaash", "Theelin", "Thisspian", "Tikiarri", "Tinnell", "Tirrith", "Tiss’shar", "T’landa Til", "Togorian", "Togruta", "Toka", "Toong", "Toydarian", "Trandoshan", "Trianii", "Triffian", "Troig", "Trunsk", "Tsil", "T’surr", "Tuhgri", "Tulvarees", "Tunroth", "Turazza", "Tusken Raider(Sand People)", "Twi’lek", "Tynnan", "Ubese", "Ugnaught", "Ugor", "Ukian", "Umbaran", "Utai", "Uukaablian", "Vaathkree", "Vashan", "Veknoid", "Vernol", "Verpine", "Viska", "Vodran", "Vor", "Vorzydiak", "Vratix", "Vulptereen", "Vultan", "Vurk", "Vuvrian", "Weequay", "Werbol", "Whiphid", "Wookiee", "Woostoid", "Wroonian", "Xa Fel", "Xamster", "Xan", "Xexto", "Xi’Dec", "Yaga", "Yam rii", "Yapi", "Yarkora", "Yevetha", "Yimi", "Yinchorri", "Yrashu", "Ysanna Nomad", "Yuuzahn Vong", "Yuzzem", "Yuzzum", "Yvarema", "Zabrak", "Zarian", "ZeHethbra", "Zelosian", "Zeltron", "Zexx", "Zizimaak"]; + +- var control = ["Absorb/Dissipate Energy", "Accelerate Healing", "Concentration", "Contort/Escape", "Control Disease", "Control Pain", "Detoxify Poison", "Emptiness", "Enhance Attribute", "Force of Will", "Hibernation", "Trance", "Instinctive Astrogation", "Reduce Injury", "Remain Conscious", "Remove Fatigue", "Resist Stun", "Short-Term Memory Enhancement", "Rage"]; + +- var sense = ["Beast Languages", "Combat Sense", "Danger Sense", "Instinctive Astrogation", "Life Detection", "Life Sense", "Life Web", "Magnify Senses", "Merge Senses", "Postcognition", "Predict Natural Disaster", "Receptive Telepathy", "Sense Force", "Sense Force Potential", "Sense Path", "Shift Sense", "Translation", "Weather Sense"]; + +- var alter = ["Telekinesis", "Bolt of Hatred", "Dark Side Web", "Injure/Kill"]; + +- var controlsense = ["Farseeing", "Life Bond", "Lightsaber Combat", "Projective Telepathy"]; + +- var controlalter = ["Accelerate Another's Healing", "Control Another's Disease", "Control Another's Pain", "Control Breathing", "Detoxify Another's Poison", "Place Another in Hibernation Trance", "Remove Another's Fatigue", "Return Another to Consciousness", "Transfer Force", "Aura of Uneasiness", "Electronic Manipulation", "Feed on Dark Side", "Force Lightning", "Inflict Pain", "Waves of Darkness"]; + +- var sensealter = ["Dim Another's Senses", "Lesser Force Shield"]; + +- var forceall = ["Control Mind", "Create Force Storms", "Doppleganger", "Drain Life Energy", "Drain Life Essence", "Memory Wipe", "Telekinetic Kill", "Transfer Life", "Force Scream"]; + +- var controlall = control.concat(controlsense, controlalter, forceall); + +- var senseall = sense.concat(controlsense, sensealter, forceall); + +- var alterall = alter.concat(controlalter, sensealter, forceall); + +datalist#dexskills + each skill in dex + option(value=`${skill}`)=skill + +datalist#knowskills + each skill in know + option(value=`${skill}`)=skill + +datalist#mechskills + each skill in mech + option(value=`${skill}`)=skill + +datalist#perskills + each skill in per + option(value=`${skill}`)=skill + +datalist#strskills + each skill in str + option(value=`${skill}`)=skill + +datalist#techskills + each skill in tech + option(value=`${skill}`)=skill + +datalist#species + each race in species + option(value=`${race}`)=race + +datalist#forcecontrol + each power in controlall + option(value=`${power}`)=power + +datalist#forcesense + each power in senseall + option(value=`${power}`)=power + +datalist#forcealter + each power in alterall + option(value=`${power}`)=power \ No newline at end of file From f25f8d81cbeb506b12643c956fb468e3612cfc84 Mon Sep 17 00:00:00 2001 From: Andreas Johansson Date: Sat, 22 May 2021 04:55:42 +0300 Subject: [PATCH 07/14] changelog --- D6StarWars/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D6StarWars/CHANGELOG.md b/D6StarWars/CHANGELOG.md index c69a3e6af8..8d0c9d9b78 100644 --- a/D6StarWars/CHANGELOG.md +++ b/D6StarWars/CHANGELOG.md @@ -3,7 +3,7 @@ ### Version 2.40 (2021-05): - refactor sheet to be able to use the new Roll20 Sheet framework -- Feature: Skill name auto-suggestions, suggest relevant names as you start typing +- Feature: Skills, Species, Force Powers auto-suggestions, suggest relevant names as you start typing - more code cleanup ### Version 2.34 (2021-05): From c1561291b0c259ccea6e76aa45a1cd148f364e8c Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Sun, 23 May 2021 08:56:22 +0200 Subject: [PATCH 08/14] D6StarWars 2.41 - Fix breaking lines when no GM rolls --- D6StarWars/D6StarWars.css | 26 +++++++++++++++----------- D6StarWars/D6StarWars.html | 4 ++-- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index 29ca0d07a8..408df08fb1 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -504,10 +504,6 @@ line-height: 40px; } -.charsheet input.gmroll:checked ~ .master-container .unified-dice-text { - width: calc(100% - 181px); -} - .charsheet .unified-dice-roll { } @@ -576,10 +572,6 @@ line-height: 28px; } -.charsheet input.gmroll:checked ~ .master-container .skill .unified-dice-text { - width: calc(100% - 173px); -} - .charsheet .skill button[type=roll].unified-dice-roll { width: 32px; height: 24px; @@ -660,8 +652,14 @@ .charsheet .armor.sheet-row, .charsheet .weapon.sheet-row { display: flex; - width: 856px; + width: 100%; } +/*.charsheet :not(input.gmroll:checked) .weapon.sheet-row {*/ +/* width: 763px;*/ +/*}*/ +/*.charsheet :not(input.gmroll:checked) .armor.sheet-row {*/ +/* width: 748px;*/ +/*}*/ .charsheet .armor.sheet-row:first-of-type .cell, .charsheet .weapon.sheet-row:first-of-type .cell { height: 36px; @@ -701,17 +699,23 @@ .charsheet .cell-dice { width: 205px; } +.charsheet :not(input.gmroll:checked) .cell-dice { + width: 158px; +} .charsheet .cell-1 { width: 46px; } .charsheet .cell-2 { width: 98px; } +.charsheet :not(input.gmroll:checked) .cell-2 { + width: 50px; +} .charsheet .cell-4 { width: 200px; } .charsheet .armor .cell-4 { - width: 204px; + width: 250px; } .charsheet .cell-4 .part { display: inline-block; @@ -723,7 +727,7 @@ .charsheet .repcontainer[data-groupname="repeating_weapons"] > .repitem input[type="text"].name, .charsheet .repcontainer[data-groupname="repeating_armors"] > .repitem input[type="text"].name{ - width: 107px; + width: 98px; } .charsheet .repcontainer[data-groupname="repeating_weapons"] > .repitem input[type="number"].40px, .charsheet .repcontainer[data-groupname="repeating_armors"] > .repitem input[type="number"].40px{ diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index cbba30681f..0c9d9842fa 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -464,7 +464,7 @@
-
+
Weapon
Attack
@@ -507,7 +507,7 @@
-
+
Armor
Physical
From 93b92bb8b202d2d263d369b392c1bf9aa8be453d Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Sun, 23 May 2021 19:22:08 +0200 Subject: [PATCH 09/14] D6StarWars 2.41 - Fix regression bug --- D6StarWars/D6StarWars.css | 20 +++++++++----------- D6StarWars/D6StarWars.html | 4 ++-- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index 408df08fb1..89f0d04d08 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -654,12 +654,10 @@ display: flex; width: 100%; } -/*.charsheet :not(input.gmroll:checked) .weapon.sheet-row {*/ -/* width: 763px;*/ -/*}*/ -/*.charsheet :not(input.gmroll:checked) .armor.sheet-row {*/ -/* width: 748px;*/ -/*}*/ +.charsheet :not(input.gmroll:checked) .weapon.sheet-row , +.charsheet :not(input.gmroll:checked) .armor.sheet-row { + width: 856px; +} .charsheet .armor.sheet-row:first-of-type .cell, .charsheet .weapon.sheet-row:first-of-type .cell { height: 36px; @@ -700,7 +698,7 @@ width: 205px; } .charsheet :not(input.gmroll:checked) .cell-dice { - width: 158px; + width: 208px; } .charsheet .cell-1 { width: 46px; @@ -709,14 +707,11 @@ width: 98px; } .charsheet :not(input.gmroll:checked) .cell-2 { - width: 50px; + width: 92px; } .charsheet .cell-4 { width: 200px; } -.charsheet .armor .cell-4 { - width: 250px; -} .charsheet .cell-4 .part { display: inline-block; width: 20%; @@ -759,6 +754,9 @@ .charsheet .force-hide .weapon.sheet-row { width: 100%; } +.charsheet :not(input.gmroll:checked) .force-hide .weapon.sheet-row { + width: 100%; +} .charsheet .force-hide .weapon .cell.cell-name { width: calc(100% - 418px); } diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index 0c9d9842fa..cbba30681f 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -464,7 +464,7 @@
-
+
Weapon
Attack
@@ -507,7 +507,7 @@
-
+
Armor
Physical
From 3560e310f1bbbfc36a30c55f8ace62b2d9c3514c Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Sun, 30 May 2021 09:16:17 +0200 Subject: [PATCH 10/14] D6StarWars 2.41 v2.41.10 - Fixes default skill dice values as 3 - Fixes default dice values as 1 for weapons and armors - Fixes default pip values for force attributes - Fixes weapon range header misalignment - Adds missing value highlight on every skill and attribute --- D6StarWars/D6StarWars.css | 12 +++--- D6StarWars/D6StarWars.html | 88 +++++++++++++++++++------------------- 2 files changed, 51 insertions(+), 49 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index 89f0d04d08..336369eb7f 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -60,6 +60,9 @@ } +.charsheet input:not(:valid) { + background-color: #ffcccb; +} .charsheet input[type=number].p60{ width: 60px; @@ -656,7 +659,7 @@ } .charsheet :not(input.gmroll:checked) .weapon.sheet-row , .charsheet :not(input.gmroll:checked) .armor.sheet-row { - width: 856px; + width: 866px; } .charsheet .armor.sheet-row:first-of-type .cell, .charsheet .weapon.sheet-row:first-of-type .cell { @@ -710,11 +713,11 @@ width: 92px; } .charsheet .cell-4 { - width: 200px; + width: 210px; } .charsheet .cell-4 .part { display: inline-block; - width: 20%; + width: 46px; } .charsheet .cell-5 { width: 219px; @@ -980,7 +983,7 @@ padding-bottom:8px; } .charsheet div.section.ship textarea{ - width: 97% + width: 97%; height: 17em; } @@ -1211,4 +1214,3 @@ .sheet-rolltemplate-black tr:nth-child(even) { background-color:#eee; } - diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index cbba30681f..8aca90980f 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1,4 +1,4 @@ - + @@ -287,9 +287,9 @@ - +
D+
- +
@@ -301,9 +301,9 @@ - +
D+
- +
@@ -316,9 +316,9 @@ - +
D+
- +
@@ -330,9 +330,9 @@ - +
D+
- +
@@ -345,9 +345,9 @@ - +
D+
- +
@@ -359,9 +359,9 @@ - +
D+
- +
@@ -377,9 +377,9 @@ - +
D+
- +
@@ -391,9 +391,9 @@ - +
D+
- +
@@ -406,9 +406,9 @@ - +
D+
- +
@@ -420,9 +420,9 @@ - +
D+
- +
@@ -435,9 +435,9 @@ - +
D+
- +
@@ -449,9 +449,9 @@ - +
D+
- +
@@ -471,7 +471,7 @@
Damage
Range
-
PB
-
S
/
M
/
L
+
PB
-
S
/
M
/
L
ROF
Ammo
@@ -485,14 +485,14 @@
- D+ + D+
- D+ + D+ @@ -524,14 +524,14 @@
- D+ + D+
- D+ + D+ @@ -570,9 +570,9 @@ - +
D+
- +
@@ -597,9 +597,9 @@ - +
D+
- +
@@ -624,9 +624,9 @@ - +
D+
- +
@@ -696,17 +696,17 @@
D+ - - - - + + + +
D+ - - - - + + + +
From decf6757c7949f3746452815549e864a867ae853 Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Sun, 30 May 2021 22:46:28 +0200 Subject: [PATCH 11/14] D6StarWars 2.41 v2.41.11 - Fixes consumable box overlaid with another box - Fixes durability hull/shields overlaid with jump route, astromech and another entry box --- D6StarWars/D6StarWars.css | 10 ++++++++-- D6StarWars/D6StarWars.html | 10 +++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index 336369eb7f..d8df0f59ea 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -823,14 +823,12 @@ padding: 5px; display: grid; grid-template-columns: 3fr 7fr; - grid-template-rows: 4fr 2fr 4fr 4fr 2fr 1fr; grid-template-areas: "price perf " "price sensor " "price sensor " "price hyperdrive" "consume hyperdrive" "consume dura "; - height: 550px; } .charsheet div.shipblock div.price{ @@ -878,6 +876,10 @@ .charsheet div.shipblock div.perf-block div.flex-col{ display: flex; flex-flow: column nowrap; + border-width: 3px 0 0 0; + border-style: solid; + border-color: transparent; + padding-top: 5px; } .charsheet div.shipblock div.perf div.perf-block{ display: flex; @@ -885,6 +887,10 @@ justify-content: space-between; padding: 5px; } +.charsheet div.shipblock div.perf-block div.flex-col.wborder { + border-width: 3px; + border-color: white; +} /* Sensors */ .charsheet div.shipblock div.sensor{ diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index 8aca90980f..77a2767e24 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1,4 +1,4 @@ - + @@ -880,15 +880,15 @@
- +
- +
- +
@@ -925,7 +925,7 @@
-
+
From 7bd6b4a0456e3ac64302190bad1f2bfe3a274d81 Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Mon, 31 May 2021 00:39:58 +0200 Subject: [PATCH 12/14] D6StarWars 2.41 v2.41.12 - Fixes ship weapons layout --- D6StarWars/D6StarWars.css | 16 +++++++++ D6StarWars/D6StarWars.html | 74 +++++++++++++++++++++++++++----------- 2 files changed, 70 insertions(+), 20 deletions(-) diff --git a/D6StarWars/D6StarWars.css b/D6StarWars/D6StarWars.css index d8df0f59ea..dcc92896d7 100644 --- a/D6StarWars/D6StarWars.css +++ b/D6StarWars/D6StarWars.css @@ -970,6 +970,22 @@ /* Ship Weapons */ +.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem { + border: 2px solid white; + margin-bottom: 5px; + padding: 5px; + + display: grid; + grid-template-areas: "label value"; + grid-template-columns: 1fr 3fr +} + +.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .range { + display: inline-block; + width: 60px; + text-align: center; + border: none; +} .charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem div{ margin-bottom:10px; } diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index 77a2767e24..ce70268c94 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1,4 +1,4 @@ - + @@ -983,29 +983,63 @@
+
- -
- Scale: - Fire Arc: - Crew: +
+
+
+
+
+
+ PB - + S / + M / + L +
+
+ - + / + / + +
+
+ - + / + / + +
+
+ D+ + + +
+
+ D+ + +
-
- Skill: - Fire Control: D - Space Range: - Atmosphere Range: -
+ + + + + -
- Damage: - D+ - - -
+ + + + + + + + + + + + + + +
From 3bcc3df685b032af2baa7040d3b1e71c2802f4ab Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Mon, 31 May 2021 00:53:01 +0200 Subject: [PATCH 13/14] D6StarWars 2.41 v2.41.12 - Fixes fire control default values --- D6StarWars/D6StarWars.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index ce70268c94..8f3b47493a 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1009,8 +1009,8 @@
- D+ - + D+ +
From e2a361554e5155632d22869abbd088b8f8575649 Mon Sep 17 00:00:00 2001 From: Moondancer83 Date: Fri, 11 Jun 2021 00:54:59 +0200 Subject: [PATCH 14/14] D6StarWars 2.41 Release of v2.41.12 --- D6StarWars/D6StarWars.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D6StarWars/D6StarWars.html b/D6StarWars/D6StarWars.html index 8f3b47493a..fd975aa3fb 100644 --- a/D6StarWars/D6StarWars.html +++ b/D6StarWars/D6StarWars.html @@ -1,4 +1,4 @@ - +