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

Adding Advanced Wireless Setup Kit #18

Merged
merged 11 commits into from
Jun 11, 2024

Conversation

ReignOfFROZE
Copy link

@ReignOfFROZE ReignOfFROZE commented Jun 7, 2024

This PR adds the Advanced Wireless Setup Kit, a tool aimed to ease the pain of binding many wireless connectors at once. It allows you to queue wireless connectors to be bound, and then bind them all in one go.

Has two modes

  • Queuing Mode - Allows you to select wireless connectors to be bound
  • Binding Mode - Binds the first wireless connector in the queue to the wireless connector that is selected
    Sneak right click to change the mode of the tool.

Can be put in a crafting table to clear the NBT, which effectively will clear the queue as well to remove any left over/stale connectors

If anyone can come up with a better texture be my guest, I'm not great at sprite design.

Recipe PR here: GTNewHorizons/NewHorizonsCoreMod#864

Video of it in action:
https://github.com/GTNewHorizons/ae2stuff/assets/16232674/7748b4c6-96c3-448b-b0f8-f013d367be74

*misc addition is that I added an NBT clearing recipe for the normal wireless setup kit too, since sometimes it's hard to tell if that one is currently bound to a connector or not

@ReignOfFROZE ReignOfFROZE marked this pull request as draft June 7, 2024 19:19
@ReignOfFROZE
Copy link
Author

Found a potential issue - marking as draft until I resolve it or confirm it's not an issue

@ReignOfFROZE
Copy link
Author

Seems like the issue was a result of a bad build - unmarking as draft

@ReignOfFROZE ReignOfFROZE marked this pull request as ready for review June 7, 2024 19:47
 - Added constants to AdvWirelessKit.scala to define values for the modes
 - Added a constant to AdvItemLocationStore.scala to find the  NBTTag type and use that in place of  which was used previously
 - Added error logging to AdvWirelessKit.scala and ItemWirelessKit.scala for when a connection fails fatally
 - Switched else statements for mode to else if statements to explicitly check that the mode is the other mode
 - Added constants to AdvWirelessKit.scala to define values for the modes
 - Added a constant to AdvItemLocationStore.scala to find the COMPOUND NBTTag type and use that in place of 10 which was used previously
 - Added error logging to AdvWirelessKit.scala and ItemWirelessKit.scala for when a connection fails fatally
 - Switched else statements for mode to else if statements to explicitly check that the mode is the other mode
@Dream-Master Dream-Master merged commit bf19836 into GTNewHorizons:master Jun 11, 2024
1 check passed
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.

Allow clearing of Wireless Setup Kit state
3 participants