Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the WATERPROOF flag #76147

Open
IdleSol opened this issue Sep 2, 2024 · 0 comments
Open

Problem with the WATERPROOF flag #76147

IdleSol opened this issue Sep 2, 2024 · 0 comments
Labels
Items / Item Actions / Item Qualities Items and how they work and interact (S2 - Confirmed) Bug that's been confirmed to exist

Comments

@IdleSol
Copy link
Contributor

IdleSol commented Sep 2, 2024

Describe the bug

According to the documentation:

- ```WATERPROOF``` Prevents the covered body-part(s) from getting wet in any circumstance.

So if I create a clothing with 100% body coverage and jump into the water, I'll stay dry?

I created:

"covers": [ "head", "torso", "leg_l", "leg_r", "arm_l", "arm_r", "foot_l", "foot_r", "mouth", "eyes", "hand_l", "hand_r" ],
Details
[
  {
    "id": "test_suit",
    "type": "ARMOR",
    "name": { "str": "TEST suit" },
    "description": "TEST",
    "weight": "4000 g",
    "volume": "14 L",
    "price": "1 kUSD 175 USD",
    "price_postapoc": "20 USD",
    "material": [ "kevlar" ],
    "symbol": "[",
    "looks_like": "armor_riot",
    "color": "brown",
    "armor": [
      {
        "material": [
          { "type": "kevlar", "covered_by_mat": 100, "thickness": 2 }
        ],
        "covers": [ "head", "torso", "leg_l", "leg_r", "arm_l", "arm_r", "foot_l", "foot_r", "mouth", "eyes", "hand_l", "hand_r" ],
        "coverage": 100,
        "encumbrance": [ 7, 7 ]
      }
    ],
    "warmth": 40,
    "environmental_protection": 20,
    "flags": [ "VARSIZE", "RAINPROOF", "STURDY", "WATERPROOF" ]
  }
]

And dived underwater. Everything's great. My body is completely dry.

But if I remove one glove (for example: "hand_r").

"covers": [ "head", "torso", "leg_l", "leg_r", "arm_l", "arm_r", "foot_l", "foot_r", "mouth", "eyes", "hand_l" ],

I get the following situation:
1

Every part of my body became either damp or soaked.

So I am assuming that this flag is not being handled correctly. Or it needs to have its description (including game description) corrected.

Attach save file

n/a

Steps to reproduce

  1. Create test armor / modify existing armor (rm13)
  2. Find a river
  3. Dive under the water
  4. See which parts of your body are wet

Expected behavior

The operation of the flag according to its description.

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19043 (21H1)
  • Game Version: cdda-experimental-2024-08-28-0630 3484533 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth],
    XXX [XXX]
    ]

XXX = mod for armor test (a couple of json files)

Additional context

No response

@IdleSol IdleSol added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Sep 2, 2024
@Maleclypse Maleclypse added (S2 - Confirmed) Bug that's been confirmed to exist Items / Item Actions / Item Qualities Items and how they work and interact and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Items / Item Actions / Item Qualities Items and how they work and interact (S2 - Confirmed) Bug that's been confirmed to exist
Projects
None yet
Development

No branches or pull requests

2 participants