Fixed layout and translation bugs, improved buggy points checkboxes

This commit is contained in:
dwarfwing
2026-02-26 16:04:38 +01:00
parent ef2270af87
commit b95bcda59f
3 changed files with 200 additions and 85 deletions
+107 -12
View File
@@ -1,6 +1,4 @@
@import url('https://fonts.googleapis.com/css?family=Didact+Gothic|Oswald:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Material+Symbols+Outlined|Material+Icons|Material+Icons+Outlined|Didact+Gothic|Oswald:wght@300&display=swap');
.characterdialog {
background-color: #fff;
@@ -905,9 +903,7 @@ input.allow-scaling:checked + .year-zero-sheet
/* Removes xbox from all radios _after_ selected one */
input[type="radio"]:checked ~ input[type="radio"].xbox + span::before,
input[type="radio"].xbox:checked
~ input[type="radio"].xbox
+ span::before {
input[type="radio"].xbox:checked ~ input[type="radio"].xbox + span::before {
content: "";
}
@@ -943,7 +939,8 @@ input.allow-scaling:checked + .year-zero-sheet
/* Fake Action Button */
button[type="action"].roll-button,
button[type="roll"].roll-button {
font-family: "dicefontd20";
position: relative;
font-family: "Pictos Custom";
font-size: 1.25em;
line-height: 1em;
display: flex;
@@ -953,16 +950,39 @@ input.allow-scaling:checked + .year-zero-sheet
height: 1.25em;
margin: 5px 2px 5px 2px;
padding: 0 0 0 0;
content: "t";
/* content: "t"; */
cursor: pointer;
border: 1px solid #ccc;
border-width: 2px;
/* border-width: 2px;
border-style: outset;
border-bottom-color: #bbb;
border-image: initial;
background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
background-image: -webkit-linear-gradient(top, #fff, #e6e6e6); */
border: 0;
background-image: none;
background-color: transparent;
justify-self: center;
}
button[type="action"].roll-button:hover,
button[type="roll"].roll-button:hover {
color: var(--bg-clr-button-active);
background-color: transparent;
}
input.attack-toggle ~ button.weapons-box60:after,
input.attack-toggle ~ button.weapons-box61:after {
position: absolute;
inset: 0;
content: '';
}
input.attack-toggle:checked ~ button.weapons-box60:after { content: 'e'; }
input.attack-toggle:not(:checked) ~ button.weapons-box60:after { content: ''; }
input.attack-toggle:not(:checked) ~ button.weapons-box60 { opacity: 0; pointer-events: none; }
input.attack-toggle:not(:checked) ~ button.weapons-box61:after { content: '['; }
input.attack-toggle:checked ~ button.weapons-box61:after {
font-family: 'Material Symbols Outlined';
content: 'swords';
}
button[type="roll"].roll-button-textonly::before {
content: "";
@@ -2482,6 +2502,33 @@ input.allow-scaling:checked + .year-zero-sheet
.powerpoint-grid .powerpoint-box3 {
-padding: 0 0 10px 0;
}
/* Testing */
.powerpoint-grid .powerpoint-box2 :is(input[type='checkbox'],input[type="radio"]).xbox {
position: relative;
opacity: 1;
width: 1.5rem;
height: 1.5rem;
border:0;
background: none;
appearance: none;
margin: 4px 0 3px 0;
}
.powerpoint-grid .powerpoint-box2 .xbox:after {
position: absolute;
inset: 0;
/*font-size: 24px;*/
display: inline-block;
content: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Forbidden_Lands/images/xbox_checked.png);
text-align: center;
vertical-align: middle;
}
.powerpoint-grid .powerpoint-box2 .xbox-null:checked ~ .xbox:after,
.powerpoint-grid .powerpoint-box2 .xbox:checked ~ .xbox:after {
content: '';
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Forbidden_Lands/images/xbox_empty.png);
background-repeat: no-repeat;
background-size: contain;
}
.character-spells {
display: none;
@@ -3502,6 +3549,10 @@ input.allow-scaling:checked + .year-zero-sheet
grid-column: 1/19;
grid-row-start: 1;
}
.weapons-box0.header h1 {
width: 90%;
}
.weapons-box-header {
grid-column: 1/5;
@@ -4258,8 +4309,6 @@ input.allow-scaling:checked + .year-zero-sheet
}
input[type="checkbox"][name="attr_powerincrease"]:checked + div input {
margin-left: 0px;
width: 0.85em;
height: 0.85em;
}
/* ---------------------------------- Talents */
@@ -4325,14 +4374,59 @@ input.allow-scaling:checked + .year-zero-sheet
/* input[name="attr_rot_permanent"][value="0"] ~ input:nth-of-type(1n+1) + span, */
input[name="attr_rot_permanent"][value="1"] ~ .rot1,
input[name="attr_rot_permanent"][value="2"] ~ .rot1,
input[name="attr_rot_permanent"][value="2"] ~ .rot2,
input[name="attr_rot_permanent"][value="3"] ~ .rot1,
input[name="attr_rot_permanent"][value="3"] ~ .rot2,
input[name="attr_rot_permanent"][value="3"] ~ .rot3,
input[name="attr_rot_permanent"][value="4"] ~ .rot1,
input[name="attr_rot_permanent"][value="4"] ~ .rot2,
input[name="attr_rot_permanent"][value="4"] ~ .rot3,
input[name="attr_rot_permanent"][value="4"] ~ .rot4,
input[name="attr_rot_permanent"][value="5"] ~ .rot1,
input[name="attr_rot_permanent"][value="5"] ~ .rot2,
input[name="attr_rot_permanent"][value="5"] ~ .rot3,
input[name="attr_rot_permanent"][value="5"] ~ .rot4,
input[name="attr_rot_permanent"][value="5"] ~ .rot5,
input[name="attr_rot_permanent"][value="6"] ~ .rot1,
input[name="attr_rot_permanent"][value="6"] ~ .rot2,
input[name="attr_rot_permanent"][value="6"] ~ .rot3,
input[name="attr_rot_permanent"][value="6"] ~ .rot4,
input[name="attr_rot_permanent"][value="6"] ~ .rot5,
input[name="attr_rot_permanent"][value="6"] ~ .rot6,
input[name="attr_rot_permanent"][value="7"] ~ .rot1,
input[name="attr_rot_permanent"][value="7"] ~ .rot2,
input[name="attr_rot_permanent"][value="7"] ~ .rot3,
input[name="attr_rot_permanent"][value="7"] ~ .rot4,
input[name="attr_rot_permanent"][value="7"] ~ .rot5,
input[name="attr_rot_permanent"][value="7"] ~ .rot6,
input[name="attr_rot_permanent"][value="7"] ~ .rot7,
input[name="attr_rot_permanent"][value="8"] ~ .rot1,
input[name="attr_rot_permanent"][value="8"] ~ .rot2,
input[name="attr_rot_permanent"][value="8"] ~ .rot3,
input[name="attr_rot_permanent"][value="8"] ~ .rot4,
input[name="attr_rot_permanent"][value="8"] ~ .rot5,
input[name="attr_rot_permanent"][value="8"] ~ .rot6,
input[name="attr_rot_permanent"][value="8"] ~ .rot7,
input[name="attr_rot_permanent"][value="8"] ~ .rot8,
input[name="attr_rot_permanent"][value="9"] ~ .rot1,
input[name="attr_rot_permanent"][value="9"] ~ .rot2,
input[name="attr_rot_permanent"][value="9"] ~ .rot3,
input[name="attr_rot_permanent"][value="9"] ~ .rot4,
input[name="attr_rot_permanent"][value="9"] ~ .rot5,
input[name="attr_rot_permanent"][value="9"] ~ .rot6,
input[name="attr_rot_permanent"][value="9"] ~ .rot7,
input[name="attr_rot_permanent"][value="9"] ~ .rot8,
input[name="attr_rot_permanent"][value="9"] ~ .rot9,
input[name="attr_rot_permanent"][value="10"] ~ .rot1,
input[name="attr_rot_permanent"][value="10"] ~ .rot2,
input[name="attr_rot_permanent"][value="10"] ~ .rot3,
input[name="attr_rot_permanent"][value="10"] ~ .rot4,
input[name="attr_rot_permanent"][value="10"] ~ .rot5,
input[name="attr_rot_permanent"][value="10"] ~ .rot6,
input[name="attr_rot_permanent"][value="10"] ~ .rot7,
input[name="attr_rot_permanent"][value="10"] ~ .rot8,
input[name="attr_rot_permanent"][value="10"] ~ .rot9,
input[name="attr_rot_permanent"][value="10"] ~ .rot10 {
content: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Mutant%20Year%20Zero/images/dotx_redx.png');;
}
@@ -4476,6 +4570,7 @@ input.allow-scaling:checked + .year-zero-sheet
}
.skills-box1 h1 {
justify-content: flex-end;
justify-self: center;
}
.skills-box-base {
+86 -73
View File
@@ -3,7 +3,7 @@
<!--5/31/20 set data version manually with currentVersion IN SHEETWORKERS -->
<input type="hidden" name="attr_version" value="0" />
<!--6/21/21 set sheet version manually with currentVersion HERE -->
<input type="hidden" name="attr_sheetversion" value="3.10" />
<input type="hidden" name="attr_sheetversion" value="3.11" />
<!--6/21/21 sets indicator of new sheet HERE -->
<input type="hidden" name="attr_is_new_character" value="1" />
<!--6/21/21 sets verbose debugging, if implemented -->
@@ -1423,16 +1423,16 @@
</button>
</div>
<div class="dice-rolls-init">
<button class="dice-pool dice-rolls-smaller char-mutant" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[1]]}} {{character_id=@{character_id}}} {{name=Initiative}} {{free-text}} {{roll-initiative=[[1d6 &{tracker}]] }} {{footer}}" title="Initiative">
<button class="dice-pool dice-rolls-smaller char-mutant" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[1]]}} {{character_id=@{character_id}}} {{name=^{initiative}}} {{free-text}} {{roll-initiative=[[@{initdie} &{tracker}]] }} {{footer}}" title="Initiative">
Initiative
</button>
<button class="dice-pool dice-rolls-smaller char-animal" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[2]]}} {{character_id=@{character_id}}} {{name=Initiative}} {{free-text}} {{roll-initiative=[[1d6 &{tracker}]] }} {{footer}}" title="Initiative">
<button class="dice-pool dice-rolls-smaller char-animal" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[2]]}} {{character_id=@{character_id}}} {{name=^{initiative}}} {{free-text}} {{roll-initiative=[[@{initdie} &{tracker}]] }} {{footer}}" title="Initiative">
Initiative
</button>
<button class="dice-pool dice-rolls-smaller char-robot" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[3]]}} {{character_id=@{character_id}}} {{name=Initiative}} {{free-text}} {{roll-initiative=[[1d6 &{tracker}]] }} {{footer}}" title="Initiative">
<button class="dice-pool dice-rolls-smaller char-robot" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[3]]}} {{character_id=@{character_id}}} {{name=^{initiative}}} {{free-text}} {{roll-initiative=[[@{initdie} &{tracker}]] }} {{footer}}" title="Initiative">
Initiative
</button>
<button class="dice-pool dice-rolls-smaller char-human" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[4]]}} {{character_id=@{character_id}}} {{name=Initiative}} {{free-text}} {{roll-initiative=[[1d6 &{tracker}]] }} {{footer}}" title="Initiative">
<button class="dice-pool dice-rolls-smaller char-human" data-i18n="initiative" data-i18n-title="initiative" type="roll" name="roll_init" value="@{whisper_option} &{template:@{rolltemplate_option}} {{character_name=@{character_name}}} {{chartype_id=[[4]]}} {{character_id=@{character_id}}} {{name=^{initiative}}} {{free-text}} {{roll-initiative=[[@{initdie} &{tracker}]] }} {{footer}}" title="Initiative">
Initiative
</button>
</div>
@@ -1460,9 +1460,9 @@
<span data-i18n="whisper-toggle" data-i18n-title="whisper-toggle-title" title="Roll is visible to everyone in chat, whisper it so only GM sees it, or use a query popup to ask. Change defaults in Settings tab.">Whisper roll</span>?
</div>
<div>
<input type="radio" name="attr_whisper_the_roll" id="radio_whisper_disabled" value="0" hidden></radio><label for="radio_whisper_disabled">No</label>
<input type="radio" name="attr_whisper_the_roll" id="radio_whisper_enabled" value="1" hidden></radio><label for="radio_whisper_enabled">Yes</label>
<input type="radio" name="attr_whisper_the_roll" id="radio_whisper_query" value="2" hidden></radio><label for="radio_whisper_query" i18n-title="whisper-query-option">Ask</label>
<input type="radio" name="attr_whisper_the_roll" id="radio_whisper_disabled" value="0" hidden></radio><label for="radio_whisper_disabled" data-i18n="button-no">No</label>
<input type="radio" name="attr_whisper_the_roll" id="radio_whisper_enabled" value="1" hidden></radio><label for="radio_whisper_enabled" data-i18n="button-yes">Yes</label>
<input type="radio" name="attr_whisper_the_roll" id="radio_whisper_query" value="2" hidden></radio><label for="radio_whisper_query" i18n-title="whisper-query-option" i18n-title="button-ask">Ask</label>
</div>
</div>
<!--
@@ -1480,7 +1480,7 @@
<div class="character-weapons box monster chartype-background-light">
<div class="weapons-grid">
<div class="weapons-box weapons-box0 header">
<h1 style="margin-top: -21px;">WEAPONS</h1>
<h1>WEAPONS</h1>
</div>
<!-- <div class="weapons-box weapons-box-header header">
<h1 data-i18n="weapons-u" style="margin-top: -21px;"></h1>
@@ -1554,7 +1554,7 @@
<fieldset class="repeating_weapons">
<div class="weapons-grid weapons-repeating">
<input class="weapons-box weapons-box30 input" type="text" name="attr_weapon_name" value="" title="@{repeating_weapons_$X_weapon_name}" />
<select class="weapons-box weapons-box31 input" name="attr_weapon_skill" title="@{repeating_weapons_$X_weapon_skill}">
<select class="weapons-box weapons-box31 input" value="1" name="attr_weapon_skill" title="@{repeating_weapons_$X_weapon_skill}">
<option value="0" data-i18n="melee" selected>Melee</option>
<option value="1" data-i18n="ranged">Ranged</option>
</select>
@@ -1650,13 +1650,10 @@
<option value="-6">-6</option>
</select>
<span class="weapons-box weapons-box50 readonly modifiers-toggled-on" name="attr_weapon_damage_total" value="0" data-i18n-title="weapon-damage-total" title="Total damage included with the attack. @{repeating_weapons_$X_weapon_damage_total}">0</span>
<span class="weapons-box weapons-box59 readonly separator"> | </span>
<button class="weapons-box weapons-box60 roll-button" type="action" name="act_attack-parry-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice.">
t
</button>
<button class="weapons-box weapons-box61 roll-button" type="action" name="act_attack-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice.">
t
</button>
<span class="weapons-box weapons-box59 readonly separator"> | </span>
<input type="checkbox" name="attr_weapon_skill" value="0" hidden class="attack-toggle hidden" />
<button class="weapons-box weapons-box60 roll-button roll-button-die" type="action" name="act_attack-parry-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."></button>
<button class="weapons-box weapons-box61 roll-button roll-button-die" type="action" name="act_attack-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."></button>
<!-- expand 2nd row -->
<input class="expand" type="checkbox" name="attr_expand" value="1" data-i18n-title="show-hide" title="show/hide" checked /><span></span>
@@ -2130,16 +2127,16 @@
<div class="powerpoint-grid">
<div class="powerpoint-box2 chartype-background-dark">
<input class="xbox-null" type="radio" name="attr_mutationpoints" value="0" data-i18n-title="no-mutationpoints" title="No Mutation Points" checked />
<input class="xbox" type="radio" name="attr_mutationpoints" value="1" title="1 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="2" title="2 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="3" title="3 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="4" title="4 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="5" title="5 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="6" title="6 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="7" title="7 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="8" title="8 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="9" title="9 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="10" title="10 @{mutationpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_mutationpoints" value="1" title="1 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="2" title="2 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="3" title="3 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="4" title="4 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="5" title="5 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="6" title="6 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="7" title="7 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="8" title="8 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="9" title="9 @{mutationpoints}" />
<input class="xbox" type="radio" name="attr_mutationpoints" value="10" title="10 @{mutationpoints}" />
<input type="hidden" name="attr_mutationpoints_max" value="10" />
</div>
<div class="powerpoint-box3 chartype-background-dark">
@@ -2178,18 +2175,18 @@
<input type="checkbox" name="attr_powerincrease" value="1" hidden />
<div class="powerpoint-box2 chartype-background-dark">
<input class="xbox-null" type="radio" name="attr_energypoints" value="0" data-i18n-title="no-energypoints" title="No Energy Points" style="margin: 4px 8px 3px 2px; width: 0.95em; height: 0.95em;" checked />
<input class="xbox" type="radio" name="attr_energypoints" value="1" title="1 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="2" title="2 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="3" title="3 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="4" title="4 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="5" title="5 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="6" title="6 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="7" title="7 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="8" title="8 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="9" title="9 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="10" title="10 @{energypoints}" /><span></span>
<input class="xbox powerincrease" type="radio" name="attr_energypoints" value="11" title="11 @{energypoints}" /><span></span>
<input class="xbox powerincrease" type="radio" name="attr_energypoints" value="12" title="12 @{energypoints}" /><span></span>
<input class="xbox" type="radio" name="attr_energypoints" value="1" title="1 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="2" title="2 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="3" title="3 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="4" title="4 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="5" title="5 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="6" title="6 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="7" title="7 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="8" title="8 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="9" title="9 @{energypoints}" />
<input class="xbox" type="radio" name="attr_energypoints" value="10" title="10 @{energypoints}" />
<input class="xbox powerincrease" type="radio" name="attr_energypoints" value="11" title="11 @{energypoints}" />
<input class="xbox powerincrease" type="radio" name="attr_energypoints" value="12" title="12 @{energypoints}" />
<input type="hidden" name="attr_energypoints_max" value="10" />
</div>
<div class="powerpoint-box3 chartype-background-dark">
@@ -2227,16 +2224,16 @@
<div class="powerpoint-grid">
<div class="powerpoint-box2 chartype-background-dark">
<input class="xbox-null" type="radio" name="attr_feralpoints" value="0" data-i18n-title="no-feralpoints" title="No Feral Points" style="margin: 4px 8px 3px 2px; width: 0.95em; height: 0.95em;" checked />
<input class="xbox" type="radio" name="attr_feralpoints" value="1" title="1 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="2" title="2 @feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="3" title="3 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="4" title="4 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="5" title="5 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="6" title="6 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="7" title="7 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="8" title="8 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="9" title="9 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="10" title="10 @{feralpoints}" /><span></span>
<input class="xbox" type="radio" name="attr_feralpoints" value="1" title="1 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="2" title="2 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="3" title="3 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="4" title="4 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="5" title="5 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="6" title="6 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="7" title="7 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="8" title="8 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="9" title="9 @{feralpoints}" />
<input class="xbox" type="radio" name="attr_feralpoints" value="10" title="10 @{feralpoints}" />
<input type="hidden" name="attr_feralpoints_max" value="10" />
</div>
<div class="powerpoint-box3 chartype-background-dark">
@@ -2274,16 +2271,16 @@
<div class="powerpoint-grid">
<div class="powerpoint-box2 chartype-background-dark">
<input class="xbox-null" type="radio" name="attr_influencepoints" value="0" data-i18n-title="no-influencepoints" title="No Influence Points" style="margin: 4px 8px 3px 2px; width: 0.95em; height: 0.95em;" checked />
<input class="xbox" type="radio" name="attr_influencepoints" value="1" title="1 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="2" title="2 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="3" title="3 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="4" title="4 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="5" title="5 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="6" title="6 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="7" title="7 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="8" title="8 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="9" title="9 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="10" title="10 @{influencepoints}" /><span></span>
<input class="xbox" type="radio" name="attr_influencepoints" value="1" title="1 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="2" title="2 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="3" title="3 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="4" title="4 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="5" title="5 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="6" title="6 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="7" title="7 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="8" title="8 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="9" title="9 @{influencepoints}" />
<input class="xbox" type="radio" name="attr_influencepoints" value="10" title="10 @{influencepoints}" />
<input type="hidden" name="attr_influencepoints_max" value="10" />
</div>
<div class="powerpoint-box3 chartype-background-dark">
@@ -2325,16 +2322,16 @@
<div class="powerpoint-box2 chartype-background-dark">
<input type="hidden" name="attr_rot_permanent" value="0" />
<input class="xbox-null" type="radio" name="attr_rot" value="0" data-i18n-title="no-rot" title="No Rot Points" checked />
<input class="xbox rot1" type="radio" name="attr_rot" value="1" title="1 @{rot}" /><span></span>
<input class="xbox rot2" type="radio" name="attr_rot" value="2" title="2 @{rot}" /><span></span>
<input class="xbox rot3" type="radio" name="attr_rot" value="3" title="3 @{rot}" /><span></span>
<input class="xbox rot4" type="radio" name="attr_rot" value="4" title="4 @{rot}" /><span></span>
<input class="xbox rot5" type="radio" name="attr_rot" value="5" title="5 @{rot}" /><span></span>
<input class="xbox rot6" type="radio" name="attr_rot" value="6" title="6 @{rot}" /><span></span>
<input class="xbox rot7" type="radio" name="attr_rot" value="7" title="7 @{rot}" /><span></span>
<input class="xbox rot8" type="radio" name="attr_rot" value="8" title="8 @{rot}" /><span></span>
<input class="xbox rot9" type="radio" name="attr_rot" value="9" title="9 @{rot}" /><span></span>
<input class="xbox rot10" type="radio" name="attr_rot" value="10" title="10 @{rot}" /><span></span>
<input class="xbox rot1" type="radio" name="attr_rot" value="1" title="1 @{rot}" />
<input class="xbox rot2" type="radio" name="attr_rot" value="2" title="2 @{rot}" />
<input class="xbox rot3" type="radio" name="attr_rot" value="3" title="3 @{rot}" />
<input class="xbox rot4" type="radio" name="attr_rot" value="4" title="4 @{rot}" />
<input class="xbox rot5" type="radio" name="attr_rot" value="5" title="5 @{rot}" />
<input class="xbox rot6" type="radio" name="attr_rot" value="6" title="6 @{rot}" />
<input class="xbox rot7" type="radio" name="attr_rot" value="7" title="7 @{rot}" />
<input class="xbox rot8" type="radio" name="attr_rot" value="8" title="8 @{rot}" />
<input class="xbox rot9" type="radio" name="attr_rot" value="9" title="9 @{rot}" />
<input class="xbox rot10" type="radio" name="attr_rot" value="10" title="10 @{rot}" />
<input type="hidden" name="attr_rot_max" value="10" />
</div>
<div class="powerpoint-box3 chartype-background-dark">
@@ -3169,6 +3166,15 @@
<span data-i18n="allow-scaling">Allow scaling of the sheet to make it fit in a smaller window (not to be used with built-in sheet zoom option)</span>
</div>
<div>&nbsp;</div>
<div>
<span data-i18n="init-die">Select the die size to use when rolling for Initiative</span>
<select name="attr_initdie">
<option value="1D6" data-i18n="d6" selected>D6</option>
<option value="1D10" data-i18n="d10">D10</option>
<option value="1D20" data-i18n="d20">D20</option>
</select>
</div>
<div>&nbsp;</div>
<div>
<input type="checkbox" name="attr_vehicle_advancedencumbrance" value="1" title="@{vehicle_advancedencumbrance}" style="vertical-align: center;" />
<span data-i18n="adv-vehicleencumbrance">Advanced vehicle encumbrance</span>
@@ -3246,6 +3252,14 @@
<div class="announcements">
<h3 data-i18n="latest-announcements">Latest Announcements</h3>
<ol>
<span>v3.11</span>
<li>Changed the icons used for weapon parry and attack to better display what type of attack it is. Also hiding hte parry button when the weapon is a ranged one.</li>
<li>Fixed and improved the implementation of the ablity points.</li>
<li>Fixed a display issue with the Weapons header.</li>
<li>Added translation in the Dice Pool, e.g. for the Whisper option buttons and initiative roll.</li>
<li>Added an option for changing the die size when rolling for initiative, and use either D6, D10 or D20.</li>
</ol>
<ol>
<span>v3.10</span>
<li>Added a checkbox in dice pool to indicate and toggle whether a roll is pushable or not. This will automatically be set to disabled for e.g. Armor and Rot rolls.</li>
@@ -3254,7 +3268,7 @@
The setting now controls whether the Whisper roll to GM checkbox will be enabled, disabled or use a query by default, and it is the same setting for both regular and API rolls.</li>
<li>Added a D6 roll button.</li>
<li>Made buttons in the Dice Pool change color according to how many are selected, to make it easier to see how many dice are in the pool. </li>
<li>Added an option to display dice differently, they can now be shown in a row sequentially instead of in their own columns. The row-based view is similar to how the API script would output dice rolls.
<li>Added an option to display dice differently in the roll output, they can now be shown in a row sequentially instead of in their own columns. The row-based view is similar to how the API script would output dice rolls.
There is a configuration in the Settings tab (and sheet settings) to change between the new row based and the "legacy" column-based way of displaying the dice.</li>
<li>Made the roll template background color based on the character type, to make it similar to the sheet color. </li>
<li>Fixed how attributes and skills are translated, previously they used global sheetworker variables which meant the latest character sheet opened dictated
@@ -6557,8 +6571,8 @@ extraAttributesArr = [
//clog("Translation of query text complete.");
setAttrs({
translation_push_query: getTranslationByKey("push-query"),
translation_whisper_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",|" + getTranslationByKey("yes") + ",/w gm |" + "}",
translation_whisper_api_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",!myz |" + getTranslationByKey("yes") + ",!wmyz |" + "}",
translation_whisper_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",|" + getTranslationByKey("yes") + ",/w gm" + "}",
translation_whisper_api_macro_query: "?{" + getTranslationByKey("whisper-macro") + "|" + getTranslationByKey("no") + ",!myz |" + getTranslationByKey("yes") + ",!wmyz" + "}",
});
});
@@ -6753,7 +6767,6 @@ extraAttributesArr = [
}
setAttrs({
push_latest: pushRoll,
pushable: 1,
});
//clog("Push data: "+ JSON.stringify(pushRoll));
+7
View File
@@ -58,6 +58,9 @@
"bosses-u": "BOSSES",
"bullets": "Bullets",
"bullets-abbr": "B",
"button-ask": "Ask",
"button-no": "No",
"button-yes": "Yes",
"calista": "Calista",
"cargo-lift": "Cargo lift function?",
"cargo-lift-title": "When you calculate your maximum carrying capacity, multiply your Servos score by 4 instead of 2.",
@@ -99,6 +102,9 @@
"d6-roll": "D6 Roll",
"d66-roll": "D66 Roll",
"d666-roll": "D666 Roll",
"d6":"D6",
"d10":"D10",
"d20":"D20",
"damage": "Damage",
"damage-abbr": "Dmg",
"datamine": "Datamine",
@@ -173,6 +179,7 @@
"influence-points": "Influence Points",
"information": "Information",
"initiative": "Initiative",
"init-die": "Select the die size to use when rolling for Initiative",
"injury": "Injury",
"instinct": "Instinct",
"instinct-abbr": "Ins",