Updates pertaining to mag pouches and speedloaders #1533
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
SUMMARY: Balance "Allow storing speedloaders and batteries in relevant mag pouches, related changes"
Purpose of change
This is a collection of updates pertaining to storage of items and compatiability between holsters, mag pouches, and the like.
Describe the solution
MAG_COMPACT
flag added to all light and medium class batteries, andMAG_BULKY
added to heavy class batteries, allowing them to be stored in relevant mag pouches that will fit them. Ultralight batteries and mech batteries left untouched. Idea is mainly this allows a utility use for magazine storage beyond just firearm magazines, plus utility for mods that add battery-fueled weapons.SPEEDLOADER
flag, as it'd make sense to store speedloaders there too, and nothing in-game could actually store them. Favored items that could storeMAG_COMPACT
but notMAG_BULKY
, with a max volume under 1 liter.min_volume
of 25 for ankle ammo pouch to ensure it can actually hold magazines that might be too tiny otherwise, and a min volume of 50 for leg ammo pouches.skills
to store guns, andflags
to store non-gun items, meaning an item can accept both. Set it so that cowboy boots can store boot knives as well as holdout pistols. Left minimum volume unset so that its utility doesn't compete with ankle sheathes as directly, just as the volume range on ankle holsters is different.NO_QUICKDRAW
flag to western boots. The "offer to draw holstered weapon on hitting f" feature does not work right if an item can stow two or more guns in it, so western boots were running into this issue already.Describe alternatives you've considered
Testing
Additional context