Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanjosolutions/bags
A library of functions for bags related things that can help other add-on creators to save some work.
https://github.com/sanjosolutions/bags
wow wow-addon
Last synced: 4 days ago
JSON representation
A library of functions for bags related things that can help other add-on creators to save some work.
- Host: GitHub
- URL: https://github.com/sanjosolutions/bags
- Owner: SanjoSolutions
- License: unlicense
- Created: 2022-12-22T18:39:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T16:51:42.000Z (12 months ago)
- Last Synced: 2024-05-01T19:25:45.311Z (8 months ago)
- Topics: wow, wow-addon
- Language: Lua
- Homepage: https://www.patreon.com/addons_by_sanjo
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bags
A library of functions for bags related things that can help other add-on creators to save some work.
**Included functions:**
* **Bags.countItem**: a function which counts the number of items with a specific item ID in the bags.
* **Bags.findItem**: a function which searches for an item or one of multiple items.
* **Bags.hasItem**: a functions which checks if a specific item is in one of the bags.
* **Bags.determineNumberOfFreeSlots**: a function which determines the number of free slots.
* **Bags.areBagsFull**: a function which checks if all bags are full.
* **Bags.hasFreeSpace**: a function which checks if there is any free space.## How to use
Please see "[How to use Library](https://github.com/SanjoSolutions/LuaLibrary#how-to-use)" for how to use this library.