From 6e80394b5a3d7e717b9806735397746ff975fca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anja=20M=C3=B6ller?= Date: Wed, 17 Mar 2021 21:44:36 +0100 Subject: [PATCH 01/76] Initial commit with redesign of menu, Grundwerte page, Fertigkeiten page and part of Kampf page. With implementation of Turn Tracker merged. --- Splittermond/Sheet.css | 952 +++++++- Splittermond/Sheet.html | 4665 +++++++++++++++++++++------------------ 2 files changed, 3355 insertions(+), 2262 deletions(-) diff --git a/Splittermond/Sheet.css b/Splittermond/Sheet.css index 3f6e2bf75d..e748d65e4a 100644 --- a/Splittermond/Sheet.css +++ b/Splittermond/Sheet.css @@ -1,7 +1,9 @@ +@import url('https://fonts.googleapis.com/css?family=Caudex:ital,wght@0,400;0,700;1,400;1,700|Poppins:ital,wght@0,400;0,600;0,700;1,300&display=swap'); + .charsheet { background-color: white; - width: 840px; - font-family: "Times New Roman"; + /*width: 840px;*/ + font-family: 'Poppins', sans-serif; } .sheet-isPC { @@ -16,6 +18,7 @@ margin: 0 5px 0 20px; } +/* todo label { font-weight: bold; font-size: 12px; @@ -24,102 +27,104 @@ label { line-height: 26px; padding: 0 !important; text-align: center !important; -} +}*/ /*-----------------------------------------------input ------------------------------------------------*/ +/* todo .charsheet input[type=text], .charsheet input[type=number] { padding-left: 2px; -} +}*/ + +/* todo .charsheet input[type="text"], .charsheet input[type="number"] { background-color: white; border-width: 0px 0px 0px 0px; +}*/ +.charsheetinput [type="text"]:disabled, +.charsheet input[type="number"]:disabled { + /*background-color: lightgray;*/ + /*todo border-width: 0px 0px 0px 0px;*/ } -.charsheetinput [type="text"]:disabled, .charsheet input[type="number"]:disabled { - background-color: lightgray; - border-width: 0px 0px 0px 0px; -} -.charsheet input[type="text"], select { - width:100%; - margin:0; - background-color: white; - border-width: 0px 0px 0px 0px; +.charsheet input[type="text"], +select { + width: 100%; + margin: 0; + background-color: inherit; + /*todo border-width: 0px 0px 0px 0px;*/ } -.charsheet input[type=number]:disabled { - background-color:#FFFFFF; +.charsheet input[type="number"]:disabled { + background-color: #ffffff; } td { padding: 0px; } -input{ - font-family: "Times New Roman"; -} + input[type="text"]:disabled { - background-color:#81BEF7; + background-color: #81bef7; } /*-------------------------------------------------Tabs--------------------------------------*/ - - -div[class^="sheet-section"] { +/*todo remove +div[class^="sheet-section"] { visibility: hidden; opacity: 0; - max-height:0; + max-height: 0; overflow: hidden; } input.sheet-tab { width: 190px; height: 20px; - cursor: pointer; + cursor: pointer; position: relative; opacity: 0; z-index: 9999; } span.sheet-tab { text-align: center; - display: inline-block; - font-size: 12px; - background: #0489B1; + display: inline-block; + font-size: 12px; + background: #0489b1; color: white; font-weight: bold; - + border: solid 1px #a8a8a8; text-align: center; width: 190px; height: 20px; - cursor: pointer; + cursor: pointer; position: relative; margin-left: -197px; } input.sheet-tab::before { content: attr(title); text-align: center; - display: inline-block; + display: inline-block; width: 100%; height: 100%; - background: black; + background: black; color: white; font-weight: bold; } -.sheet-isPC:checked~.sheet-pc, -.sheet-isNPC:checked~.sheet-npc, -.sheet-isCreature:checked~.sheet-creature { +.sheet-isPC:checked ~ .sheet-pc, +.sheet-isNPC:checked ~ .sheet-npc, +.sheet-isCreature:checked ~ .sheet-creature { display: inline-block; } -.sheet-isPC:checked~.sheet-creature, -.sheet-isPC:checked~.sheet-npc, -.sheet-isNPC:checked~.sheet-creature, -.sheet-isNPC:checked~.sheet-pc, -.sheet-isCreature:checked~.sheet-npc, -.sheet-isCreature:checked~.sheet-pc { +.sheet-isPC:checked ~ .sheet-creature, +.sheet-isPC:checked ~ .sheet-npc, +.sheet-isNPC:checked ~ .sheet-creature, +.sheet-isNPC:checked ~ .sheet-pc, +.sheet-isCreature:checked ~ .sheet-npc, +.sheet-isCreature:checked ~ .sheet-pc { display: none; } input.sheet-tab1:checked ~ div.sheet-section-Grundwerte, -input.sheet-tab2:checked ~ div.sheet-section-Fertigkeiten,, +input.sheet-tab2:checked ~ div.sheet-section-Fertigkeiten, input.sheet-tab21:checked ~ div.sheet-section-Fertigkeiten, input.sheet-tab3:checked ~ div.sheet-section-Kampf, input.sheet-tab4:checked ~ div.sheet-section-Entwicklung, @@ -132,32 +137,12 @@ input.sheet-tab29:checked ~ div.sheet-section-npc { opacity: 1; transition: opacity 0.5s linear 0s; overflow: hidden; - + border: 1px solid #222; margin: 7px 0 0 5px; - padding: 5px + padding: 5px; } - -input.sheet-tab42:checked ~ div.sheet-section-Updates { - max-height: 999999px; - visibility: visible; - opacity: 1; - transition: opacity 0.5s linear 0s; - overflow: hidden; - - border: 1px solid #222; - margin: 7px 0 0 5px; - padding: 5px -} - -input.sheet-tab42:checked { - display: none; -} - -input.sheet-tab42:checked ~ span.sheet-tab42 { - display: none; -} - +todo remove end*/ /*--------------------------------------------Roll Templates-------------------------------------*/ .sheet-rolltemplate-splittermond_generic .sheet-rolltemplate-table-generic, @@ -166,15 +151,15 @@ input.sheet-tab42:checked ~ span.sheet-tab42 { .sheet-rolltemplate-splittermond_aktiveabwehr .sheet-rolltemplate-table-aktiveabwehr, .sheet-rolltemplate-splittermond_damage .sheet-rolltemplate-table-damage, .sheet-rolltemplate-splittermond-initiative_tracker .sheet-rolltemplate-table-initiative_tracker { - width:100%; + width: 100%; background-color: white; - border:2px solid #000; + border: 2px solid #000; border-spacing: 0; border-collapse: separate; border-radius: 5px; -moz-box-shadow: 2px 2px 5px #000; -webkit-box-shadow: 2px 2px 5px #000; - box-shadow:2px 2px 5px #000; + box-shadow: 2px 2px 5px #000; overflow: hidden; } @@ -194,45 +179,47 @@ input.sheet-arrow:checked ~ div.sheet-body { display: block; } +/* div .repitem:nth-child(odd), div .repitem:nth-child(odd) input, div .repitem:nth-child(odd) select, div .repitem:nth-child(odd) textarea.sheet-textarea-description { - background-color: #81BEF7; + background-color: #81bef7; } div.sheet-creature .repitem:nth-child(odd), div.sheet-creature .repitem:nth-child(odd) input, div.sheet-creature .repitem:nth-child(odd) select { - background-color: #C7EAFF; + background-color: #c7eaff; } +*/ .sheet-button-attack, .sheet-button-ability, .sheet-button-dm, .sheet-button-defense { - background: #66BDED; + background: #66bded; } -button[type=roll].sheet-button-attack::before { - font-family: "Times New Roman"; +button[type="roll"].sheet-button-attack::before { + font-family: 'Poppins', sans-serif; content: "AT"; font-size: 0.75em; color: white; } -button[type=roll].sheet-button-defense::before { - font-family: "Times New Roman"; +button[type="roll"].sheet-button-defense::before { + font-family: 'Poppins', sans-serif; content: "AA"; font-size: 0.75em; color: white; } -button[type=roll].sheet-button-ability::before { - font-family: "Times New Roman"; +button[type="roll"].sheet-button-ability::before { + font-family: 'Poppins', sans-serif; content: "SP"; font-size: 0.75em; color: white; -} -button[type=roll].sheet-button-dm::before { - font-family: "Times New Roman"; +} +button[type="roll"].sheet-button-dm::before { + font-family: 'Poppins', sans-serif; content: "SL"; font-size: 0.75em; color: white; @@ -245,7 +232,9 @@ button[type=roll].sheet-button-dm::before { } .sheet-tooltip strong, -.sheet-tooltip-small strong { line-height: 30px; } +.sheet-tooltip-small strong { + line-height: 30px; +} input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { display: block; @@ -253,9 +242,11 @@ input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { } .sheet-tooltip:hover, -.sheet-tooltip-small:hover { text-decoration: none; } +.sheet-tooltip-small:hover { + text-decoration: none; +} -.sheet-tooltip-small:hover textarea { +.sheet-tooltip-small:hover textarea { display: block; position: absolute; } @@ -270,8 +261,8 @@ input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { margin-left: 28px; width: 600px; line-height: 16px; - border: 1px solid #66BDED; - background: #C7EAFF; + border: 1px solid #66bded; + background: #c7eaff; } .sheet-tooltip-small textarea { @@ -284,8 +275,8 @@ input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { margin-left: 28px; width: 70px; line-height: 16px; - border: 1px solid #66BDED; - background: #C7EAFF; + border: 1px solid #66bded; + background: #c7eaff; } .sheet-textarea-description { @@ -302,8 +293,8 @@ input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { resize: none; } -.sheet-hidden { - display:none; +.sheet-hidden { + display: none; } div.sheet-behaelter1, @@ -324,9 +315,7 @@ input.sheet-behaelter5:checked ~ div.sheet-behaelter5 { div.sheet-behaelter1, div.sheet-behaelter2, -div.sheet-behaelter3 -div.sheet-behaelter4 -div.sheet-behaelter5 { +div.sheet-behaelter3 div.sheet-behaelter4 div.sheet-behaelter5 { border: 1px solid gray; } @@ -358,4 +347,783 @@ p.sheet-initracker_paragraph { text-align: center; margin-top: 1em; margin-bottom: 1em; -} \ No newline at end of file +} + +/* Settings */ + /*light theme*/ +.sheet-theme~* { + --color-bg: white; + --color-bg-underlay:#d0d0d0; + --color-bg-form-header:#0489b1; + + --color-font: #252b2e; + --color-font-h1:#0489b1; + --color-font-form-header:white; + --color-font-form__field:#252b2e; + --color-font-form__label:#5a5a5a; + --color-font-form__label--focus:#0489b1; + + --border-form__field: 2px solid #5a5a5a; +} + /*dark theme*/ +.sheet-theme:checked~* { + --color-bg: #252b2e; + --color-bg-underlay:#155a6f; + --color-bg-form-header:#155a6f; + + --color-font-form__field:white; + --color-font-form__label:#bbbbbb; + --color-font-form__label--focus:#97d1e5; + --color-font: white; + --color-font-h1:#97d1e5; + --color-font-form-header:#97d1e5; + + --border-form__field: 2px solid #bbbbbb; +} + + +/* Generic */ +.repcontrol_add, +.repcontrol_edit { + border-radius: 0; + line-height: 1; + text-shadow: none; + border-color: transparent; +} + +.repcontrol_add { + float: right; + background: none; + background-color: #97d1e5; + border-bottom-left-radius: 3px; +} + +.repcontrol_add:hover, .repcontrol_edit:hover { + background-color: #bdeefd; +} + +.repcontrol_edit { + background: none; + background-color: #f1f1f1; + border-bottom-right-radius: 3px; +} + +.itemcontrol { + z-index: 10; +} + + +/* Elements */ +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: 'Caudex', serif; + color: inherit; +} + +select { + color: var(--color-font); +} + +select option { + color: black; +} + +input[readonly], +select[readonly], +textarea[readonly] { + cursor: default; +} + +label { + width: auto; + font-size: inherit; + margin-bottom: 0; +} + +/* Objects */ +.charsheetinput [type="text"]:disabled, +.charsheet input[type="number"]:disabled { + background-color: transparent; +} + +.sheet-button { + background: none; + background-color: #d0d0d0; + color: black; + text-shadow: none; + border: none; + box-shadow: none; + border-radius: 4px; +} + +.sheet-button:hover { + background-color: #f1f1f1; +} + +.sheet-button--primary { + background-color: #0489b1; + color: white; +} + +.sheet-button--primary:hover { + background-color: #97d1e5; + color: #0489b1; +} + +.sheet-form-header { + display: block; + font-family: 'Caudex', serif; + font-size: 1.5rem; + font-weight: 700; + background-color: var(--color-bg-form-header); + color: var(--color-font-form-header); + padding: 0.2rem 0.5rem; +} + +.sheet-value-overview { + display: flex; + flex-wrap: wrap; + justify-content: center; + background-color: var(--color-bg-underlay); + padding: 0.5rem 0 1rem 0; +} + +.sheet-value-overview > label { + margin-right: 0.5rem; +} + +.sheet-value-overview > .sheet-form__group, +.sheet-value-overview > .sheet-moon-fragment { + max-width: 7rem; +} + +.sheet-value-overview > input { + background-color: #81bef7; + margin-right: 1rem; +} + +.sheet-footer { + background-color: var(--color-bg-underlay); + padding: 1rem; +} + +.sheet-section { + visibility: hidden; + overflow: hidden; + position: relative; + background-color: var(--color-bg); + color: var(--color-font); + /*todo important*/ + padding: 0 !important; + -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.45); + -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.45); + box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.45); + z-index: 1; + height: 0; +} + +.sheet-section > * { + opacity: 0; + transform: translateY(20px); + transition: opacity 0.2s, transform 0.2s; +} + +.sheet-section > *:nth-child(1) { + transition-delay: 0.4s; +} + +.sheet-section > *:nth-child(2) { + transition-delay: 0.6s; +} + +.sheet-section > *:nth-child(3) { + transition-delay: 0.8s; +} + +.sheet-section > *:nth-child(4) { + transition-delay: 1s; +} + +.sheet-section > *:nth-child(5) { + transition-delay: 1.2s; +} + +input.sheet-tab1:checked ~ .sheet-section-Grundwerte > *, +input.sheet-tab2:checked ~ .sheet-section-Fertigkeiten > *, +input.sheet-tab21:checked ~ .sheet-section-Fertigkeiten > *, +input.sheet-tab3:checked ~ .sheet-section-Kampf > *, +input.sheet-tab4:checked ~ .sheet-section-Entwicklung > *, +input.sheet-tab5:checked ~ .sheet-section-Einstellungen > *, +input.sheet-tab6:checked ~ .sheet-section-Ausruestung > *, +input.sheet-tab7:checked ~ .sheet-section-Genesis > *, +input.sheet-tab29:checked ~ .sheet-section-npc > *, +input.sheet-tab42:checked ~ .sheet-section-Updates > * { + opacity: 1; + transform: translateY(0px); +} + +.sheet-tab .sheet-tab__selector { + display: none; +} + +.sheet-section h1 { + color: var(--color-font-h1); +} + +.sheet-group { + border: solid 1px #4e4b49; + overflow: hidden; +} + +.sheet-group__option { + display: none; +} + +.sheet-group__label { + color: #969696; + display: inline-block; + cursor: pointer; + font-weight: bold; + padding: 0.2rem 1rem; + width: auto; + margin: 0; + font-size: 1.2rem; + font-weight: 400; + text-align: center; + border-right: solid 1px #4e4b49; +} + +.sheet-group__label:last-child { + border-right: none; +} + +.sheet-group__label:hover { + color: #4e4b49; + background-color: #f1f1f1; +} + +.sheet-group__option.sheet-isPC:checked ~ .sheet-group .sheet-group__label--isPC, +.sheet-group__option.sheet-isNPC:checked ~ .sheet-group .sheet-group__label--isNPC, +.sheet-group__option.sheet-isCreature:checked ~ .sheet-group .sheet-group__label--isCreature { + color: white; + background-color: #4e4b49; + font-weight: 600; +} + +.sheet-tab-menu { + display: flex; + flex-wrap: wrap; + background-color: #0489b1; + padding: 1rem 0; + justify-content: center; + font-family: 'Caudex', serif; +} + +.sheet-tab-menu__item { + font-size: 1.5rem; + color: #c1e1ff; + text-align: center; + cursor: pointer; + padding: 0.5rem 0; + margin-left: 1rem; + margin-right: 1rem; + width: auto; + transition: all 0.2s ease-in-out; + transition-duration: 0.75s; + position: relative; +} + +.sheet-tab-menu__item:hover { + color: #fff; +} + +.sheet-tab-menu__item:before, +.sheet-tab-menu__item:after { + content: ""; + position: absolute; + bottom: -1px; + width: 0px; + height: 3px; + transition: all 0.2s ease-in-out; + transition-duration: 0.75s; + background-color: #81bef7; + opacity: 0; +} + +.sheet-tab-menu__item:before { + left: 50%; +} +.sheet-tab-menu__item:after { + right: 50%; +} + +.sheet-tab-menu__item:hover:before, +.sheet-tab-menu__item:hover:after { + opacity: 1; + width: 50%; +} + +.sheet-isPC:checked ~ .sheet-pc, +.sheet-isNPC:checked ~ .sheet-npc, +.sheet-isCreature:checked ~ .sheet-creature { + display: block; +} + +.sheet-isPC:checked ~ .sheet-creature, +.sheet-isPC:checked ~ .sheet-npc, +.sheet-isNPC:checked ~ .sheet-creature, +.sheet-isNPC:checked ~ .sheet-pc, +.sheet-isCreature:checked ~ .sheet-npc, +.sheet-isCreature:checked ~ .sheet-pc { + display: none; +} + +input.sheet-tab1:checked ~ .sheet-section-Grundwerte, +input.sheet-tab2:checked ~ .sheet-section-Fertigkeiten, +input.sheet-tab21:checked ~ .sheet-section-Fertigkeiten, +input.sheet-tab3:checked ~ .sheet-section-Kampf, +input.sheet-tab4:checked ~ .sheet-section-Entwicklung, +input.sheet-tab5:checked ~ .sheet-section-Einstellungen, +input.sheet-tab6:checked ~ .sheet-section-Ausruestung, +input.sheet-tab7:checked ~ .sheet-section-Genesis, +input.sheet-tab29:checked ~ .sheet-section-npc, +input.sheet-tab42:checked ~ .sheet-section-Updates { + visibility: visible; + opacity: 1; + /*todo*/ + padding: 3rem !important; + height: auto; +} + +input.sheet-tab1:checked ~ .sheet-tab-menu .sheet-tab12, +input.sheet-tab2:checked ~ .sheet-tab-menu .sheet-tab21, +input.sheet-tab3:checked ~ .sheet-tab-menu .sheet-tab31, +input.sheet-tab4:checked ~ .sheet-tab-menu .sheet-tab4, +input.sheet-tab7:checked ~ .sheet-tab-menu .sheet-tab6, +input.sheet-tab6:checked ~ .sheet-tab-menu .sheet-tab7, +input.sheet-tab5:checked ~ .sheet-tab-menu .sheet-tab5 { + color: white; +} + +input.sheet-tab1:checked ~ .sheet-tab-menu .sheet-tab12:before, +input.sheet-tab2:checked ~ .sheet-tab-menu .sheet-tab21:before, +input.sheet-tab3:checked ~ .sheet-tab-menu .sheet-tab31:before, +input.sheet-tab4:checked ~ .sheet-tab-menu .sheet-tab4:before, +input.sheet-tab7:checked ~ .sheet-tab-menu .sheet-tab6:before, +input.sheet-tab6:checked ~ .sheet-tab-menu .sheet-tab7:before, +input.sheet-tab5:checked ~ .sheet-tab-menu .sheet-tab5:before, +input.sheet-tab1:checked ~ .sheet-tab-menu .sheet-tab12:after, +input.sheet-tab2:checked ~ .sheet-tab-menu .sheet-tab21:after, +input.sheet-tab3:checked ~ .sheet-tab-menu .sheet-tab31:after, +input.sheet-tab4:checked ~ .sheet-tab-menu .sheet-tab4:after, +input.sheet-tab7:checked ~ .sheet-tab-menu .sheet-tab6:after, +input.sheet-tab6:checked ~ .sheet-tab-menu .sheet-tab7:after, +input.sheet-tab5:checked ~ .sheet-tab-menu .sheet-tab5:after { + opacity: 1; + width: 50%; +} + +.sheet-collapse--toggle { + height: 0; + overflow: hidden; +} + +.sheet-collapse:checked ~ .sheet-collapse--toggle { + height: auto; +} + +/* Components */ + +.sheet-switch[type="checkbox"] { + display: none; +} + +.sheet-switch[type="checkbox"] + .sheet-switch__slider { + position: relative; + display: inline-flex; + cursor: pointer; +} + +.sheet-switch[type="checkbox"] + .sheet-switch__slider:before { + content: ""; + width: 40px; + height: 16px; + border-radius: 30px; + border: 2px solid #b1b1b1; + background-color: #b1b1b1; + transition: background-color 0.5s linear; +} + +.sheet-switch--theme[type="checkbox"] + .sheet-switch__slider:before { + border: 2px solid #0489b1; + background-color: #0489b1; +} + +.sheet-switch[type="checkbox"] + .sheet-switch__slider:after { + content: ""; + position: absolute; + left: 2px; + top: 2px; + width: 16px; + height: 16px; + border-radius: 30px; + background-color: white; + transition: margin 0.1s linear; +} + +.sheet-switch[type="checkbox"]:checked + .sheet-switch__slider:before { + border: 2px solid #0489b1; + background-color: #0489b1; +} + +.sheet-switch--theme[type="checkbox"]:checked + .sheet-switch__slider:before { + border: 2px solid #252b2e; + background-color: #252b2e; +} + +.sheet-switch[type="checkbox"]:checked + .sheet-switch__slider:after { + margin: 0 0 0 25px; +} + +.sheet-form__group { + position: relative; + padding: 10px 0 0 0; +} + +.sheet-form__field { + position: relative; + font-family: inherit; + width: 100% !important; + border: 0; + color: var(--color-font-form__field); + border-bottom: var(--border-form__field); + border-radius: 0; + outline: 0; + font-size: 1.3rem; + padding: 0.5rem 0 0 0; + background: transparent; + transition: border-color 0.2s; + z-index: 2; +} +input[type="number"].sheet-form__field { + text-align: right; +} +.sheet-form__field::placeholder { + color: transparent; +} +.sheet-form__field:placeholder-shown ~ .sheet-form__label { + font-size: 1.3rem; + cursor: text; + top: 15px; +} + +.sheet-form__label { + position: absolute; + top: 0; + display: block; + transition: 0.2s; + font-size: 1rem; + color: var(--color-font-form__label); + z-index: 1; + white-space: nowrap; +} + +.sheet-form__field:focus { + font-weight: 700; + border-width: 3px; + border-image: linear-gradient(to right, #0489b1, #97d1e5); + border-image-slice: 1; +} +.sheet-form__field:focus ~ .sheet-form__label { + position: absolute; + top: 0; + display: block; + transition: 0.2s; + font-size: 1rem; + color: var(--color-font-form__label--focus); + font-weight: 700; +} + +.sheet-form__field--framed { + border: 1px solid gray; + border-radius: 6px; +} + +.sheet-form__field--framed:focus { + font-weight: 400; + border-width: 1px; + border-image: none; +} + +.sheet-input-circle--primary { + position: relative; + width: 35px; + height: 35px; + background-color: #0489b1; + color: white; + border-radius: 50%; +} + +.sheet-input-circle--primary > input { + position: absolute; + top: 9px; + left: 3px; + background-color: transparent; + color: white; + border-color: transparent; + padding: 0; + text-align: center; +} + +.sheet-card { + border: 1px solid gray; + border-radius: 5px; + padding: 1rem 2rem; +} + +.sheet-popover { + position: relative; + outline: none; +} + +.sheet-popover .sheet-popover__content, +.sheet-popover .sheet-popover__arrow { + position: absolute; + -webkit-transform: translate(0, 8px); + transform: translate(0, 8px); + display: none; + opacity: 0; + z-index: 99; +} + +.sheet-popover .sheet-popover__content { + pointer-events: none; + top: 100%; + min-width: 3em; + max-width: 21em; + overflow: hidden; + padding: 6px 8px; + border-radius: 3px; + border-color: #0489b1; + background: #0489b1; + color: #ffffff; + word-break: break-all; +} + +.sheet-popover .sheet-popover__arrow { + top: calc(100% - 5px); + left: 6px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-bottom: 5px solid #0489b1; +} + +.sheet-popover__trigger:hover ~ .sheet-popover__content, +.sheet-popover__trigger:hover ~ .sheet-popover__arrow { + display: block; + opacity: 1; +} + +.sheet-popover--center .sheet-popover__content, +.sheet-popover--center .sheet-popover__arrow { + left: 50%; + -webkit-transform: translate(-50%, 8px); + transform: translate(-50%, 8px); +} + +.sheet-moon-fragment { + position: relative; +} + +.sheet-moon-fragment__icon { + position: absolute; + bottom: 23px; + right: -10px; + transform: rotate(45deg) !important; +} + +/* unused atm +.sheet-moon-fragment__icon--1 { + left: 10px; + bottom: 20px; +} + +.sheet-moon-fragment__icon--2 { + left: 25px; +} + +.sheet-moon-fragment__icon--3 { + left: 40px; +} + +.sheet-moon-fragment__icon--4 { + left: 55px; +} + +.sheet-moon-fragment__icon--5 { + left: 70px; +}*/ + +.sheet-moon-fragment__icon > span { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + border-style: solid; +} + +.sheet-moon-fragment__icon span:nth-child(1){ + border-width: 5px; + border-color: #1983d8 #1b74bb #2196f3 #38a1f5; +} + +.sheet-moon-fragment__icon span:nth-child(2){ + left: 9px; + border-width: 5px 3px; + border-color: transparent transparent #1b74bb #1b74bb; +} + +.sheet-moon-fragment__icon span:nth-child(3){ + top: 9px; + border-width: 3px 5px; + border-color: #2196f3 #2196f3 transparent transparent; +} + +.sheet-moon-fragment__icon span:nth-child(4){ + top: 9px; + left: 9px; + border-width: 3px; + border-color: #1b74bb #1983d8 #1b74bb #2196f3; +} + +/* Utilities */ + +.sheet-text--400 { + font-weight: 400 !important; +} + +.sheet-text--700 { + font-weight: 700 !important; +} + +.sheet-text--center { + text-align: center !important; +} + +.sheet-text--right { + text-align: right !important; +} + +.sheet-d--none { + display: none; +} + +.sheet-d--inline { + display: inline; +} + +.sheet-d--flex { + display: flex; +} + +.sheet-d--flex--align-center { + align-items: center; +} + +.sheet-d--flex > * { + flex: 1; +} + +.sheet-d--flex__item--grow0 { + flex: none; +} + +.sheet-d--flex__item--grow2 { + flex: 2; +} + +.sheet-d--flex__item--grow3 { + flex: 3; +} + +.sheet-d--flex__item--grow4 { + flex: 4; +} + +.sheet-d--flex--wrap { + flex-wrap: wrap; +} + +.sheet-float--left { + float: left; +} + +.sheet-mr--1 { + margin-right: 0.5rem !important; +} + +.sheet-mr--3 { + margin-right: 2rem !important; +} + +.sheet-ml--1 { + margin-left: 0.5rem !important; +} + +.sheet-ml--3 { + margin-left: 2rem !important; +} + +.sheet-mr--3--negate > * { + margin-right: -2rem !important; +} + +.sheet-mt--1 { + margin-top: 0.5rem !important; +} + +.sheet-mt--2 { + margin-top: 1rem !important; +} + +.sheet-mt--3 { + margin-top: 2rem !important; +} + +.sheet-mb--1 { + margin-bottom: 0.5rem !important; +} + +.sheet-mb--2 { + margin-bottom: 1rem !important; +} + +.sheet-mb--3 { + margin-bottom: 2rem !important; +} + +.sheet-mb--4 { + margin-bottom: 4rem !important; +} + +.sheet-pt--1 { + padding-top: 0.5rem !important; +} + +.sheet-pb--2 { + padding-bottom: 1rem !important; +} + +.sheet-pl--3 { + padding-left: 2rem !important; +} + +.sheet-pr--3 { + padding-right: 2rem !important; +} + diff --git a/Splittermond/Sheet.html b/Splittermond/Sheet.html index 48c6e4ee0f..984219bb98 100644 --- a/Splittermond/Sheet.html +++ b/Splittermond/Sheet.html @@ -1,8 +1,7 @@ - -      - - -
+ + + +
@@ -63,26 +62,26 @@ AUS - + MYS - + GK - + VTD - - + + @@ -90,26 +89,26 @@ BEW - + STÄ - + GSW - + SR - + - + @@ -117,25 +116,25 @@ INT - + VER - + LP - + GW - + @@ -143,25 +142,25 @@ KON - + WIL - + FO - + KW - + @@ -176,7 +175,7 @@ Initiative: - + @@ -217,13 +216,13 @@ - + - + - + + - + - + @@ -252,9 +251,9 @@ - - - + + + @@ -265,13 +264,13 @@ - + - + - + + - + - + @@ -300,9 +299,9 @@ - - - + + + @@ -356,8 +355,8 @@ - - + + @@ -486,26 +485,26 @@ - + - + - + - + - + - - - + + + @@ -599,7 +598,7 @@ Ausstrahlung - + Beweglichkeit @@ -607,27 +606,27 @@ Intuition - + Konstitution - + Mystik - + Stärke - + Verstand - + Willenskraft - +
@@ -641,35 +640,35 @@ Größenklasse - + Geschwindigkeit - + Lebenspunkte - + Fokus - + Verteidigung - + Schadensreduktion - + KW - + GW - + @@ -685,10 +684,10 @@ Gesamtlebenspunkte - - K: - E: - V: + + K: + E: + V: Gesundheitsleisten (1/3/5) @@ -696,23 +695,23 @@ Schadensmodifikator - + Schmerzresistenz / -immunität Resistenz: - + Immunität: - + Gesamtfokus   - - K: - E: - V: + + K: + E: + V: Aktive Abwehr @@ -722,7 +721,7 @@ Initiative - + @@ -792,20 +791,20 @@
- + - + - + - + + + - - - - + + + + @@ -892,7 +891,7 @@ - +
@@ -909,7 +908,7 @@
- +
@@ -958,23 +957,23 @@ - - + +
- +
- +
- - + +                           @@ -998,7 +997,7 @@
- +            @@ -1028,1915 +1027,2039 @@
-
- -

Splittermond Charakterbogen für Roll20 (v. 2.0.0)

-

Entworfen und umgesetzt von Loki

-
-
+
+ +
+ Splittermond Charakterbogen für Roll20 (v. 2.0.0) + Entworfen und umgesetzt von Loki +
+
- - Grundwerte - - Fertigkeiten & Magie - - Kampf & Meisterschaften - - Charakterentwicklung - - Genesis-Import - - Ausrüstung - - Einstellungen - - -

- -
- - - - - - - - - - - -
VTD:GW:KW:SR:
-
+
+ + + + + + + + -

+ +
+ + + + + + + + +
+ +
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + + + +
+
+
+ +
+

Grundwerte

+ +
+
+ Persönliche Informationen +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+
+
+ Start + Wert + Max +
+
+ + + + + + +
+ +
+ + + + + + +
-
-

Grundwerte


- +
+ + + + + + +
+ +
+ + + + + + +
+ +
+ + + + + + +
+ +
+ + + + + + +
+ +
+ + + + + + +
+ +
+ + + + + + +
+ +
+ + + + +
+ +
+
+ Wert + Mod. +
+ +
+ + +
+ +
+ + + + + + + + + + + +
+ +
+ + + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + +
+ +
+ + + + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + +
+
+ + + + +
+
+ Ressourcen +
+
+
+ +
+
+ +
+
+
+ +
+ +
+ Stärken +
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ Schwächen +
+
+ +
+
+
+
+ Sprachen +
+
+ +
+
+
+
+ Kulturkunde +
+
+ +
+
+
+
+ +
+

Modifikatoren (z.B. Kanalisierte Zauber)

+
+ Name + Eigenschaft + Mod. + Aktiv? +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+ +
+

Einstellungen


+
-
- - - + - - + + + + + +
Persönliche Informationen + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
Angriffe
Schaden separat würfeln   (SC-Bogen)
Name:
Spieler:
Mondzeichen: -
Ausbildung:
Kultur:Abstammung:
Rasse:Geschlecht:
Haarfarbe:Größe:
Augenfarbe:Gewicht:
Hautfarbe:Geburtsort:Schaden separat würfeln   (NSC-Bogen)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameStartWertMaximum
Ausstrahlung
Beweglichkeit
Intuition
Konstitution
Mystik
Stärke
Verstand
Willenskraft
Behinderung
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + -
NameWert - Mod.
Größenklasse
Geschwindigkeit
Initiative - -
Lebenspunkte  + + + - - - - - + - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - -
Fehlerbehebung
Fokus
VerteidigungLebenspunkte
Geistiger Widerstand
Körperlicher Widerstand
Schadensreduktion
- -
- - - - - - - - -
-
- - - - - - - - -
Ressourcen
-
- - -
-
-
-
-
- - - - - - - -
Stärken
-
- - -
- -
-
-
-
- - - - - - - -
Schwächen
-
- -
-
-
-
 
-
- - - - - - - -
Sprachen
-
- -
-
-
-
-
- - - - - - - -
Kulturkunde
-
- -
-
-
+
+ + + + + + + + + + + + + + + + + + +
Tooltips
MeisterschaftTooltip
+
+ + +
+
ZauberspruchTooltip
+
+ + +
+
- -
- -
-

Modifikatoren (z.B. Kanalisierte Zauber)


- - - - - - - - - - -
NameEigenschaftMod.Aktiv?
-
- - - - -
-
- - -
-
-

Einstellungen


- - - - - - - - - - - - -
- - - - - - - - - - - - -
Angriffe
Schaden separat würfeln   (SC-Bogen)
Schaden separat würfeln   (NSC-Bogen)
-
  - - - - - - - - - - - - -
Fehlerbehebung
Fokus
Lebenspunkte
-
 
- - - - - - - - - - - - - - - - - - -
Tooltips
MeisterschaftTooltip
-
- - -
-
ZauberspruchTooltip
-
- - -
-
-
-
- -
- -
-

Fertigkeiten & Magieschulen

- - - - - - - - - - - - - - -
-   -
- - -    
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FertigkeitWert PunkteAttributeMod.Würfeln (SI/STD/RI)
Akrobatik
Alchemie
Anführen
Arkane Kunde
Athletik
Darbietung
Diplomatie
Edelhandwerk
Empathie
Entschlossenheit
Fingerfertigkeit
Geschichte & Mythen
Handwerk
Heilkunde
Heimlichkeit
Jagdkunst
Länderkunde
Naturkunde
Redegewandtheit
Schlösser & Fallen
Schwimmen
Seefahrt
Straßenkunde
Tierführung
Überleben
Wahrnehmung
Zähigkeit
+
+

Fertigkeiten & Magieschulen

+
+ +
+
+
+

Fertigkeiten

+
+ Wert + Punkte + Attribute + Mod. + Würfeln (SI/STD/RI) + + + +
+
+
+ + +
+ +
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MagieschuleWert PunkteAttributeMod.Würfeln
Bannmagie
Beherrschungsmagie
Bewegungsmagie
Erkenntnismagie
Felsmagie
Feuermagie
Heilungsmagie
Illusionsmagie
Kampfmagie
Lichtmagie
Naturmagie
Schattenmagie
Schicksalsmagie
Schutzmagie
Stärkungsmagie
Todesmagie
Verwandlungsmagie
Wassermagie
Windmagie
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KampffertigkeitenPunkteMod.Würfeln
Handgemenge
Hiebwaffen
Kettenwaffen
Klingenwaffen
Stangenwaffen
Schusswaffen
Wurfwaffen
-
-
-
-
- -
-

Kampf & Meisterschaften

- - - - - - - - - - - - - - - - - - - - - -

Initiative, Patzer & Splitterpunkte

 

Zustände, Schaden & Fokus

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Diverses
LebenspunkteK: E: V:
Schadensmodifikator
FokusK: E: V:
Aktive AbwehrAkrobatik KW GW
Splitterpunkte - -
Initiative
Kampfpatzer  
Zauberpatzer
-
-   - - - - - - - - - - -
ZustandStufeAktiv?
-
- - -       -
-
-
-   -
- - - - - - - - -
Zauberkosten abrechnen
Kosten: 
-
- - - - - - - - - - - - -
Regeneration & Heilung
Bonus: -
-
-
Autom. K → E (Fokus)? - -
-
-
-
- Roll20 Turn Tracker verwenden? - - - +
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ + +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + +
+ + +
+ +
+ + + +
+ +
+
- +
+

Magieschulen

+
+ Wert + Punkte + Attribute + Mod. + Würfeln +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+
+ + +
+ + +
+ + + +
+

Kampffertigkeiten

+
+ Punkte + Mod. + Würfeln + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ -
-

Nahkampfwaffen

- - - - - - - - - - - - -

- Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1 -

- - - - -
WaffennameWertBasisWGSSchadenModMerkmaleAngriff / AA
- -
- - - - - - - - - - - - - - - - - - - - -
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ Schadensmodifikator + + + + + + + + + + + +
+ +
+
+

Fokus

+
+ +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ + + +
+
+
+

Regeneration und Heilung

+
+
+ + +
+ + +
+
+ Autom. K → E (Fokus)? + +
+
+
+

Zauberkosten abrechnen

+
+
+ + +
+ +
+
+
+
+ + +
+
+
+
+ Initiative + +
+
+ Kampfpatzer + + Zauberpatzer + +
+
+
+

Aktive Abwehr

+
+ Akrobatik + KW + GW +
+
+
+
+
+ Zustand + Stufe + Aktiv +
+
+
+
+
- + - - - - - - - - -
-
- / - - -
-
-
-
-

Fernkampfwaffen

- - - - - - - - - - - - - -

- Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1 -

- - - - -
WaffennameWertBasisWGSSchadenRWModMerkmaleWürfeln
-
- - - - - - - - - - - - - - - - - - - - - - - - -
- + +
+ +
+
+ +
+ + + + + +
+ Roll20 Turn Tracker verwenden? + + + + +
+
+ +

Nahkampfwaffen

+ + Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1 + +
+ Waffenname + Wert + + WGS + Schaden + Mod + + Angriff / Abwehr +
+ + +
+
+
+ +
+
+ +
+ +
+ +
+
+
+ +
+
+
+ - - -
-
-
-
-

Zaubersprüche

- Tooltips aktivieren? - - - - - - - - - - - - - - - - - -
ZauberspruchMagieschuleWertSGKostenKosten (V)ZDRWWDMod. Ausr. / Mag.Würfeln
-
- - - - - -
- - - -
-
- - - -
- - - - / - - - -   - -
- Wirkung:  -
-
-
-

Rüstungen & Schilde

- - - - - - - - - - - - - - - - - - - - -
RüstungVTD+SRBETick+MerkmaleAusger.
-
- - - - - - -     - -
-
-
- - - + + + + + +
+ +
+ +
+ +
+ + + + + +
+ / + + +
+ + + + +

Fernkampfwaffen

+
Schild
+ + + + + + + + + + + + +

+ Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1 +

+ + + + +
WaffennameWertBasisWGSSchadenRWModMerkmaleWürfeln
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+ +

Zaubersprüche

+ Tooltips aktivieren? + + + + + + + + + + + + + + + + + +
ZauberspruchMagieschuleWertSGKostenKosten (V)ZDRWWDMod. Ausr. / Mag.Würfeln
+
+ + + + + +
+ + + +
+
+ + + +
+ + + + / + + + +   +
+ Wirkung:  +
+
+ +

Rüstungen & Schilde

+ + + - + - - - -
Rüstung VTD+ SR BE Tick+ Merkmale Ausger.
- - - - - - -     - - - - - - -
-
- - - - - - - - - -
Gesamt:
-
-

Meisterschaften

- Tooltips aktivieren? - - - - - - - - + + + + + + + -
MeisterschaftFertigkeitSchw.Wirkung
-
- - - - - +
+
+ + + + + + +     +
-
-
-
-
-
- - -
-

Charakterentwicklung


- - - - - - -
- - - - - - - - - - - - - - - - - - - -
Erfahrungspunkte
Gesamt: 
Eingesetzt: 
Offen: 
-
-   - - - - - - - - - - - - - - - - - - - - -
Geld
Solare: 
Lunare: 
Telare: 
-
- -
- - - - - - - - - - - +
-
Heldengrad
Grad: 
+
+ + + + + + + + + + + + -
SchildVTD+ BETick+MerkmaleAusger.
+ + + + + + +     + + + + + +
- -
- - - - - - - - -
Ausrüstung
- -
- -
- - - - - - - - -
Notizen
- -
-
- -
-

Ausrüstung

-
-
-  Behälter 1 -   Behälter 2 -   Behälter 3 -   Behälter 4 -   Behälter 5 -
-
-
- -
-
- - - - - - - - - - - - -
AnzahlNameLastHärteZustandGetr.?Infos
-
- - - - -
+
+ + + + + + + + + +
Gesamt:
+
+

Meisterschaften

+ Tooltips aktivieren? + + + + + + + + + - - - - - + +
MeisterschaftFertigkeitSchw.Wirkung
+
+ + + - - -
-
 
- + + +
+
+
+
+
+
+
+ +
+

Charakterentwicklung


+ + + - -
+ + + + + + + + + + + + + + + + + + + +
Erfahrungspunkte
Gesamt: 
Eingesetzt: 
Offen: 
+
  - + + + + + + + + + + + + + + + + + + + +
Geld
Solare: 
Lunare: 
Telare: 
- -
-

- - - - - - - - - - - - - - - - - +
AnzahlNameLastHärteZustandGetr.?Infos
-
- - - - - - - -
-
 
+ +
+ + - - + + + + + + +
- - -   - - +
Heldengrad
Grad: 
+ +
+ + + + + + + + +
Ausrüstung
+ +
+ +
+ + + + + + + + +
Notizen
+ +
- -
-

- - + +
+

Ausrüstung

+
+
+  Behälter 1 +   Behälter 2 +   Behälter 3 +   Behälter 4 +   Behälter 5 +
+
+
+ +
+
+ +
@@ -2948,11 +3071,11 @@ - - + @@ -2976,245 +3098,448 @@   + +
Anzahl Name
-
- - - - +
+ + + + - - + +
 
- +
+ +
+

+ + + + + + + + + + + + + + + + + + + + + + +
AnzahlNameLastHärteZustandGetr.?Infos
+
+ + + + + + + +
+
 
+ + +   + + +
+
+ +
+

+ + + + + + + + + + + + + + + + + + + + + + +
AnzahlNameLastHärteZustandGetr.?Infos
+
+ + + + + + + +
+
 
+ + +   + + +
+
+ +
+

+ + + + + + + + + + + + + + + + + + + + + + +
AnzahlNameLastHärteZustandGetr.?Infos
+
+ + + + + + + +
+
 
+ + +   + + +
+
+ +
+

+ + + + + + + + + + + + + + + + + + + + + + +
AnzahlNameLastHärteZustandGetr.?Infos
+
+ + + + + + + +
+
 
+ + +   + + +
+
+ +
+

+ + + + + + + + + + + + + + + + + + + + + + +
AnzahlNameLastHärteZustandGetr.?Infos
+
+ + + + + + + +
+
 
+ + +   + + +
+
+
+ +
+

Einstellungen


+ + + + + + + + + + + +
+ + + + + + + + + + + + +
Angriffe
Schaden separat würfeln   (SC-Bogen)
Schaden separat würfeln   (NSC-Bogen)
+
  + + + + + + + + + + + + +
Fehlerbehebung
Fokus
Lebenspunkte
+
 
+ + + + + + + + + + + + + + + + + + +
Tooltips
MeisterschaftTooltip
+
+ + +
+
ZauberspruchTooltip
+
+ + +
+
+
- -
-

- - - - - - - - - - - - - - - + +
+

Genesis-Import


+
+
AnzahlNameLastHärteZustandGetr.?Infos
-
- - - - - - - -
-
+ + + + - - -
Ab Version 6.1.5 (empfohlen)
 
- - -   - - +
+
    +
  1. Drucke den Charakter aus und wähle als Ausgabeformat "Splittermond JSON Export"
  2. +
  3. Kopiere den Inhalt der JSON-Datei in das untenstehende Textfeld
  4. +
  5. Klicke auf "Import starten" (der Import kann ein paar Sekunden dauern)
  6. +
+
-
- -
-

- - - - - - - - - - - - - - - + + + + + + + - - -
AnzahlNameLastHärteZustandGetr.?Infos
-
- - - - - - - -
-
 
Ältere Versionen:
 
- - -   - - +
+
    +
  1. Öffne die XML-Datei im Genesis-Ordner (z.B: C:\Users\[Username]\AppData\Roaming\rpgframework\player\myself\splittermond\[Charaktername])
  2. +
  3. Kopiere den Inhalt der XML-Datei in einen der frei verfügbaren XML-JSON-Konverter, z.B.:
  4. +
  5. Kopiere den umgewandelten JSON-String in das unten stehende Textfeld
  6. +
  7. Klicke auf "Import starten" (der Import kann ein paar Sekunden dauern)
  8. +
+
-
- -
-

- - - - - - - - - - - - - - - + - - - + -
AnzahlNameLastHärteZustandGetr.?Infos
-
- - - - - - - -
-
 
- - -   - - -

Hinweise: Aufgrund der stetig wachsenden Datenbasis kann es vereinzelt zu fehlerhaft importierten Daten kommen (insbes. Zaubersprüche und Meisterschaften), erkennbar daran, dass die Begriffe dann auf englisch vorliegen. Bitte beachte, dass der Import von Waffen, Rüstungen, Schilden sowie Ausruüstung technisch nicht möglich ist. Falls der Importer nicht funktioniert, kann das an einer veralteten Genesis-Version liegen. In dem Fall upgrade bitte auf Genesis 6.

+
+ - -
-

Genesis-Import


-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ab Version 6.1.5 (empfohlen)
 
-
-
    -
  1. Drucke den Charakter aus und wähle als Ausgabeformat "Splittermond JSON Export"
  2. -
  3. Kopiere den Inhalt der JSON-Datei in das untenstehende Textfeld
  4. -
  5. Klicke auf "Import starten" (der Import kann ein paar Sekunden dauern)
  6. -
-
-
 
Ältere Versionen:
 
-
-
    -
  1. Öffne die XML-Datei im Genesis-Ordner (z.B: C:\Users\[Username]\AppData\Roaming\rpgframework\player\myself\splittermond\[Charaktername])
  2. -
  3. Kopiere den Inhalt der XML-Datei in einen der frei verfügbaren XML-JSON-Konverter, z.B.:
  4. -
  5. Kopiere den umgewandelten JSON-String in das unten stehende Textfeld
  6. -
  7. Klicke auf "Import starten" (der Import kann ein paar Sekunden dauern)
  8. -
-
-
 

Hinweise: Aufgrund der stetig wachsenden Datenbasis kann es vereinzelt zu fehlerhaft importierten Daten kommen (insbes. Zaubersprüche und Meisterschaften), erkennbar daran, dass die Begriffe dann auf englisch vorliegen. Bitte beachte, dass der Import von Waffen, Rüstungen, Schilden sowie Ausruüstung technisch nicht möglich ist. Falls der Importer nicht funktioniert, kann das an einer veralteten Genesis-Version liegen. In dem Fall upgrade bitte auf Genesis 6.

-
-
- - Letzte Updates - -
-

Letzte Updates


-

16.03.2021

- Der Charakterbogen unterstützt jetzt den Roll20 Turn Tracker. Ihr findet ihn unter Kampf & Meisterschaften → "Roll20 Turn Tracker verwenden?" (unter den Patzer-Würfen) -
    -
  • Turn Tracker-Unterstützung für den SC-Bogen implementiert
  • -
  • Turn Tracker-Unterstützung für den NSC-Bogen implementiert
  • -
-

04.08.2020

-
    -
  • TRIUMPH! und PATZER! werden jetzt auch bei Risikowürfen angezeigt.
  • -
  • Würfelbilder werden jetzt auch bei Risikowürfen angezeigt.
  • -
  • Die Reihenfolge der Würfel-Buttons bei den Fertigkeiten wurde verändert - die Reihenfolge wird jetzt außerdem im Tabellen-Kopf angezeigt.
  • -
  • Die Breite der Fertigkeiten-Tabelle wurde etwas reduziert.
  • -
-

28.07.2020

-
    -
  • Bei den Fertigkeiten gibt es jetzt drei Würfel-Buttons: Für Standard-, Sicherheits- und Risikowurf. Dadurch entfällt das erste Abfragefenster beim Würfeln. Bei allen anderen Proben (z.B. Kampf) herrscht noch das alte System vor - bei der neuen Implementierung handelt es sich um einen Testlauf. Feedback dazu ist definitiv gewünscht.
  • -
  • (Nur) bei Standardwürfen (Fertigkeiten) werden jetzt die Würfelsymbole im Chat als Bilder ausgegeben. Sicherheits- und Risikowürfe folgen noch.
  • -
  • Wichtig: Ebenfalls (nur) bei Standardwürfen (Fertigkeiten) werden jetzt PATZER und TRIÜMPHE festgestellt und markiert. Danke an simon für den Tipp, wie das geht.
  • -
-
-

Mit Dank an alle begeisterten Splittermond-Spieler, die diesen Charakterbogen nutzen und mit ihrem Feedback für stetige Verbesserungen sorgen!

+ + + + + + +
+ +

Letzte Updates


+

16.03.2021

+ Der Charakterbogen unterstützt jetzt den Roll20 Turn Tracker. Ihr findet ihn unter Kampf & Meisterschaften → "Roll20 Turn Tracker verwenden?" (unter den Patzer-Würfen) +
    +
  • Turn Tracker-Unterstützung für den SC-Bogen implementiert
  • +
  • Turn Tracker-Unterstützung für den NSC-Bogen implementiert
  • +
+

04.08.2020

+
    +
  • TRIUMPH! und PATZER! werden jetzt auch bei Risikowürfen angezeigt.
  • +
  • Würfelbilder werden jetzt auch bei Risikowürfen angezeigt.
  • +
  • Die Reihenfolge der Würfel-Buttons bei den Fertigkeiten wurde verändert - die Reihenfolge wird jetzt außerdem im Tabellen-Kopf angezeigt.
  • +
  • Die Breite der Fertigkeiten-Tabelle wurde etwas reduziert.
  • +
+

28.07.2020

+
    +
  • Bei den Fertigkeiten gibt es jetzt drei Würfel-Buttons: Für Standard-, Sicherheits- und Risikowurf. Dadurch entfällt das erste Abfragefenster beim Würfeln. Bei allen anderen Proben (z.B. Kampf) herrscht noch das alte System vor - bei der neuen Implementierung handelt es sich um einen Testlauf. Feedback dazu ist definitiv gewünscht.
  • +
  • (Nur) bei Standardwürfen (Fertigkeiten) werden jetzt die Würfelsymbole im Chat als Bilder ausgegeben. Sicherheits- und Risikowürfe folgen noch.
  • +
  • Wichtig: Ebenfalls (nur) bei Standardwürfen (Fertigkeiten) werden jetzt PATZER und TRIÜMPHE festgestellt und markiert. Danke an simon für den Tipp, wie das geht.
  • +
+
+

Mit Dank an alle begeisterten Splittermond-Spieler, die diesen Charakterbogen nutzen und mit ihrem Feedback für stetige Verbesserungen sorgen!

+ From b897c66a4d06c11ceebe55529e7c43a03f629b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anja=20M=C3=B6ller?= Date: Sat, 27 Mar 2021 15:11:56 +0100 Subject: [PATCH 02/76] Impove view of Fertikeiten --- Splittermond/Sheet.css | 149 +++- Splittermond/Sheet.html | 1711 +++++++++++++++++++++++++++++---------- 2 files changed, 1396 insertions(+), 464 deletions(-) diff --git a/Splittermond/Sheet.css b/Splittermond/Sheet.css index e748d65e4a..625ecd90cd 100644 --- a/Splittermond/Sheet.css +++ b/Splittermond/Sheet.css @@ -40,11 +40,19 @@ label { background-color: white; border-width: 0px 0px 0px 0px; }*/ -.charsheetinput [type="text"]:disabled, -.charsheet input[type="number"]:disabled { +.charsheetinput [type="text"]:read-only, +.charsheet input[type="number"]:read-only { /*background-color: lightgray;*/ /*todo border-width: 0px 0px 0px 0px;*/ + border-color: #7d7d7d; + color: #7d7d7d; } + +.charsheetinput [type="text"]:disabled, +.charsheet input[type="number"]:disabled { + border: none; +} + .charsheet input[type="text"], select { width: 100%; @@ -53,16 +61,6 @@ select { /*todo border-width: 0px 0px 0px 0px;*/ } -.charsheet input[type="number"]:disabled { - background-color: #ffffff; -} -td { - padding: 0px; -} - -input[type="text"]:disabled { - background-color: #81bef7; -} /*-------------------------------------------------Tabs--------------------------------------*/ /*todo remove div[class^="sheet-section"] { @@ -438,6 +436,10 @@ textarea[readonly] { cursor: default; } +input[readonly]:focus { + outline: none; +} + label { width: auto; font-size: inherit; @@ -458,18 +460,24 @@ label { border: none; box-shadow: none; border-radius: 4px; + cursor: pointer; + padding: 0.3rem; } .sheet-button:hover { background-color: #f1f1f1; } +.sheet-button--white { + background-color: #fff; +} + .sheet-button--primary { background-color: #0489b1; color: white; } -.sheet-button--primary:hover { +.sheet-button--white:hover, .sheet-button--primary:hover { background-color: #97d1e5; color: #0489b1; } @@ -727,13 +735,11 @@ input.sheet-tab5:checked ~ .sheet-tab-menu .sheet-tab5:after { width: 50%; } -.sheet-collapse--toggle { - height: 0; - overflow: hidden; -} - -.sheet-collapse:checked ~ .sheet-collapse--toggle { - height: auto; +.sheet-arrow { + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 5px solid black; + cursor: pointer; } /* Components */ @@ -839,39 +845,29 @@ input[type="number"].sheet-form__field { border-image-slice: 1; } .sheet-form__field:focus ~ .sheet-form__label { - position: absolute; - top: 0; - display: block; transition: 0.2s; - font-size: 1rem; color: var(--color-font-form__label--focus); font-weight: 700; } -.sheet-form__field--framed { - border: 1px solid gray; - border-radius: 6px; -} - -.sheet-form__field--framed:focus { - font-weight: 400; - border-width: 1px; - border-image: none; -} - -.sheet-input-circle--primary { +.sheet-input-circle { position: relative; - width: 35px; - height: 35px; + width: 25px; + height: 25px; background-color: #0489b1; color: white; border-radius: 50%; } -.sheet-input-circle--primary > input { +.sheet-input-circle--lg { + width: 35px; + height: 35px; +} + +.sheet-input-circle > input { position: absolute; - top: 9px; - left: 3px; + top: 5px; + left: 0; background-color: transparent; color: white; border-color: transparent; @@ -879,6 +875,10 @@ input[type="number"].sheet-form__field { text-align: center; } +.sheet-input-circle--lg > input { + top: 8px; +} + .sheet-card { border: 1px solid gray; border-radius: 5px; @@ -1003,6 +1003,14 @@ input[type="number"].sheet-form__field { /* Utilities */ +.sheet-text--sm { + font-size: 1rem !important; +} + +.sheet-text--lg { + font-size: 2rem !important; +} + .sheet-text--400 { font-weight: 400 !important; } @@ -1027,14 +1035,26 @@ input[type="number"].sheet-form__field { display: inline; } +.sheet-d--inline-block { + display: inline-block; +} + .sheet-d--flex { display: flex; } +.sheet-d--flex--justify-center { + justify-content: center; +} + .sheet-d--flex--align-center { align-items: center; } +.sheet-d--flex--align-bottom { + align-items: flex-end; +} + .sheet-d--flex > * { flex: 1; } @@ -1067,6 +1087,10 @@ input[type="number"].sheet-form__field { margin-right: 0.5rem !important; } +.sheet-mr--2 { + margin-right: 1rem !important; +} + .sheet-mr--3 { margin-right: 2rem !important; } @@ -1111,10 +1135,22 @@ input[type="number"].sheet-form__field { margin-bottom: 4rem !important; } +.sheet-p--0 { + padding: 0 !important; +} + +.sheet-p--1 { + padding: 0.5rem !important; +} + .sheet-pt--1 { padding-top: 0.5rem !important; } +.sheet-pb--1 { + padding-bottom: 0.5rem !important; +} + .sheet-pb--2 { padding-bottom: 1rem !important; } @@ -1123,7 +1159,38 @@ input[type="number"].sheet-form__field { padding-left: 2rem !important; } +.sheet-pr--1 { + padding-right: 0.5rem !important; +} + +.sheet-pr--2 { + padding-right: 1rem !important; +} + .sheet-pr--3 { padding-right: 2rem !important; } +.sheet-collapse_child { + max-height: 0; + background-color: #c1e1ff; + margin-right: 0.5rem; + margin-left: 0.5rem; + transition: max-height 0.2s ease-out; + overflow: hidden; +} + +.sheet-collapse_switch:checked + .sheet-collapse_child { + padding: 1rem; + height: auto; + max-height: 100px; + transition: max-height 0.2s ease-in; + box-shadow: inset 0 -5px 5px -5px rgb(0 0 0 / 45%), inset 0 5px 5px -5px rgb(0 0 0 / 45%); +} + +.sheet-collapse_switch:checked + .sheet-arrow { + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-bottom: 5px solid black; + border-top: none; +} \ No newline at end of file diff --git a/Splittermond/Sheet.html b/Splittermond/Sheet.html index 984219bb98..24e701bffe 100644 --- a/Splittermond/Sheet.html +++ b/Splittermond/Sheet.html @@ -1076,7 +1076,6 @@
-
@@ -1137,7 +1136,6 @@

Grundwerte

-
Persönliche Informationen @@ -1516,9 +1514,7 @@
- -
- +

Einstellungen


@@ -1602,651 +1598,1517 @@ -
+

Fertigkeiten

- Wert - Punkte - Attribute - Mod. - Würfeln (SI/STD/RI) + Fertigkeit + Wert + Mod. + Würfeln (SI/STD/RI)
-
- - -
- - +
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
-
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
-
+
- -
+
+ +
+
+ + +
+
+ + +
+
+ + +
+

Magieschulen

- Wert - Punkte - Attribute - Mod. - Würfeln + Magieschule + Wert + Mod. + Würfeln
-
- - -
- - +
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
-
- - -
- - + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
- - +
+ +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ +

Kampffertigkeiten

- Punkte - Mod. - Würfeln + Punkte + Mod. + Würfeln
@@ -2297,14 +3159,13 @@

Kampf & Meisterschaften

-

Lebenspunkte

-
- +
+
@@ -2323,7 +3184,9 @@
Schadensmodifikator - +
+ +
@@ -2339,8 +3202,8 @@

Fokus

-
- +
+
@@ -2359,21 +3222,23 @@
-
- - - - - - - - - - - -
- - - - - - - - - - - - -
Angriffe
Schaden separat würfeln   (SC-Bogen)
Schaden separat würfeln   (NSC-Bogen)
-
  - - - - - - - - - - - - -
Fehlerbehebung
Fokus
Lebenspunkte
-
 
- - - - - - - - - - - - - - - - - - -
Tooltips
MeisterschaftTooltip
-
- - -
-
ZauberspruchTooltip
-
- - -
-
-
-
-

Fertigkeiten & Magieschulen

@@ -3203,7 +3122,7 @@

Fokus

- +
@@ -3368,68 +3287,29 @@ Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1
- Waffenname - Wert - - WGS - Schaden - Mod - + Waffenname + Wert + WGS + Schaden + Mod Angriff Abwehr
-
+
+
-
- -
-
@@ -3453,13 +3333,6 @@
- @@ -3471,136 +3344,252 @@
+ +
+
+ + + + +
+
+ + + + + + +
+

Fernkampfwaffen

- - - - - - - - - - - - - -

- Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1 -

- - - - -
WaffennameWertBasisWGSSchadenRWModMerkmaleWürfeln
-
- - - - - - - - - - - - - - - - - - - - - - - - -
- + - - -
-
-
+ + Hinweis: Merkmale bitte mit Kommata getrennt und ohne Klammern notieren, z.B.: Kritisch 2, Scharf 2, Exakt 1 + +
+ Waffenname + Wert + WGS + Schaden + RW + Mod + Würfeln +
+
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ +
+ + +
+ +
+
+
+ +
+
+ +
+
+ + +
+ +
+ +
+
+ + + + +
+
+ + + + + + + + + +
+
+
+

Zaubersprüche

- Tooltips aktivieren? - - - - - - - - - - - - - - - - - -
ZauberspruchMagieschuleWertSGKostenKosten (V)ZDRWWDMod. Ausr. / Mag.Würfeln
-
- - - + + Tooltips aktivieren? + +
+ Zauberspruch + Wert + SG + Kosten + Kosten (V) + Mod. Ausr. / Mag. + Würfeln +
+
+
+ +
+ +
+
+
+ +
+ + + i + + +
+
+ +
+
+ + + + + +
+
+ + + + + +
+
+ / + + + +
+
+ +
+ +
+ +
+
+
+ - - -
- - - -
-
- - - -
- - - - / - - - -   -
- Wirkung:  -
-
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +

Rüstungen & Schilde

- - - - - - - - - - - - - - - - - - - - -
RüstungVTD+SRBETick+MerkmaleAusger.
+
+
+ Rüstung + VTD+ + SR + BE + Tick+ + Ausger. +
+
- - - - - - -     - +
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ + +
+
-
-
- - - - - - - - - - - - - -
SchildVTD+ BETick+MerkmaleAusger.
- - - - - - -     - - - - - - -
-
- - - - - - - - - -
Gesamt:
-
+ + + + + + + + +
+ +
+
+ Schild + VTD+ + + BE + Tick+ + Ausger. +
+
+ +
+ +
+
+ +
+
+
+ +
+
+ +
+ + + + + + +
+ +
+
+ + +
+
+
+
+
Gesamt
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+

Meisterschaften

- Tooltips aktivieren? - - - - - - - - - - -
MeisterschaftFertigkeitSchw.Wirkung
-
- - - + + Tooltips aktivieren? + +
+ Meisterschaft + Fertigkeit + Schw. +
+
+
+
+ +
+ + + + i + + +
+
+ - - -
-
-
-
-
-
-
+
+
+ +
+ + +
+
+ + +
+
+ +
@@ -4369,17 +4422,23 @@
- -   - - - - - - - - - - - - - - - - - - - - - -
Tooltips
MeisterschaftTooltip
-
- - -
-
ZauberspruchTooltip
-
- - -
-
- -
@@ -8070,13 +8022,9 @@ function writeToSheet (characterData) { } character["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; character["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsbeschreibung"] = skillname; + character["repeating_meisterschaften_" + newrowid + "_meisterschaftsbeschreibung"] = masterylongdescription; character["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = +level; character["repeating_meisterschaften_" + newrowid + "_meisterschaftswirkung"] = masteryshortdescription; - newrowid = generateRowID(); - character["repeating_masterytooltips_" + newrowid + "_masterytooltipname"] = masteryname; - character["repeating_masterytooltips_" + newrowid + "_masterytooltiptext"] = masterylongdescription; - character["tooltips"] = 1; } } character[skilltranslated[skill]] = +skillvalue; @@ -8117,12 +8065,9 @@ function writeToSheet (characterData) { character["repeating_fernkampfwaffen_" + newrowid + "_waffenschadenwuerfelfern"] = zauberschadenw; character["repeating_fernkampfwaffen_" + newrowid + "_waffenschaden3fern"] = +zauberschaden2; } + character["repeating_zauber_" + newrowid + "_zauberbeschreibung"] = spelllongdescription; } - newrowid = generateRowID(); - character["repeating_spelltooltips_" + newrowid + "_spelltooltipname"] = characterData["spells"][i]["name"]; - character["repeating_spelltooltips_" + newrowid + "_spelltooltiptext"] = spelllongdescription; } - character["tooltips_spells"] = 1; } let meleeskills = {"BEW":"bew","STÄ":"stae","AUS":"aus","INT":"int","KON":"kon","MYS":"mys","VER":"ver","WIL":"wil"}; if (characterData["meleeWeapons"].length > 0) { @@ -8422,7 +8367,6 @@ function writeToSheet (characterData) { newrowid = generateRowID(); masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsbeschreibung"] = skillname; masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = 1; setAttrs(masteries); } @@ -8433,7 +8377,6 @@ function writeToSheet (characterData) { newrowid = generateRowID(); masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsbeschreibung"] = skillname; masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = 1; setAttrs(masteries); } @@ -8744,16 +8687,6 @@ function clearSheet() { removeRepeatingRow("repeating_meisterschaften_" + idarray[i]); } }); - getSectionIDs("repeating_masterytooltips", function(idarray) { - for(var i=0; i < idarray.length; i++) { - removeRepeatingRow("repeating_masterytooltips_" + idarray[i]); - } - }); - getSectionIDs("repeating_spelltooltips", function(idarray) { - for(var i=0; i < idarray.length; i++) { - removeRepeatingRow("repeating_spelltooltips_" + idarray[i]); - } - }); getSectionIDs("repeating_ausruestung", function(idarray) { for(var i=0; i < idarray.length; i++) { removeRepeatingRow("repeating_ausruestung_" + idarray[i]); @@ -10398,78 +10331,6 @@ on("change:creature_vtd_ruestung change:creature_verteidigung", function(eventIn }); }); -on("change:repeating_masterytooltips:masterytooltipname change:repeating_masterytooltips:masterytooltiptext", function() { - getAttrs(["repeating_masterytooltips_masterytooltipname", "repeating_masterytooltips_masterytooltiptext"], function(values) { - let mastery = values.repeating_masterytooltips_masterytooltipname; - let tooltip = values.repeating_masterytooltips_masterytooltiptext; - let update = {}; - getSectionIDs("repeating_meisterschaften", function(idarray) { - if (idarray.length > 0) - { - _.each(idarray, function(currentID, i) { - getAttrs(["repeating_meisterschaften_" + currentID + "_meisterschaftsname"], function(v) { - var name = v["repeating_meisterschaften_" + currentID + "_meisterschaftsname"]; - if (name.toLowerCase() == mastery.toLowerCase()) { - update["repeating_meisterschaften_" + currentID + "_meisterschaftsbeschreibung"] = tooltip; - setAttrs(update); - } - }); - }); - } - }); - }); -}); - -on("change:repeating_spelltooltips:spelltooltipname change:repeating_spelltooltips:spelltooltiptext", function() { - getAttrs(["repeating_spelltooltips_spelltooltipname", "repeating_spelltooltips_spelltooltiptext"], function(values) { - let spell = values.repeating_spelltooltips_spelltooltipname; - let tooltip = values.repeating_spelltooltips_spelltooltiptext; - let update = {}; - getSectionIDs("repeating_zauber", function(idarray) { - if (idarray.length > 0) - { - _.each(idarray, function(currentID, i) { - getAttrs(["repeating_zauber_" + currentID + "_zaubername"], function(v) { - var name = v["repeating_zauber_" + currentID + "_zaubername"]; - if (name.toLowerCase() == spell.toLowerCase()) { - update["repeating_zauber_" + currentID + "_zauberbeschreibung"] = tooltip; - setAttrs(update); - } - }); - }); - } - }); - }); -}); - -on("change:tooltips change:tooltips_spells", function() { - getAttrs(["tooltips", "tooltips_spells"], function(values) { - let tooltips_m = values.tooltips; - let tooltips_s = values.tooltips_spells; - let update = {}; - - getSectionIDs("repeating_meisterschaften", function(idarray) { - if (idarray.length > 0) - { - _.each(idarray, function(currentID, i) { - update["repeating_meisterschaften_" + currentID + "_tooltips_inside"] = tooltips_m; - setAttrs(update); - }); - } - }); - - getSectionIDs("repeating_zauber", function(idarray) { - if (idarray.length > 0) - { - _.each(idarray, function(currentID, i) { - update["repeating_zauber_" + currentID + "_tooltips_inside_spells"] = tooltips_s; - setAttrs(update); - }); - } - }); - }); -}); - on("change:repeating_ausruestung:last change:repeating_ausruestung:getragen change:repeating_ausruestung:anzahl remove:repeating_ausruestung change:repeating_behaelter1:last change:repeating_behaelter1:getragen change:repeating_behaelter1:anzahl remove:repeating_behaelter1 change:repeating_behaelter2:last change:repeating_behaelter2:getragen change:repeating_behaelter2:anzahl remove:repeating_behaelter2 change:repeating_behaelter3:last change:repeating_behaelter3:getragen change:repeating_behaelter3:anzahl remove:repeating_behaelter3 change:repeating_behaelter4:last change:repeating_behaelter4:getragen change:repeating_behaelter4:anzahl remove:repeating_behaelter4 change:repeating_behaelter5:last change:repeating_behaelter5:getragen change:repeating_behaelter5:anzahl remove:repeating_behaelter5", function(eventInfo) { let row = eventInfo.sourceAttribute.split("_")[1]; let lastfelder = {"ausruestung":"gesamtlast_koerper", "behaelter1":"gesamtlast_behaelter1", "behaelter2":"gesamtlast_behaelter2", "behaelter3":"gesamtlast_behaelter3", "behaelter4":"gesamtlast_behaelter4", "behaelter5":"gesamtlast_behaelter5"}; From ad669d58c857103ba272aa3583a6e052758aa6d8 Mon Sep 17 00:00:00 2001 From: Stexinator Date: Wed, 28 Apr 2021 23:27:10 +0200 Subject: [PATCH 10/76] [Shadowrun5thA] catch weird behaviour with missing armor attributes --- Shadowrun5th/Shadowrun5th.html | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Shadowrun5th/Shadowrun5th.html b/Shadowrun5th/Shadowrun5th.html index 88cab35c0a..4e52473afe 100644 --- a/Shadowrun5th/Shadowrun5th.html +++ b/Shadowrun5th/Shadowrun5th.html @@ -10310,65 +10310,65 @@ on("sheet:opened", function() { if(keys.includes('armorname1') && values.armorname1 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname1; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating1; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes1; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity1; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname2') && values.armorname2 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname2; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating2; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes2; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity2; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname3') && values.armorname3 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname3; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating3; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes3; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity3; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname4') && values.armorname4 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname4; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating4; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes4; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity4; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname5') && values.armorname5 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname5; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating5; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes5; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity5; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname6') && values.armorname6 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname6; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating6; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes6; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity6; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname7') && values.armorname7 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname7; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating7; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes7; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity7; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating7 ? values.armorrating7 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes7 ? values.armornotes7 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity7 ? values.armorcapacity7 : "0"; } if(keys.includes('armorname8') && values.armorname8 !== null) { var newrowid=generateRowID() attributes["repeating_armors_"+newrowid+"_armorname"]=values.armorname8; - attributes["repeating_armors_"+newrowid+"_armorrating"]=values.armorrating8; - attributes["repeating_armors_"+newrowid+"_armornotes"]=values.armornotes8; - attributes["repeating_armors_"+newrowid+"_armorcapacity"]=values.armorcapacity8; + attributes["repeating_armors_"+newrowid+"_armorrating"]=!!values.armorrating8 ? values.armorrating8 : "0"; + attributes["repeating_armors_"+newrowid+"_armornotes"]=!!values.armornotes8 ? values.armornotes8 : ""; + attributes["repeating_armors_"+newrowid+"_armorcapacity"]=!!values.armorcapacity8 ? values.armorcapacity8 : "0"; } attributes["armormigration042021"] = true; setAttrs(attributes); From 33903d02008faa78f2224f64782ea40a3914a4a8 Mon Sep 17 00:00:00 2001 From: mfcp-git <68969644+mfcp-git@users.noreply.github.com> Date: Wed, 28 Apr 2021 23:15:09 +0100 Subject: [PATCH 11/76] [Mongoose_Traveller2e] Add translations to roll queries Modified the roll queries so that translated items are used. --- Mongoose_Traveller2e/MongooseTraveller.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Mongoose_Traveller2e/MongooseTraveller.html b/Mongoose_Traveller2e/MongooseTraveller.html index ef404451be..474ff74d0e 100644 --- a/Mongoose_Traveller2e/MongooseTraveller.html +++ b/Mongoose_Traveller2e/MongooseTraveller.html @@ -3080,7 +3080,7 @@ on('change:ro_default sheet:opened', function() { } else if(2 === opt ){ def_ro_obj = { - ro_default_rolltype: "?{Roll type?|Normal, {{roll=[[2d6|Boon,{{rollhasboon= 1}} {{roll=[[3d6kh2|Bane,{{rollhasbane= 1}} {{roll=[[3d6kl2}" + ro_default_rolltype: "?{@{rolltypetrans}|@{normaltrans}, {{roll=[[2d6|@{boontrans},{{rollhasboon= 1}} {{roll=[[3d6kh2|@{banetrans},{{rollhasbane= 1}} {{roll=[[3d6kl2}" }; } else if(3 === opt ){ @@ -3124,7 +3124,7 @@ on('change:mod_default sheet:opened', function() { if(1 === opt ){ def_mod_obj = { - ro_default_mod: "+ ?{Modifier|0}[Mod] " + ro_default_mod: "+ ?{@{modifiertrans}|0}[Mod] " }; } else if(2 === opt ){ @@ -3134,7 +3134,7 @@ on('change:mod_default sheet:opened', function() { } else if(3 === opt ){ def_mod_obj = { - ro_default_mod: "+ ?{Modifier|0}[Mod] ", + ro_default_mod: "+ ?{@{modifiertrans}|0}[Mod] ", mod_toggle_sel: "yes" }; } @@ -3145,7 +3145,7 @@ on('change:mod_default sheet:opened', function() { on('clicked:modyes', function() { // save the updated attribute to the sheet setAttrs({ - ro_default_mod: "+ ?{Modifier|0}[Mod] ", + ro_default_mod: "+ ?{@{modifiertrans}|0}[Mod] ", mod_toggle_sel: "yes" }); }); @@ -3920,4 +3920,15 @@ skills.forEach(skill => { }); }); }); + + on("sheet:opened", function(eventInfo){ + setAttrs({ + rolltypetrans: getTranslationByKey("rolltype-u"), + normaltrans: getTranslationByKey("normal-u"), + boontrans: getTranslationByKey("boon-u"), + banetrans: getTranslationByKey("bane-u"), + modifiertrans: getTranslationByKey("modprompt-u") + }); + }); + From 0a48ec44fab12081a8d8a48aa2aa011239dea80c Mon Sep 17 00:00:00 2001 From: Kraynic <48894209+Kraynic@users.noreply.github.com> Date: Wed, 28 Apr 2021 18:45:03 -0600 Subject: [PATCH 12/76] Update hu2.html Changed the implementation of a roll button for IQ stat checks submitted by elirjo so that it wouldn't be displacing stat input fields. Created stat check roll buttons for the other 7 stats. --- Heroes-Unlimited-2E/hu2.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Heroes-Unlimited-2E/hu2.html b/Heroes-Unlimited-2E/hu2.html index 9365a474d1..078b9b2bd9 100644 --- a/Heroes-Unlimited-2E/hu2.html +++ b/Heroes-Unlimited-2E/hu2.html @@ -67,57 +67,56 @@

Stat

Now/Past

-

I.Q.

- +
-

M.E.

+
-

M.A.

+
-

P.S.

+
-

P.P.

+
-

P.E.

+
-

P.B.

+
-

Spd.

+
From 934268f9442c36302bd065f1e5b12b32edcb54a4 Mon Sep 17 00:00:00 2001 From: Kraynic <48894209+Kraynic@users.noreply.github.com> Date: Wed, 28 Apr 2021 18:46:18 -0600 Subject: [PATCH 13/76] Update hu2.css Updated the css to style the new stat check roll buttons. --- Heroes-Unlimited-2E/hu2.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Heroes-Unlimited-2E/hu2.css b/Heroes-Unlimited-2E/hu2.css index 81240c8718..993dfd05a1 100644 --- a/Heroes-Unlimited-2E/hu2.css +++ b/Heroes-Unlimited-2E/hu2.css @@ -300,6 +300,13 @@ input.sheet-arrow:checked ~ .sheet-body { border-radius:10px; grid-template-columns: 65px 65px } +button[type=roll].sheet-statdice::before { + content: ""; +} +.sheet-statdice{ + color:#fef5c9; + background: #9e6666; +} .sheet-calc-grid-container{ display:grid; align-items:center; From d5d6911e9242d07c94d823eaf104f9b8486add4f Mon Sep 17 00:00:00 2001 From: James A Culp III Date: Wed, 28 Apr 2021 23:25:17 -0400 Subject: [PATCH 14/76] Begin v.31 Added Birth Name to Social Tab Bugfix - NPC->Vehicle sheet was resetting Body to 1 when the sheet was closed Added New Roll Template {template:multirow} with available fields header, base, desc, desc2,...desc6, bigdesc, bigdesc2...bigdesc6 for your macro display joy --- Shadowrun Sixth World/CHANGELOG.md | 6 +- Shadowrun Sixth World/Shadowrun6thEdition.css | 21 +++ .../Shadowrun6thEdition.html | 122 +++++++++++++++++- Shadowrun Sixth World/translation.json | 1 + 4 files changed, 147 insertions(+), 3 deletions(-) diff --git a/Shadowrun Sixth World/CHANGELOG.md b/Shadowrun Sixth World/CHANGELOG.md index e765e8c031..99d5f0cd48 100644 --- a/Shadowrun Sixth World/CHANGELOG.md +++ b/Shadowrun Sixth World/CHANGELOG.md @@ -1,6 +1,10 @@ Change Log ============================================== -**2021-05-03** +**2021-04- ** v.31 Chuz (James Culp) + Added Birth Name to Social Tab + Bugfix - NPC->Vehicle sheet was resetting Body to 1 when the sheet was closed + Added New Roll Template {template:multirow} with available fields header, base, desc, desc2,...desc6, bigdesc, bigdesc2...bigdesc6 for your macro display joy +**2021-04-28** v.30 Chuz (James Culp) Bugfix - Separated NPC->Vehicles targeting autosofts so you can activate them one at a time. Bugfix - Options->Soak Modifier and Options->Defense modifiers were not working properly. Bugfix - Core->DR roll button wasn't updating all of the time as it should. diff --git a/Shadowrun Sixth World/Shadowrun6thEdition.css b/Shadowrun Sixth World/Shadowrun6thEdition.css index 4c49197089..bbcde2fe9e 100644 --- a/Shadowrun Sixth World/Shadowrun6thEdition.css +++ b/Shadowrun Sixth World/Shadowrun6thEdition.css @@ -3999,17 +3999,24 @@ div.footer img { /********************************************************************************************************/ /******************************************* Roll template **********************************************/ /********************************************************************************************************/ +.sheet-rolltemplate-multirow a[href^="!"], +.sheet-rolltemplate-quality a[href^="!"], +.sheet-rolltemplate-rolls a[href^="!"], +.sheet-rolltemplate-contact a[href^="!"], +.sheet-rolltemplate-multirow a[href^="~"], .sheet-rolltemplate-quality a[href^="~"], .sheet-rolltemplate-rolls a[href^="~"], .sheet-rolltemplate-contact a[href^="~"] { background-color: #460141; } +.sheet-rolltemplate-multirow div.sheet-template-body, .sheet-rolltemplate-quality div.sheet-template-body, .sheet-rolltemplate-rolls div.sheet-template-body, .sheet-rolltemplate-contact div.sheet-template-body { border: 2px solid #000 !important; border-radius: 3px 3px 3px 3px !important; } +.sheet-rolltemplate-multirow .sheet-template-header, .sheet-rolltemplate-quality .sheet-template-header, .sheet-rolltemplate-rolls .sheet-template-header, .sheet-rolltemplate-contact .sheet-template-header { @@ -4027,6 +4034,7 @@ div.footer img { text-align: center !important; text-transform: capitalize !important; } +.sheet-rolltemplate-multirow .sheet-template-header span, .sheet-rolltemplate-quality .sheet-template-header span, .sheet-rolltemplate-rolls .sheet-template-header span, .sheet-rolltemplate-contact .sheet-template-header span { @@ -4036,6 +4044,7 @@ div.footer img { font-variant: normal !important; letter-spacing: 1px !important; } +.sheet-rolltemplate-multirow .sheet-template-row, .sheet-rolltemplate-quality .sheet-template-row, .sheet-rolltemplate-rolls .sheet-template-row, .sheet-rolltemplate-contact .sheet-template-row { @@ -4048,11 +4057,13 @@ div.footer img { font-family: 'helvetica' !important; padding: 5px 5px 3px 5px !important; } +.sheet-rolltemplate-multirow .sheet-template-row:nth-child(2n+0), .sheet-rolltemplate-quality .sheet-template-row:nth-child(2n+0), .sheet-rolltemplate-rolls .sheet-template-row:nth-child(2n+0), .sheet-rolltemplate-contact .sheet-template-row:nth-child(2n+0) { background-color: #1c1c1c !important; } +.sheet-rolltemplate-multirow .sheet-template-row.sheet-split, .sheet-rolltemplate-quality .sheet-template-row.sheet-split, .sheet-rolltemplate-rolls .sheet-template-row.sheet-split, .sheet-rolltemplate-contact .sheet-template-row.sheet-split { @@ -4062,6 +4073,7 @@ div.footer img { grid-column-gap: 2px; grid-template-columns: 1fr 1fr; } +.sheet-rolltemplate-multirow .inlinerollresult, .sheet-rolltemplate-quality .inlinerollresult, .sheet-rolltemplate-rolls .inlinerollresult, .sheet-rolltemplate-contact .inlinerollresult { @@ -4071,16 +4083,21 @@ div.footer img { background-color: transparent !important; border: none !important; } +.sheet-rolltemplate-multirow .sheet-template-row span.sheet-red, .sheet-rolltemplate-quality .sheet-template-row span.sheet-red, .sheet-rolltemplate-rolls .sheet-template-row span.sheet-red, .sheet-rolltemplate-contact .sheet-template-row span.sheet-red { -webkit-text-stroke: .25px red; } +.sheet-rolltemplate-multirow .sheet-template-row span.sheet-green, .sheet-rolltemplate-quality .sheet-template-row span.sheet-green, .sheet-rolltemplate-rolls .sheet-template-row span.sheet-green, .sheet-rolltemplate-contact .sheet-template-row span.sheet-green { -webkit-text-stroke: .25px green; } +.sheet-rolltemplate-multirow .inlinerollresult.fullfail, +.sheet-rolltemplate-multirow .inlinerollresult.fullcrit, +.sheet-rolltemplate-multirow .inlinerollresult.importantroll, .sheet-rolltemplate-quality .inlinerollresult.fullfail, .sheet-rolltemplate-quality .inlinerollresult.fullcrit, .sheet-rolltemplate-quality .inlinerollresult.importantroll, @@ -4092,21 +4109,25 @@ div.footer img { .sheet-rolltemplate-contact .inlinerollresult.importantroll { border: none !important; } +.sheet-rolltemplate-multirow .inlinerollresult.fullfail, .sheet-rolltemplate-quality .inlinerollresult.fullfail, .sheet-rolltemplate-rolls .inlinerollresult.fullfail, .sheet-rolltemplate-contact .inlinerollresult.fullfail { color: #FCD116 !important; } +.sheet-rolltemplate-multirow .inlinerollresult.fullcrit, .sheet-rolltemplate-quality .inlinerollresult.fullcrit, .sheet-rolltemplate-rolls .inlinerollresult.fullcrit, .sheet-rolltemplate-contact .inlinerollresult.fullcrit { color: #fff !important; } +.sheet-rolltemplate-multirow .sheet-template-desc, .sheet-rolltemplate-quality .sheet-template-desc, .sheet-rolltemplate-rolls .sheet-template-desc, .sheet-rolltemplate-contact .sheet-template-desc { font-size: 0.8em !important; } +.sheet-rolltemplate-multirow span.sheet-template-desc .inlinerollresult, .sheet-rolltemplate-quality span.sheet-template-desc .inlinerollresult, .sheet-rolltemplate-rolls span.sheet-template-desc .inlinerollresult, .sheet-rolltemplate-contact span.sheet-template-desc .inlinerollresult { diff --git a/Shadowrun Sixth World/Shadowrun6thEdition.html b/Shadowrun Sixth World/Shadowrun6thEdition.html index 3fd234ff6e..4ec7e7d73f 100644 --- a/Shadowrun Sixth World/Shadowrun6thEdition.html +++ b/Shadowrun Sixth World/Shadowrun6thEdition.html @@ -2458,6 +2458,8 @@

Nuyen

+

Birth Name

+
  @@ -3276,7 +3278,7 @@

Body

Armor

- +
+

Meisterschaften

+
+ Meisterschaft + Fertigkeit + Schwellenwert + Wirkung +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+
@@ -2852,14 +2915,6 @@
-
-
-
- Magieschule - Wert - Mod. - Würfeln -
@@ -2875,6 +2930,14 @@
+
+
+
+ Magieschule + Wert + Mod. + Würfeln +
+

Meisterschaften (Magie)

+
+ Meisterschaft + Fertigkeit + Schwellenwert + Wirkung +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+
@@ -3787,100 +3905,50 @@
-

Meisterschaften

+

Meisterschaften (Kampf)

Meisterschaft Fertigkeit - Schw. - Wirkung + Schwellenwert + Wirkung
-
-
-
- -
- -
-
- -
-
- -
-
- -
+
+
+ +
+
- -
-
- - -
+
+
-
-
+
+ +
+
+ +
+
+ +
+
+ + +
+
+
@@ -6071,17 +6139,54 @@ on('sheet:opened',function(){ setAttrs(newrowattrs); } }); - getAttrs(["abilityroll"], function(v) { + getAttrs(["abilityroll", "skillmasterymigrationisexecuted"], function(v) { let update = {}; - if (v.abilityroll == "") - { + if (v.abilityroll == ""){ update["abilityroll"] = "&{template:splittermond_generic}"; } setAttrs(update); + + if (!v.skillmasterymigrationisexecuted) { + migrateFightAndMagicSkillMastery(); + } }); transferRessources(); }); +function migrateFightAndMagicSkillMastery() { + console.log("Starting migration of skill mastery: splitting generally, fighting and magic skill masteries to own mastery sections"); + let fightSkillList = ["handgemenge", "hiebwaffen", "kettenwaffen", "klingenwaffen", "stangenwaffen", "schusswaffen", "wurfwaffen"]; + let magicSkillList = ["bannmagie", "beherrschungsmagie", "bewegungsmagie", "erkenntnismagie", "felsmagie", "feuermagie", "heilmagie", "illusionsmagie", "kampfmagie", "lichtmagie", "naturmagie", "schattenmagie", "schicksalsmagie", "schutzmagie", "staerkungsmagie", "todesmagie", "verwandlungsmagie", "wassermagie", "windmagie"]; + + getSectionIDs("repeating_meisterschaften", function(idarray) { + _.each(idarray, function(currentID, i) { + const meisterschaftsname = "repeating_meisterschaften_" + currentID + "_meisterschaftsname"; + const meisterschaftsfertigkeit = "repeating_meisterschaften_" + currentID + "_meisterschaftsfertigkeit"; + const meisterschaftsbeschreibung = "repeating_meisterschaften_" + currentID + "_meisterschaftsbeschreibung"; + const meisterschaftsschwelle = "repeating_meisterschaften_" + currentID + "_meisterschaftsschwelle"; + const meisterschaftswirkung = "repeating_meisterschaften_" + currentID + "_meisterschaftswirkung"; + + getAttrs([meisterschaftsname, meisterschaftsfertigkeit, meisterschaftsbeschreibung, meisterschaftsschwelle, meisterschaftswirkung], function(value) { + let skillname = value[meisterschaftsfertigkeit]; + if (fightSkillList.includes(skillname) || magicSkillList.includes(skillname)) { + const newRowId = generateRowID(); + const repeatingPrefix = fightSkillList.includes(skillname) ? "repeating_meisterschaftenkampf_" : "repeating_meisterschaftenmagie_"; + + setAttrs({[repeatingPrefix + newRowId + "_meisterschaftsname"] : value[meisterschaftsname]}); + setAttrs({[repeatingPrefix + newRowId + "_meisterschaftsfertigkeit"] : skillname}); + setAttrs({[repeatingPrefix + newRowId + "_meisterschaftsbeschreibung"] : value[meisterschaftsbeschreibung]}); + setAttrs({[repeatingPrefix + newRowId + "_meisterschaftsschwelle"] : value[meisterschaftsschwelle]}); + setAttrs({[repeatingPrefix + newRowId + "_meisterschaftswirkung"]: value[meisterschaftswirkung]}); + + removeRepeatingRow("repeating_meisterschaften_" + idarray[i]); + + setAttrs({"skillmasterymigrationisexecuted" : 1}); + } + }); + }); + }); +} + function transferRessources() { getAttrs(["resourceupdated"], function(v) { if (+v.resourceupdated == 0) { @@ -6520,9 +6625,6 @@ on("change:repeating_meisterschaften:meisterschaftsschwelle", function() { case "schmerzwiderstand 2": update["sw2"] = 1; break; - case "arkane geschwindigkeit": - update["hiddengswag"] = 1; - break; case "sprinter": update["sprintercount"] = +values.sprintercount + 1; break; @@ -6532,6 +6634,22 @@ on("change:repeating_meisterschaften:meisterschaftsschwelle", function() { }); }); +on("change:repeating_meisterschaftenmagie:meisterschaftsschwelle", function() { + getAttrs(["repeating_meisterschaftenmagie_meisterschaftsname", "repeating_meisterschaftenmagie_meisterschaftsfertigkeit"], function(values) { + var name = values.repeating_meisterschaftenmagie_meisterschaftsname; + var fertigkeit = values.repeating_meisterschaftenmagie_meisterschaftsfertigkeit; + var update = {}; + if (name != "" && fertigkeit != "") { + switch (name.toLowerCase()) { + case "arkane geschwindigkeit": + update["hiddengswag"] = 1; + break; + } + setAttrs(update); + } + }); +}); + on("change:repeating_staerken:staerkenwert change:repeating_staerken:staerke", function() { getAttrs(["repeating_staerken_staerkenwert", "repeating_staerken_staerke"], function(values) { var staerke = values.repeating_staerken_staerke; @@ -8028,6 +8146,8 @@ function writeToSheet (characterData) { let skillvalue; let magicvalues = {}; let skilltranslated = {"melee":"handgemengepunkte","slashing":"hiebwaffenpunkte","chains":"kettenwaffenpunkte","blades":"klingenwaffenpunkte","longrange":"schusswaffenpunkte","staffs":"stangenwaffenpunkte","throwing":"wurfwaffenpunkte","acrobatics":"akrobatikpunkte","alchemy":"alchemiepunkte","leadership":"anfuehrenpunkte","arcanelore":"arkanekundepunkte","athletics":"athletikpunkte","performance":"darbietungspunkte","diplomacy":"diplomatiepunkte","clscraft":"edelhandwerkpunkte","empathy":"empathiepunkte","determination":"entschlossenheitpunkte","dexterity":"fingerfertigkeitpunkte","history":"geschichteundmythenpunkte","craftmanship":"handwerkpunkte","heal":"heilkundepunkte","stealth":"heimlichkeitpunkte","hunting":"jagdkunstpunkte","countrylore":"laenderkundepunkte","nature":"naturkundepunkte","eloquence":"redegewandtheitpunkte","locksntraps":"schloesserundfallenpunkte","swim":"schwimmenpunkte","seafaring":"seefahrtpunkte","streetlore":"strassenkundepunkte","animals":"tierfuehrungpunkte","survival":"ueberlebenpunkte","perception":"wahrnehmungpunkte","endurance":"zaehigkeitpunkte","antimagic":"bannmagiepunkte","controlmagic":"beherrschungsmagiepunkte","motionmagic":"bewegungsmagiepunkte","insightmagic":"erkenntnismagiepunkte","stonemagic":"felsmagiepunkte","firemagic":"feuermagiepunkte","healmagic":"heilungsmagiepunkte","illusionmagic":"illusionsmagiepunkte","combatmagic":"kampfmagiepunkte","lightmagic":"lichtmagiepunkte","naturemagic":"naturmagiepunkte","shadowmagic":"schattenmagiepunkte","fatemagic":"schicksalsmagiepunkte","protectionmagic":"schutzmagiepunkte","enhancemagic":"staerkungsmagiepunkte","deathmagic":"todesmagiepunkte","transformationmagic":"verwandlungsmagiepunkte","watermagic":"wassermagiepunkte","windmagic":"windmagiepunkte"}; + let fightSkillList = ["handgemenge", "hiebwaffen", "kettenwaffen", "klingenwaffen", "stangenwaffen", "schusswaffen", "wurfwaffen"]; + let magicSkillList = ["bannmagie", "beherrschungsmagie", "bewegungsmagie", "erkenntnismagie", "felsmagie", "feuermagie", "heilmagie", "illusionsmagie", "kampfmagie", "lichtmagie", "naturmagie", "schattenmagie", "schicksalsmagie", "schutzmagie", "staerkungsmagie", "todesmagie", "verwandlungsmagie", "wassermagie", "windmagie"]; for (var i = 0; i < characterData["skills"].length; i++) { let sprCount = 0; skill = characterData["skills"][i]["id"]; @@ -8036,6 +8156,7 @@ function writeToSheet (characterData) { magicvalues[skillname] = +skillvalue; if (characterData["skills"][i]["masterships"].length > 0) { for (var j = 0; j < characterData["skills"][i]["masterships"].length; j++) { + repeatingPrefix = "repeating_meisterschaften_"; newrowid = generateRowID(); masteryshortdescription = ""; masterylongdescription = ""; @@ -8049,11 +8170,18 @@ function writeToSheet (characterData) { } else { masterylongdescription = masteryshortdescription; } - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsbeschreibung"] = masterylongdescription; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = +level; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftswirkung"] = masteryshortdescription; + + if (fightSkillList.includes(skillname)) { + repeatingPrefix = "repeating_meisterschaftenkampf_"; + } + else if (magicSkillList.includes(skillname)) { + repeatingPrefix = "repeating_meisterschaftenmagie_"; + } + character[repeatingPrefix + newrowid + "_meisterschaftsname"] = masteryname; + character[repeatingPrefix + newrowid + "_meisterschaftsfertigkeit"] = skillname; + character[repeatingPrefix + newrowid + "_meisterschaftsbeschreibung"] = masterylongdescription; + character[repeatingPrefix + newrowid + "_meisterschaftsschwelle"] = +level; + character[repeatingPrefix + newrowid + "_meisterschaftswirkung"] = masteryshortdescription; } } character[skilltranslated[skill]] = +skillvalue; @@ -8381,8 +8509,18 @@ function writeToSheet (characterData) { var masteryname; var masteries = {}; for (var i = 0; i < characterData["skillvals"]["skillval"].length; i++) { - var skill = characterData["skillvals"]["skillval"][i]["_skill"] - var skillname = translateGenesis(skill); + let skill = characterData["skillvals"]["skillval"][i]["_skill"] + let skillname = translateGenesis(skill); + let repeatingPrefix = "repeating_meisterschaften_"; + let fightSkillList = ["handgemenge", "hiebwaffen", "kettenwaffen", "klingenwaffen", "stangenwaffen", "schusswaffen", "wurfwaffen"]; + let magicSkillList = ["bannmagie", "beherrschungsmagie", "bewegungsmagie", "erkenntnismagie", "felsmagie", "feuermagie", "heilmagie", "illusionsmagie", "kampfmagie", "lichtmagie", "naturmagie", "schattenmagie", "schicksalsmagie", "schutzmagie", "staerkungsmagie", "todesmagie", "verwandlungsmagie", "wassermagie", "windmagie"]; + + if (fightSkillList.includes(skillname)) { + repeatingPrefix = "repeating_meisterschaftenkampf_"; + } + else if (magicSkillList.includes(skillname)) { + repeatingPrefix = "repeating_meisterschaftenmagie_"; + } skillvalue = 0; if (characterData["skillvals"]["skillval"][i].hasOwnProperty("_val")) { skillvalue = characterData["skillvals"]["skillval"][i]["_val"]; @@ -8394,9 +8532,9 @@ function writeToSheet (characterData) { masteryname = masteryname.split("/")[1]; masteryname = translateGenesis(masteryname); newrowid = generateRowID(); - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = 1; + masteries[repeatingPrefix + newrowid + "_meisterschaftsname"] = masteryname; + masteries[repeatingPrefix + newrowid + "_meisterschaftsfertigkeit"] = skillname; + masteries[repeatingPrefix + newrowid + "_meisterschaftsschwelle"] = 1; setAttrs(masteries); } } else { @@ -8404,9 +8542,9 @@ function writeToSheet (characterData) { masteryname = masteryname.split("/")[1]; masteryname = translateGenesis(masteryname); newrowid = generateRowID(); - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = 1; + masteries[repeatingPrefix + newrowid + "_meisterschaftsname"] = masteryname; + masteries[repeatingPrefix + newrowid + "_meisterschaftsfertigkeit"] = skillname; + masteries[repeatingPrefix + newrowid + "_meisterschaftsschwelle"] = 1; setAttrs(masteries); } } @@ -8716,6 +8854,16 @@ function clearSheet() { removeRepeatingRow("repeating_meisterschaften_" + idarray[i]); } }); + getSectionIDs("repeating_meisterschaftenkampf", function(idarray) { + for(var i=0; i < idarray.length; i++) { + removeRepeatingRow("repeating_meisterschaftenkampf" + idarray[i]); + } + }); + getSectionIDs("repeating_meisterschaftenmagie", function(idarray) { + for(var i=0; i < idarray.length; i++) { + removeRepeatingRow("repeating_meisterschaftenmagie" + idarray[i]); + } + }); getSectionIDs("repeating_ausruestung", function(idarray) { for(var i=0; i < idarray.length; i++) { removeRepeatingRow("repeating_ausruestung_" + idarray[i]); @@ -10202,7 +10350,6 @@ on("remove:repeating_meisterschaften", function(eventInfo) { "starker schildarm 2":"st2", "schmerzwiderstand ii":"sw2", "schmerzwiderstand 2":"sw2", - "arkane geschwindigkeit":"hiddengswag", "sprinter":"sprintercount" }; if (meisterschaft.toLowerCase() == "blitzreflexe") { @@ -10227,6 +10374,20 @@ on("remove:repeating_meisterschaften", function(eventInfo) { } }); +on("remove:repeating_meisterschaftenmagie", function(eventInfo) { + var rowid = eventInfo.sourceAttribute.substring(31, 51); + var meisterschaftMagie = eventInfo.removedInfo["repeating_meisterschaftenmagie_" + rowid + "_meisterschaftsname"]; + var update = {}; + var meisterschaftenMagie = { + "arkane geschwindigkeit":"hiddengswag" + }; + + if (meisterschaftMagie.toLowerCase() == "arkane geschwindigkeit") { + update[meisterschaftenMagie[meisterschaftMagie.toLowerCase()]] = 0; + setAttrs(update); + } +}); + on("change:blitzreflexecount", function(eventInfo) { getAttrs(["blitzreflexecount", "hiddeninibr"], function(v) { let update = {}; From b4e72cecec518f5f5562bf2619dcdd2965db0c18 Mon Sep 17 00:00:00 2001 From: Daniel Tschiedel Date: Sun, 2 May 2021 14:13:43 -0300 Subject: [PATCH 45/76] Fixing not translatable strings and some layout breaks when labels were translated --- Tiny D6 Games/Tiny-D6-Games.css | 83 +++- Tiny D6 Games/Tiny-D6-Games.html | 627 +++++++++++++++++++------------ Tiny D6 Games/translation.json | 67 +++- 3 files changed, 537 insertions(+), 240 deletions(-) diff --git a/Tiny D6 Games/Tiny-D6-Games.css b/Tiny D6 Games/Tiny-D6-Games.css index 2245ff5adb..134c9a711c 100644 --- a/Tiny D6 Games/Tiny-D6-Games.css +++ b/Tiny D6 Games/Tiny-D6-Games.css @@ -13,6 +13,12 @@ border: 1px Dotted #f2f2f2; } +.sheet-weapons-proficiency { + display: flex; + flex-direction: row; + justify-content: space-between; +} + .sheet-contains-two-columns { grid-template-columns: 50% auto; } @@ -90,7 +96,7 @@ input.sheet-input-shorter { } input.sheet-input-length-alpha { - width: calc(100% - 100px); + width: calc(100% - 110px); } input.sheet-input-length-beta { @@ -302,7 +308,7 @@ input.sheet-inventory-box { } input.sheet-inventory-box + span::before { - content: "Empty"; + content: attr(title); color: #cccccc; border: solid 1px #f2f2f2; border-radius: 10px; @@ -318,12 +324,83 @@ input.sheet-inventory-box + span::before { } input.sheet-inventory-box:checked + span::before { - content: attr(title); color: #ffffff; background: rgba(70, 130, 180, 0.4); /* SteelBlue 40% Opacity*/ border: solid 1px #ffffff; } +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-I::before { + content: 'I'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-II::before { + content: 'II'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-III::before { + content: 'III'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-IV::before { + content: 'IV'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-V::before { + content: 'V'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-VI::before { + content: 'VI'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-VII::before { + content: 'VII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-VIII::before { + content: 'VIII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-IX::before { + content: 'IX'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-X::before { + content: 'X'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XI::before { + content: 'XI'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XII::before { + content: 'XII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XIII::before { + content: 'XIII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XIV::before { + content: 'XIV'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XV::before { + content: 'XV'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XVI::before { + content: 'XVI'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XVII::before { + content: 'XVII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XVIII::before { + content: 'XVIII'; +} + input.sheet-modifier-box { width: 14px; height: 14px; diff --git a/Tiny D6 Games/Tiny-D6-Games.html b/Tiny D6 Games/Tiny-D6-Games.html index 36fd5fbc2e..017c19ddc1 100644 --- a/Tiny D6 Games/Tiny-D6-Games.html +++ b/Tiny D6 Games/Tiny-D6-Games.html @@ -2,367 +2,514 @@
-
-
- -
-
- Tiny Dungeon Character Sheet -
+
+ +
+ +
+
+ Tiny Dungeon Character Sheet +
-
- Tiny Frontiers Revised -
+
+ Tiny Frontiers Revised +
- Character + Character
-
- Name: - -
-
- Heritage: - -
+
+ Name: + +
+
+ Heritage: + +
-
- -
-
- People: - -
-
- Homeland: - -
+
+ + +
+
+ People: + +
+
+ Homeland: + +
-
- Home Planet: - -
+
+ Home Planet: + +
-
- -
-
- Age: - -
-
- Eyes: - -
-
- Hair: - -
+
+ + +
+
+ Age: + +
+
+ Eyes: + +
+
+ Hair: + +
-
- Age: - -
-
- Gender: - -
-
- Appearance: - -
+
+ Age: + +
+
+ Gender: + +
+
+ Appearance: + +
Family Trade: - +
Belief: - +
- Traits + Traits
-
- +
+
- - -
+ + +
- Inventory Bags + Inventory Bags
-
- - - +
+ + +
- - - + + +
- - - + + +
- - - + + +
- - - + + +
- - - + + +
-
-
- Roll Buttons +
+ +
+ Roll Buttons
- - - - + + + +
- Roll Modifiers + Roll Modifiers
-
- Focus - -
-
- Initiative Modifier -
-
- Marksmanship - -
-
- Disadvantage - - Normal - - Advantage - -
+
+ Focus + +
+
+ Initiative Modifier +
+
+ Marksmanship + +
+
+ Disadvantage + + Normal + + Advantage + +
- Heritage + Heritage
-
- +
+
- - -
-
+ + +
+
- Experience + Experience
-
- Total: - -
-
- Spent: - -
-
- Remaining: - -
+
+ Total: + +
+
+ Spent: + +
+
+ Remaining: + +
-
- Health - - of - -
+
+ Health + + of + +
-
- - - - - - - - - - - - - - - - -
+
+ + + + + + + + + + + + + + + + +
- Weapon Proficiencies + Weapon Proficiencies
-
- -
-
- Light: - - Heavy: - - Ranged: - - Unarmed: - - Improvised: - -
+
+ + +
+
+
+ Light: + +
+
+ Heavy: + +
+ +
+ Ranged: + +
+
+ Unarmed: + +
+
+ Improvised: + +
+
-
- Light Melee: - - Heavy Melee: - - Light Range: - - Heavy Range: - -
+
+
+ Light Melee: + +
+
+ Heavy Melee: + +
+
+ Light Range: + +
+
+ Heavy Range: + +
+
Mastered Weapons:
- +
- Equipped Items + Equipped Items
- Weilding + Weilding
-
-
+
+
- +
- - - - - -
+ + + + + +
- Depletion: - + Depletion: +
-
-
-
+
+
+
- +
- - - - -
+ + + + +
- Depletion: - + Depletion: +
-
-
- Wearing +
+
+ Wearing
- +
- Armor: - + Armor: +
- Depletion: - + Depletion: +
- Inventory + Inventory
- +
Slots: - - - + + +
- Depletion: - + Depletion: +
-
- - +
+ +
+ +
+ Disadvantage Test + Advantage Test + Standard Test +
+
@@ -375,14 +522,10 @@ {{roll-name}}
{{#rollTotal() focus 1}} -
- Focus -
+
Focus
{{/rollTotal() focus 1}} {{#rollTotal() marksmanship 1}} -
- Marksmanship -
+
Marksmanship
{{/rollTotal() marksmanship 1}} {{#standard-roll-one}}
@@ -506,6 +649,18 @@ }); }); + /*config Roll Queries translations */ + on("sheet:opened", function(eventInfo){ + + setAttrs({ + disadvantage_test: getTranslationByKey("disadvantage-test"), + advantage_test: getTranslationByKey("advantage-test"), + standard_test: getTranslationByKey("standard-test"), + initiative: getTranslationByKey("initiative") + }); + + }); + // CALCULATE STRESS - HEALTH - VALUE FROM CHECKBOXES OR ATTRIBUTE const variableAttributes = ["stress", "health"]; variableAttributes.forEach(function (variableAttribute) { @@ -537,4 +692,4 @@ }); }); }); - + \ No newline at end of file diff --git a/Tiny D6 Games/translation.json b/Tiny D6 Games/translation.json index e79f051ad4..caca3f2057 100644 --- a/Tiny D6 Games/translation.json +++ b/Tiny D6 Games/translation.json @@ -1 +1,66 @@ -{"character":"Character","name":"Name","heritage":"Heritage","people":"People","homeland":"Homeland","home-planet":"Home Planet","age":"Age","eyes":"Eyes","hair":"Hair","gender":"Gender","appearance":"Appearance","family-trade":"Family Trade","belief":"Belief","traits":"Traits","trait-name":"Trait Name","trait-description...":"Trait Description...","inventory-bags":"Inventory Bags","roll-buttons":"Roll Buttons","roll-modifiers":"Roll Modifiers","focus":"Focus","initiative-modifier":"Initiative Modifier","marksmanship":"Marksmanship","disadvantage":"Disadvantage","normal":"Normal","advantage":"Advantage","heritage-trait-name":"Heritage Trait Name","heritage-trait-description...":"Heritage Trait Description...","experience":"Experience","total":"Total","spent":"Spent","remaining":"Remaining","health":"Health","weapon-proficiences":"Weapon Proficiencies","light":"Light","heavy":"Heavy","ranged":"Ranged","unarmed":"Unarmed","improvised":"Improvised","light-melee":"Light Melee","heavy-melee":"Heavy Melee","light-range":"Light Range","heavy-range":"Heavy Range","mastered-weapons":"Mastered Weapons","list-of-weapons...":"List of Weapons...","equipped-items":"Equipped Items","item-name":"Item Name","inventory":"Inventory","depletion":"Depletion","weilding":"Weilding","wearing":"Wearing","armor-name":"Armor Name","armor":"Armor","slots":"Slots"} +{ + "character": "Character", + "name": "Name", + "heritage": "Heritage", + "people": "People", + "homeland": "Homeland", + "home-planet": "Home Planet", + "age": "Age", + "eyes": "Eyes", + "hair": "Hair", + "gender": "Gender", + "appearance": "Appearance", + "family-trade": "Family Trade", + "belief": "Belief", + "traits": "Traits", + "trait-name": "Trait Name", + "trait-description...": "Trait Description...", + "inventory-bags": "Inventory Bags", + "roll-buttons": "Roll Buttons", + "roll-modifiers": "Roll Modifiers", + "focus": "Focus", + "initiative-modifier": "Initiative Modifier", + "marksmanship": "Marksmanship", + "disadvantage": "Disadvantage", + "normal": "Normal", + "advantage": "Advantage", + "heritage-trait-name": "Heritage Trait Name", + "heritage-trait-description...": "Heritage Trait Description...", + "experience": "Experience", + "total": "Total", + "spent": "Spent", + "remaining": "Remaining", + "health": "Health", + "weapon-proficiences": "Weapon Proficiencies", + "light": "Light", + "heavy": "Heavy", + "ranged": "Ranged", + "unarmed": "Unarmed", + "improvised": "Improvised", + "light-melee": "Light Melee", + "heavy-melee": "Heavy Melee", + "light-range": "Light Range", + "heavy-range": "Heavy Range", + "mastered-weapons": "Mastered Weapons", + "list-of-weapons...": "List of Weapons...", + "equipped-items": "Equipped Items", + "item-name": "Item Name", + "inventory": "Inventory", + "depletion": "Depletion", + "weilding": "Weilding", + "wearing": "Wearing", + "armor-name": "Armor Name", + "armor": "Armor", + "slots": "Slots", + "test": "Test", + "initiative": "Initiative", + "disadvantage-test": "Disadvantage Test", + "advantage-test": "Advantage Test", + "standard-test": "Standard Test", + "empty": "Empty", + "L": "L", + "H": "H", + "R": "R", + "U": "U", + "I": "I" +} \ No newline at end of file From ec1f01e3e1d76f68d37580d2a067616557e64481 Mon Sep 17 00:00:00 2001 From: Daniel Tschiedel Date: Sun, 2 May 2021 14:17:00 -0300 Subject: [PATCH 46/76] making weapons types translatable --- Tiny D6 Games/Tiny-D6-Games.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tiny D6 Games/Tiny-D6-Games.html b/Tiny D6 Games/Tiny-D6-Games.html index 017c19ddc1..5e8e3b5b8f 100644 --- a/Tiny D6 Games/Tiny-D6-Games.html +++ b/Tiny D6 Games/Tiny-D6-Games.html @@ -429,15 +429,15 @@
+ title="@{repeating_frontiers_$X_proficient_light_melee}" /> + title="@{repeating_frontiers_$X_proficient_heavy_melee}" /> + title="@{repeating_frontiers_$X_proficient_light_ranged}" /> + title="@{repeating_frontiers_$X_proficient_heavy_ranged}" />
Depletion: From 5924661d32e4bef016e9e8569688406ae62ec17b Mon Sep 17 00:00:00 2001 From: wing-it Date: Sun, 2 May 2021 13:58:42 -0400 Subject: [PATCH 47/76] New translations translation.json (Portuguese) --- Tiny D6 Games/translations/pt.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiny D6 Games/translations/pt.json b/Tiny D6 Games/translations/pt.json index 290654ced0..c64940702e 100644 --- a/Tiny D6 Games/translations/pt.json +++ b/Tiny D6 Games/translations/pt.json @@ -36,7 +36,7 @@ "heavy": "Pesada", "ranged": "À Distância", "unarmed": "Desarmado", - "improvised": "Improvisado", + "improvised": "Improvisada", "light-melee": "Corpo a corpo Leve", "heavy-melee": "Corpo a corpo Pesada", "light-range": "À distância Leve", From 9726a07d497027dd5fd450a13f104da308b2ec9f Mon Sep 17 00:00:00 2001 From: Mat Date: Sun, 2 May 2021 14:14:36 -0400 Subject: [PATCH 48/76] Fix prayer disciplines The disciplines under Prayer were using Empathy when they should be using Conviction. --- Shadows of Esteren/ShadowsOfEsteren.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shadows of Esteren/ShadowsOfEsteren.html b/Shadows of Esteren/ShadowsOfEsteren.html index 75ab85aec7..f8879514ee 100644 --- a/Shadows of Esteren/ShadowsOfEsteren.html +++ b/Shadows of Esteren/ShadowsOfEsteren.html @@ -274,7 +274,7 @@
- +
From 088e68d1d230ba0021f6b56c32a5cd0efbbe3668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anja=20M=C3=B6ller?= Date: Sun, 2 May 2021 21:22:42 +0200 Subject: [PATCH 49/76] Adjusting button color, reorganize menu, adding author information, improving icon for spell costs --- Splittermond/Sheet.css | 45 ++++-- Splittermond/Sheet.html | 264 ++++++++++++++++++----------------- Splittermond/sheet.json | 2 +- Splittermond/wand_xsmall.png | Bin 3198 -> 3036 bytes 4 files changed, 166 insertions(+), 145 deletions(-) diff --git a/Splittermond/Sheet.css b/Splittermond/Sheet.css index 1a63790807..49e0793a89 100644 --- a/Splittermond/Sheet.css +++ b/Splittermond/Sheet.css @@ -8,13 +8,16 @@ --color-bg-form-header:#0489b1; --color-bg-bookmark:#e8e8e8; --color-bg-bookmark--active: white; - --color-bg-button:#f1f1f1; + --color-bg-button:#d0d0d0; --color-bg-button--hover:#bdeefd; - --color-bg-button--primary:#97d1e5; - --color-bg-button--primary--hover:#bdeefd; + + --color-bg-button--primary:#0489b1; + --color-bg-button--primary--hover:#10b0e0; --color-font: #252b2e; --color-font-h1:#0489b1; + --color-font-button--primary:white; + --color-font-button--primary--hover:white; --color-font-form-header:white; --color-font-form__field:#252b2e; @@ -41,6 +44,8 @@ --color-font: white; --color-font-h1:#97d1e5; --color-font-form-header:#97d1e5; + --color-font-button--primary:white; + --color-font-button--primary--hover:white; --border-form__field: 2px solid #bbbbbb; } @@ -163,10 +168,16 @@ button[type=roll].sheet-bt_initiative_tracker::before { float: right; background: none; background-color: var(--color-bg-button--primary); + color: var(--color-font-button--primary); border-bottom-left-radius: 3px; } -.repcontrol_add:hover, .repcontrol_edit:hover { +.repcontrol_add:hover { + background-color: var(--color-bg-button--primary--hover); + color: var(--color-font-button--primary--hover); +} + +.repcontrol_edit:hover { background-color: var(--color-bg-button--hover); } @@ -231,7 +242,7 @@ label { .sheet-button { background: none; - background-color: #d0d0d0; + background-color: var(--color-bg-button); color: black; text-shadow: none; border: none; @@ -244,7 +255,7 @@ label { } .sheet-button:hover { - background-color: #f1f1f1; + background-color: var(--color-bg-button--hover); } .sheet-button--white { @@ -252,13 +263,13 @@ label { } .sheet-button--primary { - background-color: #0489b1; - color: white; + background-color: var(--color-bg-button--primary); + color: var(--color-font-button--primary); } .sheet-button--white:hover, .sheet-button--primary:hover { - background-color: var(--color-bg-button); - color: #0489b1; + background-color: var(--color-bg-button--primary--hover); + color: var(--color-font-button--primary--hover); } .sheet-form-header { @@ -344,6 +355,7 @@ label { .sheet-tab2:checked ~ .sheet-section-Fertigkeiten > *, .sheet-tab21:checked ~ .sheet-section-Fertigkeiten > *, .sheet-tab8:checked ~ .sheet-section-magie > *, +.sheet-tab9:checked ~ .sheet-section-meisterschaften > *, .sheet-tab3:checked ~ .sheet-section-Kampf > *, .sheet-tab4:checked ~ .sheet-section-Entwicklung > *, .sheet-tab5:checked ~ .sheet-einstellungen .sheet-section > *, @@ -388,7 +400,7 @@ label { .sheet-tab-menu__item { font-size: 1.5rem; - color: #c1e1ff; + color: #c7e5ef; text-align: center; cursor: pointer; padding: 0.5rem 0; @@ -465,6 +477,7 @@ label { .sheet-tab2:checked ~ .sheet-section-Fertigkeiten, .sheet-tab21:checked ~ .sheet-section-Fertigkeiten, .sheet-tab8:checked ~ .sheet-section-magie, +.sheet-tab9:checked ~ .sheet-section-meisterschaften, .sheet-tab3:checked ~ .sheet-section-Kampf, .sheet-tab4:checked ~ .sheet-section-Entwicklung, .sheet-tab5:checked ~ .sheet-einstellungen .sheet-section, @@ -487,7 +500,8 @@ label { .sheet-tab3:checked ~ .sheet-tab-menu .sheet-tab31, .sheet-tab4:checked ~ .sheet-tab-menu .sheet-tab4, .sheet-tab6:checked ~ .sheet-tab-menu .sheet-tab6, -.sheet-tab8:checked ~ .sheet-tab-menu .sheet-tab8 { +.sheet-tab8:checked ~ .sheet-tab-menu .sheet-tab8, +.sheet-tab9:checked ~ .sheet-tab-menu .sheet-tab9 { color: white; } @@ -497,12 +511,14 @@ label { .sheet-tab4:checked ~ .sheet-tab-menu .sheet-tab4:before, .sheet-tab6:checked ~ .sheet-tab-menu .sheet-tab6:before, .sheet-tab8:checked ~ .sheet-tab-menu .sheet-tab8:before, +.sheet-tab9:checked ~ .sheet-tab-menu .sheet-tab9:before, .sheet-tab1:checked ~ .sheet-tab-menu .sheet-tab12:after, .sheet-tab2:checked ~ .sheet-tab-menu .sheet-tab21:after, .sheet-tab3:checked ~ .sheet-tab-menu .sheet-tab31:after, .sheet-tab4:checked ~ .sheet-tab-menu .sheet-tab4:after, .sheet-tab6:checked ~ .sheet-tab-menu .sheet-tab6:after, -.sheet-tab8:checked ~ .sheet-tab-menu .sheet-tab8:after { +.sheet-tab8:checked ~ .sheet-tab-menu .sheet-tab8:after, +.sheet-tab9:checked ~ .sheet-tab-menu .sheet-tab9:after { opacity: 1; width: 50%; } @@ -540,6 +556,7 @@ label { .sheet-bookmark .sheet-bookmark__item:hover { background-color: var(--color-bg-button--hover); + color: var(--color-font-button--hover); } .sheet-bookmark .sheet-bookmark__item:first-child { @@ -1087,7 +1104,7 @@ input.sheet-button-image__checkbox { .sheet-collapse_child { max-height: 0; - background-color: #c1e1ff; + background-color: #c7e5ef; margin-right: 0.5rem; margin-left: 0.5rem; transition: max-height 0.2s ease-out; diff --git a/Splittermond/Sheet.html b/Splittermond/Sheet.html index bc25268ef0..46066204d6 100644 --- a/Splittermond/Sheet.html +++ b/Splittermond/Sheet.html @@ -1043,12 +1043,11 @@
- + + - -
@@ -2440,7 +2439,10 @@
-

Meisterschaften

+
+ +
+

Fertigkeitsmeisterschaften

Meisterschaft Fertigkeit @@ -2503,6 +2505,105 @@
+

Kampfmeisterschaften

+
+ Meisterschaft + Fertigkeit + Schwellenwert + Wirkung +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+
+

Magiemeisterschaften

+
+ Meisterschaft + Fertigkeit + Schwellenwert + Wirkung +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+
@@ -2612,8 +2713,8 @@

Magieschulen

-
-
+
+
Magieschule Wert @@ -3219,61 +3320,6 @@
-

Meisterschaften (Magie)

-
- Meisterschaft - Fertigkeit - Schwellenwert - Wirkung -
-
-
- -
- -
-
- -
-
- -
-
- -
-
- -
-
- - -
-
-
@@ -3381,7 +3427,7 @@
-
+
@@ -3395,7 +3441,7 @@
-
+

Aktive Abwehr

Akrobatik @@ -3404,7 +3450,7 @@
-
+
Zustand Stufe @@ -3445,7 +3491,7 @@
-