diff --git a/Stars_Without_Number_Revised/ReadMe.md b/Stars_Without_Number_Revised/ReadMe.md index e0e59e61e6..d356284508 100644 --- a/Stars_Without_Number_Revised/ReadMe.md +++ b/Stars_Without_Number_Revised/ReadMe.md @@ -25,6 +25,13 @@ Report any problems, suggestions, or features by [creating an issue](https://git ### Changelog +### 1.5.0 + +* Fixed Sneak skill showing as Program. +* Added Beasts and Bots to NPC autofill. +* Added Saving Throw to NPC sheet. +* Added klicking headers to show/hide sections. + ### 1.4.0 * Added NPC tab which holds standard NPC stats, notes, and rolls such as Morale and Reaction. diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.css b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.css index 6aa99cf423..ad9afa6cd4 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.css +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.css @@ -396,6 +396,20 @@ select { } /* Visibility toggling */ +.sheet-section-toggle:not(:checked) + label + .sheet-section-hide { + display: none; +} + +.sheet-section-toggle:not(:checked) + .sheet-section-toggle-header-label h3 { + background-color: #626260; + color: #dddddd +} + +.sheet-section-toggle-header, .sheet-section-toggle { + display:none; + +} + .sheet-toggle:not(:checked) ~ .sheet-hide, .sheet-toggle:checked ~ .sheet-show { display: none; diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index ad997cc95a..42d6eaf744 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -241,7 +241,7 @@ -
Version 1.4.0
+
Version 1.5.0
@@ -266,26 +266,47 @@
@@ -407,6 +428,11 @@ Hidden? +
+ + + Hidden? +

Desription and notes

@@ -688,8 +714,13 @@
-

Core Stats

-
+ Click on a header to toggle that section! + + +
@@ -960,659 +991,686 @@
-

Combat

-
-
- - + + +
+
+
+ + +
+
+
+
+ +
+
+
+ + + + + + + + + + +
+
+ + + + + + + + + + + +
-
-
- + + +
+
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+
+ + +
+
+ + +
-
- - - - - - - - - - -
-
- - - - - - - - - - - -
-
-

Saving Throws

-
-
- -
-
- -
-
- -
-
-
-
- - -
-
- - -
-
- - -
-
-

Skills

-
-
-
-
-
-
- -
-
- + + +
+
+
+
+
+
+
+ +
+
+ +
+
+ + + +
-
- - - +
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + +
-
-
-
-
-
- -
-
- +
+
+
+
+
+
+ +
+
+ +
+
+ + + + +
-
- - - +
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + + + +
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+ Cost to raise by 1: New Level + 1. Min level 1 for skill lvl 0 and 1, 3 for skill 2, 6 for skill 3, and 9 for skill 4. +
+
+ + +
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+ +
+
+
+ + + + +
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
- - - - -
-
-
-
-
-
- -
-
- -
-
-
-
-
- Cost to raise by 1: New Level + 1. Min level 1 for skill lvl 0 and 1, 3 for skill 2, 6 for skill 3, and 9 for skill 4. -
-

Psychic Skills and Techniques

- -
-
-
-
- -
-
- - -
-
-
-
-
-
- -
-
- - -
-
-
-
-
-
-
-
- -
-
- - -
-
-
-
-
-
- -
-
- - -
-
-
-
-
-
-
-
- -
-
- - -
-
-
-
-
-
- -
-
- - -
-
-
-
-
-
-
- -
-
-
- - - - -
-
-
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-

Foci

-
+ + +
@@ -1627,218 +1685,229 @@
-

Gear

-
-
-
-
- + + +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
-
-
- -
-
- -
-
- -
-
-
-
- +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+
- +
- Readied - Stowed - Other - +
-
+
+
+
+ +
+
+ +
+
+ Readied + Stowed + Other + +
+
+
-
-
- -
-
-
-
+
- - - - +
-
-
-
- +
+
+
+ + + + +
+
+
+
+
+ +
+
+
+
-
- +
+
+
+
-
-
-
- +
+ + + + + + + + + + +
+
+ + + + + + + + + + + +
-
- - - - - - - - - - -
-
- - - - - - - - - - - -
-
- -

Miscellaneous

-
-
-
- -
-
-
-
- -
-
-
-
+ + +
- +
- +
-
-
- -
-
- -
-
- -
-
- +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
@@ -2800,4 +2869,48 @@ fillNpc = function() { setAttrs({hd: stats[0], ac: stats[1], attack_bonus: stats[2], damage: stats[3], move: stats[4], morale: stats[5], skills: stats[6], saves: stats[7]}); }); } + +/** + * Checkbox madness + */ +on("change:stats_show_label", function () { + getAttrs(['stats_show_label'], function(v) { + setAttrs({stats_show:v.stats_show_label}); + }); +}); +on("change:combat_show_label", function () { + getAttrs(['combat_show_label'], function(v) { + setAttrs({combat_show:v.combat_show_label}); + }); +}); +on("change:saves_show_label", function () { + getAttrs(['saves_show_label'], function(v) { + setAttrs({saves_show:v.saves_show_label}); + }); +}); +on("change:skills_show_label", function () { + getAttrs(['skills_show_label'], function(v) { + setAttrs({skills_show:v.skills_show_label}); + }); +}); +on("change:psionics_show_label", function () { + getAttrs(['psionics_show_label'], function(v) { + setAttrs({psionics_show:v.psionics_show_label}); + }); +}); +on("change:foci_show_label", function () { + getAttrs(['foci_show_label'], function(v) { + setAttrs({foci_show:v.foci_show_label}); + }); +}); +on("change:gear_show_label", function () { + getAttrs(['gear_show_label'], function(v) { + setAttrs({gear_show:v.gear_show_label}); + }); +}); +on("change:misc_show_label", function () { + getAttrs(['misc_show_label'], function(v) { + setAttrs({misc_show:v.misc_show_label}); + }); +});