From d0c7a41ddb708df59be38ad41f586adf3d033333 Mon Sep 17 00:00:00 2001 From: NathaTerrien Date: Sun, 27 Sep 2015 00:02:54 +0200 Subject: [PATCH] Cypher System Sheet v1.1: reset action parameters Cypher System Sheet v1.1: Layout changes: larger stat pools and slightly smaller buttons. Addition of 2 API buttons: reset Action parameters, and reset/complete rest of the character. The API script must be updated. --- CypherSystem/CypherSystem.css | 53 ++++++++++++++++++++++++------- CypherSystem/CypherSystem.htm | 60 +++++++++++++++++++++++------------ CypherSystem/ReadMe.md | 25 ++++++++------- CypherSystem/sheet.json | 2 +- 4 files changed, 95 insertions(+), 45 deletions(-) diff --git a/CypherSystem/CypherSystem.css b/CypherSystem/CypherSystem.css index c6960b135e..bb5f9f1b80 100644 --- a/CypherSystem/CypherSystem.css +++ b/CypherSystem/CypherSystem.css @@ -187,20 +187,49 @@ td, th{ box-sizing: border-box; } -button[type="roll"] { - box-sizing: border-box; - padding: 0px; - margin: 0px; - height: 24px; - width: 24px; - text-align: left; +button[type=roll].sheet-basicbt { + padding: 2px 0px 0px 1px; + margin: 0px 0px 0px 0px; + text-shadow: none; + box-shadow: none; + text-align:center; + vertical-align: middle; + line-height: 0px; + height: 20px; + width: 20px; + font-size: 1.2em; + font-weight: normal; color:#22428F; - border: 2px solid rgba(255,255,255,0.5); - border-radius: 12px; - transition: border 2s; + border-width: 2px; + border-style: solid; + border-color: rgba(255,255,255,0.5); + border-radius: 10px; + transition: border 1s; } -button[type="roll"]:hover{ - border: 2px #22428F inset; +button[type=roll].sheet-basicbt:hover{ + border-color:#22428F; + font-weight: bold; +} +button[type=roll].sheet-apibt{ + padding: 2px 0px 0px 0px; + margin: 0px 0px 0px 0px; + text-shadow: none; + box-shadow: none; + text-align:center; + vertical-align: middle; + line-height: 0px; + font-size: 1em; + font-weight: normal; + width:15px; + height: 15px; + color: #6D0100; + border: 1px solid rgba(255,255,255,0.5); + border-radius: 0px 3px 0px 3px; + transition: border 1s; +} +button[type=roll].sheet-apibt:hover{ + border-color: #6D0100; + font-weight: bold; } table{ border-collapse: collapse; diff --git a/CypherSystem/CypherSystem.htm b/CypherSystem/CypherSystem.htm index 0514c152e2..6868e6c7e9 100644 --- a/CypherSystem/CypherSystem.htm +++ b/CypherSystem/CypherSystem.htm @@ -1,5 +1,5 @@ -
+
@@ -73,8 +73,8 @@
MIGHT
- -
@@ -82,8 +82,8 @@
SPEED
- -
@@ -91,8 +91,8 @@
INTELLECT
- -
@@ -133,8 +133,20 @@
- - + + @@ -283,7 +301,7 @@
ACTIONRoll with Stat or Skill button + ACTION +   + + + Roll with Stat or Skill button + t +
@@ -204,13 +216,19 @@ 1D6 + - Special  +
-
Version 1.0 (2015-09-16)
+
Version 1.1 (2015-09-26)
@@ -297,7 +315,7 @@ -
@@ -317,7 +335,7 @@ -
@@ -330,7 +348,7 @@ -
@@ -351,7 +369,7 @@ - @@ -609,7 +627,7 @@ - + {{#rollGreater() bonusToRoll 0}} @@ -661,7 +679,7 @@ {{#rollGreater() difficulty 0}} {{#rollGreater() diceRoll targetRoll}} - + {{#rollWasCrit() diceRoll}} @@ -675,7 +693,7 @@ {{/rollWasCrit() diceRoll}} {{/rollGreater() diceRoll targetRoll}} {{#rollTotal() diceRoll targetRoll}} - + {{#rollWasCrit() diceRoll}} @@ -689,10 +707,10 @@ {{/rollWasCrit() diceRoll}} {{/rollTotal() diceRoll targetRoll}} {{#rollLess() diceRoll targetRoll}} - + {{/rollLess() diceRoll targetRoll}} {{#rollWasFumble() diceRoll}} - + {{/rollWasFumble() diceRoll}} {{#skilled}} @@ -778,7 +796,7 @@ {{#rollWasFumble() diceRollNoDiff}} - + {{/rollWasFumble() diceRollNoDiff}} {{#rollWasCrit() diceRollNoDiff}} diff --git a/CypherSystem/ReadMe.md b/CypherSystem/ReadMe.md index 0f755b54e3..8d2ef33b66 100644 --- a/CypherSystem/ReadMe.md +++ b/CypherSystem/ReadMe.md @@ -1,7 +1,7 @@ Character sheet, with integrated rolls and optional API script, for the Cypher System, from [Monte Cook Games](http://www.montecookgames.com/games/). # Current version: -Version 1.0 (September 2015) : [Screenshot](CypherSystem.png). +Version 1.1 (September 2015) : [Screenshot](CypherSystem.png). # Basic use: @@ -14,22 +14,19 @@ Version 1.0 (September 2015) : [Screenshot](CypherSystem.png). ## How to set up a character and its token 1. Create a new _"Character"_ in the _"Journal"_ -2. Fill at least (even if it's zero): - 1. Might, Speed and Intellect (current, max and edge) and Effort. - 2. Before using the Roll buttons: Difficulty, Cost, Effort (both) and Bonus. - 3. Before using the Recovery button: Recovery bonus. -3. (Optionally) Create/use a token for the character as in this [screenshot](CypherSystem_setup_the_character_token.jpg): +2. Create/use a token for the character as in this [screenshot](CypherSystem_setup_the_character_token.jpg): 1. Make sure it representents the character you've created 2. Assign _"bar1"_ to the _"might"_ attribute 3. Assign _"bar2"_ to the _"speed"_ attribute 4. Assign _"bar3"_ to the _"intellect"_ attribute -4. Select the token -5. Edit the character and click _"Use Selected token"_ as _"Default Token"_ -6. Click _"Save Changes"_ -7. Repeat steps 2 to 7 for every other characters and you're set. +3. Select the token +4. Edit the character and click _"Use Selected token"_ as _"Default Token"_ +5. Click _"Save Changes"_ +6. Repeat steps 1 to 7 for every other characters and you're set. # Advanced use (API scripts and macros): -Set up the API scripts: +Set up the API script: + 1. In the _"details"_ page of the campaign, click on _"API Scripts"_ 2. If you've already added scripts to this campaign, click on _"New Script"_ 3. Name the new script (ex : _"CypherSystem"_) @@ -39,6 +36,12 @@ Set up the API scripts: # Release Notes +##Release 1.1 (September 2015) +Layout changes: larger stat pools and slightly smaller buttons. + +Addition of 2 API buttons: reset Action parameters, and reset/complete rest of the character. +The [API script](https://github.com/Roll20/roll20-api-scripts/blob/master/CypherSystemSheet/cyphersystemsheet.js) must be updated. + ##Release 1.0 (September 2015) Creation of the sheet. Big thanks to the beta testers: llothos, Darcy R., Clay and The Ghost DM! \ No newline at end of file diff --git a/CypherSystem/sheet.json b/CypherSystem/sheet.json index f6427f2dfb..7003411306 100644 --- a/CypherSystem/sheet.json +++ b/CypherSystem/sheet.json @@ -4,5 +4,5 @@ "authors": "Natha", "roll20userid": "75857", "preview": "CypherSystem.png", - "instructions": "v1.0 (2015-09-14) To set up a token that's linked to the character sheet, and optionally for API scripts to enhance rolls, check the README.md file at https://github.com/Roll20/roll20-character-sheets/blob/master/CypherSystem/ReadMe.md." + "instructions": "v1.1 (2015-09-26) To set up a token that's linked to the character sheet, and optionally for API scripts to enhance rolls, check the README.md file at https://github.com/Roll20/roll20-character-sheets/blob/master/CypherSystem/ReadMe.md." } \ No newline at end of file
Initiative Roll
{{finalRoll}}{{finalRoll}}

{{attribute}} Roll
Success: {{diceRoll}}
Success: {{diceRoll}}
Special:
Success: {{diceRoll}}
Success: {{diceRoll}}
Special:
Failure: {{diceRoll}}
Failure: {{diceRoll}}
GM Intrusion
GM Intrusion
Difficulty{{difficulty}} ({{target}})
GM Intrusion
GM Intrusion
Special Roll! (17+)