diff --git a/CypherSystem/CypherSystem.css b/CypherSystem/CypherSystem.css index 9215267a32..a315183756 100644 --- a/CypherSystem/CypherSystem.css +++ b/CypherSystem/CypherSystem.css @@ -11,22 +11,22 @@ td, th{ box-sizing: border-box; } -span.sheet-smallspan{ - font-size:11px; - color: #888888; - text-align:left; -} input[type=radio].sheet-styleCypher, input[type=radio].sheet-styleNumenera, input[type=radio].sheet-styleTheStrange, -input[type=radio].sheet-styleNpc{ - margin-left: 10px; - margin-right: 2px; +input[type=radio].sheet-styleNpc, +input[type=radio].sheet-actionRoll, +input[type=radio].sheet-macroRoll{ + margin-left: 2px; + margin-right: 1px; + display: inline-block; } input[type=radio].sheet-styleCypher + span, input[type=radio].sheet-styleNumenera + span, input[type=radio].sheet-styleTheStrange + span, -input[type=radio].sheet-styleNpc + span{ +input[type=radio].sheet-styleNpc + span, +input[type=radio].sheet-actionRoll + span, +input[type=radio].sheet-macroRoll + span{ font-size:11px; color: #888888; text-align:left; @@ -55,7 +55,19 @@ input[type=radio].sheet-styleTheStrange:checked ~ .sheet-npc{ display: none; } input[type=radio].sheet-styleNpc:checked ~ .sheet-npc{ - display: inherit; + display: inherit; +} +button[type=roll].sheet-btDesc{ + font-family: inherit; + color: inherit; + font-size:inherit; + height:20px; + line-height: 11px; + vertical-align: middle; + padding:none; +} +button[type=roll].sheet-btDesc:before{ + content:none; } button[type=roll].sheet-basicbt { padding: 2px 0px 0px 1px; @@ -80,6 +92,70 @@ button[type=roll].sheet-basicbt:hover{ border-color:#22428F; font-weight: bold; } +button[type=roll].sheet-actionbt { + 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-width: 1px; + border-style: solid; + border-color: rgba(34,66,143,0.5); + border-radius: 10px; +} +button[type=roll].sheet-actionbt:hover{ + border-width: 2px; + border-color:#22428F; + font-weight: bold; +} +button[type=roll].sheet-macrobt { + 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-width: 1px; + border-style: solid; + border-color: rgba(34,66,143,0.5); + border-radius: 3px; +} +button[type=roll].sheet-macrobt:hover{ + border-width: 2px; + border-color:#22428F; + font-weight: bold; +} +input[type=radio].sheet-macroRoll:checked ~ div.sheet-main button[type=roll].sheet-actionbt{ + display: none; +} +input[type=radio].sheet-actionRoll:checked ~ div.sheet-main button[type=roll].sheet-actionbt{ + display: inline-block; +} +input[type=radio].sheet-macroRoll:checked ~ div.sheet-main button[type=roll].sheet-macrobt{ + display: inline-block; +} +input[type=radio].sheet-actionRoll:checked ~ div.sheet-main button[type=roll].sheet-macrobt{ + display: none; +} +input[type=radio].sheet-actionRoll:checked ~ div.sheet-main div.sheet-divaction{ + display: inline-block; +} +input[type=radio].sheet-macroRoll:checked ~ div.sheet-main div.sheet-divaction{ + display: none; +} input[type=radio].sheet-styleNumenera:checked ~ div.sheet-main button[type=roll].sheet-basicbt { padding: 2px 0px 0px 1px; margin: 0px 0px 0px 0px; @@ -104,6 +180,54 @@ input[type=radio].sheet-styleNumenera:checked ~ div.sheet-main button[type=roll] border-color:#53628A; font-weight: bold; } +input[type=radio].sheet-styleNumenera:checked ~ div.sheet-main button[type=roll].sheet-actionbt { + 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: bold; + color: #A09C90; + border-width: 1px; + border-style: solid; + border-color: #A09C90; + border-radius: 10px; +} +input[type=radio].sheet-styleNumenera:checked ~ div.sheet-main button[type=roll].sheet-actionbt:hover{ + border-width: 2px; + color: #53628A; + border-color:#53628A; + font-weight: bold; +} +input[type=radio].sheet-styleNumenera:checked ~ div.sheet-main button[type=roll].sheet-macrobt { + 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: bold; + color: #A09C90; + border-width: 1px; + border-style: solid; + border-color: #A09C90; + border-radius: 3px; +} +input[type=radio].sheet-styleNumenera:checked ~ div.sheet-main button[type=roll].sheet-macrobt:hover{ + border-width: 2px; + color: #53628A; + border-color:#53628A; + font-weight: bold; +} input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main button[type=roll].sheet-basicbt { padding: 2px 0px 0px 1px; margin: 0px 0px 0px 0px; @@ -128,6 +252,54 @@ input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main button[type=rol border-color:#050E29; font-weight: bold; } +input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main button[type=roll].sheet-actionbt { + 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: #050E29; + border-width: 1px; + border-style: solid; + border-color: rgba(5,14,41,0.5); + border-radius: 10px; +} +input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main button[type=roll].sheet-actionbt:hover{ + border-width: 2px; + color: #050E29; + border-color:#050E29; + font-weight: bold; +} +input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main button[type=roll].sheet-macrobt { + 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: #050E29; + border-width: 1px; + border-style: solid; + border-color: rgba(5,14,41,0.5); + border-radius: 3px; +} +input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main button[type=roll].sheet-macrobt:hover{ + border-width: 2px; + color: #050E29; + border-color:#050E29; + font-weight: bold; +} button[type=roll].sheet-apibt{ padding: 2px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -534,6 +706,38 @@ input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main img.sheet-game border-bottom-left-radius:0px; margin-bottom: 6px; } +.sheet-rolltemplate-cyphDesc table { + width: 189px; + padding: 2px; + border-top-left-radius:6px; + border-top-right-radius:6px; + border-bottom-right-radius:0px; + border-bottom-left-radius:0px; + border: none; + background-color: #FAF4FA; + border-bottom: 1px solid #702082; +} +.sheet-rolltemplate-cyphDesc tr { + border-left: 1px solid #702082; + border-right: 1px solid #702082; +} +.sheet-rolltemplate-cyphDesc th { + background-color: #702082; + color : #FBFCFC; + line-height: 1.4em; + font-size: 1.2em; + text-align: center; + font-family: "Times New Roman", Times, serif; + font-variant: small-caps; + border-top-left-radius:6px; + border-top-right-radius:6px; + border-bottom-right-radius:0px; + border-bottom-left-radius:0px; + margin-bottom: 6px; +} +.sheet-rolltemplate-cyphDesc span { + font-weight: bold; +} .sheet-rolltemplate-cyphBasicRoll table { width: 189px; padding: 2px; @@ -548,7 +752,8 @@ input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main img.sheet-game .sheet-rolltemplate-cyphBasicRoll tr:first-child , .sheet-rolltemplate-cyphRecovery tr:first-child , .sheet-rolltemplate-cyphInit tr:first-child -, .sheet-rolltemplate-cyphMsg tr:first-child { +, .sheet-rolltemplate-cyphMsg tr:first-child +, .sheet-rolltemplate-cyphDesc tr:first-child { border:none; } .sheet-rolltemplate-cyphBasicRoll tr { @@ -572,24 +777,14 @@ input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main img.sheet-game .sheet-rolltemplate-cyphBasicRoll td , .sheet-rolltemplate-cyphRecovery td , .sheet-rolltemplate-cyphInit td -,.sheet-rolltemplate-cyphMsg td { +, .sheet-rolltemplate-cyphMsg td +, .sheet-rolltemplate-cyphDesc td{ padding-left: 5px; font-family: "Verdana"; font-size: 0.9em; } -.sheet-rolltemplate-cyphBasicRoll hr -, .sheet-rolltemplate-cyphRecovery hr -, .sheet-rolltemplate-cyphInit hr -,.sheet-rolltemplate-cyphMsg hr { - margin: 4px 0 4px 0; - border: 0; - height: 1px; - background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); - background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); - background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); - background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); -} -.sheet-rolltemplate-cyphMsg .inlinerollresult { +.sheet-rolltemplate-cyphMsg .inlinerollresult +,.sheet-rolltemplate-cyphDesc .inlinerollresult{ font-weight:normal; background-color: transparent; border: none; @@ -605,3 +800,15 @@ input[type=radio].sheet-styleTheStrange:checked ~ div.sheet-main img.sheet-game font-size: 1em; border: 1px solid LightGray; } +.sheet-rolltemplate-cyphBasicRoll hr +, .sheet-rolltemplate-cyphRecovery hr +, .sheet-rolltemplate-cyphInit hr +,.sheet-rolltemplate-cyphMsg hr { + margin: 4px 0 4px 0; + border: 0; + height: 1px; + background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); + background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); + background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); + background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(5,109,161,1.75), rgba(0,0,0,0)); +} diff --git a/CypherSystem/CypherSystem.htm b/CypherSystem/CypherSystem.htm index 288912542c..17e4697113 100644 --- a/CypherSystem/CypherSystem.htm +++ b/CypherSystem/CypherSystem.htm @@ -1,11 +1,16 @@ -Version 1.3 (2015-10-25)    -    Style: +
Style:
Cypher System Numenéra The Strange NPC +
- Rolls type:
+Action Section +Roll Queries +
- Version 1.4 (2015-11-21)
+ @@ -14,6 +19,21 @@ + + + + + + + + + + + + + + +
@@ -89,27 +109,36 @@
MIGHT
- + name="roll_actionMightCheck"> +
@@ -143,7 +172,8 @@ -
+
+
SPEED
- + name="roll_actionSpeedCheck"> +
INTELLECT
- + name="roll_actionIntellectCheck"> +
@@ -258,7 +288,8 @@
- + +
@@ -336,7 +367,7 @@
SPECIAL ABILITIES
- Name  + - + name="roll_actionMightSkillCheck"> +
@@ -393,9 +427,12 @@ - + name="roll_actionInitCheck"> +
@@ -406,9 +443,12 @@ - + name="roll_actionSpeedSkillCheck"> +
@@ -427,9 +467,12 @@ - + name="roll_actionIntellectCheck"> + @@ -556,7 +599,7 @@
- Name  + Lvl  @@ -574,9 +617,9 @@
ARTIFACTS
- Name + -   Level + Lvl 
@@ -1055,3 +1098,19 @@ {{/nextAction}} + + + + + {{#level}} + + {{/level}} + {{#depletion}} + + {{/depletion}} + {{#use}} + + {{/use}} + +
{{name}}
Type{{type}}
Level{{level}}
Depletion{{depletion}}
Use{{use}}
{{description}}
+
diff --git a/CypherSystem/ReadMe.md b/CypherSystem/ReadMe.md index 7d11d1bd11..884ccdcf58 100644 --- a/CypherSystem/ReadMe.md +++ b/CypherSystem/ReadMe.md @@ -3,7 +3,7 @@ Character sheet, with integrated rolls and optional API script, for the Cypher S It can look like and be used as a sheet for _Numenéra_ (except the armor stat cost, as per the CSR rule) or _The Strange_ (except the armor stat cost thing also, and the recursion management which requires several characters/sheets, one per recursion). # Current version: -Version 1.3 (October 25th, 2015). +Version 1.4 (November 21st, 2015). * Screenshot [Generic Cypher System style](CypherSystem.png) * Screenshot [Numenera style](CypherSystem_style_Numenera.png) @@ -42,6 +42,12 @@ Set up the API script: # Release Notes +##Release 1.4 (November 21st, 2015) +[See detailed post on the Roll20 forum](https://app.roll20.net/forum/post/2357046/cypher-system-core-rule-book-sheet/?pageforid=2645489#post-2645489) + +* New setting to choose the roll parameters type: via the Action section or Roll Queries +* New button to show Special Abilitie, Cyphers, or Artefacts details in the chat + ##Release 1.3 (October 25th, 2015) * Corrected roll with difficulty and inability: now compute the total difficulty @@ -50,7 +56,7 @@ Set up the API script: * Removed the word "target" from the HTML and template roll code to avoid confusion with the Roll20 keyword "Target", allowing to create custom macros ##Release 1.2 (October 4th, 2015) -The API script must be updated in version 1.2. +The optional [API script](https://github.com/Roll20/roll20-api-scripts/blob/master/CypherSystemSheet/cyphersystemsheet.js) must be updated in version 1.2. * It's now possible to change the style/look of the PC sheet (to the ones of the generic Cypher System, Numenéra or The Strange), or turn it into an NPC sheet. * By popular demand, the stat/skill roll template has been unified and only rolls one d20 dice (for the 3D dice users out there), whatever is the "Difficulty" roll parameter from the "Action" section. If the difficulty parameter has been set to 0, the beaten difficulty is no longer calculated (due to Roll20 limitations), but the raw d20 dice is shown, as the special natural rolls (1 or 17+), and the steps modifiying the difficulty are displayed (and summed). @@ -61,7 +67,7 @@ The API script must be updated in version 1.2. 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. +The optional [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. diff --git a/CypherSystem/sheet.json b/CypherSystem/sheet.json index 31dc89ca0f..6bfd1be960 100644 --- a/CypherSystem/sheet.json +++ b/CypherSystem/sheet.json @@ -4,5 +4,5 @@ "authors": "Natha", "roll20userid": "75857", "preview": "CypherSystem.png", - "instructions": "v1.3 (2015-10-25) 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.4 (2015-11-21) 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." }