diff --git a/GURPS/gurps.css b/GURPS/gurps.css index 35e01dcb70b..9365d841c19 100644 --- a/GURPS/gurps.css +++ b/GURPS/gurps.css @@ -788,22 +788,6 @@ input { } /* ===== CUSTOM TABS ===== */ -input.sheet-tab1:not(:checked) ~ .sheet-tab1, -input.sheet-tab-misc:not(:checked) ~ .sheet-tab-misc, -input.sheet-tab2:not(:checked) ~ .sheet-tab2, -input.sheet-tab3:not(:checked) ~ .sheet-tab3, -input.sheet-tab4:not(:checked) ~ .sheet-tab4, -input.sheet-tab5:not(:checked) ~ .sheet-tab5, -input.sheet-tab6:not(:checked) ~ .sheet-tab6, -input.sheet-tab7:not(:checked) ~ .sheet-tab7, -input.sheet-tab8:not(:checked) ~ .sheet-tab8, -input.sheet-tab0:not(:checked) ~ .sheet-tab0 { - display: none !important; -} - -.sheet-tab7 { - background: var(--row-bg); -} input.sheet-tab { position: relative; @@ -813,11 +797,13 @@ input.sheet-tab { opacity: 0; z-index: 1; border: none; + display: none; } + input.sheet-tab + span { position: relative; - display: inline-block !important; + display: none; min-width: 70px; height: 23px; margin: 0 0 -3px -80px; @@ -835,6 +821,47 @@ input.sheet-tab + span { line-height: 23px; } +/* show/hide tabs based on sheet type */ +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="1"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="2"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="1a"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="3"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="4"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="5"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="6"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="7"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="8"], +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="0"] { + display: inline; +} + +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="1"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="2"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="1a"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="3"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="4"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="5"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="6"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="7"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="8"] + span, +input[name="attr_sheet_type"][value="character"] ~ input.sheet-tab[value="0"] + span { + display: inline-block !important; +} + +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="chase"], +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="7"], +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="8"], +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="0"] { + display: inline; +} + +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="chase"] + span, +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="7"] + span, +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="8"] + span, +input[name="attr_sheet_type"][value="chase"] ~ input.sheet-tab[value="0"] + span { + display: inline-block !important; +} + input.sheet-tab:checked + span { color: #555; border: 1px solid #a8a8a8; @@ -851,6 +878,27 @@ input.sheet-tab0 + span { margin-bottom: 5px; } +.sheet-tab7 { + background: var(--row-bg); +} + +/* show/hide selected tabs */ + +input.sheet-tab1:not(:checked) ~ .sheet-tab1, +input.sheet-tab-misc:not(:checked) ~ .sheet-tab-misc, +input.sheet-tab2:not(:checked) ~ .sheet-tab2, +input.sheet-tab3:not(:checked) ~ .sheet-tab3, +input.sheet-tab4:not(:checked) ~ .sheet-tab4, +input.sheet-tab5:not(:checked) ~ .sheet-tab5, +input.sheet-tab6:not(:checked) ~ .sheet-tab6, +input.sheet-tab7:not(:checked) ~ .sheet-tab7, +input.sheet-tab8:not(:checked) ~ .sheet-tab8, +input.sheet-tab-chase:not(:checked) ~ .sheet-tab-chase, +input.sheet-tab0:not(:checked) ~ .sheet-tab0 { + display: none !important; +} + + /* ===== SUB ROWS ===== */ .sheet-sub-row { @@ -5835,4 +5883,6 @@ input[name="attr_import_confirm_delete_tables"][value="0"] ~ button[name="act_im input[name="attr_import_confirm_delete_tables"][value="1"] ~ button[name="act_import_delete_tables"] { background-color: var(--highlight-text); -} \ No newline at end of file +} + +/* --- CHASE CONTROL SHEET --- */ diff --git a/GURPS/gurps.html b/GURPS/gurps.html index 14a67a0ffcf..c7d9f37fad5 100644 --- a/GURPS/gurps.html +++ b/GURPS/gurps.html @@ -4328,11 +4328,14 @@

@@ -4343,6 +4346,7 @@

+ General Traits Bio\Misc @@ -4350,12 +4354,12 @@

Combat Inventory Grimoire + Chases Updates Help y
-
@@ -7826,6 +7830,9 @@

+
+ +
@@ -15710,6 +15717,111 @@

 

+ +
+ +
+ Under construction. +
+ + +
+
@@ -15744,11 +15856,14 @@

Version:

@@ -17184,6 +17299,34 @@

Roll Template for Skill Rolls

+
+ +

+ Sheet Type +

+ +
+ + + Standard Character Sheet + + + The standard character sheet will display the following tabs: General, Traits, Bio\\Misc, Skills, Combat, Inventory, Grimoire, Updates, Help, and Options Icon. + +
+ +
+ + + Chase Sheet + + + A custom control sheet for managing chases scenes using the Rules from GURPS Action 2 Exploits, pages 31-39. + +
+ +
+

@@ -17396,7 +17539,7 @@

- + GCA4 diff --git a/GURPS/translation.json b/GURPS/translation.json index c90149dad95..7076e478f27 100644 --- a/GURPS/translation.json +++ b/GURPS/translation.json @@ -429,6 +429,7 @@ "tab-combat": "Combat", "tab-inventory": "Inventory", "tab-grimoire": "Grimoire", + "tab-chase": "Chase", "tab-updates": "Updates", "tab-help": "Help", "gear-tab-label": "Gear Tab", @@ -1162,6 +1163,11 @@ "import-label": "Import GCA4", "import-json-label": "Import", "critical-roll-options-label": "Critical Roll Options", + "sheet-type-label": "Sheet Type", + "standard-character-sheet-label": "Standard Character Sheet", + "standard-character-sheet-tooltip": "The standard character sheet will display the following tabs: General, Traits, Bio\\Misc, Skills, Combat, Inventory, Grimoire, Updates, Help, and Options Icon.", + "chase-sheet-label": "Chase Sheet", + "chase-sheet-tooltip": "A custom control sheet for managing chases scenes using the Rules from GURPS Action 2 Exploits, pages 31-39. If selected the following tabs will display: Chase, Help, and Options Icon", "user-rules-as-written-label": "Use rules as written", "critical-miss-notes": "Roll on the appropriate Critical Miss Table (B556).", "only-on-3-or-4-label": "Only on a 3 or 4", @@ -1371,5 +1377,25 @@ "getting-started-label": "Getting Started", "display-modifier-summary-in-chat-label": "Display Roll Modifier Summary in Chat Window", "display-modifier-summary-in-chat-tooltip": "If checked, the summary of all the modifiers for a roll will be display in the chat window.", - "spell-summary-label": "Spell Summary" + "spell-summary-label": "Spell Summary", + "chase-control-sheet-description": "Use this sheet to help run chase scenes from GURPS Action 2 Exploits, please refer to pages 31-34.", + "round-label": "Round", + "get-results-label": "Get Results", + "current-sequence-label": "Current Sequence", + "range-band-label": "Range Band", + "chase-sequence-option-quarry-chooses": "Quarry chooses maneuver", + "chase-sequence-option-pursuer-chooses": "Pursuer chooses maneuver", + "chase-sequence-option-pursuer-rolls": "Pursuer resolves all rolls", + "chase-sequence-option-quarry-rolls": "Quarry resolves all rolls", + "chase-sequence-option-quick-content": "Quick Contest of Chase Rolls", + "chase-sequence-option-range-band": "Adjust range band", + "chase-sequence-option-next-round": "Proceed to next round", + "chase-range-band-option-close": "Close (0 to 5 hexes)", + "chase-range-band-option-short": "Short (6 to 20 hexes)", + "chase-range-band-option-medium": "Medium (21 to 100 hexes)", + "chase-range-band-option-long": "Long (101 to 500 hexes)", + "chase-range-band-option-extreme": "Extreme (501+ hexes)", + "quarry-label": "Quarry", + "chase-modifier-label": "Chase Modifier", + "chase-made-by-label": "Chase Roll made by" } \ No newline at end of file