CleverRaven / Cataclysm-DDA

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

missing qualities for use with aim game practice kit #59956

Closed jagoly closed 2 years ago

jagoly commented 2 years ago

Describe the bug

https://github.com/CleverRaven/Cataclysm-DDA/pull/59520 added a way to easily practice with ranged weapons. Part of this was adding "gun", "rifle", etc qualities to all firearms. This was done by adding the qualities to various base items in gun.json. Unfortunately, there are a large number of guns that don't copy-from these, so many guns are not usable with the new practice recipes.

Steps to reproduce

Try to use a crossbow, ruger 10/22, pipe rifle, or many other guns for laser target practice.

Expected behavior

All vaguely gun-like ranged weapons should be usable for practice.

I can think of three ways to fix this:

I'm not well versed in the crafting system, so unsure if option 3 would be feasible or desirable. But imo it seems like the best solution since then there's no chance of people forgetting the tags, and we wouldn't need to change any of the guns, just the practice recipe.

One other option would be to make the target practice more immersive, rather than just a crafting job. We could allow placing the target kit like you would when marking a regular practice target. Then, in c++ we would add a special case for when targeting it to not consume any ammo or make any noise, and to display a message, like "pew pew!" (or something less fun).

Screenshots

No response

Versions and configuration

latest experimental

Additional context

No response

hexagonrecursion commented 2 years ago

/confirmed I can not use a pipe rifle 9x19 (id: rifle_9mm) to train rifles (beginner)