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
API improvements for equipment #104
Conversation
…nal direction sort
…ct cardinal direction sort" This reverts commit 470bce8.
@kelltom Sorry for the multiple features in one pull request, I'll make a new branch for each feature in the future. I thought that pushing this new code to my main branch would let me open a new pull request instead of modifying this one. Additions: get_is_inv_empty in status_socket. Just a nice little function to check if inv is empty because the opposite of get_is_inv_full isn't necessarily empty and vice versa. These 2 new functions and the direction_sort have all been tested with my bots. |
I'd be willing to convert this PR to a title of If you want, I can revert those changes and accept the merge. Then maybe a future PR could be made if you happen to find a way to do cardinal sort with consideration of the camera. |
get_all_tagged_in_rect direction_sort parameter added for North, South, East, and West directions. This functionality makes it easier to navigate from A to B by placing tile markers on the ground.