Skip to content

Commit

Permalink
Merge pull request #12276 from SavageSpiel/dotd-corrections
Browse files Browse the repository at this point in the history
Darkness of the Demimonde: new initiative button, critical highlighting and corrected archetype descriptions
  • Loading branch information
mperes authored Nov 6, 2023
2 parents 5a7a3c9 + 3918fe6 commit f3418ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
15 changes: 11 additions & 4 deletions Darkness Of The Demimonde/darknessofthedemimonde.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
}

.details input[type=radio] {
width:22px;
width:13px;
margin-right:9px;
margin-top:0;
}

Expand All @@ -137,12 +138,12 @@

.details div.stresslabels span {
display:inline-block;
width:22px;
text-align:center;
width:20px;
margin-left:2px;
}

.charsheet .details button[type="roll"] {
margin-left:8px;
margin-left:0px;
margin-right:0px;
margin-top:3px;
}
Expand Down Expand Up @@ -299,3 +300,9 @@
border: 1px solid #333;
color: black;
}
.sheet-rolltemplate-dotd .sheet-container .inlinerollresult.fullcrit{
border:2px solid #3FB315
}
.sheet-rolltemplate-dotd .sheet-container .inlinerollresult.fullfail{
border:2px solid #B31515
}
17 changes: 9 additions & 8 deletions Darkness Of The Demimonde/darknessofthedemimonde.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

<label class="points">Hit Points</label><input type="number" name="attr_hp" /> / <input type="number" name="attr_hp_max" /><br />
<label class="points">Advancement Points</label><input type="number" name="attr_advancement" /> / <input type="number" name="attr_advancement_max" /><br />
<label>Stress</label><div style="margin-top:2px;display:inline-block;"><radiogroup><input type="radio" value="0" name="attr_stress"></input><input type="radio" value="1" name="attr_stress"></input><input type="radio" value="2" name="attr_stress"></input><input type="radio" value="3" name="attr_stress"></input><input type="radio" value="4" name="attr_stress"></input><input type="radio" value="5" name="attr_stress"></input><input type="radio" value="6" name="attr_stress"></input></radiogroup><button type='roll' name='roll_stress' value='&{template:dotd} {{title=@{character_name}}} {{Stress=[[2d6 + @{advancement} + ?{Modifier|0}]]}}'></button></div><br />
<label>Stress</label><div style="margin-top:2px;display:inline-block;"><radiogroup><input type="radio" value="0" name="attr_stress"></input><input type="radio" value="1" name="attr_stress"></input><input type="radio" value="2" name="attr_stress"></input><input type="radio" value="3" name="attr_stress"></input><input type="radio" value="4" name="attr_stress"></input><input type="radio" value="5" name="attr_stress"></input><input type="radio" value="6" name="attr_stress"></input></radiogroup><button type='roll' name='roll_stress' value='&{template:dotd} {{title=@{character_name}}} {{Stress=[[2d6cs>2cf<5 + @{advancement} + ?{Modifier|0}]]}}'></button></div><br />
<div class="stresslabels"><span>0</span><span>1</span><span>2</span><span>3</span><span>4</span><span>5</span><span>6</span></div>
<label>Initiative</label><button type='roll' name='roll_initiative' value='&{template:dotd} {{title=@{character_name}}} {{Initiative=[[2d6cs>2cf<5 + ?{Modifier|0} &{tracker}]]}}'></button><br />

<label>Age</label><input type="text" name="attr_age" /><br />
<label>Height</label><input type="text" name="attr_height" /><br />
Expand Down Expand Up @@ -54,19 +55,19 @@ <h2>Inventory <input type="number" name="attr_inventory"></input></h2>
<h2>Archetypes</h2>
<h3 style="display:inline-block;width:95px;">ARCHETYPE</h3><h3 style="display:inline-block;width:120px;">POINTS</h3><h3 style="display:inline-block;width:250px;">USES</h3>
<br />
<button type='roll' name='roll_acrobat' value='&{template:dotd} {{title=@{character_name}}} {{Acrobat=[[2d6 + @{acrobat} - @{stress} + ?{Modifier|0}]]}}'></button><label>ACROBAT:</label><input type="number" name='attr_acrobat' max="6"></input><label class="archetype_uses">Feats of dexterity, dodging, legerdemain, running</label>
<button type='roll' name='roll_acrobat' value='&{template:dotd} {{title=@{character_name}}} {{Acrobat=[[2d6cs>2cf<5 + @{acrobat} - @{stress} + ?{Modifier|0}]]}}'></button><label>ACROBAT:</label><input type="number" name='attr_acrobat' max="6"></input><label class="archetype_uses">Feats of dexterity, dodging, legerdemain, running</label>
<br />
<button type='roll' name='roll_aristocrat' value='&{template:dotd} {{title=@{character_name}}} {{Aristocrat=[[2d6 + @{aristocrat} - @{stress} + ?{Modifier|0}]]}}'></button><label>ARISTOCRAT:</label><input type="number" name='attr_aristocrat' max="6"></input><label class="archetype_uses">Talking, charming, bluffing, oratory</label>
<button type='roll' name='roll_aristocrat' value='&{template:dotd} {{title=@{character_name}}} {{Aristocrat=[[2d6cs>2cf<5 + @{aristocrat} - @{stress} + ?{Modifier|0}]]}}'></button><label>ARISTOCRAT:</label><input type="number" name='attr_aristocrat' max="6"></input><label class="archetype_uses">Talking, charming, bluffing, oratory</label>
<br />
<button type='roll' name='roll_hunter' value='&{template:dotd} {{title=@{character_name}}} {{Hunter=[[2d6 + @{hunter} - @{stress} + ?{Modifier|0}]]}}'></button><label>HUNTER:</label><input type="number" name='attr_hunter' max="6"></input><label class="archetype_uses">Ranged attacks, priest, ruffian</label>
<button type='roll' name='roll_hunter' value='&{template:dotd} {{title=@{character_name}}} {{Hunter=[[2d6cs>2cf<5 + @{hunter} - @{stress} + ?{Modifier|0}]]}}'></button><label>HUNTER:</label><input type="number" name='attr_hunter' max="6"></input><label class="archetype_uses">Ranged attacks, stealth, nature lore, survival</label>
<br />
<button type='roll' name='roll_occultist' value='&{template:dotd} {{title=@{character_name}}} {{Occultist=[[2d6 + @{occultist} - @{stress} + ?{Modifier|0}]]}}'></button><label>OCCULTIST:</label><input type="number" name='attr_occultist' max="6"></input><label class="archetype_uses">Supernatural lore, alchemy, enchantments, grimoires</label>
<button type='roll' name='roll_occultist' value='&{template:dotd} {{title=@{character_name}}} {{Occultist=[[2d6cs>2cf<5 + @{occultist} - @{stress} + ?{Modifier|0}]]}}'></button><label>OCCULTIST:</label><input type="number" name='attr_occultist' max="6"></input><label class="archetype_uses">Supernatural lore, alchemy, enchantments, grimoires</label>
<br />
<button type='roll' name='roll_priest' value='&{template:dotd} {{title=@{character_name}}} {{Priest=[[2d6 + @{priest} - @{stress} + ?{Modifier|0}]]}}'></button><label>PRIEST:</label><input type="number" name='attr_priest' max="6"></input><label class="archetype_uses">Religious lore, mythology, leadership</label>
<button type='roll' name='roll_priest' value='&{template:dotd} {{title=@{character_name}}} {{Priest=[[2d6cs>2cf<5 + @{priest} - @{stress} + ?{Modifier|0}]]}}'></button><label>PRIEST:</label><input type="number" name='attr_priest' max="6"></input><label class="archetype_uses">Religious lore, mythology, leadership</label>
<br />
<button type='roll' name='roll_ruffian' value='&{template:dotd} {{title=@{character_name}}} {{Ruffian=[[2d6 + @{ruffian} - @{stress} + ?{Modifier|0}]]}}'></button><label>RUFFIAN:</label><input type="number" name='attr_ruffian' max="6"></input><label class="archetype_uses">Hunter attacks, feats of strength, endurance</label>
<button type='roll' name='roll_ruffian' value='&{template:dotd} {{title=@{character_name}}} {{Ruffian=[[2d6cs>2cf<5 + @{ruffian} - @{stress} + ?{Modifier|0}]]}}'></button><label>RUFFIAN:</label><input type="number" name='attr_ruffian' max="6"></input><label class="archetype_uses">Melee attacks, feats of strength, endurance</label>
<br />
<button type='roll' name='roll_scientist' value='&{template:dotd} {{title=@{character_name}}} {{Scientist=[[2d6 + @{scientist} - @{stress} + ?{Modifier|0}]]}}'></button><label>SCIENTIST:</label><input type="number" name='attr_scientist' max="6"></input><label class="archetype_uses">Scientific lore, first aid, learning, perception, insight</label>
<button type='roll' name='roll_scientist' value='&{template:dotd} {{title=@{character_name}}} {{Scientist=[[2d6cs>2cf<5 + @{scientist} - @{stress} + ?{Modifier|0}]]}}'></button><label>SCIENTIST:</label><input type="number" name='attr_scientist' max="6"></input><label class="archetype_uses">Scientific lore, first aid, learning, perception, insight</label>

</div>

Expand Down

0 comments on commit f3418ae

Please sign in to comment.