diff --git a/Splittermond/Sheet.css b/Splittermond/Sheet.css index 4bce538572..49e0793a89 100644 --- a/Splittermond/Sheet.css +++ b/Splittermond/Sheet.css @@ -1,161 +1,58 @@ +@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'); + +/* Settings */ +/*light theme*/ +.sheet-theme~* { + --color-bg: white; + --color-bg-underlay:#d0d0d0; + --color-bg-form-header:#0489b1; + --color-bg-bookmark:#e8e8e8; + --color-bg-bookmark--active: white; + --color-bg-button:#d0d0d0; + --color-bg-button--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; + --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-bg-bookmark:#0f1213; + --color-bg-bookmark--active: #252b2e; + --color-bg-button:#3a3a3a; + --color-bg-button:#545454; + --color-bg-button--primary:#155a6f; + --color-bg-button--primary--hover:#1c7c99; + + --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; + --color-font-button--primary:white; + --color-font-button--primary--hover:white; + + --border-form__field: 2px solid #bbbbbb; +} + .charsheet { background-color: white; - width: 840px; - font-family: "Times New Roman"; -} - -.sheet-isPC { - margin-right: 5px; -} - -.sheet-isNPC { - margin: 0 5px 0 20px; -} - -.sheet-creature { - margin: 0 5px 0 20px; -} - -label { - font-weight: bold; - font-size: 12px; - margin-bottom: 0; - display: inline !important; - line-height: 26px; - padding: 0 !important; - text-align: center !important; -} - -/*-----------------------------------------------input ------------------------------------------------*/ -.charsheet input[type=text], .charsheet input[type=number] { - padding-left: 2px; -} -.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; - 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=number]:disabled { - background-color:#FFFFFF; -} -td { - padding: 0px; -} -input{ - font-family: "Times New Roman"; -} -input[type="text"]:disabled { - background-color:#81BEF7; -} -/*-------------------------------------------------Tabs--------------------------------------*/ - - -div[class^="sheet-section"] { - visibility: hidden; - opacity: 0; - max-height:0; - overflow: hidden; -} -input.sheet-tab { - width: 190px; - height: 20px; - cursor: pointer; - position: relative; - opacity: 0; - z-index: 9999; -} -span.sheet-tab { - text-align: center; - 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; - position: relative; - margin-left: -197px; -} -input.sheet-tab::before { - content: attr(title); - text-align: center; - display: inline-block; - width: 100%; - height: 100%; - - background: black; - color: white; - font-weight: bold; -} - -.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 { - display: none; -} - -input.sheet-tab1:checked ~ div.sheet-section-Grundwerte, -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, -input.sheet-tab5:checked ~ div.sheet-section-Einstellungen, -input.sheet-tab6:checked ~ div.sheet-section-Ausruestung, -input.sheet-tab7:checked ~ div.sheet-section-Genesis, -input.sheet-tab29:checked ~ div.sheet-section-npc { - 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 ~ 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; + font-family: 'Poppins', sans-serif; } /*--------------------------------------------Roll Templates-------------------------------------*/ @@ -166,15 +63,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; } @@ -190,104 +87,37 @@ input.sheet-tab42:checked ~ span.sheet-tab42 { text-align: center; } -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; -} - -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; -} - .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; } -.sheet-tooltip, -.sheet-tooltip-small { - outline: none; - cursor: help; /* you might want to remove this line */ -} - -.sheet-tooltip strong, -.sheet-tooltip-small strong { line-height: 30px; } - -input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { - display: block; - position: absolute; -} - -.sheet-tooltip:hover, -.sheet-tooltip-small:hover { text-decoration: none; } - -.sheet-tooltip-small:hover textarea { - display: block; - position: absolute; -} - -.sheet-tooltip textarea { - display: none; - border-radius: 4px; - box-shadow: 5px 5px 8px #ccc; - z-index: 10; - padding: 14px 20px; - margin-top: -30px; - margin-left: 28px; - width: 600px; - line-height: 16px; - border: 1px solid #66BDED; - background: #C7EAFF; -} - -.sheet-tooltip-small textarea { - display: none; - border-radius: 4px; - box-shadow: 5px 5px 8px #ccc; - z-index: 10; - padding: 14px 20px; - margin-top: -30px; - margin-left: 28px; - width: 70px; - line-height: 16px; - border: 1px solid #66BDED; - background: #C7EAFF; -} - .sheet-textarea-description { height: 50px; border: none; @@ -302,39 +132,8 @@ input.sheet-toggletooltips-inside[value="1"] ~ .sheet-tooltip:hover textarea { resize: none; } -.sheet-hidden { - display:none; -} - -div.sheet-behaelter1, -div.sheet-behaelter2, -div.sheet-behaelter3, -div.sheet-behaelter4, -div.sheet-behaelter5 { - display: none; -} - -input.sheet-behaelter1:checked ~ div.sheet-behaelter1, -input.sheet-behaelter2:checked ~ div.sheet-behaelter2, -input.sheet-behaelter3:checked ~ div.sheet-behaelter3, -input.sheet-behaelter4:checked ~ div.sheet-behaelter4, -input.sheet-behaelter5:checked ~ div.sheet-behaelter5 { - display: block; -} - -div.sheet-behaelter1, -div.sheet-behaelter2, -div.sheet-behaelter3 -div.sheet-behaelter4 -div.sheet-behaelter5 { - border: 1px solid gray; -} - div.sheet-initracker_sc_text { display: none; - border: 1px solid black; - margin-top: 1em; - margin-bottom: 1em; } input.sheet-initracker_sc { @@ -346,18 +145,1002 @@ input.sheet-initracker_sc:checked ~ div.sheet-initracker_sc_text { } .sheet-bt_initiative_tracker { - background: #0489B1; - color: white; + padding: 0.5rem 1rem !important; + font-size: 1em!important; + margin: 0 !important; } button[type=roll].sheet-bt_initiative_tracker::before { content: ''; } -p.sheet-initracker_paragraph { +/* Generic */ +.repcontrol_add, +.repcontrol_edit { + border-radius: 0; + line-height: 1; + text-shadow: none; + border-color: transparent; + color: var(--color-font); +} + +.repcontrol_add { + 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 { + 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); +} + +.repcontrol_edit { + background: none; + background-color: var(--color-bg-button); + border-bottom-right-radius: 3px; +} + +.itemcontrol { + z-index: 10; +} + + +/* Elements */ +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: 'Caudex', serif; + color: inherit; +} + +input[type="text"], +select { + width: 100%; + margin: 0; + background-color: inherit; +} + +select { + color: var(--color-font); +} + +select option { + color: black; +} + +input[readonly], +select[readonly], +textarea[readonly] { + cursor: default; +} + +input[readonly]:focus { + outline: none; +} + +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: var(--color-bg-button); + color: black; + text-shadow: none; + border: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 4px; + cursor: pointer; + padding: 0.3rem; +} + +.sheet-button:hover { + background-color: var(--color-bg-button--hover); +} + +.sheet-button--white { + background-color: #fff; +} + +.sheet-button--primary { + 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--primary--hover); + color: var(--color-font-button--primary--hover); +} + +.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; +} + +.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 { + position: relative; + background-color: var(--color-bg-underlay); + padding: 1rem 1rem 3rem; +} + +.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; +} + +.sheet-tab1:checked ~ .sheet-section-Grundwerte > *, +.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 > *, +.sheet-tab6:checked ~ .sheet-section-Ausruestung > *, +.sheet-tab7:checked ~ .sheet-genesis .sheet-section > *, +.sheet-tab29:checked ~ .sheet-section-npc > *, +.sheet-tab42:checked ~ .sheet-section-Updates > *, +.sheet-isNPC:checked ~ .sheet-npc .sheet-section > *, +.sheet-isCreature:checked ~ .sheet-creature .sheet-section > * { + opacity: 1; + transform: translateY(0px); +} + +.sheet-tab .sheet-tab__selector { + display: none; +} + +.sheet-section h1 { + color: var(--color-font-h1); +} + +.sheet-group__option { + display: none; +} + +.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: #c7e5ef; text-align: center; - margin-top: 1em; - margin-bottom: 1em; + 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, +.sheet-sheet-tab5:checked ~ .sheet-einstellungen, +.sheet-sheet-tab7:checked ~ .sheet-genesis { + display: block; +} + +.sheet-isPC:checked ~ .sheet-creature, +.sheet-isPC:checked ~ .sheet-npc, +.sheet-isPC:checked ~ .sheet-einstellungen, +.sheet-isPC:checked ~ .sheet-genesis, +.sheet-isNPC:checked ~ .sheet-creature, +.sheet-isNPC:checked ~ .sheet-pc, +.sheet-isNPC:checked ~ .sheet-einstellungen, +.sheet-isNPC:checked ~ .sheet-genesis, +.sheet-isCreature:checked ~ .sheet-npc, +.sheet-isCreature:checked ~ .sheet-pc, +.sheet-isCreature:checked ~ .sheet-einstellungen, +.sheet-isCreature:checked ~ .sheet-genesis, +.sheet-tab5:checked ~ .sheet-npc, +.sheet-tab5:checked ~ .sheet-pc, +.sheet-tab5:checked ~ .sheet-isCreature, +.sheet-tab5:checked ~ .sheet-genesis, +.sheet-tab7:checked ~ .sheet-npc, +.sheet-tab7:checked ~ .sheet-pc, +.sheet-tab7:checked ~ .sheet-isCreature, +.sheet-tab7:checked ~ .sheet-einstellungen { + display: none; +} + +.sheet-tab1:checked ~ .sheet-section-Grundwerte, +.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, +.sheet-tab6:checked ~ .sheet-section-Ausruestung, +.sheet-tab7:checked ~ .sheet-genesis .sheet-section, +.sheet-tab29:checked ~ .sheet-section-npc, +.sheet-tab42:checked ~ .sheet-section-Updates, +.sheet-isNPC:checked ~ .sheet-npc .sheet-section, +.sheet-isCreature:checked ~ .sheet-creature .sheet-section + { + visibility: visible; + opacity: 1; + /*todo*/ + padding: 3rem !important; + height: auto; +} + +.sheet-tab1:checked ~ .sheet-tab-menu .sheet-tab12, +.sheet-tab2:checked ~ .sheet-tab-menu .sheet-tab21, +.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-tab9:checked ~ .sheet-tab-menu .sheet-tab9 { + color: white; +} + +.sheet-tab1:checked ~ .sheet-tab-menu .sheet-tab12:before, +.sheet-tab2:checked ~ .sheet-tab-menu .sheet-tab21:before, +.sheet-tab3:checked ~ .sheet-tab-menu .sheet-tab31:before, +.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-tab9:checked ~ .sheet-tab-menu .sheet-tab9:after { + opacity: 1; + width: 50%; +} + +.sheet-arrow { + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 5px solid black; + cursor: pointer; +} + +.sheet-icon { + font-family: 'Pictos'; + color: #4e4b49; + font-size: 20px; +} + +.sheet-bookmark { + position: absolute; + top: 0; +} + +.sheet-bookmark .sheet-bookmark__item { + border-left: 1px solid #969696; + white-space: nowrap; + padding: 0.2rem 0.5rem; + color: var(--color-font-form__label); + cursor: pointer; + width: auto; + margin: 0; + font-size: 1.2rem; + background-color: var(--color-bg-bookmark); + max-height: 20px; +} + +.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 { + border: none; +} + +.sheet-group__option:checked + .sheet-bookmark__item { + background: var(--color-bg-bookmark--active); + padding-bottom: 1rem; + z-index: 10; + font-weight: 700; + -moz-box-shadow: 0 5px 5px -3px rgb(0 0 0 / 45%); + -webkit-box-shadow: 0 5px 5px -3px rgb(0 0 0 / 45%); + box-shadow: 0 5px 5px -3px rgb(0 0 0 / 45%); + border: none; +} + +.sheet-behaelter1-switch:checked ~ div.sheet-behaelter1, +.sheet-behaelter2-switch:checked ~ div.sheet-behaelter2, +.sheet-behaelter3-switch:checked ~ div.sheet-behaelter3, +.sheet-behaelter4-switch:checked ~ div.sheet-behaelter4, +.sheet-behaelter5-switch:checked ~ div.sheet-behaelter5 { + display: block; +} + +/* 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__group--lg { + position: relative; + padding: 16px 0 0 0; +} + +.sheet-form__box { + height: 25px !important; + margin-top: 5px !important; + border-color: #5a5a5a; +} + +.sheet-header-field { + border: 0; + border-radius: 0; + outline: 0; + padding: 0; + color: var(--color-font-form__field); + border-bottom: var(--border-form__field); + font-size: 1.8rem; + transition: border-color 0.2s; + font-family: 'Caudex', serif; +} + +.sheet-header-field:focus { + font-weight: 700; + border-width: 3px; + border-image: linear-gradient(to right, #0489b1, #97d1e5); + border-image-slice: 1; +} + +.sheet-label-field { + border: none; + font-weight: 700; + color: var(--color-font-form__label); +} + +.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 { + transition: 0.2s; + color: var(--color-font-form__label--focus); + font-weight: 700; +} + +.sheet-input-circle { + position: relative; + width: 25px; + height: 25px; + background-color: #0489b1; + color: white; + border-radius: 50%; +} + +.sheet-input-circle--lg { + width: 35px; + height: 35px; +} + +.sheet-input-circle > input { + position: absolute; + top: 5px; + left: 0; + background-color: transparent; + color: white; + border-color: transparent; + padding: 0; + text-align: center; +} + +.sheet-input-circle--lg > input { + top: 8px; +} + +.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; +} + +.sheet-button-image { + position: relative; + text-align: center; + display: inline-block; + background: #0489b1; + padding: 2px; + border-radius: 4px; +} + +input.sheet-button-image__checkbox { + position: absolute; + left: 0; + cursor: pointer; + z-index: 9999; + opacity: 0; + width: 100%; + height: 100%; +} + +/* Utilities */ + +.sheet-line--top { + border-top: 1px solid #b1b1b1; +} + +.sheet-line--right { + border-right: 1px solid #b1b1b1; +} + +.sheet-line--left { + border-left: 1px solid #b1b1b1; +} + +.sheet-line--bottom { + border-bottom: 1px solid #b1b1b1; +} + +.sheet-text--sm { + font-size: 1rem !important; +} + +.sheet-text--lg { + font-size: 2rem !important; +} + +.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, .sheet-hidden { + display: none; +} + +.sheet-d--inline { + display: inline; +} + +.sheet-d--inline-block { + display: inline-block; +} + +.sheet-d--flex { + display: flex; +} + +.sheet-d--flex--column { + flex-direction: column; +} + +.sheet-d--flex--justify-center { + justify-content: center; +} + +.sheet-d--flex--align-top { + align-items: flex-start; +} + +.sheet-d--flex--align-center { + align-items: center; +} + +.sheet-d--flex--align-bottom { + align-items: flex-end; +} + +.sheet-d--flex--align-baseline { + align-items: baseline; +} + +.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--right { + float: right; +} + +.sheet-float--left { + float: left; +} + +.sheet-mr--1 { + margin-right: 0.5rem !important; +} + +.sheet-mr--2 { + margin-right: 1rem !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-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; +} + +.sheet-pl--1 { + padding-left: 0.5rem !important; +} + +.sheet-pl--3 { + 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: #c7e5ef; + margin-right: 0.5rem; + margin-left: 0.5rem; + transition: max-height 0.2s ease-out; + overflow: hidden; +} + +.sheet-collapse_child textarea { + width: calc(100% - 1rem); + height: calc(100px - 1rem); + resize: none; + margin: 0; + background: rgb(255 255 255 / 50%); + border: none; + outline: none; +} + +.sheet-collapse_switch:checked + .sheet-collapse_child { + padding: 1rem; + height: auto; + max-height: 100px; + transition: max-height 0.2s ease-in; + -moz-box-shadow: inset 0 -5px 5px -5px rgb(0 0 0 / 45%), inset 0 5px 5px -5px rgb(0 0 0 / 45%); + -webkit-box-shadow: inset 0 -5px 5px -5px rgb(0 0 0 / 45%), inset 0 5px 5px -5px rgb(0 0 0 / 45%); + box-shadow: inset 0 -5px 5px -5px rgb(0 0 0 / 45%), inset 0 5px 5px -5px rgb(0 0 0 / 45%); + overflow: visible; +} + +.sheet-collapse_switch:checked + .sheet-collapse_child--lg { + max-height: 200px; +} + +.sheet-collapse_switch:checked + .sheet-arrow { + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-bottom: 5px solid black; + border-top: none; } input.sheet-hidden-checkbox, diff --git a/Splittermond/Sheet.html b/Splittermond/Sheet.html index e907adc0dc..f874e5dbed 100644 --- a/Splittermond/Sheet.html +++ b/Splittermond/Sheet.html @@ -1,11 +1,22 @@ - -      - +
+ +
+ Splittermond Charakterbogen für Roll20 (v. 2.0.0) + Entworfen und umgesetzt von Loki, Design von Andernath +
+
-
+ + + + + + -
- +
+
@@ -90,26 +101,26 @@ BEW - + @@ -117,25 +128,25 @@ INT @@ -143,25 +154,25 @@ KON
@@ -63,26 +74,26 @@ AUS - + MYS - + GK - + VTD - - + +
- + STÄ - + GSW - + SR - +
- + VER - + LP - + GW - +
- + WIL - + FO - + KW - +
@@ -176,7 +187,7 @@ Initiative: - + @@ -217,13 +228,13 @@ - + - + - + + - + - + @@ -252,9 +263,9 @@ - - - + + + @@ -265,13 +276,13 @@ - + - + - + + - + - + @@ -300,9 +311,9 @@ - - - + + + @@ -356,8 +367,8 @@ - - + + @@ -486,35 +497,36 @@ - + - + - + - + - + - - - + + + +
-
-
+
+
@@ -599,7 +611,7 @@ - + @@ -607,27 +619,27 @@ - + - + - + - + - + - +
Name
Ausstrahlung
Beweglichkeit
Intuition
Konstitution
Mystik
Stärke
Verstand
Willenskraft
@@ -641,35 +653,35 @@ Größenklasse - + Geschwindigkeit - + Lebenspunkte - + Fokus - + Verteidigung - + Schadensreduktion - + KW - + GW - +
@@ -685,10 +697,10 @@ Gesamtlebenspunkte - - K: - E: - V: + + K: + E: + V: Gesundheitsleisten (1/3/5) @@ -696,23 +708,23 @@ Schadensmodifikator - + Schmerzresistenz / -immunität Resistenz: - + Immunität: - + Gesamtfokus   - - K: - E: - V: + + K: + E: + V: Aktive Abwehr @@ -743,14 +755,14 @@
-
-
- -

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
Name:
Spieler:
Mondzeichen: -
Ausbildung:
Kultur:Abstammung:
Rasse:Geschlecht:
Haarfarbe:Größe:
Augenfarbe:Gewicht:
Hautfarbe:Geburtsort:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameStartWertMaximum
Ausstrahlung
Beweglichkeit
Intuition
Konstitution
Mystik
Stärke
Verstand
Willenskraft
Behinderung
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameWert - Mod.
Größenklasse
Geschwindigkeit
Initiative - -
Lebenspunkte
Fokus
Verteidigung
Geistiger Widerstand
Körperlicher Widerstand
Schadensreduktion
-
- -
- - - - - - - - - - - - - - -
-
- - - - - - - - -
Ressourcen
-
- - -
-
-
-
-
- - - - - - - -
Stärken
-
- - -
- -
-
-
-
- - - - - - - -
Schwächen
-
- -
-
-
-
 
-
- - - - - - - -
Sprachen
-
- -
-
-
-
-
- - - - - - - -
Kulturkunde
-
- -
-
-
-
- -
- -
-

Modifikatoren (z.B. Kanalisierte Zauber)


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

Einstellungen


- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - -
Angriffe
Schaden separat würfeln   (SC-Bogen)
Schaden separat würfeln   (NSC-Bogen)
-
  - - - - - - - - - - - - -
Fehlerbehebung
Fokus
Lebenspunkte
-
 
- - - - - - - - -
Turn Tracker
Turn Tracker aktivieren?
-
 
- - - - - - - - - - - - - - - - - - -
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
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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? - - - - -
-

Charakterentwicklung


- - - - - - -
- - - - - - - - - - - - - - - - - - - -
Erfahrungspunkte
Gesamt: 
Eingesetzt: 
Offen: 
-
-   - - - - - - - - - - - - - - - - - - - - -
Geld
Solare: 
Lunare: 
Telare: 
-
- -
- - - - - - - - - - - - - -
-
Heldengrad
Grad: 
- -
- - - - - - - - -
Ausrüstung
- -
- -
- - - - - - - - -
Notizen
- -
-
- -
-

Ausrüstung

-
-
-  Behälter 1 -   Behälter 2 -   Behälter 3 -   Behälter 4 -   Behälter 5 +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+
-
-
- + +
+

Magie

+

Zaubersprüche

+
+ Zauberspruch + Wert + Kosten + Kosten (V) + Mod. Ausr. / Mag. + Wirkung + Würfeln +
+
+
+ +
+ +
+
+
+ +
+
+
+ + + + + +
+
+ + + + + +
+
+ / + + + +
+
+ +
+
+ +
+ +
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+
+

Magieschulen

+
+
+
+ Magieschule + Wert + Mod. + Würfeln +
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ Magieschule + Wert + Mod. + Würfeln +
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ +
+
+ +
+ +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+
-
- - - - - - - - - - - - -
AnzahlNameLastHärteZustandGetr.?Infos
-
- - - - - + + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ Schadensmodifikator +
+ +
+ + + + + + + + + + +
+ +
+
+

Fokus

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

Regeneration und Heilung

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

Zauberkosten abrechnen

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

Aktive Abwehr

+
+ Akrobatik + KW + GW +
+
+
+
+
+ Zustand + Stufe + Aktiv +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
+ + + +
+ +

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 +
+ + +
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ - - -
+ + + +
+ +
+ +
+ +
+ + + + +
+ + + +
+ + + +
+
+ + + + +
+
+ + + + + + +
+
+
+ +

Fernkampfwaffen

+ 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 +
+
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ +
+ + +
+ +
+
+
+ +
+
+ +
+
+ + +
+ +
+ +
+
+ + + + +
+
+ + + + + + + + + +
+
+
+ +

Kampffertigkeiten

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

Rüstungen & Schilde

+
+
+ Rüstung + VTD+ + SR + BE + Tick+ + Ausger. +
+
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ + +
+
+
+ + + + + + + + +
+ +
+
+ Schild + VTD+ + + BE + Tick+ + Ausger. +
+
+ +
+ +
+
+ +
+
+
+ +
+
+ +
+ + + + + + +
+ +
+
+ + +
+
+
+
+
Gesamt
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+ + +
+

Charakterentwicklung

+
+

Heldengrad

+
+ +
+
+
+
+

Erfahrungspunkte

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

Geld

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

Ausrüstung

+ +

Notizen

+ +
+ +
+

Ausrüstung

+

Am Körper getragen

+
+ Anzahl + Name + Last + Härte + Zustand + Getragen + Informationen +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+ +
+
+
+
+

Gesamtlast am Körper

+
+ +
+
+

Weiterer Stauraum

+
+
+ +
+ +
+ Anzahl + Name + Last + Härte + Zustand + Getragen + Informationen +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+ +
+
+
+
+

Gesamtlast

+
+ +
+
+
+ +
+ +
+ Anzahl + Name + Last + Härte + Zustand + Getragen + Informationen +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+ +
+
+
+
+

Gesamtlast

+
+ +
+
+
+ +
+ +
+ Anzahl + Name + Last + Härte + Zustand + Getragen + Informationen +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+ +
+
+
+
+

Gesamtlast

+
+ +
+
+
+ +
+ +
+ Anzahl + Name + Last + Härte + Zustand + Getragen + Informationen +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+ +
+
+
+
+

Gesamtlast

+
+ +
+
+
+ +
+ +
+ Anzahl + Name + Last + Härte + Zustand + Getragen + Informationen +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+ + +
+ +
+
+
+
+

Gesamtlast

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

Gesamtlast aller Ausrüstung

+
+ +
+
+
+ + + +
+
+

Einstellungen


+ + + + + + + + + + + + - - - - - - - -
+ + + + + + + + + + + + +
Angriffe
Schaden separat würfeln   (SC-Bogen)
Schaden separat würfeln   (NSC-Bogen)
+
  + + + + + + + + + + + + +
Fehlerbehebung
Fokus
Lebenspunkte
+
 
+ + + + + + + + +
Turn Tracker
Turn Tracker aktivieren?
 
- - -   - - -
- -
-

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

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

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

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

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

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


-

17.03.2021

-
    -
  • Die Einstellung, ob der Turn Tracker verwendet wird, wird ab jetzt im Einstellungen-Reiter (de-)aktiviert.
  • -
-

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.
  • -
-
-

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

+
+
+

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


+

02.05.2021

+ Umfangreiches Redesign: Anpassung von Layout, Schrift, Farben, Eingabefeldern und Struktur auf dem Spielercharakterbogen. NSC- und Kreaturenbogen werden demnächst angepasst. Sowie der Genesis-Importer und die Einstellungen. +
    +
  • Redesign vom Headerbereich, Menü (Header und Footer), Unterseiten des Spielercharakterbogens, verschiedenen Komponenten und Elementen
  • +
  • Verschlanken der Unterseiten durch neue Reiter: Meisterschaften und Magie
  • +
  • Verschlanken der Unterseiten durch ein- und ausklappbare Elemente
  • +
  • Ausrüstung: Individuelle Taschenbennung greift nun auch bei den Checkboxen zum Anzeigen der Beutel
  • +
  • Einstellungen zum Tooltip (Zauber, Meisterschaften) wurde entfernt. Regeltexte können nun im ausklappbaren Bereich des Zaubers oder der Meisterschaft angezeigt und bearbeitet werden.
  • +
  • Diverses Code Refactoring
  • +
+

17.03.2021

+
    +
  • Die Einstellung, ob der Turn Tracker verwendet wird, wird ab jetzt im Einstellungen-Reiter (de-)aktiviert.
  • +
+

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
  • +
+
+

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

+ @@ -4006,7 +5292,7 @@
- + @@ -4857,17 +6143,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) { @@ -5306,9 +6629,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; @@ -5318,6 +6638,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; @@ -6814,6 +8150,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"]; @@ -6822,6 +8160,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 = ""; @@ -6835,15 +8174,18 @@ function writeToSheet (characterData) { } else { masterylongdescription = masteryshortdescription; } - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsname"] = masteryname; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsfertigkeit"] = skillname; - character["repeating_meisterschaften_" + newrowid + "_meisterschaftsbeschreibung"] = skillname; - 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; + + 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; @@ -6884,12 +8226,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) { @@ -7174,8 +8513,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"]; @@ -7187,10 +8536,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 + "_meisterschaftsbeschreibung"] = 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 { @@ -7198,10 +8546,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 + "_meisterschaftsbeschreibung"] = skillname; - masteries["repeating_meisterschaften_" + newrowid + "_meisterschaftsschwelle"] = 1; + masteries[repeatingPrefix + newrowid + "_meisterschaftsname"] = masteryname; + masteries[repeatingPrefix + newrowid + "_meisterschaftsfertigkeit"] = skillname; + masteries[repeatingPrefix + newrowid + "_meisterschaftsschwelle"] = 1; setAttrs(masteries); } } @@ -7511,15 +8858,15 @@ 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_meisterschaftenkampf", function(idarray) { + for(var i=0; i < idarray.length; i++) { + removeRepeatingRow("repeating_meisterschaftenkampf" + idarray[i]); + } }); - getSectionIDs("repeating_spelltooltips", function(idarray) { - for(var i=0; i < idarray.length; i++) { - removeRepeatingRow("repeating_spelltooltips_" + 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++) { @@ -9007,7 +10354,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") { @@ -9032,6 +10378,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 = {}; @@ -9165,78 +10525,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"}; @@ -9293,4 +10581,4 @@ on("change:initracker_sc", function(eventInfo) { }); }); - \ No newline at end of file + diff --git a/Splittermond/sheet.json b/Splittermond/sheet.json index ccd10cbe12..7037c165bd 100644 --- a/Splittermond/sheet.json +++ b/Splittermond/sheet.json @@ -1,8 +1,8 @@ { "html": "Sheet.html", "css": "Sheet.css", - "authors": "Loki", - "roll20userid": "800624", + "authors": "Loki, Anja Möller", + "roll20userid": "800624, 6393218", "preview": "SMExample.png", "instructions": "Splittermond is a (untranslated) german RPG, produced and maintained by the german Uhrwerk-Verlag. \n Learn more about it at the official [website](https://splittermond.de/). \n For issues, ideas, suggestions and critique reach out for me on [roll20](https://app.roll20.net/users/800624), [github](https://github.com/ap3h3ad) or [Drachenzwinge](https://www.drachenzwinge.de/forum/index.php?action=profile;u=8933). \n\n I'm very pleased with the amount of love I, as a developer, get from you, the players, in form of compliments and critics. But if you really REALLY want to support me financially (and some of you asked for it), you can do it via [Paypal](https://paypal.me/dabewi?locale.x=de_DE).", "legacy": true diff --git a/Splittermond/wand_xsmall.png b/Splittermond/wand_xsmall.png index 5349805b25..9d447f67d5 100644 Binary files a/Splittermond/wand_xsmall.png and b/Splittermond/wand_xsmall.png differ
{{name}}