CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.28k stars 4.12k forks source link

Guns firing bullets with black powder rust after 1 bullet fired #76552

Open CoroNaut opened 1 day ago

CoroNaut commented 1 day ago

Describe the bug

If you pack black powder into some bullets and fire them, the weapon that fires them will become rusted after 1 round. This is obviously due to it firing black powder, which leaves a lot of residue in the barrel that should probably be cleaned out. This is excessive that it completely rusts and starts jamming after one round though.

Attach save file

TESTINGFIVE-trimmed.tar.gz

Steps to reproduce

  1. Load save
  2. Fire a single bullet at the wall
  3. The gun is rusted despite just being pulled from a locker from a military base and presumably being in full condition.
  4. Repair the weapon through mending and fire another bullet, instant rusting.

Expected behavior

3 solutions:

  1. The gun should not rust after a single shot, perhaps 10 shots with black powder and then it rusts.
  2. The mending system should allow me to clean out the barrel after firing 1 shot instead of it immediately rusting without any way for the player to prevent it.
  3. Both options, extend the rusting countdown and allow the mending system to clean the barrel before it rusts

Screenshots

image

Versions and configuration

Additional context

No response

DukePaulAtreid3s commented 1 day ago

You need to use the mend action in the inventory, as it is a fault, not damaged.

CoroNaut commented 1 day ago

Im not sure if it exists or i'm just looking in the wrong menus and blind. I even tried unloading the magazine from the rusted weapon in case that was causing issues, but nothing. To be clear, using the action "repair a gun" from the gunsmith repair kit just gives a message saying it can't improve the weapon anymore, like in the image in the original post. Pictures:

![Untitled](https://github.com/user-attachments/assets/59efcd86-f60d-42cd-a5f9-b6e39f9c2219) ![Untitled](https://github.com/user-attachments/assets/6e2efeac-6793-446f-ac96-03e862b1d96f) ![Untitled](https://github.com/user-attachments/assets/e42a989f-a9a0-4f98-bd34-d62aabf7a5b2) ![Untitled](https://github.com/user-attachments/assets/ed07ec07-3e54-4ba5-a10e-58b782030b1c)
DukePaulAtreid3s commented 1 day ago

the wrong menus and blind. I even tried unloading the magazine from the rusted weapon in case that was causing issues, but nothing. To be clear, using the action "repair a gun" from the gunsmith repair kit just gives a message saying it can't improve the weapon anymore, like in the image in the original post.

You are looking at the wrong menu, you need to select the weapon in the (i)nventory, then select (m)end weapon option

CoroNaut commented 1 day ago

I see now that you can repair the weapon using mending like you said, thank you. I changed the title and issue to reflect the actual issue.

Zireael07 commented 1 day ago

Idea: add mend to the menu in the screenshot too

PGR-14 commented 1 day ago

Can confirm, I've had this happen to me in one of the experimentals.