I've made some changes to the addItem event, it's known as addNewItem in the event list.
This event can be like a search, or you can use an existing object if using eval or inside a script. addItem will still exist of other mods are using it, if you have any.
Hopefully this removes some console errors and makes searching a little more efficient after the first time using a cached variable base.
I've also added a
findItemByName(%name, %resetItemCache) command as well.
The event doesn't use the item list, it's a string instead. <- This is not an improvement, this is just an item finder
Improvements: Uses "findItemByName" that uses a cached database after the first use; should remove any console errors if any.
"You can add items to yourself like never before!"
Event_addItem