From bf982dbba68e85054d80ac2a52b711fa98cfd2c2 Mon Sep 17 00:00:00 2001 From: Jose Velazquez Date: Sat, 2 Dec 2023 13:30:25 -0500 Subject: [PATCH 1/9] [Call of Cthulhu 5e] Add roll template and rework rolls --- Call_of_Cthulhu/Call_of_Cthulhu.html | 899 +++++++++++++-------------- 1 file changed, 426 insertions(+), 473 deletions(-) diff --git a/Call_of_Cthulhu/Call_of_Cthulhu.html b/Call_of_Cthulhu/Call_of_Cthulhu.html index 9a159826ec19..d23f4a0bc765 100644 --- a/Call_of_Cthulhu/Call_of_Cthulhu.html +++ b/Call_of_Cthulhu/Call_of_Cthulhu.html @@ -1,8 +1,8 @@ -

+

- +
@@ -29,60 +29,60 @@

Resistance Roll - +

-
Investigator Name
+
@@ -102,7 +102,7 @@

Characteris

- + @@ -113,7 +113,7 @@

Characteris

- + @@ -124,7 +124,7 @@

Characteris

- +
- - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + +
Idea
CON Luck
SIZ Know
@@ -136,14 +136,14 @@

Characteris

-

+

-

-

+
+

Sanity Points - +

@@ -151,458 +151,319 @@

- + +
InsanitySanity Points (0 to 99)
- + +
+

Magic Points

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + +
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Stable Magic Points
Magic Points (0 to 37)
-
-
-

Magic Points

- - - - - - - - -
Stable Magic Points
Unconscious
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-
-
-

Hit Points

- - - - - - - - - -
Stable Hit Points
DeadUnconscious
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-2
-1
0
+1
+2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-
-
+

Hit Points

+ + + + + + + + + +
Stable Hit Points
Hit Points (-2 to 37)
+
-

+

-

+

Investigator Skills

- + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - - + + - + - - + + - + - - + + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + +
Accounting (10%) + + +
Anthropology (00) + + +
Archaeology (00) + + +
Astronomy (00) + + +
Bargain (05%) + + +
Biology (00) + + +
Chemistry (00) + + +
Climb (40%) + + +
Conceal (15%) + + +
Credit Rating (15%) + + +
Cthulhu Mythos + + +
Dodge (DEX x2) + + +
Electrical Repair (10%) + + +
Fast Talk (05%) + + +
First Aid (30%) + + +
Geology (00) + + +
Hide (10%) + + +
History (20%) + + +
Jump (25%) + + +
Law (05%) + + +
Library Use (25%) + + +
- + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + @@ -611,104 +472,150 @@

Investigato

- + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + - + - - + +
Listen (25%) + + +
Locksmith (00) + + +
Martial Arts (00) + + +
Mechanical Repair (20%) + + +
Medicine (05%) + + +
Natural History (10%) + + +
Navigate (10%) + + +
Occult (05%) + + +
Operate Hvy. Machine (00) + + +
+ + +
Persuade (15%) + + +
Pharmacy (00) + + +
Photography (10%) + + +
Physics (00) + + +
Psychology (05%) + + +
Ride (05%) + + +
Sneak (10%) + + +
Spot Hidden (25%) + + +
Throw (25%) + + +
Track (10%) + + +
- + - + - - + + - + - - + + - + - - + + - + - - + + +
Firearms
Handgun (20%) + + +
Machine Gun (15%) + + +
Rifle (25%) + + +
Shotgun (30%) + + +
@@ -784,13 +691,13 @@

Investigato -

@@ -804,59 +711,71 @@

Hand-To-Han

- + - + - + - + - + - + - + - + - + - + - + - +
Fist/Punch (50%) + + +
Head Butt (10%) + + +
Kick (25%) + + +
Grapple (25%) + + +
- + - +
-

+

-

+

Firearms

@@ -885,9 +804,9 @@

Firearms

-

+

-

+

Personal Data

@@ -901,17 +820,17 @@

Personal Da Marks & Scars

-

+

-

+

Investigator History

-

+

-

+

-

+

Income & Savings

@@ -929,32 +848,66 @@

Income & Sa

Personal Property
Real Estate -

-

-

Adventureing Gear & Other Possesions

+
+
+

Adventuring Gear & Other Possessions

-

+
-

+

Mythos Tomes Read

-

-

+

+

Magical Artifacts / Spells Known

- Artefacts + Artifacts
Spells
-

-

+

+

Entities Encountered

-

+
-

+
+ +
+ +
+ {{#header}} +
+

{{header}}

+

{{#stat}}({{stat}}%){{/stat}}

+
{{name}}
+
+ {{/header}} + +
+ {{#dice}} +
+ {{dice}}% +
+ + {{#rollLess() dice stat}} +
+ Success +
+ {{/rollLess() dice stat}} + + {{#^rollLess() dice stat}} +
+ Failure +
+ {{/^rollLess() dice stat}} + {{/dice}} +
+
+
+
From a00757c76f9581e7a16f33fa1dfa66c8534f1b7d Mon Sep 17 00:00:00 2001 From: Jose Velazquez Date: Sat, 2 Dec 2023 13:32:02 -0500 Subject: [PATCH 2/9] [Call of Cthulhu 5e] Add some css --- Call_of_Cthulhu/Call_of_Cthulhu.css | 93 +++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/Call_of_Cthulhu/Call_of_Cthulhu.css b/Call_of_Cthulhu/Call_of_Cthulhu.css index e69de29bb2d1..77ea759c8d9f 100644 --- a/Call_of_Cthulhu/Call_of_Cthulhu.css +++ b/Call_of_Cthulhu/Call_of_Cthulhu.css @@ -0,0 +1,93 @@ +@import url("https://fonts.googleapis.com/css2?family=Old+Standard+TT:wght@400;700&display=swap"); + +.charsheet { + font-family: "Old Standard TT", Arial; +} + +.hidden { + display: none; +} + +input:invalid { + border: 2px solid red; +} + +.sheet-rolltemplate-stats div.sheet-template-container { + border: 2px solid black; + border-radius: 0.3em; + box-shadow: inset 0px 0px 3px 1px black; + text-align: center; +} + +.sheet-rolltemplate-stats div.sheet-template-header h1, +.sheet-rolltemplate-stats div.sheet-template-header h2 { + display: inline; + color: white; + font-variant: small-caps; + font-size: 1.2em; +} + +.sheet-rolltemplate-stats div.sheet-template-container .inlinerollresult { + background-color: transparent; + border: none; + font-weight: unset; + font-size: unset; + padding: unset; +} + +.sheet-rolltemplate-stats div.sheet-template-header { + background-color: black; + border-bottom: 2px solid #4d4d4d; + text-transform: capitalize; + padding-bottom: 5px; +} + +.sheet-rolltemplate-stats div.sheet-template-header div { + font-size: small; +} + +.sheet-rolltemplate-stats div.sheet-template-body div.sheet-template-row { + background-color: white; + padding: 1.5%; +} + +.sheet-rolltemplate-stats + div.sheet-template-body + div.sheet-template-row + span.sheet-inlinerollresult { + color: black; + font-size: 1.3em; + font-weight: bold; + cursor: help; + padding: 0 3px 0 3px; +} + +input.resistance-disabled { + background: white; + border: none; + text-align: center; +} + +input.resistance-enabled { + text-align: center; +} + +td.top-row { + border-bottom: 1px solid lightgray; +} + +td.left-col { + border-right: 1px solid lightgray; +} + +input.middle-cell { + font-weight: bold; +} + +.resistance-table input::-webkit-outer-spin-button, +.resistance-table input::-webkit-inner-spin-button { + appearance: textfield; + -webkit-appearance: none; + -moz-appearance: textfield; + margin: 0; +} From 8cf9c524abc2faa00f230b0ac1ebdcf4aa497014 Mon Sep 17 00:00:00 2001 From: Jose Velazquez Date: Sat, 2 Dec 2023 23:24:14 -0500 Subject: [PATCH 3/9] [Call of Cthulhu 5.] Update text color --- Call_of_Cthulhu/Call_of_Cthulhu.css | 1 + 1 file changed, 1 insertion(+) diff --git a/Call_of_Cthulhu/Call_of_Cthulhu.css b/Call_of_Cthulhu/Call_of_Cthulhu.css index 77ea759c8d9f..b7837040a8b2 100644 --- a/Call_of_Cthulhu/Call_of_Cthulhu.css +++ b/Call_of_Cthulhu/Call_of_Cthulhu.css @@ -43,6 +43,7 @@ input:invalid { } .sheet-rolltemplate-stats div.sheet-template-header div { + color: white; font-size: small; } From 8f7c4de2441b04f1d463a6d445c969b38f42cc0c Mon Sep 17 00:00:00 2001 From: Jose Velazquez Date: Sat, 2 Dec 2023 23:33:57 -0500 Subject: [PATCH 4/9] [Call of Cthulhu 5e] Make color stand out more --- Call_of_Cthulhu/Call_of_Cthulhu.css | 1 + 1 file changed, 1 insertion(+) diff --git a/Call_of_Cthulhu/Call_of_Cthulhu.css b/Call_of_Cthulhu/Call_of_Cthulhu.css index b7837040a8b2..6d2d2b5ba452 100644 --- a/Call_of_Cthulhu/Call_of_Cthulhu.css +++ b/Call_of_Cthulhu/Call_of_Cthulhu.css @@ -83,6 +83,7 @@ td.left-col { input.middle-cell { font-weight: bold; + color: black; } .resistance-table input::-webkit-outer-spin-button, From bda3a504265461106dd5b05161d236be4d6bde75 Mon Sep 17 00:00:00 2001 From: Jose Velazquez Date: Sun, 3 Dec 2023 14:52:49 -0500 Subject: [PATCH 5/9] [Call of Cthulhu 5e] adding critical and fumble --- Call_of_Cthulhu/Call_of_Cthulhu.html | 148 ++++++++++++++++----------- 1 file changed, 89 insertions(+), 59 deletions(-) diff --git a/Call_of_Cthulhu/Call_of_Cthulhu.html b/Call_of_Cthulhu/Call_of_Cthulhu.html index d23f4a0bc765..60be6d71b2a7 100644 --- a/Call_of_Cthulhu/Call_of_Cthulhu.html +++ b/Call_of_Cthulhu/Call_of_Cthulhu.html @@ -29,7 +29,7 @@

Resistance Roll - +

@@ -198,7 +198,7 @@

Investigato -

+ @@ -207,7 +207,7 @@

Investigato -

+ @@ -216,7 +216,7 @@

Investigato -

+ @@ -225,7 +225,7 @@

Investigato -

+ @@ -234,7 +234,7 @@

Investigato -

+ @@ -243,7 +243,7 @@

Investigato -

+ @@ -252,7 +252,7 @@

Investigato -

+ @@ -261,7 +261,7 @@

Investigato -

+ @@ -270,7 +270,7 @@

Investigato -

+ @@ -279,7 +279,7 @@

Investigato -

+ @@ -288,7 +288,7 @@

Investigato -

+ @@ -297,7 +297,7 @@

Investigato -

+ @@ -306,7 +306,7 @@

Investigato -

+ @@ -315,7 +315,7 @@

Investigato -

+ @@ -324,7 +324,7 @@

Investigato -

+ @@ -333,7 +333,7 @@

Investigato -

+ @@ -342,7 +342,7 @@

Investigato -

+ @@ -351,7 +351,7 @@

Investigato -

+ @@ -360,7 +360,7 @@

Investigato -

+ @@ -369,7 +369,7 @@

Investigato -

+ @@ -378,7 +378,7 @@

Investigato -

+
@@ -391,7 +391,7 @@

Investigato -

@@ -587,7 +587,7 @@

Investigato -

From 4db83465c85f479270d511ab636c04740dcd351f Mon Sep 17 00:00:00 2001 From: Jose Velazquez Date: Sun, 3 Dec 2023 20:26:51 -0500 Subject: [PATCH 6/9] [Call of Cthulhu 5e] Make repeating section match headers better --- Call_of_Cthulhu/Call_of_Cthulhu.html | 55 ++++++++++++++-------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/Call_of_Cthulhu/Call_of_Cthulhu.html b/Call_of_Cthulhu/Call_of_Cthulhu.html index 60be6d71b2a7..c71dadfc9999 100644 --- a/Call_of_Cthulhu/Call_of_Cthulhu.html +++ b/Call_of_Cthulhu/Call_of_Cthulhu.html @@ -722,8 +722,7 @@

Hand-To-Han

- +
@@ -158,7 +158,7 @@

Magic Points

-

Stable Sanity
+
@@ -171,7 +171,7 @@

Magic Point

Hit Points

-

Stable Magic Points
+
Stable Hit Points