read this https://www.thebuddyforum.com/threads/old-item-filter-editor-guide.157401/page-4#post-2524953