Hi, i want to know how can i do to detect a pool of items declared by the npc.
For example, if the player have 3 jelloy, 3 apple, 6 sticky. The npc will remove that 12 pcs of items and give 6 kafra card, or if he have 1 jello and 2 apple the npc will give 3 kafra cards.
The Jellopys, Apples and sticky have been declared in the script, and the script will delete the amount that the player have of any of these items and give kafra cards depending of the items deleted.
The ingredients can be combine, like the example above.
Question
fictionx
Hi, i want to know how can i do to detect a pool of items declared by the npc.
For example, if the player have 3 jelloy, 3 apple, 6 sticky. The npc will remove that 12 pcs of items and give 6 kafra card, or if he have 1 jello and 2 apple the npc will give 3 kafra cards.
The Jellopys, Apples and sticky have been declared in the script, and the script will delete the amount that the player have of any of these items and give kafra cards depending of the items deleted.
The ingredients can be combine, like the example above.
Greetigs.-
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.