-
Notifications
You must be signed in to change notification settings - Fork 276
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: stack comestibles regardless of rot #4320
feat: stack comestibles regardless of rot #4320
Conversation
How is the freshness threshold working? |
ee2a85c
to
05b32c2
Compare
I think similarity check for item rotness would be better but i wasn't able to figure out equation that worked well. my attempt was to use ratio between two, but then item with 0 rot counter (spawned right away) and item with 1 rot counter (spawned 1 second before) won't merge because their similarity ratio was 0 (equation: |
i think we should migrate everything to groups in the long term (DDA did that), thus i applied option groups to newly added ones. |
looks good, do you intend to change the system? Or is it the final version? |
edit: done. |
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.
Here's hoping nothing big was missed in testing...
Actually if wasn't tested with the new system.... |
Purpose of change
Describe the solution
legacy
by default, only comestibles that's up to 75% fresh can be merged (tweakable)Describe alternatives you've considered
Testing
Solid comestible
solid.mp4
Liquid comestible
liquid.mp4
have to change the option before testing.
also updated
stacking_over_time
test to test both legacy and new behavior.Additional context
related: #3057