- Joined
- Apr 24, 2015
- Messages
- 54
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMVXA
Hi guys!
I was wonder if there was a way I could check for multiple items at the same time in one script call.
Basically I want to make a basic crafting system without a huge fancy script, and I want to be able to check for multiple items with an ID value and make sure the player has enough of the items with said ID value, all in one script call.
Ex:
Player wants to craft item "Fork Lance"
Required Items:
2 Flotsam
3 Wood
2 Shells
Script then checks the player inventory for all 3 item IDs and then checks that there are enough of said item in the inventory.
Thanks for the help!
I was wonder if there was a way I could check for multiple items at the same time in one script call.
Basically I want to make a basic crafting system without a huge fancy script, and I want to be able to check for multiple items with an ID value and make sure the player has enough of the items with said ID value, all in one script call.
Ex:
Player wants to craft item "Fork Lance"
Required Items:
2 Flotsam
3 Wood
2 Shells
Script then checks the player inventory for all 3 item IDs and then checks that there are enough of said item in the inventory.
Thanks for the help!
