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

[Suggestion]: Compatibility with "The Salt" #54

Closed
2 of 3 tasks
katubug opened this issue Aug 15, 2024 · 9 comments
Closed
2 of 3 tasks

[Suggestion]: Compatibility with "The Salt" #54

katubug opened this issue Aug 15, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@katubug
Copy link

katubug commented Aug 15, 2024

General Info

  • I would like to propose new content
  • I would like to propose changes
  • I would like to propose another thing

Suggestion Description

Hi! I'm a small-time modpack maker who is hoping to use your mod in my pack, and I was wondering if you would consider adding compatibility with the mod "The Salt"? Unsure if this is considered "changes" or "new content" so I checked both.

What I want is to have Salted foods not spoil (or spoil more slowly). But since your system is defined via tag, and Salt's salting system is defined via NBT, I don't see a way that I can make compatibility via KubeJS. I would be more than happy to donate a couple of bucks to both of y'all if this change could be possible!

Thanks so much for your time!

I've also asked the mod author of The Salt here: mortuusars/Salt#21

@katubug katubug added the enhancement New feature or request label Aug 15, 2024
@Mrbysco Mrbysco self-assigned this Aug 16, 2024
@mortuusars
Copy link

@Mrbysco Hey, Salt dev here. I could implement the support from my side, but that would possibly require mixing in into your classes. I think it would be much easier to implement on the Spoiled side, since that would require just the compoundTag.contains("Salted") check. And maybe isModLoaded("Salt") to be extra sure. No dependencies on my mod, etc.
Please let me know how you want this to be implemented, and if I should make any changes from my side.
(or I can try making a PR to this repo)

@katubug
Copy link
Author

katubug commented Aug 21, 2024

I wanted to add a small note, in that this actually works - a little bit - out of the box. It seems, from my limited testing, that if you salt food immediately on obtaining it, then it won't spoil. If you wait for it to get the Spoiled data, however, it's a crapshoot whether it rots or not.

@katubug
Copy link
Author

katubug commented Sep 4, 2024

@Mrbysco Sorry to bother, is this something you'd consider? I'm hoping to release my modpack in time for Halloween, so I'd just like to know if I can expect this to happen, or if I need to adjust my plans. Thanks!

@Mrbysco
Copy link
Owner

Mrbysco commented Sep 4, 2024

Which Minecraft version?

@katubug
Copy link
Author

katubug commented Sep 4, 2024

1.20.1 would be my preference! Also hi! :D

Mrbysco added a commit that referenced this issue Sep 4, 2024
@Mrbysco
Copy link
Owner

Mrbysco commented Sep 4, 2024

Done. A new build is being generated and uploaded

@Mrbysco Mrbysco closed this as completed Sep 4, 2024
@katubug
Copy link
Author

katubug commented Sep 5, 2024 via email

@Mrbysco
Copy link
Owner

Mrbysco commented Sep 5, 2024

The compat is behind a config option that defaults to false :) (In case you're trying to figure out how to enable the compat)

@katubug
Copy link
Author

katubug commented Sep 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants