Closed alesan99 closed 6 months ago
This is important for shops. Right now you have to know the category of each item you want to add to an NPCs shop, all items should be in one array instead.
Edit: eehhh not really, they should be separated for the sake of tabs.
The category still serves a purpose for when its available, so I just made the itemID the first parameter on all item related functions b8e263f4321d186f2d8eaf41e36ac0d78abc02ff
It'd be better to get item data from just the item id string, without having to know the item's category.