-
Notifications
You must be signed in to change notification settings - Fork 41
Orchestra of the Phantom Hands Improvements #85
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
Conversation
…uld be identical, but there is a lot less nesting now.
…r renamed routing foci with the same name.
…e name and what they do is more obvious thanks to having extra space.
…probably better than defaulting to English ones.
|
If you want to test this, this guide and the pages for the foci are pretty good, except that only the non-focus items in the output focus chest have any effect (I did not change this, that's how it was originally). That means that the items in the input chest do not control the Global routing focus and it takes everything, which inspired the ability to rename them. |
serenibyss
left a comment
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.
Thanks for the PR! I have some preliminary comments before I test this in-game
src/main/java/WayofTime/alchemicalWizardry/common/items/routing/OutputRoutingFocus.java
Show resolved
Hide resolved
src/main/java/WayofTime/alchemicalWizardry/common/routing/RoutingFocusLogicIgnMeta.java
Show resolved
Hide resolved
src/main/java/WayofTime/alchemicalWizardry/common/routing/RoutingFocusLogicLimitGlobal.java
Show resolved
Hide resolved
src/main/java/WayofTime/alchemicalWizardry/common/routing/RoutingFocusLogicMatchNBT.java
Show resolved
Hide resolved
src/main/java/WayofTime/alchemicalWizardry/common/routing/RoutingFocusLogicModItems.java
Show resolved
Hide resolved
src/main/java/WayofTime/alchemicalWizardry/common/items/routing/RoutingFocus.java
Show resolved
Hide resolved
Co-authored-by: Maya <10861407+serenibyss@users.noreply.github.com>
The main change in this pr (aside from the general refactor this code really needed) is to allow players to rename input/output foci so they only interact with other foci in the same ritual that share the name. This was most needed for the output focus (global), because it would pull from every input in the ritual with no filter, but it can probably be a nice utility for the other foci as well. Unnamed input/output foci will all interact with each other, so existing setups should be unaffected since players had no reason to rename them before.
Because players will be renaming them, the output foci have a new line in their tooltip that explains their logic better than the previous names did. Some examples:
Default Output Routing Focus:



Output Routing Focus (Ignore Meta):
Output Routing Focus (Global):
I also improved the translation of the values for the "Direction:" tag in the tooltip for Russian and Chinese (I speak neither language, but those ones already had suitable translation keys). Previously, these values were displayed in English (SOUTH, EAST, etc):


Translations for the new "Logic" tag are welcome.