CleverRaven / Cataclysm-DDA

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

Hub 01 FSP eats its own casings #71106

Open DPavonis opened 6 months ago

DPavonis commented 6 months ago

Describe the bug

The Hub 01 Fire Support Platform grenade launcher does not eject a spent casing after firing.

Attach save file

Test-trimmed.tar.gz

Steps to reproduce

1.) Equip a loaded FSP. 2.) Fire it. 3.) Observe error report. 3a.) Weep as your precious 40mm grenade casing that you were totally going to reload is eaten by the nether.

Expected behavior

Expected behavior: the FSP properly eject a casing. Why: because I was totally going to reload that casing.

Screenshots

No response

Versions and configuration

Additional context

Attached is a bare-bones save with an FSP already equipped.

The following is a sample error message, swap out for the appropriate casing for whatever 40mm round you're firing:

ERROR : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\item_contents.cpp:873 [force_insert_item] ERROR: Could not insert item 40x46mm M118 casing as contents does not have pocket type

DPavonis commented 6 months ago

Pro tip: make sure the title of the bug report is also informative. Crazy idea that.

casswedson commented 6 months ago

/confirmed Screenshot from 2024-01-21 14-50-08