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

"Locking" Packages? #13

Open
Eldog02 opened this issue Sep 5, 2022 · 2 comments
Open

"Locking" Packages? #13

Eldog02 opened this issue Sep 5, 2022 · 2 comments

Comments

@Eldog02
Copy link

Eldog02 commented Sep 5, 2022

I love Packages, they look really nice compared to similar mods and the restrictions in play make them much more interesting to use in my opinion-- I really like using them in tandem with Create, because they make great buffers for items.

Would you consider some sort of "locking" mechanism? The idea is that packages could keep 0 of a specific item in them, and reject any other items attempted to be inserted. This could let packages act as basic filters.

As a basic visual indicator, the "0" on the front of a package could turn red, like when one is full. Or you could physically slap a little lock onto it, idk.

@quat1024
Copy link
Owner

This is something I'm not sure about. I intentionally left any form of locking out of the mod when initially designing it, but over the past couple days i've been chewing on it and trying to figure out where packages wants to be on the "convenient for everyday use" <-> "redstone assholery funtimes" spectrum lol

one of the Things™️ is that packages are inherently kinda stackable and nestable; if "locked status" was a property of the package it would have to go on the NBT tag, which would make them different items. It'd have to be a transient in-world thing

But theres also the "If you don't take the last couple items out it's basically the same as locking 😉 just do some redstone ✨" argument lol

@Eldog02
Copy link
Author

Eldog02 commented Sep 11, 2022

Yeah, the "just keep the last item in lol" argument is fairly strong, I think it just depends on how much you value ease of use over the "complexity is fun" stance.

Not that my individual opinion rlly matters, but personally, I feel like this is a small thing that is usually just a bit obnoxious to work around. The redstone for it is typically fairly straightforward, it just takes up a bunch of space and isn't that interesting a challenge.

Ultimately I didn't really have any expectation as to whether this would be implemented or not, since I was aware that the mod is restrictive by design. 'S just my two cents.

quat1024 added a commit that referenced this issue Oct 10, 2022
Putting a slimeblock or honey block next to a package makes it sticky.
Sticky packages remember items put into them and continue to filter
against then even when the contents drop below 0.

Removing the block will make it not sticky, the sticky stack will be
forgotten. This is not a property that is saved to the package item btw,
it's just on the block.

Manual insertion is currently buggy, gotta update the sticky stack. Also
want to add some more effects too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants