Published Feb 21st, 2020, 2/21/20 11:29 am
- 718 views • 1 today
- 27 downloads • 0 today
8
This is hard to explain so bear with me...
It's easy to detect if a player has an item in their inventory but hard to detect the quantity. This is important for shops wanting to sell an item for more than 1 emerald for example.
This solves that problem.
Example: With the click of a button, I can test if I have at least 5 emerald in my inventory. If it passes, I will receive 2 diamond. I will then lose 5 emerald. If I have less than 5 emerald, nothing happens. If I have more than 5 emerald, the system will still only remove 5.
TLDR: Buy items for more than 1 item at a time THE POSSIBILITIES ARE ENDLESS
It's easy to detect if a player has an item in their inventory but hard to detect the quantity. This is important for shops wanting to sell an item for more than 1 emerald for example.
This solves that problem.
Example: With the click of a button, I can test if I have at least 5 emerald in my inventory. If it passes, I will receive 2 diamond. I will then lose 5 emerald. If I have less than 5 emerald, nothing happens. If I have more than 5 emerald, the system will still only remove 5.
TLDR: Buy items for more than 1 item at a time THE POSSIBILITIES ARE ENDLESS
| Progress | 100% complete |
| Tags |
4495455
2



Have something to say?