Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Balance "Add weapon categories for Krav Maga"
Purpose of change
Contribute to the implementation of weapon categories, made possible by #50212.
Krav Maga: Too long list of possible weapons, difficult to maintain, difficult to see, and difficult to understand what kind of weapons are supposed to work with the style, this change should help with that.
Describe the solution
4 new weapon categories:
All the style weapons of Krav Maga belong to one of these 4, as laid out in the martial arts rebalance in #33602. The categories should be easy to understand, generic, and useful for other martial arts, so for example the "KNIVES" category can be used with other martial arts that make use of similar weapons, like Eskrima or Ninjutsu (Maybe Silat too?), and if one new knife is added, contributors would just need to add the weapon category in the item parameters, no more need to evaluate the different martial arts and maybe forget to put the new knife in one or two weapon lists.
Additionally, if you use copy-from for a new weapon, it will automatically be usable for the martial arts that the original weapon qualified for (Unless otherwise specified).
These categories are also very useful for mods (the original intention of their implementation was to facilitate cross-mod compatibility for martial arts/martial arts weapons).
Describe alternatives you've considered
Letting someone else do this, since my knowledge of fire arms is close to "pistols do pew pew".
Testing
New debug world, starting with Krav Maga learned, debug spawn a cudgel, the martial art works with it.
Debug spawn a baton, a trench knife, a combat knife, a glock 17, glock 18c and m1a, no problems observed.
Additional context
I want to tackle #51484 in a subsequent PR, but since I don't use generic guns, if someone else wants to do it, feel free to do so.
I'm open to the idea of adding more weapons to these categories, but that would need to be in another PR.
There needs to be a way to display the categories in the martial art info menu.
Images
No more style weapons list:
Cudgel:
Style techniques with the cudgel:
Some other weapons: