2.1.0 • Published 4 months ago

@sanjo-addons/bags v2.1.0

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

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" for how to use this library.

2.0.5

6 months ago

2.1.0

4 months ago

2.0.4

6 months ago

2.0.3

6 months ago

2.0.2

9 months ago

2.0.1

9 months ago