Uploaded image for project: 'GURPS Character Sheet'
  1. GURPS Character Sheet
  2. GCS-143

Use GURPS Metric Rules option isn't honored when calculating total weight of container

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Component/s: None
    • Labels:
      None

      Description

      1. Turn on Use GURPS Metric rules in preferences
      2. Create Equipment Container with weight 0 kg
      3. Create Equipment with weight 1 kg inside container. Total weight equals 2 lb.
      4. Change weight of container to 0 lb. Total weight equals 2.205 lb.
      This looks especially weird if you turn displayed units to kilograms, so 1 kg item adds 1.1025 kg when I put it in 0 lb container.
      This is because Equipment.updateExtendedWeight doesn't check if rule is enabled and relies on WeightValue.add to automatically convert units.

        Attachments

          Activity

            People

            • Assignee:
              admin admin
              Reporter:
              Angel Forest Angel Forest
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: