diff --git a/Stargate-RPG/Readme.md b/Stargate-RPG/Readme.md index f0e91834fc..e958fd01f3 100644 --- a/Stargate-RPG/Readme.md +++ b/Stargate-RPG/Readme.md @@ -4,7 +4,7 @@ Offical Roll20 Character sheet for "Stargate RPG" by Wyvern Gaming (Full release ### Changelog -**v.1.4** +**v.1.41** * Roll buttons & hover highlight made more distinct * roll templates updated, now mentions character name, works better for descriptions @@ -13,6 +13,12 @@ Offical Roll20 Character sheet for "Stargate RPG" by Wyvern Gaming (Full release * Skills set as default to zero * Default speed set to 6m, deafult HP removed. * Important fields that need to be filled out, are higlighted in red while empty. +* Settings-page created +* toggle for whispering rolls to GM added +* toggle for showing Character name in rolls created +* Old "Ammo"-section moved to Settings-page +* three custom rolls options added to settings page, with examples +* max/unspent MP added Stat Additions/Removals: @@ -22,7 +28,7 @@ Stat Additions/Removals: * (MP)Mission Points added * Bulk tracker * Small Inventory section on first page -* Ammo trackers & `ac_extra` removed +* `ac_extra` removed **v.1.2 (2020-07-28)** diff --git a/Stargate-RPG/sheet.json b/Stargate-RPG/sheet.json index 083eb5dfb0..6523a0573f 100644 --- a/Stargate-RPG/sheet.json +++ b/Stargate-RPG/sheet.json @@ -4,5 +4,46 @@ "authors": "Andreas J.", "roll20userid": "1223200", "preview": "stargate_preview.png", - "instructions": "Offical character sheet for the 'Stargate RPG' by Wyvern Gaming.\n* [Character Sheet Documentation](https://wiki.roll20.net/Stargate)" -} \ No newline at end of file + "instructions": "Official character sheet for the 'Stargate RPG' by Wyvern Gaming. v.1.4\n* [Character Sheet Documentation](https://wiki.roll20.net/Stargate)", + "useroptions": [ + { + "attribute": "show_name", + "displayname": "Show name in rolls? ", + "type": "select", + "options": [ + "Yes|{{subtitle=@{character_name} }}", + "No| " + ], + "default": "{{subtitle=@{character_name} }}", + "description": "Determine if newly created characters displayed their names in rolls by default. GMs can find useful to hide the names of NPCs in some situations. This option can be be later changed on individual sheets from the 'Settings-page.'" + }, + { + "attribute": "whisper", + "displayname": "Whisper Rolls to GM?", + "type": "checkbox", + "value": "/w gm", + "description": "Determine if newly created characters only shows their rolls to the GM by default. Players and GMs can sometime find it useful to hide a roll from the other players if a secret roll needs to be made. This option can be be later changed on individual sheets from the 'Settings-page.'" + }, + { + "attribute": "campaign", + "displayname": "Camapign Name: ", + "type": "text", + "value": "", + "description": "Writes the campaign name on newly created character sheets." + }, + { + "attribute": "td", + "displayname": "Tension die?", + "type": "select", + "options": [ + "d4|d4", + "d6|d6", + "d8|d8", + "d10|d10", + "d12|d12" + ], + "default": "d6", + "description": "Determine what the Tension Die is for newly created character." + } + ] +} diff --git a/Stargate-RPG/stargate.css b/Stargate-RPG/stargate.css index ca4304325c..fbb338055d 100644 --- a/Stargate-RPG/stargate.css +++ b/Stargate-RPG/stargate.css @@ -129,14 +129,14 @@ input[type="number"].sheet-stat{ font-weight: bold; } -/* highlights empty fields with light gray */ +/* highlights empty fields with light pink, if the fields have placeholder text */ textarea:placeholder-shown, input[type="text"]:placeholder-shown, input[type="number"]:placeholder-shown{ background-color: #EAC9D1; } -/* higlight selected input */ +/* higlight selected input with gray*/ textarea:focus, input[type="text"]:focus, input[type="number"]:focus{ @@ -188,7 +188,7 @@ button[type="roll"].sheet-txt-btn:hover{ .sheet-version{ float: left; - margin-top: -85px; + margin-top: -114px; width: 240px; margin-left: 550px; display: flex; @@ -232,20 +232,7 @@ button[type="roll"].sheet-txt-btn:hover{ } -/* Tabs */ -.sheet-character, -.sheet-journal, -.sheet-config{ - display: none; -} - -/* show the selected tab */ -.sheet-tabstoggle[value="character"] ~ div.sheet-character, -.sheet-tabstoggle[value="journal"] ~ div.sheet-journal, -.sheet-tabstoggle[value="configuration"] ~ div.sheet-config{ - display: grid; -} /* ------------ PAGES ---------- */ @@ -268,7 +255,7 @@ div.sheet-page1 { background-size: 700px 700px; background-position: center; background-color: black; - margin-top: -52px; + margin-top: -84px; } div.sheet-page2 { @@ -285,15 +272,27 @@ div.sheet-page2 { background-size: 700px 700px; background-position: center; background-color: black; - margin-top: -52px; + margin-top: -84px; grid-gap: 10px; padding: 5px; } -div.sheet-config { +div.sheet-page3 { display: grid; - width: 50px; - height: 1000px; + grid-template-columns: 1fr 1fr; + grid-template-rows: 1fr 1fr; + grid-template-areas:"settings changelog" + "ammo changelog"; + width: 840px; + height: 990px; + background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Stargate-RPG/images/bg.png); + background-repeat: no-repeat; + background-size: 700px 700px; + background-position: center; + background-color: black; + margin-top: -84px; + grid-gap: 10px; + padding: 5px; } /* ------------ Section Specific ---------- */ @@ -611,26 +610,6 @@ div.sheet-inventory textarea{ margin-bottom: 0px; } -/* ammo SECTION */ - -div.sheet-ammo.sheet-grid{ - grid-area:ammo; - display: grid; - grid-gap: 8px; - grid-template-columns: 1fr 1fr; - grid-template-rows: 1fr 1fr; - padding: 5px 20px 5px 0px; -} - -div.sheet-ammo label{ - text-align: center; - padding: 0px 0px 5px 0px; -} - -div.sheet-ammo div{ - margin: 7px 1px 7px 1px; -} - /* attacks SECTION */ @@ -647,7 +626,7 @@ div.sheet-attacks label{ } div.sheet-attacks .sheet-name{ - padding-left: 65px; + padding-left: 42px; } div.sheet-attacks .sheet-dmg-type{ @@ -695,10 +674,70 @@ div.sheet-page2 textarea{ margin-bottom: 0px; } + +/* -------- Page 3 -------- */ + +div.sheet-page3 .sheet-settings label, +div.sheet-page3 .sheet-changelog label{ + font-size: 1.4em; + font-weight: bold; + text-align: center; + width: 250px; +} + + +/* Settings Section */ + +div.sheet-settings{ + grid-area:settings; +} + +div.sheet-settings select{ + width: 60px; +} + +div.sheet-settings div{ + padding: 10px; +} + +div.sheet-settings span{ + font-size: 1.3em; + margin-right: 10px; +} + +/* Changelog Section */ + +div.sheet-changelog{ + grid-area:changelog; +} + +/* ammo SECTION */ + +div.sheet-ammo.sheet-grid{ + grid-area:ammo; + display: grid; + grid-gap: 8px; + grid-template-columns: 1fr 1fr; + grid-template-rows: 1fr 1fr; + padding: 5px 20px 5px 0px; +} + +div.sheet-ammo label{ + text-align: center; + padding: 0px 0px 5px 0px; +} + +div.sheet-ammo div{ + margin: 7px 1px 7px 1px; +} + + + /* ------------ Tabs ---------- */ input.sheet-tab1:checked ~ div.sheet-tab1, -input.sheet-tab2:checked ~ div.sheet-tab2{ +input.sheet-tab2:checked ~ div.sheet-tab2, +input.sheet-tab3:checked ~ div.sheet-tab3{ display: grid; } @@ -742,10 +781,35 @@ input.sheet-tab2 + span::before{ left: 263px; } + +input.sheet-tab3 + span::before{ + left: 419px; +} + div.sheet-tab-content{ display: none; } + +/* Tabs */ + +/* +.sheet-character, +.sheet-journal, +.sheet-config{ + display: none; +} + +/* show the selected tab */ +/* +.sheet-tabstoggle[value="character"] ~ div.sheet-character, +.sheet-tabstoggle[value="journal"] ~ div.sheet-journal, +.sheet-tabstoggle[value="configuration"] ~ div.sheet-config{ + display: grid; +} +*/ + + /*------------------------------------*\ #ROLL TEMPLATES \*------------------------------------*/ diff --git a/Stargate-RPG/stargate.html b/Stargate-RPG/stargate.html index c0b0fe0122..3554cbdf3f 100644 --- a/Stargate-RPG/stargate.html +++ b/Stargate-RPG/stargate.html @@ -1,16 +1,8 @@ + Sheet Version: 1.4 - - + @@ -469,18 +442,18 @@