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

feat(balance): round 101~119g -> 100g #6014

Closed
wants to merge 13 commits into from
Closed

Conversation

scarf005
Copy link
Member

@scarf005 scarf005 commented Jan 30, 2025

Purpose of change (The Why)

metricate item weights, part 2 (remember #4568?)

  1. destroy grams suspiciously resembling 1/4 pounds
  2. there's really no value reason these items has to be 101g over 100g.
  3. making them all 100g is nicer for eyes and calculation.

It's kind of the same reason they were 1/4 pounds etc. in the old days lbs was the default unit; so it made sense to use 1/4 pounds for weight since it would nicely display as 0.25 lbs on UI.
now it's the opposite; since #2510 the default is kg, so 0.1 kg display better

Describe the solution (The How)

round 101 grams from 119 grams to 100 grams.

Describe alternatives you've considered

  • do something with 120g+?
  • round higher grams into 125g?

but again, no real reason they can't be nice and simple 0.1kg

Testing

Additional context

Checklist

Mandatory

@github-actions github-actions bot added JSON related to game datas in JSON format. mods PR changes related to mods. labels Jan 30, 2025
chaosvolt
chaosvolt previously approved these changes Jan 30, 2025
Copy link
Member

@chaosvolt chaosvolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GREB

@KheirFerrum
Copy link
Collaborator

KheirFerrum commented Jan 30, 2025

I'd probably round to the nearest multiple of 5 instead of the nearest multiple of 100 myself.

@scarf005
Copy link
Member Author

scarf005 commented Jan 30, 2025

that'd also work, however these numbers were originally either

  • meant to round up to 1/4 pounds (113g, 114g)
  • arbitrary numbers (107g)

thus it'd cause no harm in e.g rounding 107g to 100g rather than 105g.

chaosvolt
chaosvolt previously approved these changes Jan 31, 2025
Copy link
Member

@chaosvolt chaosvolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ewjur2gwrcb31

Copy link
Collaborator

@RobbieNeko RobbieNeko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

119 and the like make much more sense to round to 120, and in general I think that nearest 10 is the more sensible approach for most items.
Additionally: M33 ball ammo is genuinely about that heavy, and thus would arguably be best served at 115 (an entirely realistic value).

@scarf005
Copy link
Member Author

scarf005 commented Jan 31, 2025

119 and the like make much more sense to round to 120, and in general I think that nearest 10 is the more sensible approach for most items.

again, there's no real reason plant marrow is 119g, no tangible benefit to rounding to arbitrary weight value.

Additionally: M33 ball ammo is genuinely about that heavy, and thus would arguably be best served at 115 (an entirely realistic value).

this would be whether to choose realism vs gameplay abstraction (simpler weights). i'm indifferent on this one, could revert them if we want this level of precision but i doubt players want it

@RobbieNeko
Copy link
Collaborator

I don't see how rounding to the nearest 10 is all that arbitrary. The entire basis of the metric system is base 10. It still makes things far more metric to round to that, and the numbers would likely be just as pleasing when displayed ingame.

@scarf005
Copy link
Member Author

I don't see how rounding to the nearest 10 is all that arbitrary.

rounding from arbitrary values doesn't make sense. are there any real reason plant marrow must be 119g? it could have been any value, 118g, 104g, 93g... then why not just use 100g which rounds up nicely.

and the numbers would likely be just as pleasing when displayed ingame.

but 100g is better on eyes than 110g; 23 of 100g plant marrows is 2.30kg wheras 23 of 110g plant marrow is 2.53kg.

again, to reiterate: if it doesn't really matter how heavy plant marrow should be, then it'd better be 100g which stacks nicely.

@RoyalFox2140
Copy link
Collaborator

119 and the like make much more sense to round to 120, and in general I think that nearest 10 is the more sensible approach for most items.

again, there's no real reason plant marrow is 119g, no tangible benefit to rounding to arbitrary weight value.

Additionally: M33 ball ammo is genuinely about that heavy, and thus would arguably be best served at 115 (an entirely realistic value).

this would be whether to choose realism vs gameplay abstraction (simpler weights). i'm indifferent on this one, could revert them if we want this level of precision but i doubt players want it

There's no tangible benefit to doing any rounding. You're doing this to nitpick because you specifically dislike pounds and non-rounded numbers, Which is generally why I don't accept this, I leave it up to you to talk someone else into this.

@RobbieNeko
Copy link
Collaborator

I don't see how rounding to the nearest 10 is all that arbitrary.

rounding from arbitrary values doesn't make sense. are there any real reason plant marrow must be 119g? it could have been any value, 118g, 104g, 93g... then why not just use 100g which rounds up nicely.

By that standard about 80% of the game's weights are arbitrary and rounding would never make sense except for the things that have a specifically defined weight such as chemicals... except then it doesn't because they have a specifically defined weight as it is. So when would you accept rounding other than to intervals of 100?

@scarf005
Copy link
Member Author

no tangible benefit to doing any rounding.
You're doing this to nitpick because you specifically dislike pounds and non-rounded numbers

there exists UI improvement, see #2505

and PR body:

It's kind of the same reason they were 1/4 pounds etc. in the old days lbs was the default unit; so it made sense to use 1/4 pounds for weight since it would nicely display as 0.25 lbs on UI.
now it's the opposite; since #2510 the default is kg, so 0.1 kg display better

Copy link
Collaborator

@RoyalFox2140 RoyalFox2140 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After lengthy discussion in dev chat, and overall examining what's going on,

I don't approve of any rounding, but if we for some reason have to round for any reason, 10's works. I.E. 114 g goes to 110 g. I see no reason to round at all and upend weight as it subtly messes with balance especially on low strength / bad back players.

@scarf005
Copy link
Member Author

@scarf005 scarf005 marked this pull request as draft January 31, 2025 02:49
@scarf005 scarf005 closed this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JSON related to game datas in JSON format. mods PR changes related to mods.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants