[Update] Primal Quest Character Sheet

This commit is contained in:
Marcus Vinicius
2022-06-27 14:04:23 -03:00
parent 5f7324f945
commit 7f5149b15f
2 changed files with 35 additions and 62 deletions
+13 -32
View File
@@ -73,47 +73,23 @@ input[type="number"] {
color: #fff;
font-size: 16px;
}
.charsheet .div_weapon_one > button[type="roll"],
.charsheet .div_weapon_two > button[type="roll"],
.charsheet .div_weapon_three > button[type="roll"] {
background-color: transparent;
border: none;
margin: 0;
height: 0;
border: 0;
position: relative;
left: -10px;
box-shadow: none;
}
.ui-dialog .charsheet button[type="roll"],
.charsheet .div_body > button[type="roll"],
.charsheet .div_mind > button[type="roll"],
.charsheet .div_heart > button[type="roll"],
.charsheet .div_weapon_one > button[type="roll"],
.charsheet .div_weapon_two > button[type="roll"],
.charsheet .div_weapon_three > button[type="roll"] {
.charsheet .div_heart > button[type="roll"] {
background-image: none;
}
.ui-dialog .charsheet button[type="roll"]:before,
.charsheet .div_body > button[type="roll"]:before,
.charsheet .div_mind > button[type="roll"]:before,
.charsheet .div_heart > button[type="roll"]:before,
.charsheet .div_weapon_one > button[type="roll"]:before,
.charsheet .div_weapon_two > button[type="roll"]:before,
.charsheet .div_weapon_three > button[type="roll"]:before {
.charsheet .div_heart > button[type="roll"]:before {
font-family: "dicefontd6";
content: "f";
background-color: #b61414;
color: #fff;
font-size: 20px;
}
.charsheet .div_weapon_one > button[type="roll"]:before,
.charsheet .div_weapon_two > button[type="roll"]:before,
.charsheet .div_weapon_three > button[type="roll"]:before {
font-size: 16px;
border: none;
}
.mainContent {
width: 1000px;
height: 500px;
@@ -168,9 +144,8 @@ input[type="number"] {
.div_weapon_one {
display: flex;
justify-content: space-around;
width: 317px;
width: 286px;
bottom: 54px;
left: 20px;
}
@@ -178,7 +153,7 @@ input[type="number"] {
display: flex;
justify-content: space-around;
width: 317px;
width: 286px;
bottom: 34px;
left: 20px;
}
@@ -186,7 +161,7 @@ input[type="number"] {
display: flex;
justify-content: space-around;
width: 317px;
width: 286px;
bottom: 16px;
left: 20px;
}
@@ -248,10 +223,16 @@ textarea {
}
.div_defense {
right: 10px;
top: 30px;
right: 7px;
top: 32px;
transform: rotate(-90deg);
}
.div_defense > button {
right: -5px;
top: 13px;
position: absolute;
}
.attr_heroXP,
.attr_heroXP_Spent,
.attr_heroMax,
+22 -30
View File
@@ -49,23 +49,10 @@
</select>
Dif
<select name="attr_difficulty" style="width:50px">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
</select>
<button type="roll"
value="&{template:customRoll} {{customRoll=Custom Roll}} {{final=[[(@{negative_dice})d6kh1*(-1) + (@{positive_dice})d6kh1 -@{difficulty})]] }}">
value="&{template:customRoll} {{customRoll=Custom Roll}} {{final=[[(@{negative_dice})d6kh1*(-1) + (@{positive_dice})d6kh1)]] }}">
Final
</button>
</div>
@@ -79,9 +66,7 @@
placeholder="name here" spellcheck="false"></div>
<div class="div_body abs">
<input type="number" name="attr_heroBody" class="attr_heroBody" size="2" placeholder="--">
<input type="hidden"
value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroBody}[Body] - @{difficulty}[Dificulty]]]"
name="attr_rollBody">
<input type="hidden" value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroBody}[Body]]]" name="attr_rollBody">
<button type="roll" value="&{template:primalquest}{{heroAttribute=Body}}{{roll=@{rollBody}}}"></button>
@@ -90,15 +75,12 @@
</div>
<div class="div_mind abs">
<input type="hidden" value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroMind}[Mind]-@{difficulty}[Dificulty]]]"
name="attr_rollMind">
<input type="hidden" value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroMind}[Mind]]]" name="attr_rollMind">
<input type="number" name="attr_heroMind" class="attr_heroMind" size="2" placeholder="--">
<button type="roll" value="&{template:primalquest}{{heroAttribute=Mind}}{{roll=@{rollMind}}}"></button>
</div>
<div class="div_heart abs">
<input type="hidden"
value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroHeart}[Heart]-@{difficulty}[Dificulty]]]"
name="attr_rollHeart">
<input type="hidden" value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroHeart}[Heart]]]" name="attr_rollHeart">
<input type="number" name="attr_heroHeart" class="attr_heroHeart" size="2" placeholder="--">
<button type="roll" value="&{template:primalquest}{{heroAttribute=Heart}}{{roll=@{rollHeart}}}"></button>
</div>
@@ -108,25 +90,26 @@
<input type="number" placeholder="--" name="attr_weaponRangeOne" class="weapon_range" size="2" />
<input type="number" placeholder="--" name="attr_dmgOne" class="weapon_dmg" size="2" pattern="^[-\d]\d*$"
step="1" />
<button type="roll" name="roll" value="[[d6+@{dmgOne}]]"></button>
</div>
<div class='div_weapon_two abs'>
<input type="text" name="attr_heroWeaponTwo" class="attr_heroWeaponTwo" spellcheck="false">
<input type="number" placeholder="--" name="attr_weaponRangeTwo" class="weapon_range" size="2" />
<input type="number" placeholder="--" name="attr_dmgTwo" class="weapon_dmg" size="2" />
<button type="roll" value="[[d6+@{dmgTwo}]]"></button>
</div>
<div class='div_weapon_three abs'>
<input type="text" name="attr_heroWeaponThree" class="attr_heroWeaponThree" spellcheck="false">
<input type="number" placeholder="--" name="attr_weaponRangeThree" class="weapon_range" size="2" />
<input type="number" placeholder="--" name="attr_dmgThree" class="weapon_dmg" size="2" />
<button type="roll" value="[[d6+@{dmgThree}]]"></button>
</div>
<div class="extra_tags abs">
<textarea placeholder="extra tags" name="attr_extraTags" spellcheck="false"></textarea>
</div>
<div class="div_food abs"><input type="number" size="2" name="attr_heroFood" class="attr_heroFood" placeholder="--" />
<div class="div_food abs">
<input type="number" size="2" name="attr_heroFood" class="attr_heroFood" placeholder="--" />
</div>
<div class="div_water abs">
<input type="number" size="2" name="attr_heroWater" class="attr_heroWater" placeholder="--" />
@@ -149,22 +132,29 @@
<div class="div_defense abs">
<input type="number" name="attr_heroDefense" class="attr_heroDefense" placeholder="--">
<input type="hidden" value="[[@{negativeDice}[ND]+@{positiveDice}[PD]+@{heroDefense}[Defense]]]"
name="attr_defenseRoll">
<button type="roll" value="&{template:primalquest}{{heroAttribute=Def}}{{roll=@{defenseRoll}}}"></button>
</div>
<div class="div_concept abs">
<input type="text" name="attr_heroConcept" class="attr_heroConcept" placeholder="concept" spellcheck="false">
</div>
<div class="div_talent abs">
<input type="text" name="attr_heroTalent" class="attr_heroTalent" placeholder="talent" spellcheck="false">
</div>
<div class="div_motivation abs">
<input type="text" name="attr_heroMotivation" class="attr_heroMotivation" placeholder="motivation"
spellcheck="false">
</div>
<div class="div_relationship abs">
<input type="text" name="attr_heroRelationship" class="attr_heroRelationship" placeholder="relationship"
spellcheck="false">
</div>
<div class="div_problem abs">
<input type="text" name="attr_heroProblem" class="attr_heroProblem" placeholder="problem" spellcheck="false">
</div>
@@ -174,10 +164,12 @@
<div class="div_equip div_equip_one abs">
<input type="text" class="equip_input equip" spellcheck="false" placeholder="Equipment here" name="attr_equip1">
</div>
<div class="div_equip div_equip_two abs"><input class="equip_input equip" type="text" spellcheck="false"
placeholder="Equipment here" name="attr_equip2"></div>
<div class="div_equip div_equip_three abs"><input class="equip_input equip" type="text" spellcheck="false"
placeholder="Equipment here" name="attr_equip3"></div>
<div class="div_equip div_equip_two abs">
<input class="equip_input equip" type="text" spellcheck="false" placeholder="Equipment here" name="attr_equip2">
</div>
<div class="div_equip div_equip_three abs">
<input class="equip_input equip" type="text" spellcheck="false" placeholder="Equipment here" name="attr_equip3">
</div>
<div class="div_equip div_equip_four abs"><input class="equip_input equip" type="text" spellcheck="false"
placeholder="Equipment here" name="attr_equip4"></div>
<div class="div_equip div_equip_five abs"><input class="equip_input equip" type="text" spellcheck="false"