Nokturno
Not a human
- Joined
- Aug 7, 2009
- Messages
- 569
- Solutions
- 2
- Reaction score
- 402
hello hope someone can help me with this.
im working on a crafting system atm and i need to verify if the item is gear (helmet, chest, legs, weapon, shield, etc)
what im doing right now is looping the item id of every item on the list but i do not like doing it that why.
so i want to know how can i just verify if the item is a gear piece.
this is how i am doing it.
but if i need to add more ids it is going to be a mess
im working on a crafting system atm and i need to verify if the item is gear (helmet, chest, legs, weapon, shield, etc)
what im doing right now is looping the item id of every item on the list but i do not like doing it that why.
so i want to know how can i just verify if the item is a gear piece.
this is how i am doing it.
but if i need to add more ids it is going to be a mess
Lua:
recipe.craftedItemId == 35379 or 35380 or 35381 or 35382 or 35383