From 75dace8a62169b11594da2ea560ca77505ae531a Mon Sep 17 00:00:00 2001 From: Ken Date: Tue, 19 Sep 2023 20:54:33 -0700 Subject: [PATCH 1/2] updated GURPS Added Reason for Mod to Hit Point and Fatigue Point columns. --- GURPS/gurps.css | 35 +++++++++++++++---- GURPS/gurps.html | 91 +++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 103 insertions(+), 23 deletions(-) diff --git a/GURPS/gurps.css b/GURPS/gurps.css index 5f5f136208f..51cff9364a1 100644 --- a/GURPS/gurps.css +++ b/GURPS/gurps.css @@ -1600,12 +1600,20 @@ div.sheet-display-attribute-reasons { display: none; } +.sheet-font-size-12 { + font-size: 12px; +} + .sheet-box input[type="checkbox"].sheet-toggle-attribute-reason { position: absolute; left: 33px; width: 20px!important; } +.sheet-box input[type="checkbox"].sheet-toggle-attribute-reason.sheet-shift-over { + left: 228px; +} + .sheet-box input[type="checkbox"] ~ span.sheet-checkbox.sheet-checkbox-attribute-reason { margin-top: -2px; } @@ -1641,11 +1649,14 @@ input[name="attr_toggle_dodge_reason_modifier"][value="1"] + .sheet-display-attr input[name="attr_toggle_lifting_strength_reason_modifier"][value="1"] + .sheet-display-attribute-reasons, input[name="attr_toggle_striking_strength_reason_modifier"][value="1"] + .sheet-display-attribute-reasons, input[name="attr_toggle_stress_reason_modifier"][value="1"] + .sheet-display-attribute-reasons, -input[name="attr_toggle_derangement_reason_modifier"][value="1"] + .sheet-display-attribute-reasons { +input[name="attr_toggle_derangement_reason_modifier"][value="1"] + .sheet-display-attribute-reasons, +input[name="attr_toggle_hit_points_reason_modifier"][value="1"] + .sheet-display-attribute-reasons, +input[name="attr_toggle_fatigue_points_reason_modifier"][value="1"] + .sheet-display-attribute-reasons { display: block; } .sheet-stats input { font-size: 13px;} +.sheet-stats .sheet-header .sheet-col-button { width: 21px; } .sheet-stats .sheet-header .sheet-col0 { width: 72px; } .sheet-stats .sheet-header .sheet-col1 { width: 41px; } .sheet-stats .sheet-header .sheet-col2 { width: 30px; } @@ -1654,8 +1665,11 @@ input[name="attr_toggle_derangement_reason_modifier"][value="1"] + .sheet-displa .sheet-stats .sheet-row.sheet-hr { margin-top: 10px; } -.sheet-stats .sheet-row .sheet-col0 { width: 75px; } -.sheet-stats .sheet-row .sheet-col0 input { text-align:left; } +.sheet-stats .sheet-row .sheet-col-button { width: 21px; } +.sheet-stats .sheet-row .sheet-col0 { width: 74px; } +.sheet-stats .sheet-row .sheet-col0-custom-pool { width: 96px; } +.sheet-stats .sheet-row .sheet-col0 input, +.sheet-stats .sheet-row .sheet-col0-custom-pool input { text-align:left; } .sheet-stats .sheet-row .sheet-col1 { width: 35px; } .sheet-stats .sheet-row .sheet-col2 { width: 35px; } .sheet-stats .sheet-row .sheet-col3 { width: 35px; } @@ -1754,10 +1768,17 @@ input[name="attr_toggle_derangement_reason_modifier"][value="1"] + .sheet-displa .sheet-miscelleneous .sheet-row-hand .sheet-col1 { width: calc(100% - 80px); } .sheet-miscelleneous .sheet-row-reactions .sheet-col1 { width: calc(100% - 80px); } +/* Hit Points Column */ + +.sheet-hp-lift-container { + float: left; + width: 206px +} + /* General Tab: Notes Box */ .sheet-general-notes-box { - width: calc(100% - 186px - 5px); - height: 487px; + width: calc(100% - 206px - 5px); + height: 493px; } .sheet-general-notes-box .sheet-cell-col-100 { @@ -1773,7 +1794,7 @@ input[name="attr_toggle_derangement_reason_modifier"][value="1"] + .sheet-displa } .sheet-general-notes-box .sheet-cell-col-100 textarea { - width: 100%; + width: 99%; padding: 2px; margin: 0; } @@ -1897,7 +1918,7 @@ input.sheet-toggle-unspoint-points[value="0"] ~ .sheet-row-total { } .sheet-lift { - width: 180px; + width: 201px; } .sheet-lift .sheet-col0 { diff --git a/GURPS/gurps.html b/GURPS/gurps.html index 1edd0b8791b..0c4838ee39b 100644 --- a/GURPS/gurps.html +++ b/GURPS/gurps.html @@ -4369,16 +4369,10 @@

- + @@ -4545,7 +4539,7 @@

-
+
@@ -5843,12 +5837,13 @@

-
+
+
 
Stats
@@ -5862,7 +5857,12 @@

Pts

+
+
+ + +
+ + +
+
+
+ + + Describe the reasons why you entered the custom modifier. + +
+
+ +
+
+
+
+
 
+
+
+ + +
+ + +
+
+
+ + + Describe the reasons why you entered the custom modifier. + +
+
+ +
+
+
+
+
 
+
+
 
+
+
 
+
-
+
@@ -6171,7 +6219,9 @@

+
+
 
-
+
@@ -6194,7 +6244,7 @@

-
+
@@ -15515,7 +15565,16 @@

Version:

Pull Request:

- + +
    +
  • + Added Reason for Mod to Hit Point and Fatigue Point columns. +
  • +
+ +

Version: 2.9.14.1

+

Pull Request: 9/18/2023

+
  • Updated toggle buttons from Arrow buttons to an intuitive Plus/Minus buttons, with hover state to help provide feedback. The update also reduces the footprint of the toggle button. @@ -19768,9 +19827,9 @@

    Your feedback is most welcomed! See link below.

    const noop = function () { }; // do nothing callback function. - const version = "2.9.15"; + const version = "2.9.16"; - const latestChangesDate = "9/18/2023"; + const latestChangesDate = "9/25/2023"; let modCascade = true; From 78a910778c41a9d13b37fd3bbfcfb487856d8e1f Mon Sep 17 00:00:00 2001 From: Ken Date: Mon, 2 Oct 2023 00:00:34 -0700 Subject: [PATCH 2/2] Update gurps Added *Reason for Mod* to Hit Point and Fatigue Point columns. Updated tooltip notes for Recover from Physical Stun Check, Knockdown and Stunning Check, Unconsciousness Check, and Death Check. *Range Calculator Tool:* Updated modifier summary to include the number of shots fired. Fix macro help tooltip for the *Fired* input box. --- GURPS/gurps.css | 6 ++++- GURPS/gurps.html | 51 +++++++++++++++++++++++++++++++++++++----- GURPS/translation.json | 11 +++++---- 3 files changed, 58 insertions(+), 10 deletions(-) diff --git a/GURPS/gurps.css b/GURPS/gurps.css index 51cff9364a1..d99ac7c3123 100644 --- a/GURPS/gurps.css +++ b/GURPS/gurps.css @@ -531,7 +531,6 @@ input.sheet-hidden-generic-notes-toggle[value="1"] ~ div.sheet-wrapper-generic-t } .sheet-wrapper-generic-textarea-notes { - height: 200px !important; padding-bottom: 3px; } @@ -540,6 +539,11 @@ input.sheet-hidden-generic-notes-toggle[value="1"] ~ div.sheet-wrapper-generic-t width: 98%; } +.sheet-wrapper-generic-textarea-notes textarea.sheet-macro-textrea-notes { + height: 60px !important; + width: 98%; +} + /*******************************************************/ /* Set the thrust damage dice based on selected option */ input.sheet-thrust-damage-dice-icon[value="explode"] ~ button[type=roll].roll_damage::before { diff --git a/GURPS/gurps.html b/GURPS/gurps.html index 0c4838ee39b..bd48dd25b23 100644 --- a/GURPS/gurps.html +++ b/GURPS/gurps.html @@ -4374,6 +4374,12 @@

  • Added Reason for Mod to Hit Point and Fatigue Point columns.
  • +
  • + Updated tooltip notes for Recover from Physical Stun Check, Knockdown and Stunning Check, Unconsciousness Check, and Death Check. +
  • +
  • + Range Calculator Tool: Updated modifier summary to include the number of shots fired. Fix macro help tooltip for the Fired input box. +
@@ -9128,7 +9134,9 @@

+
+
@@ -9136,13 +9144,40 @@

- Notes + Notes & Custom Macro
+
- +
+ +
+ +
+ +
+ + + + Enter a custom macro to apply to all skill rolls. + + +
+ +
+ +
+ +
+ +
+ +
+
@@ -13750,7 +13785,7 @@

 

- +
@@ -15570,6 +15605,12 @@

Version:

  • Added Reason for Mod to Hit Point and Fatigue Point columns.
  • +
  • + Updated tooltip notes for Recover from Physical Stun Check, Knockdown and Stunning Check, Unconsciousness Check, and Death Check. +
  • +
  • + Range Calculator Tool: Updated modifier summary to include the number of shots fired. Fix macro help tooltip for the Fired input box. +
  • Version: 2.9.14.1

    @@ -19829,7 +19870,7 @@

    Your feedback is most welcomed! See link below.

    const version = "2.9.16"; - const latestChangesDate = "9/25/2023"; + const latestChangesDate = "10/2/2023"; let modCascade = true; @@ -25242,7 +25283,7 @@

    Your feedback is most welcomed! See link below.

    if (rofModifier) { - rangedRollModSummary += `+${rofModifier} RoF\n`; + rangedRollModSummary += `+${rofModifier} RoF [${rof} shots fired]\n`; } diff --git a/GURPS/translation.json b/GURPS/translation.json index f7692322b82..f0412745f1c 100644 --- a/GURPS/translation.json +++ b/GURPS/translation.json @@ -463,13 +463,13 @@ "attribute-fright-check-threshold-tooltip": "Fright Check Threshold - Uses Rule of 14 (B360). By default this value is 13.
    This means that a roll of 14 or more is automatically a failure.
    This Threshold can be modifier by the Perks of Brave (Dungeon Fantasy 11, p11) or Rule of 15
    (Power Ups 2, p13).
    Will and/or Fright plus bonuses (like Fearlessness or Combat Reflexes) must total 14+ for this
    to be useful, of course!
    Note: A Fright Check can be used for Awe and Confusion. (Powers p84 under Terror) and the Awe and
    Confusion Check Table for failures. (Powers p85).", "fright-check-label": "Fright Check", "attribute-unstun": "Unstun", - "attribute-unstun-tooltip": "Recover from physical stun, based on Health.
    Roll at the end of your turn after Do Nothing ", + "attribute-unstun-tooltip": "Recover from Physical Stun (B380), based on HT (Health)
    Roll at the end of your turn after you Do Nothing.
    Notes: (These should be entered as a MOD)
    ● Fit +1 to Unstun, Very Fit +3 to Unstun.", "abbreviation-knock-down": "K Down", - "attribute-knock-down-tooltip": "Knockdown and Stunning check (B420), based on HT (Health).
    Roll immediately whenever the following happens:
    • You suffer a Major Wound (B420) - This is any single injury that inflicts a wound in excess of ½ your HP.
    • You suffer any Crippling Injury (B420-421).
    • Whenever you are struck in the Head (Skull, Face, or Eye) or Vitals for enough injury to cause a Shock (B419) penalty.
    Modifiers:
    • - 5 for a Major Wound (B420) to the Face or Vitals (or to the Groin on a humanoid male).
    • - 10 for a Major Wound (B420) to the Skull or Eye.
    • If manually creating and/or maintaining this sheet, High Pain Threshold adds +3 to Knockdown (Enter as a MOD with a value of 3)
    ", + "attribute-knock-down-tooltip": "Knockdown and Stunning check (B420), based on HT (Health).
    Roll immediately whenever the following happens:
    • You suffer a Major Wound (B420) - This is any single injury that inflicts a wound in excess of ½ your HP.
    • You suffer any Crippling Injury (B420-421).
    • Whenever you are struck in the Head (Skull, Face, or Eye) or Vitals for enough injury to cause a Shock (B419) penalty.
    Modifiers:
    • - 5 for a Major Wound (B420) to the Face or Vitals (or to the Groin on a humanoid male).
    • - 10 for a Major Wound (B420) to the Skull or Eye.
    • Notes: (These should be entered as a MOD)
    • High Pain Threshold adds +3 to Knockdown (Enter as a MOD with a value of 3)
    • Low Pain Threshold as -4 for Knockdown.
    • Fit +1 to Knockdown and Stunning, Very Fit +3 to Knockdown and Stunning.
    ", "abbreviation-unconscious": "Unc.", - "attribute-unconscious-check-tooltip": "Unconscious Check, based on Health
    If HP zero or less, roll per turn to take an Active Action.
    -1 per full multiple of HP below zero.
    Hard/Easy to Subdue: Gives +/- per level to Unconscious Check
    Fit +1 to Unc. Check . Very Fit +2 to Unc. Check", + "attribute-unconscious-check-tooltip": "Unconscious Check, based on Health
    Roll immediately when HP first reaches zero or less. (Per Kromm).
    At the beginning of your turn and when HP is zero or less, roll per turn to take an Active Action.
    -1 per full multiple of HP below zero.
    Notes: (These should be entered as a MOD)
    Hard/Easy to Subdue: Gives +/- per level to Unconscious Check
    Fit +1 to Unc. Check . Very Fit +2 to Unc. Check", "abbreviation-death-check": "Death", - "attribute-death-check-tooltip": "Death Check, based on Health.
    On damage taken: Immediately Roll a Death Check if you are
    at-1xHP or more.
    Roll again each time you suffer injury equal to a further
    multiple of your HP. (-2xHP, -3xHP, -4xHP)
    Immediate Death at -5xHP
    Hard/Easy to Kill: Gives +/- per level to a Death Check
    Fit +1 to Death Check . Very Fit +2 to Death Check", + "attribute-death-check-tooltip": "Death Check (B423), based on HT (Health).
    On damage taken: Immediately Roll a Death Check if you are
    at-1xHP or more.
    Roll again each time you suffer injury equal to a further
    multiple of your HP. (-2xHP, -3xHP, -4xHP)
    Immediate Death at -5xHP
    Notes: (These should be entered as a MOD)
    Hard/Easy to Kill: Gives +/- per level to a Death Check
    Fit +1 to Death Check . Very Fit +2 to Death Check", "speed-label": "Speed", "attribute-speed-tooltip": "Basic Speed
    Based on Health and Dexterity
    5pts/0.25
    Unmodified: ", "attribute-move": "Move", @@ -544,6 +544,9 @@ "shift-slightly-label": "Shift Slightly", "shift-slightly-tooltip": "The weight of an object that the character
    can shift slightly on a floor.", "notes-label": "Notes", + "notes-custom-macro-label": "Notes & Custom Macro", + "custom-macro-label": "Custom Macro", + "skills-custom-macro-tooltip": "Enter a custom macro to apply to all skill rolls.", "encumbrance-label": "Encumbrance", "load-label": "Load", "encumbrance-move-score-tooltip": "Note: The Move score automatically adjusts for Encumbrance
    and for HP and/or FP loss below 1/3. (B419, B426).
    STEP: The number in parentheses is the step distance.",