diff --git a/vampire-v5/README.md b/vampire-v5/README.md index cef528b31c..84edc8448e 100644 --- a/vampire-v5/README.md +++ b/vampire-v5/README.md @@ -4,7 +4,7 @@ Character sheet for Vampire The Maquerade, 5th Edition (v1.0) Author: Momtahan K. | UserID: 117780 Design: Martinez A. | UserID: 143652 Design Contributor: Obi | UserID: 95940 -Kudos to: Andreas J. (UserID: 1223200), Matt Zaldivar, Brian Shields, Benjamin Bandelow, for their stirling work which provided a basis for this sheet, and espcially to Konrad J. (UserID: 77736), who's Hero Quest Dice Roller has been invaluable. Special thanks to Beta testers Chros G.(326614) and Jordan L.(46186). Many thanks to BigWhoop (UserID: 2124413) for his work on the first version of Obi's sheet. +Kudos to: Andreas J. (UserID: 1223200), Matt Zaldivar, Brian Shields, Benjamin Bandelow, for their stirling work which provided a basis for this sheet, and espcially to Konrad J. (UserID: 77736), who's Hero Quest Dice Roller has been invaluable. Special thanks to Beta testers Chros G.(326614) and Jordan L.(46186). Many thanks to BigWhoop (UserID: 2124413) for his work on the first version of Obi's sheet. Massive thanks to Barry Snyder for helping us with API-to-Non-API Toggling through explination and use of his code examples. A very special thank to https://game-icons.net The below icons were used and are licensed under a Creative Commons Attribution 3.0 Unported License. Water fountain icon - by Delapouite under CC BY 3.0 Oppression icon - by Lorc under CC BY 3.0 Prayer icon - by Lorc under CC BY 3.0 Ent Mouth icon - by Lorc under CC BY 3.0 Spattericon - by Lorc under CC BY 3.0 Wolverine claws icon - by Lorc under CC BY 3.0 Half heart icon - by Lorc under CC BY 3.0 Embraced energy iconby Lorc under CC BY 3.0 diff --git a/vampire-v5/VTM Dice Mechanics v1.0.js b/vampire-v5/VTM Dice Mechanics v1.0.js index 8236267a44..68fa6c3302 100644 --- a/vampire-v5/VTM Dice Mechanics v1.0.js +++ b/vampire-v5/VTM Dice Mechanics v1.0.js @@ -476,7 +476,7 @@ var processScriptTabs = function (argv, who, dc) { sendChat("The best thing about Hero Quest!", "https://www.youtube.com/watch?v=Cx8sl2uC46A"); break; case "lupine": - sendChat("Some players (and character sheet designers)...", "https://youtu.be/ERDUbAv8Qz0?t=44s"); + //sendChat("Some players (and character sheet designers)...", ""); break; default: processVampireDiceScript(argv[0], dc); diff --git a/vampire-v5/preview.png b/vampire-v5/preview.png new file mode 100644 index 0000000000..4cf6e9f5f1 Binary files /dev/null and b/vampire-v5/preview.png differ diff --git a/vampire-v5/sheet.json b/vampire-v5/sheet.json index 6801ce7524..ea371dee0a 100644 --- a/vampire-v5/sheet.json +++ b/vampire-v5/sheet.json @@ -4,6 +4,6 @@ "authors": "Momtahan K., Martinez A., Obi", "roll20userid":"117780, 143652, 95940", "preview": "CWOD-VTM5e.png", - "instructions": "See README.md. To use the sheet, the different buttons next to each Attribute enables you to provide a modifier. Each button is coded (to the best of my knowledge) to match VTM5e rules. The MISC section provides an area for custom rolls, this is useful for Discipline rolls that you will have to remake. As you can't select the disciplin in the Trait 2 combo box, please use the second set of custom rolls and type the value in manually. On pressing the COTERIE button a second set of headings will appear. It is recommended that the ST has one character sheet shared with all players, so they may all type the coterie details into a single sheet. By default Chrome (and likely Firefox) will stop the custom font, at the right of the address bar in your browser is a shield. If you click the shield and select Load unsafe scripts, this will provide access to the custom font. NOTICE: This sheet is usable without the Compainion API for those who do not have access to this. All rolls will need to be set up in the 'Rolls' part of the sheet under 'no-script rolls'." + "instructions": "See README.md. To use the sheet, the different buttons next to each Attribute enables you to provide a modifier. The Check-box toggle at the top of the sheet allows for toggling between Standard In-line Rolls and Rolling with the API. Each sheet is set to roll with the Inline, non-API rolls by default. API rolling requires a Pro-level subscription. Each button is coded (to the best of my knowledge) to match VTM5e rules. The ROLLs section provides an area for custom rolls, this is useful for Discipline rolls that you will have to remake. As you can't select the disciplin in the Trait 2 combo box, please use the second set of custom rolls and type the value in manually. On pressing the COTERIE button a second set of headings will appear. It is recommended that the ST has one character sheet shared with all players, so they may all type the coterie details into a single sheet. By default Chrome (and likely Firefox) will stop the custom font, at the right of the address bar in your browser is a shield. If you click the shield and select Load unsafe scripts, this will provide access to the custom font." } diff --git a/vampire-v5/vampirev5.css b/vampire-v5/vampirev5.css index 65e180aa9a..dd92522e2f 100644 --- a/vampire-v5/vampirev5.css +++ b/vampire-v5/vampirev5.css @@ -665,4 +665,18 @@ input.sheet-tab7 { margin-bottom: 5px; margin-top: 2px; font-family: 'Cinzel',"Courier New", Courier, monospace; -} \ No newline at end of file +} + +/* - diebutton-simple = inline die roll; diebutton-api = call to the api - */ +button.sheet-diebutton-simple { /* Simple Roll is the default roller */ + +} +button.sheet-diebutton-api { + display: none; /* - Note: Simple Roll is the default and will be visible - */ +} + +/* - for the toggle to work on tables you need the div table - */ +input.sheet-roll-useDice:unchecked ~ div table button.sheet-diebutton-api { display: none; } +input.sheet-roll-useDice:unchecked ~ div table button.sheet-diebutton-simple { display: inline-block; } +input.sheet-roll-useDice:checked ~ div table button.sheet-diebutton-simple { display: none; } +input.sheet-roll-useDice:checked ~ div table button.sheet-diebutton-api { display: inline-block; } diff --git a/vampire-v5/vampirev5.html b/vampire-v5/vampirev5.html index 7ed4f30627..72b35b2e15 100644 --- a/vampire-v5/vampirev5.html +++ b/vampire-v5/vampirev5.html @@ -5,7 +5,9 @@ Design: Martinez A. | UserID: 143652 Design Contributor: Obi | UserID: 95940 Kudos to: Andreas J. (UserID: 1223200), Matt Zaldivar, Brian Shields, Benjamin Bandelow and espcially to Konrad J. (UserID: 77736), who's Hero Quest Dice Roller has been invaluable. Special thanks to Beta testers Chros G.(326614) - and Jordan L.(46186) An extra special shout out the Roll20 and its community Community, who's patience and wisdom helped make this possible. Many thanks to BigWhoop (UserID: 2124413) for his work on the first version of Obi's sheet. + and Jordan L.(46186) An extra special shout out the Roll20 and its community Community, who's patience and wisdom helped make this possible. Many thanks to BigWhoop (UserID: 2124413) for his work on the first version of Obi's sheet. + Massive thanks to Barry Snyder for helping us with API-to-Non-API Toggling through explination and use of his code examples. + Installation instructions This character sheet comes in 4 parts. This html code, the CSS file, a "translation.json" file and the VTM Dice Mechanics.js file @@ -41,6 +43,8 @@ --> + + @@ -58,12 +62,25 @@
-
+
+ +

Options:

+

Enable API Scripts (ST Pro-account only):

+ + + + + +
+
+
+
@@ -281,6 +298,8 @@
+ + @@ -459,7 +496,9 @@ - + + @@ -480,7 +519,9 @@ - + + @@ -522,7 +565,9 @@ - + + @@ -953,17 +1002,21 @@ @@ -999,7 +1052,10 @@ - + + @@ -1061,7 +1124,9 @@ - + + @@ -1123,7 +1192,9 @@ - + + @@ -1185,7 +1260,9 @@ - + + @@ -1247,7 +1328,9 @@ - + + @@ -1309,7 +1396,9 @@ - + + @@ -1371,7 +1464,9 @@ - + + @@ -1433,7 +1532,9 @@ - + + @@ -1495,7 +1600,9 @@ - + + @@ -1608,7 +1719,9 @@ - + + - + +

Powers

@@ -1816,19 +1932,25 @@
@@ -2243,7 +2365,10 @@ - + + @@ -2370,7 +2495,9 @@ @@ -2387,7 +2514,8 @@ /> @@ -2468,9 +2596,9 @@

Type:

Damage Value:

- +

Notes:

- + @@ -2479,7 +2607,7 @@

Type:

Armor Value:

- +

Notes:

@@ -2608,17 +2736,18 @@
- - - +
+
@@ -397,7 +416,12 @@ - + + @@ -417,7 +441,11 @@ - + + @@ -437,7 +465,16 @@ - + + + + + + +
@@ -500,7 +541,9 @@ - + +
@@ -542,7 +587,9 @@ - + + @@ -562,7 +609,9 @@ - + +
- - - - - - + + + + + + + +
- - + +
@@ -1019,8 +1075,12 @@ - + +

Academics

@@ -1039,7 +1099,10 @@ - + +
@@ -1081,7 +1146,9 @@ - + + @@ -1101,7 +1168,9 @@ - + +
@@ -1143,7 +1214,9 @@ - + + @@ -1163,7 +1236,9 @@ - + +
@@ -1205,7 +1282,9 @@ - + + @@ -1225,7 +1304,9 @@ - + +
@@ -1267,7 +1350,9 @@ - + + @@ -1287,7 +1372,9 @@ - + +
@@ -1329,7 +1418,9 @@ - + + @@ -1349,7 +1440,9 @@ - + +
@@ -1391,7 +1486,9 @@ - + + @@ -1411,7 +1508,9 @@ - + +
@@ -1453,7 +1554,9 @@ - + + @@ -1473,7 +1576,9 @@ - + +
@@ -1515,7 +1622,9 @@ - + + @@ -1535,7 +1644,9 @@ - + +

Rouse

- + +

Frenzy

- + +

Remorse

- + +
-

True Age

+

True + Age +

-

Date of Death

+

Date + of Death

@@ -2626,32 +2755,32 @@
- -

No-Script ROLLS

- - + +

NO API SCRIPT CUSTOM ROLLS

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

Name

-

Trait 1

-

Trait 2

-

Hunger

-

Blood Potency

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

Name

+

Trait 1

+

Trait 2

+

Hunger

+

Blood Potency

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

Name

+

Trait 1

+

Value

+

Trait 2

+

Value

+

Hunger

+

Blood Potency

+
+
+ +
+
+
+ + + + + + + +
@@ -2749,7 +2920,7 @@ Kudos to: Andreas J. (UserID: 1223200), Matt Zaldivar, Brian Shields, Benjamin Bandelow and espcially to Konrad J. (UserID: 77736), who's Hero Quest Dice Roller has been invaluable. Special thanks to Beta testers Chros G.(326614) and Jordan L.(46186). Many thanks to BigWhoop (UserID: 2124413) for his work on the first version of - Obi's sheet. + Obi's sheet. Massive thanks to Barry Snyder for helping us with API-to-Non-API Toggling through explination and use of his code examples. @@ -2757,11 +2928,12 @@   - A very special thank to https://game-icons.net The below icons were used and are licensed under a Creative - Commons Attribution 3.0 Unported License. Water fountain icon - by Delapouite under CC BY 3.0 Oppression - icon - by Lorc under CC BY 3.0 Prayer icon - by Lorc under CC BY 3.0 Ent Mouth icon - by Lorc under CC - BY 3.0 Spatter icon - by Lorc under CC BY 3.0 Wolverine claws icon - by Lorc under CC BY 3.0 Half heart - icon - by Lorc under CC BY 3.0 Embraced energy iconby Lorc under CC BY 3.0 + A very special thank to https://game-icons.net + The below icons were used and are licensed under a Creative Commons Attribution 3.0 Unported License. + Water fountain icon - by Delapouite under CC BY 3.0 Oppression icon - by Lorc under CC BY 3.0 Prayer + icon - by Lorc under CC BY 3.0 Ent Mouth icon - by Lorc under CC BY 3.0 Spatter icon - by Lorc under + CC BY 3.0 Wolverine claws icon - by Lorc under CC BY 3.0 Half heart icon - by Lorc under CC BY 3.0 Embraced + energy iconby Lorc under CC BY 3.0 @@ -2834,7 +3006,22 @@ {{Normal}} - {{/Normal}} {{#Hunger}} + {{/Normal}} {{#NormalSuccesses}} + + Normal Successes + + {{#NormalDice}} + + (Dice rolled: {{NormalDice}}) + + {{/NormalDice}} + +
+ + + {{NormalSuccesses}} + + {{/NormalSuccesses}}{{#Hunger}} Hunger @@ -2844,7 +3031,22 @@ {{Hunger}} - {{/Hunger}} {{#Successes}} + {{/Hunger}} {{#HungerSuccesses}} + + Hunger Successes + + {{#HungerDice}} + + (Dice rolled: {{HungerDice}}) + + {{/HungerDice}} + +
+ + + {{HungerSuccesses}} + + {{/HungerSuccesses}}{{#Successes}} Successes