0.2.0 #8
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lubba64/game_inventory!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor-inventory-managers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Intended updates:
inventory_contains_itemdoes not need to have optionalitem_instanceinput
add_to_inventorydoes not need to have optionalitem_instanceinputquant_in_inventoryempty_quant_in_inventoryremove_from_inventorydoctestsIDebugItemCloses #7
Closes #3
Closes #6
Closes #4
This is essentially done, just needs final review.
There are some relatively small breaking changes, but since this library is in its infancy it shouldn't be an issue.
It occurred to me that the slot management helpers could just leave it up to the user ( and quite easily ) what happens when the specific operation does not work. This would be amazing for doctests, as it removes the need for a check on whether the items were swapped, as we can simply check if the result is
ErrorOk.Also, it appears that someone wants better docs in #6, and personally I agree. I have seen way too many projects that have inadequate documentation, and I want to fix that problem before it becomes too large. That's a new requirement for
0.2.0ALRIGHT YOLO