-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Feature: Visitor Super Craft #1173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move all code out of the visitor feature class, create a new class for it. The class is already 600+ lines long. use VisitorOpenEvent with higher priority (so that it gets called after the normal event) to detect the visitor items properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works in game, but still lots of cleanup to do.
Check if the number of items needed is in the inventory as well. Easily doable via internalName.getAmountInInventory()
src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/ShoppingListConfig.java
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt
Outdated
Show resolved
Hide resolved
This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes. |
…rdenVisitorSupercraft.kt Co-authored-by: hannibal2 <24389977+hannibal002@users.noreply.github.com>
# Conflicts: # src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
Conflicts have been resolved! 🎉 |
What
Added a Super Craft button in the visitor menu when there are enough resources in sacks to make the items needed.
(Discord link: https://discord.com/channels/997079228510117908/1215837122003599412)
Images
https://conutik.catto.pics/666e6874 (If you have the required materials to craft)
https://conutik.catto.pics/b932783b (If you don't have the required materials to craft)
Changelog New Features