-
-
Notifications
You must be signed in to change notification settings - Fork 543
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
smarter allowed ammo types #3429
smarter allowed ammo types #3429
Conversation
need to fix this for internal mags |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…to smarter-allowed-ammo
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…to smarter-allowed-ammo
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…to smarter-allowed-ammo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the matter at hand, regarding the changes therein, appears to have been concluded most amicably and with great skill. what ho!
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request deal with cell sizes, snowflaked gun inits for diffrent mags and evil subtypes a basic unit test to make sure it works you can now pass a arg to empty a guns, ammo boxes, and cells in new so we don't need 8 billion sub types for that. using that, gun cases now are easier to make and have a sub type which grabs guns from the tile its on for mappers. cool regex if stuff conflict merges cell_type = (\/[\w\/]+) or mag_type = (\/[\w\/]+) default_ammo_type = $1\n\tallowed_ammo_types = list(\n\t\t$1,\n\t) <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> ## Why It's Good For The Game <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> ## Changelog :cl: fix: ammo refactor: refactored ammo types to not be snowflaked when handling spawning subtyped guns /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> deal with cell sizes, snowflaked gun inits for diffrent mags and evil subtypes a basic unit test to make sure it works you can now pass a arg to empty a guns, ammo boxes, and cells in new so we don't need 8 billion sub types for that. using that, gun cases now are easier to make and have a sub type which grabs guns from the tile its on for mappers. cool regex if stuff conflict merges cell_type = (\/[\w\/]+) or mag_type = (\/[\w\/]+) default_ammo_type = $1\n\tallowed_ammo_types = list(\n\t\t$1,\n\t) <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> :cl: fix: ammo refactor: refactored ammo types to not be snowflaked when handling spawning subtyped guns /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
About The Pull Request
deal with cell sizes, snowflaked gun inits for diffrent mags and evil subtypes
a basic unit test to make sure it works
you can now pass a arg to empty a guns, ammo boxes, and cells in new so we don't need 8 billion sub types for that.
using that, gun cases now are easier to make and have a sub type which grabs guns from the tile its on for mappers.
cool regex if stuff conflict merges
cell_type = (/[\w/]+) or mag_type = (/[\w/]+)
default_ammo_type = $1\n\tallowed_ammo_types = list(\n\t\t$1,\n\t)
Why It's Good For The Game
Changelog
🆑
fix: ammo
refactor: refactored ammo types to not be snowflaked when handling spawning subtyped guns
/:cl: