AGE System - bug fixes & optional features

I found quite a few small bugs, and was able to fix them. I added an optional tie-breaker for initiative, and an ability to reroll stunt dice.
This commit is contained in:
the-Dissilent
2022-01-29 22:14:09 -05:00
parent af200c2851
commit 5e7fd54ede
4 changed files with 753 additions and 634 deletions
+15 -35
View File
@@ -85,6 +85,13 @@ input.sheet-tab-button.sheet-tab5 + span {
width: 47px;
}
input.sheet-tab-button.sheet-tab-stunts2,
input.sheet-tab-button.sheet-tab-stunts2 + span {
left: 99px;
width: 58px;
display: none;
}
input.sheet-tab-button.sheet-tab-aim,
input.sheet-tab-button.sheet-tab-aim + span {
left: 68px;
@@ -901,11 +908,6 @@ input.sheet-mana-section-checkbox:not(:checked) + input.sheet-exp-section-checkb
margin-left: 5px;
}
.sheet-col-attackdice .sheet-attackroll-withprompt,
.sheet-col-attackdice .sheet-attackroll-withprompt::before {
display: none;
}
.sheet-col-attack-damage {
width: 80px;
}
@@ -1350,7 +1352,8 @@ select.sheet-spell-method option { background-color: white; color: black; }
/* OPTIONS TAB */
.sheet-page.sheet-tab6 select[name="attr_armor-penalty-for-dex"] {
.sheet-page.sheet-tab6 select[name="attr_armor-penalty-for-dex"],
.sheet-page.sheet-tab6 select[name="attr_initiative-tiebreaker"] {
width: 50px;
}
@@ -1850,22 +1853,6 @@ input.sheet-the-expanse-button:checked ~ .sheet-page .sheet-blue-rose-selected {
width: 75px;
}
input.sheet-aim-toggle-checkbox:checked ~ .sheet-page .sheet-attackroll-noaim,
input.sheet-aim-toggle-checkbox:checked ~ .sheet-page .sheet-attackroll-noaim::before,
input.sheet-aim-prompt-checkbox:checked ~ .sheet-page .sheet-attackroll-noaim,
input.sheet-aim-prompt-checkbox:checked ~ .sheet-page .sheet-attackroll-noaim::before,
input.sheet-aim-always-checkbox:checked ~ .sheet-page .sheet-attackroll-noaim,
input.sheet-aim-always-checkbox:checked ~ .sheet-page .sheet-attackroll-noaim::before
{
display: none;
}
input.sheet-aim-toggle-checkbox:checked ~ .sheet-page .sheet-attackroll-withprompt,
input.sheet-aim-toggle-checkbox:checked ~ .sheet-page .sheet-attackroll-withprompt::before,
input.sheet-aim-prompt-checkbox:checked ~ .sheet-page .sheet-attackroll-withprompt,
input.sheet-aim-prompt-checkbox:checked ~ .sheet-page .sheet-attackroll-withprompt::before,
input.sheet-aim-always-checkbox:checked ~ .sheet-page .sheet-attackroll-withprompt,
input.sheet-aim-always-checkbox:checked ~ .sheet-page .sheet-attackroll-withprompt::before,
input.sheet-conditions-section-checkbox:checked ~ .sheet-page .sheet-conditions-section,
input.sheet-mana-section-checkbox:checked ~ .sheet-page .sheet-mana-section,
input.sheet-exp-section-checkbox:checked ~ .sheet-page .sheet-experience-points-section,
@@ -1887,20 +1874,12 @@ input.sheet-money-section-checkbox:checked ~ .sheet-page .sheet-money-secti
input.sheet-whisper-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-whisper,
input.sheet-whisper-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-whisper + span,
input.sheet-aim-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-aim,
input.sheet-aim-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-aim + span {
input.sheet-aim-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-aim + span,
input.sheet-stunts2-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-stunts2,
input.sheet-stunts2-toggle-checkbox:checked ~ input.sheet-tab-button.sheet-tab-stunts2 + span {
display: block;
}
input.sheet-old-section-checkbox:checked ~ input.sheet-tab-button.sheet-tab-whisper,
input.sheet-old-section-checkbox:checked ~ input.sheet-tab-button.sheet-tab-whisper + span {
left: 154px;
}
input.sheet-old-section-checkbox:checked ~ input.sheet-tab-button.sheet-tab-aim,
input.sheet-old-section-checkbox:checked ~ input.sheet-tab-button.sheet-tab-aim + span {
left: 222px;
}
input.sheet-mana-section-checkbox:not(:checked) + input.sheet-exp-section-checkbox:not(:checked) + input.sheet-fatigue-section-checkbox:not(:checked) + input.sheet-conviction-section-checkbox:not(:checked) + input.sheet-corruption-section-checkbox:not(:checked) ~ .sheet-page .sheet-speed-defense-armor-container {
width: calc(75% - 2.9px);
}
@@ -1974,11 +1953,12 @@ input.sheet-ammo-col-checkbox:checked ~ .sheet-page .sheet-attack-container .she
.sheet-rolltemplate-age-roller .sheet-age-roller-result { width: 100%; padding-top: 10px; text-align: center; border-bottom: 1px solid black;padding-bottom: 5px; }
.sheet-rolltemplate-age-roller .sheet-die-face { font-size: 48px; font-weight: bold; font-family: "dicefontd6"; color: #333333; }
.sheet-rolltemplate-age-roller .sheet-die-face-drama { text-transform: uppercase; }
.sheet-rolltemplate-age-roller .sheet-die-seperator { font-size: 38px; font-weight: bold; color: black; vertical-align: top;}
.sheet-rolltemplate-age-roller .sheet-age-roller-stunt + .sheet-age-roller-stunt { display: none; }
.sheet-rolltemplate-age-roller .sheet-age-roller-line { padding-top: 2px; padding-bottom: 2px; text-align: top; }
.sheet-rolltemplate-age-roller .sheet-age-roller-stunt { border-top: 1px solid black; color: green; font-weight: bold; }
.sheet-rolltemplate-age-roller .sheet-age-roller-col1 { display: inline-block; width: 165px; text-align: left; margin-left: 5px; margin-right: 5px; }
.sheet-rolltemplate-age-roller .sheet-age-roller-col2 { display: inline-block; width: 36px; text-align: right; margin-left: 5px; margin-right: 5px; }
.sheet-rolltemplate-age-roller .sheet-age-roller-col1 { display: inline-block; width: 163px; text-align: left; margin-left: 5px; margin-right: 5px; }
.sheet-rolltemplate-age-roller .sheet-age-roller-col2 { display: inline-block; width: 38px; text-align: right; margin-left: 5px; margin-right: 5px; }
.sheet-rolltemplate-age-roller .sheet-age-roller-title { background-color: black; color: white; font-weight: bold; padding-left: 5px; padding-right: 5px; padding-bottom: 2px; padding-top: 2px; margin-bottom: 3px; }
.sheet-rolltemplate-age-roller .sheet-age-roller-total { border-top: 1px solid black; }
.sheet-rolltemplate-age-roller .sheet-age-roller-total .sheet-age-roller-col1 { font-weight: bold; }