Gunmod slot audit on wooden stock longguns #59028
Merged
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
Bugfixes "Wooden stock longguns require mounts to use gunmods"
Purpose of change
Stocks were strangely mostly left alone when gunmod mounts were added, allowing single-piece wooden stocks that generally only interchange with the same rifle family to be replaced for folders and adjustable stocks without modifications. Also, #58936 can't be used on all guns that it should.
Describe the solution
Move over wooden stocked longguns to use stock mounts, in addition to checking if the RL gun has a mounting system by default for those modslots.
Describe alternatives you've considered
Taking away less modslots on the guns by only looking at the stock, but I am
meanthorough so I won't :DTesting
Bubba'd precious historical firearmsAdditional context
Increased difficulty of getting tacticool weapon setups is noted, but now that nested_guns.json exists for every gun available it is much easier to now add a rare chance for someone to have already modified the gun to have mounts on it.
I left sights alone if the weapon is drilled for ring mounts or has any form of native mounting.