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

Added itemDurationMultipliers to ConsumeGenerator #9664

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

SomeonesShade
Copy link

@SomeonesShade SomeonesShade commented Mar 21, 2024

Enables shenanigans like this:
Capture

Less dependency on the predetermined stats of consumed items, which would be great for modding

If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:

  • I have read the contribution guidelines.
  • I have ensured that my code compiles, if applicable.
  • I have ensured that any new features in this PR function correctly in-game, if applicable.

TODO:

  • UI?
  • Hjson support?

Duration issues when there is no items left, duration is set to 1, affecting while it's still "valid".
@camelStyleUser
Copy link

killer check for null

@SomeonesShade
Copy link
Author

SomeonesShade commented Mar 21, 2024

nice, should be fixed
btw should i wait for #9633 in doing the ui? I can probably make my own (at least good enough for now)

@SomeonesShade SomeonesShade marked this pull request as draft March 30, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants