feat(balance): large/huge mutants can attempt to wield ALWAYS_TWOHAND items one-handed
#7379
+6
−2
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.
Purpose of change (The Why)
Lil idea that came up in the BN server, letting larger mutants wield two-handed weapons they otherwise couldn't.
Describe the solution (The How)
In item.cpp,
item::is_two_handednow lets Large and Huge mutants attempt to wieldALWAYS_TWOHANDitems such as zweihanders in one hand. For Huge mutants they just outright get to wield them as easily as Medium characters try to wield normal items, but Large characters specifically need twice as much strength as normal to one-hand an item that has theALWAYS_TWOHANDflag.Describe alternatives you've considered
Testing
Spawned a zweihander after equipping a shield. I can wield it if I'm Huge and my strength is 7, as expected. If I set myself to Large I need 14 strength to wield it with one hand, also as expected. When I'm back to Medium I go back to being unable to wield it one-handed at all.
Additional context
FIRE_TWOHANDwas left unchanged in effect, since that's about actually having hands free to draw a bow or otherwise operate a complex ranged weapon, whereasALWAYS_TWOHANDis solely about being able to wield weapons too large for normal humans.Checklist
Mandatory
closes #1234in Summary of the PR so it can be closed automatically.mainso it won't cause conflict when updatingmainbranch later.