-
Notifications
You must be signed in to change notification settings - Fork 178
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
[script][inventory-manager]add vault book,storage book,pocket. adjust vault surface handling for container nesting data #6859
Merged
MahtraDR
merged 15 commits into
elanthia-online:master
from
desertkaz:desertkaz-patch-1
Jul 10, 2024
Merged
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
fae1512
add inventory methods: storage book, vault book, pocket
desertkaz 3a95192
add storage book ignores, separate surfaces for container logic
desertkaz 4d166f4
fix linting issues
desertkaz 98595d1
update argument descriptions
desertkaz 54ccb23
loop issue_command until proper response
desertkaz a2ae59d
update to resolve undefined method
desertkaz cfdc2a8
handle empty register
desertkaz 4f2b8ef
add ignore for empty storage book
desertkaz 228949b
update argument descriptions
desertkaz 28c3f47
combine vault and storage book behavior, add some spacing for consist…
desertkaz 5c12560
fix linting issues
desertkaz 048ef8c
reduce timeout to 3s for retry on Lich::Util. Made nested match N+ c…
desertkaz a62e66b
add waitrt? to the Lich::Util call. Add container nesting logic to c…
desertkaz 11c7a22
fix linting issues
desertkaz d514db9
combine shadow servant w/ vault/storage books for formatting and add …
desertkaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Line 257 uses command == 'vault standard', the two new ones use /vault book/.match(command). I don't know this for sure, but .match does a regular expression comparison, which I suspect is more labor intensive than just doing a string compare. It's probably fairly insignificant, but I would think we're better off with consistency, in any event.
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.
One other thought, you should probably combine the vault book and storage book, since the code itself is the same.
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.
My initial thought was just being against"read my vault book" and "read my storage book" as the matches and typically just use regex. Can change to whatever.
I was following the example of vault and family vault being unique methods when I made the updates.
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.
Oh, not the methods, I just mean these two elsif statements. But just my two cents!