Enigmatic Legacy

Enigmatic Legacy

10M Downloads

Shulker Garderobes

Tillllt opened this issue ยท 3 comments

commented

Idea to make fast changing gear sets. In a nutshell we put some items in special Shulker Box garderobe type and press binding button to rearm. Garderobe remember what we use last and change sets separately from each other. I created rough concept in a gif to approximately describe it and then make another second concept (with one gear set instead of two) that need to read curent player Curious slots so it can be more compatible with other Curious mods. It can provide to players an incredible flexibility in game and also can bring PvP battles on a whole new level.

sg idea

commented

This actually looks like an amazing idea. I have questions about first concept involving two gear sets within one box though - didn't quite understand whether player should be able to control which one gets swapped for, and how if so, or how they should alternate otherwise.

Regardless of whether we'll have two or one gear set, slots in box's GUI must surely be created dynamically to match currently existing Curios slots, also checking whether player actually has them unlocked already - it's not gonna make nearly as much sense without basic mod and modpack compatibility accounted for. I expect this might not be an easy task, but this is certainly a challenge I am eager to take on, granted how much usability and convenience such thing may provide.

commented

didn't quite understand whether player should be able to control which one gets swapped for, and how if so, or how they should alternate otherwise.

It needs to be an alternation i guess.

From #55 : These aren't gonna have any problems sorting themselves out, since .onTick() event for items is fired from left to right and from top to bottom, cycling through all items in the inventory

Maybe it might applicable for garderobes queue too.

And just in case, how it should work in my understanding:

  1. When press the button first: it swap main gear with garderobe one and somehow "mark" that player main gear in that garderobe now.
  2. Press button again: it finds main gear in "marked" garderobe, return it to player and swap with next one an instant with "marking" here now.
  3. If this is the last garderobe just return main gear and "unmark". Queue start from beginning
  • If player take out "marked" garderobe from inventory it "unmarks" and queue start from beginning. In other words that last garderobe gear on us is main now.
  • I have a question about iron rings: Is it planned to not use two of them at the same time? If yes then this should be taken into account if player take one in first ring slot and another in second ring slot in garderobe. Just don't use that ring from garderobe as if the slot was locked.
commented

I have a question about iron rings: Is it planned to not use two of them at the same time?

This does not only apply to iron rings, it applies to every wearable in the mod. Those other than rings just don't have more than one slot of their type provided by Enigmatic Legacy itself, and rings apart from iron are already not very useful to bear more than one of (like, why would someone try to equip two Magnet Rings at the same time).

Hopefully, ICurio capability contains .canEquip method that allows to check whether or not the item should be allowed to equip by given player in given slot, so no issues on this expected.