Tomm0017 / rsmod

New repository: https://github.com/rsmod/rsmod
https://github.com/rsmod/rsmod
Apache License 2.0
123 stars 100 forks source link

A player.hasItem function #41

Closed ZenJakey closed 5 years ago

ZenJakey commented 5 years ago

There should be a function that you can use to see if a player has a specified item on their person (equipped, in inventory, or in looting bag) or in their bank and should return the number of that item. This would be used for items that a player should only have 1 or a certain amount of. Such as clue scrolls, quest items, etc.

Tomm0017 commented 5 years ago

Added in https://github.com/Tomm0017/rsmod/pull/42