Skip to content

Commit

Permalink
Merge pull request #12205 from LilLiteralist/master
Browse files Browse the repository at this point in the history
[Star Wars Saga Edition] Added default sheet options
  • Loading branch information
NorWhal authored Oct 2, 2023
2 parents 34f551e + cea64f8 commit a4314ee
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 37 deletions.
7 changes: 6 additions & 1 deletion Star Wars Saga Edition/StarWarsSagaEdition.css
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@
}

.charsheet input[type="checkbox"] + span:not(.not-show)::before {
margin-right: 4px;
margin-top:-3px;
margin-right: 4px;
line-height: 14px;
text-align: center;
display: inline-block;
Expand All @@ -359,6 +360,7 @@
font-size: 12px;
}
.charsheet input.sectAttack-show + span:not(.not-show)::before {
margin-top:-3px;
margin-right: 4px;
line-height: 14px;
text-align: center;
Expand Down Expand Up @@ -529,6 +531,9 @@
width: 100%;
margin-left: calc(1px - (100% + 17px));
}
.grid-table {
display:grid;
}

.charsheet input.skillsNotes {
width: 100%;
Expand Down
55 changes: 27 additions & 28 deletions Star Wars Saga Edition/StarWarsSagaEdition.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<span>Choose individual skills</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" value="1" name="attr_reveal-skill-options" class="sect-show showhidetoggle" title="Show skill options" /><span /><br/>
<div class="sect rule-sections" style="margin-bottom:0px;">
<div>
<input type="checkbox" name="attr_NoneNPCSkills" class="sheet-hidden" id="NPCSkills1"/><label for="NPCSkills1"><span class="sheet-small">[none]</span></label>
<input type="checkbox" name="attr_CrucialNPCSkills" class="sheet-hidden" id="NPCSkills2"/><label for="NPCSkills2"><span class="sheet-small">[crucial]</span></label>
<input type="checkbox" name="attr_StandardNPCSkills" class="sheet-hidden" id="NPCSkills3"/><label for="NPCSkills3"><span class="sheet-small">[standard]</span></label>
<input type="checkbox" name="attr_NoneNPCSkills" class="sheet-hidden" id="NPCSkills1"/><label for="NPCSkills1" style="cursor:pointer"><span class="sheet-small">[none]</span></label>
<input type="checkbox" name="attr_CrucialNPCSkills" class="sheet-hidden" id="NPCSkills2"/><label for="NPCSkills2" style="cursor:pointer"><span class="sheet-small">[crucial]</span></label>
<input type="checkbox" name="attr_StandardNPCSkills" class="sheet-hidden" id="NPCSkills3"/><label for="NPCSkills3" style="cursor:pointer"><span class="sheet-small">[standard]</span></label>
</div>
<input type="checkbox" value="1" checked name="attr_show-Acrobatics" title="Show Acrobatics skill?" />&nbsp;<span class="not-show">Acrobatics</span><br/>
<input type="checkbox" value="1" name="attr_show-Athletics" title="Show Athletics skill?" />&nbsp;<span class="not-show">Athletics (house rule)</span><br/>
Expand All @@ -68,7 +68,7 @@
<input type="checkbox" value="1" name="attr_show-KnowledgeTechnology" title="Show Knowledge (Technology) skill?" />&nbsp;<span class="not-show">Knowledge (Technology)</span><br/>
<input type="checkbox" value="1" name="attr_show-Mechanics" title="Show Mechanics skill?" />&nbsp;<span class="not-show">Mechanics</span><br/>
<input type="checkbox" value="1" checked name="attr_show-Perception" title="Show Perception skill?" />&nbsp;<span class="not-show">Perception</span><br/>
<input type="checkbox" value="1" name="attr_show-Persuasion" title="Show Persuasion skill?" />&nbsp;<span class="not-show">Persuasion</span><br/>
<input type="checkbox" value="1" checked name="attr_show-Persuasion" title="Show Persuasion skill?" />&nbsp;<span class="not-show">Persuasion</span><br/>
<input type="checkbox" value="1" name="attr_show-Pilot" title="Show Pilot skill?" />&nbsp;<span class="not-show">Pilot</span><br/>
<input type="checkbox" value="1" name="attr_show-Ride" title="Show Ride skill?" />&nbsp;<span class="not-show">Ride</span><br/>
<input type="checkbox" value="1" checked name="attr_show-Stealth" title="Show Stealth skill?" />&nbsp;<span class="not-show">Stealth</span><br/>
Expand Down Expand Up @@ -240,21 +240,23 @@
<input type="number" value="0" name="attr_DamageThresholdSize" class="hidden" /></td>
</tr>
</table>
<input type="checkbox" class="DRShow sheet-hidden" value="1" name="attr_DR-Show" />
<div class="DRBody" >
<label><span data-i18n="damage_reduction">Damage Reduction</span>&nbsp;</label>
<span><input type="number" name="attr_DR" placeholder="0" value="" title="Damage Reduction @{DR}" /></span><br />
</div>
<input type="checkbox" class="SRShow sheet-hidden" value="1" name="attr_SR-Show"/>
<div class="SRBody">
<label><span data-i18n="shield_rating">Shield Rating</span>&nbsp;</label>
<span><input type="number" name="attr_SR" placeholder="0" value="" title="Current Shield Rating @{SR}" /> / <input type="number" name="attr_SR_max" placeholder="0" value="" title="Max Shield Rating @{SR|max}" /></span><br />
<div class="grid-table">
<input type="checkbox" class="DRShow sheet-hidden" value="1" name="attr_DR-Show" />
<div class="DRBody" >
<label><span data-i18n="damage_reduction">Damage Reduction</span>&nbsp;</label>
<span><input type="number" name="attr_DR" placeholder="0" value="" title="Damage Reduction @{DR}" /></span><br />
</div>
<input type="checkbox" class="SRShow sheet-hidden" value="1" name="attr_SR-Show"/>
<div class="SRBody">
<label><span data-i18n="shield_rating">Shield Rating</span>&nbsp;</label>
<span><input type="number" name="attr_SR" placeholder="0" value="" title="Current Shield Rating @{SR}" /> / <input type="number" name="attr_SR_max" placeholder="0" value="" title="Max Shield Rating @{SR|max}" /></span><br />
</div>
<input type="checkbox" class="immuneShow sheet-hidden" value="1" name="attr_immune-Show" />
<div class="immuneBody">
<label><span data-i18n="immune">Immune</span>&nbsp;</label>
<span><input type="text" name="attr_Immune" value="" title="Immunities @{Immune}" style="width:75%" /> </span>
</div>
</div>
<input type="checkbox" class="immuneShow sheet-hidden" value="1" name="attr_immune-Show" />
<div class="immuneBody">
<label><span data-i18n="immune">Immune</span>&nbsp;</label>
<span><input type="text" name="attr_Immune" value="" title="Immunities @{Immune}" style="width:75%" /> </span>
</div>
</div>

<div class="sheet-col">
Expand Down Expand Up @@ -1771,7 +1773,7 @@
</div> </div>
</div> </div>
</div>
<input type="checkbox" value="1" checked name="attr_show-CustomPCSkills" class="sheet-hidden SkillShow" />
<input type="checkbox" value="1" name="attr_show-CustomPCSkills" class="sheet-hidden SkillShow" />
<div class="SkillBody"><fieldset class="repeating_npc-skill">
<table class="sheet-spacing">
<tr>
Expand Down Expand Up @@ -3823,12 +3825,6 @@
<div class="sheet-table-data"><button type="roll" name="roll_vehicle-INTCheck" value="&{template:skill} {{name=Intelligence}} {{skill=[[ 1d20+@{vehicle-int|max}+@{vehicle-CT}]]}}" title="Roll Intelligence %{vehicle-INTCheck}"></button></div>
</div>
</div>
<br /><br />
<table style="text-align:left">
<tr>
<td><label data-i18n="damage_reduction">Damage Reduction</label><input type="number" name="attr_vehicle-DR" value="0" title="Damage Reduction @{vehicle-DR}" /></td>
</tr>
</table>
</div>
<div class="sheet-col">
<table>
Expand Down Expand Up @@ -3860,10 +3856,13 @@
</tr>
</table>
<br />
<table style="text-align:left">
<table style="text-align:left">
<tr>
<td><label data-i18n="damage_reduction">Damage Reduction</label><input type="number" name="attr_vehicle-DR" value="0" title="Damage Reduction @{vehicle-DR}" /></td>
</tr>
<tr>
<td><label data-i18n="shield_rating">Shield Rating</label><input type="number" name="attr_vehicle-SR" value="0" style="width:55px; "title="Current Shield Rating @{vehicle-SR}" /> / <input type="number" name="attr_vehicle-SR_max" value="0" style="width:55px;" title="Max Shield Rating @{vehicle-SR|max}" /></td>
</tr>
</tr>
</table>
</div>

Expand Down Expand Up @@ -4260,7 +4259,7 @@
<!-- start help section -->
<div>
For help, please see the wiki page. <input type="text" disabled="true" name="wiki_URL" style="width:30em" title="Wiki URL" value="https://wiki.roll20.net/Star_Wars_Saga_Edition_Character_Sheet"/> <br/>
<b><span data-i18n="last_updated">Last updated</span>:</b> 23 September 2023
<b><span data-i18n="last_updated">Last updated</span>:</b> 1 October 2023
</div>
<!-- start roll templates -->
<body>
Expand Down
244 changes: 236 additions & 8 deletions Star Wars Saga Edition/sheet.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,238 @@
{
"html": "StarWarsSagaEdition.html",
"css": "StarWarsSagaEdition.css",
"authors": " Alicia G (original author), Stephen C (maintainer)",
"roll20userid": "2889, 436906",
"preview": "StarWarsSagaEditionpreview.png",
"instructions": "# Character Sheet\r Inspired by the Saga Edition sheet by Mad Irishman Productions. This sheet auto-calculates statistics using the rules as written. Most (but not all) supplement rules have been taken into account. If you feel that there is something incorrect or missing, please contact the authors. \r\r\r **Last Updated:** 23 September, 2023\r\r\r View the Wiki for the Change Log and more information on the sheet including complete list of attributes and rolls: https://wiki.roll20.net/Star_Wars_Saga_Edition_Character_Sheet",
"legacy": false,
"printable": true
"html": "StarWarsSagaEdition.html",
"css": "StarWarsSagaEdition.css",
"authors": "Alicia G (origial author), Stephen C (maintainer)",
"roll20userid": "2889,436906",
"preview": "StarWarsSagaEditionpreview.png",
"instructions": "# Character Sheet\r Inspired by the Saga Edition sheet by Mad Irishman Productions. This sheet calculates statistics using the rules as written. Not all supplement rules may have been taken into account. If you find a mistake or wish to request a feature, please contact the authors. \r\r\r **Last Updated** 1 October, 2023\r\r\r View the wiki for the change log and more information on the sheet, including complete list of attributes and rolls: https://wiki.roll20.net/Star_Wars_Saga_Edition_Character_Sheet",
"useroptions": [
{
"attribute": "yellow-logo",
"displayname": "Yellow Star Wars Saga Edition logo",
"type": "checkbox",
"value": "1"
},
{
"attribute": "force-Show",
"displayname": "Show Force sections",
"description": "Powers, Techniques, Secrets, and Regimens",
"type": "checkbox",
"value": "1"
},
{
"attribute": "StarshipManeuvers-Show",
"displayname": "Show Starship Maneuvers",
"type": "checkbox",
"value": "1"
},
{
"attribute": "organization-Show",
"displayname": "Display Organization section",
"description": "A.K.A. Rank and Privilege. Includes fields for criteria, special orders, etc.",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-CustomPCSkills",
"displayname": "Show the option to add new skills on the PC sheet",
"type": "checkbox",
"value": "1"
},
{
"attribute": "athletics-Show",
"displayname": "Replace Climb, Jump, and Swim skills with Athletics skill?",
"type": "checkbox",
"value": "1"
},
{
"attribute": "vehicle-AttackModifierPrompt",
"displayname": "Include \"Other modifiers\" prompt for vehicle attacks",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "vehicle-SkillModifierPrompt",
"displayname": "Include \"Other modifiers\" prompt for vehicle skills",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "vehicle-CapitalGrapple",
"displayname": "Grapple modifier for vehicles increases beyond Colossal size",
"description": "+25 for Colossal (frigate), +30 for Colossal (cruiser), +35 for Colossal (station). Default rules are capped at +20 for Colossal and larger.",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Acrobatics",
"displayname": "On the NPC sheet, show the Acrobatics skill",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "show-Athletics",
"displayname": "On the NPC sheet, show the Athletics skill (house rule)",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Acrobatics",
"displayname": "On the NPC sheet, show the Acrobatics skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Climb",
"displayname": "On the NPC sheet, show the Climb skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Deception",
"displayname": "On the NPC sheet, show the Deception skill",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "show-Endurance",
"displayname": "On the NPC sheet, show the Endurance skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-GatherInformation",
"displayname": "On the NPC sheet, show the Gather Information skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Jump",
"displayname": "On the NPC sheet, show the Jump skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Initiative",
"displayname": "On the NPC sheet, show the Initiative skill",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "show-KnowledgeBureaucracy",
"displayname": "On the NPC sheet, show the Knowledge (Bureaucracy) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-KnowledgeGalacticLore",
"displayname": "On the NPC sheet, show the Knowledge (Galactic Lore) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-KnowledgeLifeSciences",
"displayname": "On the NPC sheet, show the Knowledge (Life Sciences) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-KnowledgePhysicalSciences",
"displayname": "On the NPC sheet, show the Knowledge (Physical Sciences) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-KnowledgeSocialSciences",
"displayname": "On the NPC sheet, show the Knowledge (Social Sciences) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-KnowledgeTactics",
"displayname": "On the NPC sheet, show the Knowledge (Tactics) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-KnowledgeTechnology",
"displayname": "On the NPC sheet, show the Knowledge (Technology) skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Mechanics",
"displayname": "On the NPC sheet, show the Mechanics skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Perception",
"displayname": "On the NPC sheet, show the Perception skill",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "show-Persuasion",
"displayname": "On the NPC sheet, show the Persuasion skill",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "show-Pilot",
"displayname": "On the NPC sheet, show the Pilot skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Ride",
"displayname": "On the NPC sheet, show the Ride skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Stealth",
"displayname": "On the NPC sheet, show the Stealth skill",
"type": "checkbox",
"checked": "checked",
"value": "1"
},
{
"attribute": "show-Survival",
"displayname": "On the NPC sheet, show the Survival skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-Swim",
"displayname": "On the NPC sheet, show the Swim skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-TreatInjury",
"displayname": "On the NPC sheet, show the Treat Injury skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-UseComputer",
"displayname": "On the NPC sheet, show the Use Computer skill",
"type": "checkbox",
"value": "1"
},
{
"attribute": "show-UsetheForce",
"displayname": "On the NPC sheet, show the Use the Force skill",
"type": "checkbox",
"value": "1"
}
],
"legacy": false
}

0 comments on commit a4314ee

Please sign in to comment.