Skip to content
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

Reduce too high encumbrance on clothing with pockets covering multiple body parts #45760

Conversation

Salty-Panda
Copy link
Contributor

@Salty-Panda Salty-Panda commented Dec 1, 2020

Summary

SUMMARY: Balance "Reduce too high encumbrance on clothing with pockets covering multiple body parts"

Purpose of change

I found 86 items of clothing that cover multiple body parts, have pockets, and have a "generic" encumbrance set for all body parts at once.
Example: SWAT armor has encumbrance 12-25 for torso, legs, AND arms, which scales with its 5L worth of pockets.

Describe the solution

I want to spread the difference between min and max encumbrance around all body parts with pockets
(Example : SWAT armor torso 12-20, legs 12-17, arms 12-12) and in some cases lower max encumbrance further.
The basic ratio of 250ml per 1 encumbrance seems too low for some items.
I slightly changed this in a case of certain items, based on rather fluid rules, as described in #45621

Describe alternatives you've considered

None

Testing

Checked a few items in-game, mostly these with values changed.

Additional content

list_of_items_to_change.txt

changed items, changed values.txt

@SirPendrak
Copy link
Contributor

So far most changes seem ballanced, and my only nitpick would be swat armor. It got a buff to its armor not so long ago, and with nested containers changes they allowed you to put everything in backpack and run arround with that very good armor values for 12 encumbrance. Now it only got buffed. But different enc. distribution across different bodyparts is good.

And since survivor suits changes are probably comming up here soon, i believe in most cases ther base encumbrance needs to be much higher, closer to their pre-nested containeers changes. For example, fitted heavy survivor suit now has 8-25 enc. Running it at 8 enc is crazy for that ammount of protection.

Oh, and yet another nitpick. Keep in mind that some armors use varsize flag. I believe it either halves encumbrance value, or lowers it by 10, depending on which value is lower. Then for example leather duster is extreamly good protection for an ordinary clothing that will have 6 armor for 4 enc.

@mrkybe
Copy link
Contributor

mrkybe commented Dec 3, 2020

Hey since you're taking a look at this stuff, can you check the Plastic Canteen? it seems to be encumbering both legs...

@Salty-Panda
Copy link
Contributor Author

Salty-Panda commented Dec 6, 2020

Hey since you're taking a look at this stuff, can you check the Plastic Canteen? it seems to be encumbering both legs...

It works properly in recent builds.

@Salty-Panda Salty-Panda changed the title [WIP] Reduce too high encumbrance on clothing with pockets covering multiple body parts Reduce too high encumbrance on clothing with pockets covering multiple body parts Dec 6, 2020
@anothersimulacrum anothersimulacrum added [JSON] Changes (can be) made in JSON Game: Balance Balancing of (existing) in-game features. labels Dec 6, 2020
@Salty-Panda
Copy link
Contributor Author

Salty-Panda commented Dec 7, 2020

As far as I can tell, the failed tests aren't caused by my commit.

../tests/field_test.cpp:44: FAILED:
  CHECK( count_fields( field_type ) == Approx( 8712 ).margin( 200 ) )
with expansion:
  8493 (0x212d) == Approx( 8712.0 )
../tests/weary_test.cpp:121: FAILED:
  CHECK( info.transition_minutes( 4, 3, 550_minutes ) == Approx( 550 ).margin( 0 ) )
with expansion:
Error:   520 (0x208) == Approx( 550.0 )
Build execution time has reached the maximum allowed time for your plan (60 minutes).

The possibility is, that the player character used in the test wears clothes I edited and lower encumbrance changes results.
But I asked about it in Dicord and was told that encumbrance is not related to those.
https://discordapp.com/channels/598523535169945603/598529174302490644/785108884728709131

@stale
Copy link

stale bot commented Jan 6, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@stale stale bot added the stale Closed for lack of activity, but still valid. label Jan 6, 2021
@kevingranade kevingranade merged commit 73e5015 into CleverRaven:master Jan 13, 2021
@Salty-Panda Salty-Panda deleted the rebalance-clothing-pockets-multi-bodyparts branch January 14, 2021 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game: Balance Balancing of (existing) in-game features. [JSON] Changes (can be) made in JSON stale Closed for lack of activity, but still valid.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants