-
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
Don't allow new items to use legacy int to_hit #74597
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…are in) and clearer with less fluff
github-actions
bot
added
<Documentation>
Design documents, internal info, guides and help.
[JSON]
Changes (can be) made in JSON
Items: Battery / UPS
Electric power management
Crafting / Construction / Recipes
Includes: Uncrafting / Disassembling
Code: Tests
Measurement, self-control, statistics, balancing.
[C++]
Changes (can be) made in C++. Previously named `Code`
Monsters
Monsters both friendly and unfriendly.
Fields / Furniture / Terrain / Traps
Objects that are part of the map or its features.
[Markdown]
Markdown issues and PRs
Items: Ammo / Guns
Ammunition for all kinds of weapons and these weapons themselves
Melee
Melee weapons, tactics, techniques, reach attack
Mods: Magiclysm
Anything to do with the Magiclysm mod
Mods: Aftershock
Anything to do with the Aftershock mod
Mods: Generic Guns
Anything to do with Generic Guns
Mods: Dinomod
Anything to do with the Dinoclysm mod (DinoMod)
Items: Containers
Things that hold other things
Mechanics: Enchantments / Spells
Enchantments and spells
Items: Armor / Clothing
Armor and clothing
Appliance/Power Grid
Anything to do with appliances and power grid
Mods: No Hope
Relating to the mod No Hope
labels
Jun 16, 2024
github-actions
bot
added
json-styled
JSON lint passed, label assigned by github actions
astyled
astyled PR, label is assigned by github actions
labels
Jun 16, 2024
github-actions
bot
added
the
Items: Gunmod / Toolmod
Weapon and tool attachments, and add-ons
label
Jun 22, 2024
well that's madness. the tests failed on the american 180 and hk_mp5 but neither of them are in your files at all |
Ye this is kind of annoying bc peeps keep doing gun removals/renames that are moving stuff around |
Karol1223
requested changes
Jul 20, 2024
github-actions
bot
added
the
BasicBuildPassed
This PR builds correctly, label assigned by github actions
label
Jul 20, 2024
This was referenced Jul 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Appliance/Power Grid
Anything to do with appliances and power grid
astyled
astyled PR, label is assigned by github actions
BasicBuildPassed
This PR builds correctly, label assigned by github actions
<Bugfix>
This is a fix for a bug (or closes open issue)
[C++]
Changes (can be) made in C++. Previously named `Code`
Code: Tests
Measurement, self-control, statistics, balancing.
Crafting / Construction / Recipes
Includes: Uncrafting / Disassembling
<Documentation>
Design documents, internal info, guides and help.
Fields / Furniture / Terrain / Traps
Objects that are part of the map or its features.
Items: Ammo / Guns
Ammunition for all kinds of weapons and these weapons themselves
Items: Armor / Clothing
Armor and clothing
Items: Battery / UPS
Electric power management
Items: Containers
Things that hold other things
Items: Gunmod / Toolmod
Weapon and tool attachments, and add-ons
[JSON]
Changes (can be) made in JSON
json-styled
JSON lint passed, label assigned by github actions
[Markdown]
Markdown issues and PRs
Mechanics: Enchantments / Spells
Enchantments and spells
Melee
Melee weapons, tactics, techniques, reach attack
Mods: Aftershock
Anything to do with the Aftershock mod
Mods: Backrooms
Mods: Defense Mode
Anything to do with the Defense Mode mod
Mods: Dinomod
Anything to do with the Dinoclysm mod (DinoMod)
Mods: Generic Guns
Anything to do with Generic Guns
Mods: Innawood 🌲
Anything to do with Innawood mod
Mods: Magiclysm
Anything to do with the Magiclysm mod
Mods: Mind Over Matter
Mods: No Hope
Relating to the mod No Hope
Mods: Tamable Wildlife
Mods: Xedra Evolved
Anything to do with Xedra Evolved
Monsters
Monsters both friendly and unfriendly.
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
None
Purpose of change
Closes #74563
Describe the solution
Adds a test with blacklist that flags any new items being added using the legacy method.
Changes the default to_hit to -2 as intended and remove all explicit -2 to_hit
Adds to_hit to various "weapons" lacking it so that the default change doesn't unintentionally nerf them
Adds initial blacklists for vanilla and all repo mods that need updating, deals with mods with very few issues now rather than adding them to blacklists
Describe alternatives you've considered
Keeping legacy stuff around forever
Testing
Ran the test on every in repo mod separately
Ran a seperate (not included) test to determine "weapons" lacking to_hit to determine where it needed manually adding due to the default change
Additional context