From 566c3674951bd4e897edcad0a737adf7acead6c5 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Sun, 29 Oct 2017 14:33:31 +0100 Subject: [PATCH 01/11] Add beasts and bots to npc autofill --- .../Stars_Without_Number_Revised.html | 61 +++++++++++++------ 1 file changed, 41 insertions(+), 20 deletions(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index ad997cc95a..1eea02b945 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -266,26 +266,47 @@
From 7141c3ba87f62c5997aecbb9f0804cd83f8db3c5 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Sun, 29 Oct 2017 14:39:48 +0100 Subject: [PATCH 02/11] Add Saving Throw to NPC sheet --- .../Stars_Without_Number_Revised.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index 1eea02b945..374c7a1e69 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -428,6 +428,11 @@ Hidden? +
+ + + Hidden? +

Desription and notes

From 42815d5c052f05511adfdb8c8720ce5bea39eda3 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Sun, 29 Oct 2017 14:43:49 +0100 Subject: [PATCH 03/11] Make Combat section toggleable. --- .../Stars_Without_Number_Revised.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index 374c7a1e69..d2f13ea582 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -987,18 +987,19 @@

Combat

-
+ +
-
+
-
+
From d83868c1404304a867f2a80d484011730e36a3bd Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Sun, 29 Oct 2017 22:36:09 +0100 Subject: [PATCH 04/11] Implement toggle sections by clicking header. Each section now one div. --- .../Stars_Without_Number_Revised.css | 14 + .../Stars_Without_Number_Revised.html | 1732 +++++++++-------- 2 files changed, 923 insertions(+), 823 deletions(-) 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 d2f13ea582..556a0158db 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -714,8 +714,13 @@
-

Core Stats

-
+ Click on the headers to toggle section visibility. + + +
@@ -986,660 +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

-
+ + +
@@ -1654,218 +1685,229 @@
-

Gear

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

Miscellaneous

-
-
-
- -
-
-
-
- -
-
-
-
+ + +
- +
- +
-
-
- -
-
- -
-
- -
-
- +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
@@ -2827,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}); + }); +}); From 923385b9ecd0f79a54831e8ffae85aaf09248338 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Wed, 15 Nov 2017 21:55:03 +0100 Subject: [PATCH 05/11] Fix Sneak skill showing as Program --- Stars_Without_Number_Revised/Stars_Without_Number_Revised.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index d2f13ea582..dd7a557243 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -1271,7 +1271,7 @@ - +
From f85763a752483ae02d15b76491cea3ec2b5a104c Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Wed, 15 Nov 2017 22:33:25 +0100 Subject: [PATCH 06/11] Fix sneak skill name --- Stars_Without_Number_Revised/Stars_Without_Number_Revised.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index 556a0158db..dfed7579d7 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -1292,7 +1292,7 @@ - +
From 1c4feb6116cbe574c6bef59edf691bd5449d789e Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Wed, 15 Nov 2017 22:43:30 +0100 Subject: [PATCH 07/11] Changelog --- Stars_Without_Number_Revised/ReadMe.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Stars_Without_Number_Revised/ReadMe.md b/Stars_Without_Number_Revised/ReadMe.md index e0e59e61e6..dedbd74aa3 100644 --- a/Stars_Without_Number_Revised/ReadMe.md +++ b/Stars_Without_Number_Revised/ReadMe.md @@ -25,6 +25,12 @@ 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. + ### 1.4.0 * Added NPC tab which holds standard NPC stats, notes, and rolls such as Morale and Reaction. From 0bd1388aec832f41af77cfb90ece9acefbaaa5b5 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Wed, 15 Nov 2017 22:43:45 +0100 Subject: [PATCH 08/11] Revert "Fix Sneak skill showing as Program" This reverts commit 923385b9ecd0f79a54831e8ffae85aaf09248338. Revert commit cause incompatibility. --- Stars_Without_Number_Revised/Stars_Without_Number_Revised.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index dd7a557243..d2f13ea582 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -1271,7 +1271,7 @@ - +
From 3408058aff7aac08c3155b5d96ee04489d687355 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Wed, 15 Nov 2017 22:48:05 +0100 Subject: [PATCH 09/11] Changelog --- Stars_Without_Number_Revised/ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Stars_Without_Number_Revised/ReadMe.md b/Stars_Without_Number_Revised/ReadMe.md index dedbd74aa3..d356284508 100644 --- a/Stars_Without_Number_Revised/ReadMe.md +++ b/Stars_Without_Number_Revised/ReadMe.md @@ -30,6 +30,7 @@ Report any problems, suggestions, or features by [creating an issue](https://git * 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 From 37dd625b9d0572fc90385120a24059daa01565f3 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Wed, 15 Nov 2017 22:49:55 +0100 Subject: [PATCH 10/11] Version --- Stars_Without_Number_Revised/Stars_Without_Number_Revised.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index dfed7579d7..b0e553ef69 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
From 654d308ecb7a00131796d84af9eef7ddceab2da1 Mon Sep 17 00:00:00 2001 From: "kehofset@live.no" Date: Sun, 19 Nov 2017 15:47:23 +0100 Subject: [PATCH 11/11] Help text wording. --- Stars_Without_Number_Revised/Stars_Without_Number_Revised.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html index b0e553ef69..42d6eaf744 100644 --- a/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html +++ b/Stars_Without_Number_Revised/Stars_Without_Number_Revised.html @@ -714,7 +714,7 @@
- Click on the headers to toggle section visibility. + Click on a header to toggle that section!