Skip to content

Commit

Permalink
Merge pull request #11906 from DBFBlackbull/ADnD_2E_Revised-Player_op…
Browse files Browse the repository at this point in the history
…tion_qol

[ADnD_2E_Revised] New Feature / Rogue section v3
  • Loading branch information
BronsonHall committed Jun 14, 2023
2 parents 64dc472 + 1f72dcc commit 5e477a2
Show file tree
Hide file tree
Showing 31 changed files with 3,267 additions and 1,615 deletions.
2,375 changes: 1,560 additions & 815 deletions ADnD_2E_Revised/2ESheet.html

Large diffs are not rendered by default.

80 changes: 74 additions & 6 deletions ADnD_2E_Revised/2EStyle.css
Expand Up @@ -616,12 +616,18 @@ table.sheet-centering-padding-5-column5 td:nth-child(5) {
vertical-align: middle;
}

.sheet-centering-horizontal {
table.sheet-rogue-info th,
table.sheet-rogue-info td {
text-align: center;
vertical-align: bottom;
padding-right: 8px;
}

.sheet-centering-vertical {
vertical-align: middle;
table.sheet-rogue-info th:nth-child(1),
table.sheet-rogue-info td:nth-child(1) {
text-align: left;
}
table.sheet-rogue-info-center-column1 th:nth-child(1) {
text-align: center;
}

.sheet-table-center {
Expand All @@ -646,6 +652,8 @@ table.sheet-centering-padding-5-column4 td:nth-child(4),
}

.sheet-padding-right,
table.sheet-padding-right th,
table.sheet-padding-right td,
table.sheet-padding-right-column1 th:nth-child(1),
table.sheet-padding-right-column1 td:nth-child(1),
table.sheet-padding-right-column2 th:nth-child(2),
Expand Down Expand Up @@ -750,7 +758,10 @@ input.sheet-show-worn-equipment:checked ~ .sheet-hidden,
input.sheet-show-spell-slots:checked ~ .sheet-tab-content .sheet-spell-slots.sheet-hidden,
input.sheet-show-spell-points:checked ~ .sheet-tab-content .sheet-spell-points.sheet-hidden,
input.sheet-show-spell-arcs-winds:checked ~ .sheet-tab-content .sheet-spell-arcs-winds.sheet-hidden,
input.sheet-show-spell-spheres-pri:checked ~ .sheet-spell-sphere-pri.sheet-hidden {
input.sheet-show-spell-spheres-pri:checked ~ .sheet-spell-sphere-pri.sheet-hidden,
input.sheet-show-rogue-skill-player:checked ~ .sheet-tab-content .sheet-rogue-skill-player.sheet-hidden,
input.sheet-show-rogue-skill-by-the-book:checked ~ .sheet-tab-content .sheet-rogue-skill-by-the-book.sheet-hidden,
input.sheet-show-rogue-skill-dm:checked ~ .sheet-tab-content .sheet-rogue-skill-dm.sheet-hidden {
display: revert;
}

Expand All @@ -768,7 +779,8 @@ div.repcontainer div.repitem:first-child thead.sheet-show-first {
}

.sheet-action-button,
.sheet-action-button-roll {
.sheet-action-button-roll,
.btn.sheet-action-button-roll {
height: 19px;
font-size: 1.3em;
padding: 2px 3px;
Expand All @@ -780,6 +792,62 @@ div.repcontainer div.repitem:first-child thead.sheet-show-first {
content: "t";
}

ul.custom-list {
max-width: 650px;
margin-bottom: 0;
}

ul.custom-list li span {
padding-left: 8px; /* Adjust the padding as needed */
display: block;
}

.bullet-disc::marker {
content: "•";
}

.bullet-star::marker {
content: "*";
}

.bullet-star-star::marker {
content: "**";
}

.bullet-cross::marker {
content: "†";
}

.bullet-95::marker {
content: "95";
font-size: smaller;
}

.bullet-A::marker {
content: "A";
font-size: smaller;
}

.bullet-B::marker {
content: "B";
font-size: smaller;
}

.bullet-D::marker {
content: "D";
font-size: smaller;
}

.bullet-R::marker {
content: "R";
font-size: smaller;
}

.bullet-S-and-S::marker {
content: "S&S";
font-size: smaller;
}

div[data-groupname="repeating_weaponprofs"].editmode div.repitem > :nth-child(2),
div[data-groupname="repeating_profs"].editmode div.repitem > :nth-child(2),
div[data-groupname="repeating_langs"].editmode div.repitem > :nth-child(2),
Expand Down
4 changes: 4 additions & 0 deletions ADnD_2E_Revised/build/buildPug.js
Expand Up @@ -60,6 +60,7 @@ const nonWeaponProfsJs = require(path.join(jsFolder, 'nonweaponProficiencies.js'
const talentsJs = require(path.join(jsFolder,'players-option-talents.js'));
const traitsJs = require(path.join(jsFolder,'players-option-traits.js'));
const disadvantagesJs = require(path.join(jsFolder,'players-option-disadvantages.js'));
const dexterityModifier = require(path.join(jsFolder,'abilityScores.js'))

console.log('---- Generating HTML files ----');
writeFile(miscFolder, 'schools-overview.html',
Expand All @@ -80,6 +81,9 @@ writeFile(path.join(htmlFolder,'shared'), 'wizard-spell-template.html',
writeFile(path.join(htmlFolder,'shared'), 'priest-spell-template.html',
pug.renderFile(path.join(pugFolder, 'spellTemplate.pug'), {pretty: true, isPriest: true})
);
writeFile(path.join(htmlFolder,'tabs','character-tab','rogue-tab'), 'thieving-skills-dexterity-adjustments.html',
pug.renderFile(path.join(pugFolder, 'thievingSkillsDexterityAdjustments.pug'), {pretty: true, data: dexterityModifier})
);

let datalistHtml = '';
datalistHtml += pug.renderFile(path.join(pugFolder, 'spellsDatalists.pug'), {pretty: true, data: wizardSpellsJs});
Expand Down
80 changes: 74 additions & 6 deletions ADnD_2E_Revised/css/2EStyle-base.css
Expand Up @@ -616,12 +616,18 @@ table.sheet-centering-padding-5-column5 td:nth-child(5) {
vertical-align: middle;
}

.sheet-centering-horizontal {
table.sheet-rogue-info th,
table.sheet-rogue-info td {
text-align: center;
vertical-align: bottom;
padding-right: 8px;
}

.sheet-centering-vertical {
vertical-align: middle;
table.sheet-rogue-info th:nth-child(1),
table.sheet-rogue-info td:nth-child(1) {
text-align: left;
}
table.sheet-rogue-info-center-column1 th:nth-child(1) {
text-align: center;
}

.sheet-table-center {
Expand All @@ -646,6 +652,8 @@ table.sheet-centering-padding-5-column4 td:nth-child(4),
}

.sheet-padding-right,
table.sheet-padding-right th,
table.sheet-padding-right td,
table.sheet-padding-right-column1 th:nth-child(1),
table.sheet-padding-right-column1 td:nth-child(1),
table.sheet-padding-right-column2 th:nth-child(2),
Expand Down Expand Up @@ -750,7 +758,10 @@ input.sheet-show-worn-equipment:checked ~ .sheet-hidden,
input.sheet-show-spell-slots:checked ~ .sheet-tab-content .sheet-spell-slots.sheet-hidden,
input.sheet-show-spell-points:checked ~ .sheet-tab-content .sheet-spell-points.sheet-hidden,
input.sheet-show-spell-arcs-winds:checked ~ .sheet-tab-content .sheet-spell-arcs-winds.sheet-hidden,
input.sheet-show-spell-spheres-pri:checked ~ .sheet-spell-sphere-pri.sheet-hidden {
input.sheet-show-spell-spheres-pri:checked ~ .sheet-spell-sphere-pri.sheet-hidden,
input.sheet-show-rogue-skill-player:checked ~ .sheet-tab-content .sheet-rogue-skill-player.sheet-hidden,
input.sheet-show-rogue-skill-by-the-book:checked ~ .sheet-tab-content .sheet-rogue-skill-by-the-book.sheet-hidden,
input.sheet-show-rogue-skill-dm:checked ~ .sheet-tab-content .sheet-rogue-skill-dm.sheet-hidden {
display: revert;
}

Expand All @@ -768,7 +779,8 @@ div.repcontainer div.repitem:first-child thead.sheet-show-first {
}

.sheet-action-button,
.sheet-action-button-roll {
.sheet-action-button-roll,
.btn.sheet-action-button-roll {
height: 19px;
font-size: 1.3em;
padding: 2px 3px;
Expand All @@ -780,6 +792,62 @@ div.repcontainer div.repitem:first-child thead.sheet-show-first {
content: "t";
}

ul.custom-list {
max-width: 650px;
margin-bottom: 0;
}

ul.custom-list li span {
padding-left: 8px; /* Adjust the padding as needed */
display: block;
}

.bullet-disc::marker {
content: "•";
}

.bullet-star::marker {
content: "*";
}

.bullet-star-star::marker {
content: "**";
}

.bullet-cross::marker {
content: "†";
}

.bullet-95::marker {
content: "95";
font-size: smaller;
}

.bullet-A::marker {
content: "A";
font-size: smaller;
}

.bullet-B::marker {
content: "B";
font-size: smaller;
}

.bullet-D::marker {
content: "D";
font-size: smaller;
}

.bullet-R::marker {
content: "R";
font-size: smaller;
}

.bullet-S-and-S::marker {
content: "S&S";
font-size: smaller;
}

div[data-groupname="repeating_weaponprofs"].editmode div.repitem > :nth-child(2),
div[data-groupname="repeating_profs"].editmode div.repitem > :nth-child(2),
div[data-groupname="repeating_langs"].editmode div.repitem > :nth-child(2),
Expand Down
4 changes: 1 addition & 3 deletions ADnD_2E_Revised/html/2ESheet-base.html
Expand Up @@ -13,9 +13,7 @@
<br>

<!--Placed here so styling can affect both character and monster sheet-->
<input type="radio" name="attr_spell-tracking-system" class="sheet-show-spell-slots" value="spell-slots" checked/>
<input type="radio" name="attr_spell-tracking-system" class="sheet-show-spell-points" value="spell-points"/>
<input type="radio" name="attr_spell-tracking-system" class="sheet-show-spell-arcs-winds" value="spell-arcs-winds"/>
insert_visibility-attributes.html

insert_character-tab.html
insert_monster-tab.html
Expand Down
36 changes: 28 additions & 8 deletions ADnD_2E_Revised/html/changelog.html
Expand Up @@ -4,19 +4,39 @@
<h2 style="color: black;">Changes in <span name="attr_version"></span></h2>
<div class="sheet-announce-items">
<ul style="font-style:italic">
<li>Psionics Core powers can now be made secret by adding <strong>{{secret=true}}</strong></li>
<li>Psionics Core powers can now be temporarily modify Constitution, Intelligence, and Wisdom for psionioc purposes only</li>
<li>Psionics Core powers checks now also show the base power score attribute and modifier</li>
<li>Potions design has been updated to match that of Scrolls</li>
<li>Dust design has been updated to match that of Scrolls</li>
<li>Made it easier to read repeating lines while modifying them</li>
<li>Added datalist arrows for Firefox.</li>
<li>Psionic Power - Telekinesis no longer adds a modifier for lifting an item weighing exactly 3 pounds</li>
<li>Psionic Power - Telekinesis now shows the attack modifier based on the items weight</li>
<li>Psionic Power - Life Draining refers to itself as a Power instead of a Devotion. Sage Advice #186</li>
<li>Endurance NWP for Dwarves is now free (cost 0 slots) instead of 1 as described in Complete Dwarves Handbook.</li>
<li>Added V, S components to all Quest spells from Tome of Magic p. 12</li>
<li>Updated casting spells from scroll notes clarifying that scrolls can be cast without restrictions</li>
<li>Updated spell learning notes to make it clear that <strong>read magic</strong> is not need to read spell books</li>
<li>Added new Tome of Magic sphere suggestion to Paladins, Rangers, and Druids sphere of influence</li>
<li>Added Priest casting level scaling for Paladins ensuring they cast as first level priest at level 9, their max casting level is 9</li>
<li>Added Priest casting level scaling for Rangers ensuring they cast as first level priest at level 8, their max casting level is 9</li>
<li>Added correction to Turn Undead notes that all creatures dwelling on the Outer Planes, not only undead, can be turned as Special creatures</li>
<li>Fixed Follower->Rogue Detect Magic roll button attribute name. It now correctly matches the title of shown in the mouse over text</li>
<li>Redesigned the rogue/thieving skills tab
<ul>
<li>All skills now have a single button for rolling them instead of 3</li>
<li>All base skills now have descriptive text for success and failure</li>
<li>Added %-sign to the roll template for Thieving skills</li>
<li>All skills have gotten their calculations changed so that the misc modifier is included in the max 95% chance</li>
<li>Find/Remove Traps, when rolled, ask for how it is used: Find, remove normal, remove invisible/magical trap</li>
<li>Toggle to tell if you are a Ranger, allowing Move Silently and Hide in Shadows to max out at 99% instead of 95%</li>
<li>If you are a Ranger, Move Silently and Hide in Shadows ask if you are in a non-natural surrounding and half your chance of success</li>
<li>Added Dexterity, Aim, Balance skills armor adjustments notes</li>
<li>Added Ranger skills armor adjustments notes</li>
<li>Added ranger to the allowed armors for the rogue armor autofill</li>
<li>All skills from PO: Skills & Powers, Dark Sun, and Sages & Specialists now use Roll templates when rolled</li>
<li>Visibility setting have been added allowing for hidden rolls, so only the DM knows if the rogue made the check or not</li>
</ul>
</li>
</ul>
<hr>
<p>
If you want to help improve the sheet, you can go and vote for these suggestions on the Roll20 forum! With these I could make the sheet even better! :)
<ul>
<li><span class="sheet-selectable">https://app.roll20.net/forum/post/10709362/extend-roll20-jquery-to-allow-toggling-of-the-disabled-tag</span></li>
<li><span class="sheet-selectable">https://app.roll20.net/forum/post/4922089/gmrolls-that-are-hidden-even-from-the-player-that-makes-the-roll</span></li>
</ul>
</p>
Expand Down

0 comments on commit 5e477a2

Please sign in to comment.