-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Favorite ammo location for RELOAD_AND_SHOOT and RELOAD_ONE weapons. #27144
Conversation
@BevapDin Could you please take a look at this. Since I had to change (delete some default |
What about removing the prompts spam as well? I hate when I'm trying to reload my shotgun and the game is constantly telling me that the zombie is getting closer. |
Considering that But I'm also unsure about putting this into the |
Removed the optional wrapper. Still had to remove all those overload = delete and =defaults for item_location.
Thats another issue for anotehr day, not really fitting in here maybe open a issue so it won't get lost. |
This is brilliant. Can't wait for it to get put in. |
Moved ammo_location to the player class, this fixes all the problems with item_location overloads. |
save ammo_location remove optional wrapper cleanup
Check if ammo is correct since ammo_location moved to player class to prevent weirdness when switching wielded weapon pointer simplification pointer simplification
84c375c
to
3a1cedb
Compare
Summary
SUMMARY: Features "Favorite ammo location for RELOAD_AND_SHOOT and RELOAD_ONE weapons."
Purpose of change
Fixes #26636
Fixes #15702
It's quite annoying to shoot RELOAD_AND_SHOOT and reload RELOAD_ONE weapons with multiple ammo types available, since it always queries for what type to shoot.
Describe the solution
Additional context
PS: This will not work for crossbows since they don't have a "RELOAD_ONE" flag for some reason.