-
Notifications
You must be signed in to change notification settings - Fork 188
Introduce new Sync command CraftFrom and make the crafting inventories client side only
#2506
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
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
08ac5ea
try Crafting now accepts slice (sync.zig version)
Wunka 0eaf344
same priority system
Wunka a5e00db
part 1
Wunka 79ca1df
kinda working craftFrom
Wunka b6e03b5
its now ClientSide
Wunka e68e4a6
make priority right
Wunka 5248ecc
remove check for sync (as its now client side)
Wunka d5249fb
format
Wunka e17b9d3
fix comments
Wunka 92604f8
validRecipe helper function
Wunka 5fa6137
Size -> Count
Wunka f577203
update to use put_items_into
Wunka 1133fe1
did not save the remove...
Wunka bb616b5
format
Wunka d5ea8e3
yeah... it seems I choose a wrong option while rebasing...
Wunka 9e11e57
change asserts to fit with the new .crafting
Wunka a441aca
small changes to align to with version before rebase
Wunka 1d1071a
fix validRecipe
Wunka 95f6d92
remove chachedInventory
Wunka 5886c22
use Recipe for CraftFrom
Wunka b1c5dc3
move canHoldcheck
Wunka b00b2b5
Update src/sync.zig
Wunka 9311229
readd recipe source
Wunka 1cf6c33
Merge remote-tracking branch 'upstream/master' into craftFromSync
Wunka 15801bc
apply changes to put_items_into
Wunka f71c896
small fix
Wunka d3fc30a
move CraftFrom
Wunka 1bc1d8b
add getPossibleHoldingAmount
Wunka aa36664
reverse deletions
Wunka 05de414
fix comment
Wunka 6e0ec72
Update src/sync.zig
Wunka c6bda0b
remove recipe again
Wunka a82b8a9
Update src/Inventory.zig
Wunka 95df9e0
small fixes and create remove_items_from
Wunka 94e7b46
Inventories general structure
Wunka f6463cf
change the inner namespaces so the use Inventories
Wunka c072856
use the new Inventories struct
Wunka 32ab97c
Merge remote-tracking branch 'upstream/master' into craftFromSync
Wunka 40bee1e
add errdefer and readd remove
Wunka dd6a338
Update src/Inventory.zig
Wunka 56edac5
readd removed code... why...
Wunka 28b7e64
fixed dumb thing and added the failing check
Wunka db8891c
Update src/sync.zig
Wunka 4ca7804
list?
Wunka f41dc25
check revived
Wunka 3cf6816
Update src/items.zig
Wunka 7b86c70
revert change
Wunka a6079d2
remove being able to take the a source item from recipe menu
Wunka 6258aed
added immutable check
Wunka a5a2d6f
Update src/sync.zig
Wunka bff8dfd
allow recipes with 0 source tiems and use == instead of eql
Wunka 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.