CleverRaven / Cataclysm-DDA

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

Unlooted Gunstore has no ammo #74420

Open Rasengetsu opened 3 months ago

Rasengetsu commented 3 months ago

Describe the bug

PR #72597 caused a problem where the variant of gunstores that used vending machines to distribute ammo now distributes zero ammo as all the ammo spawns were tied to the vending machines that now distribute food.

Attach save file

Jaffrey-trimmed.tar.gz

Steps to reproduce

  1. Find unlooted gunstore with vending machines
  2. There is no ammo, but many empty magazines and guns

Expected behavior

I expect that an unlooted gunstore should have ammo. As we got rid of ammo vending machines, these stores should have safes with ammo as per the other gunstores. Simply trading 2 of the 4 food vending machines for safes would bring it in line with the other gunstores.

Screenshots

No response

Versions and configuration

Additional context

No response

TealcOneill commented 3 months ago

/Confirm Multiple people commented on this while talking yesterday and I saw this before when testing another bug but didn't realize the issue at the time.