Alright so I've run into one final snag. When equipping an item, YEP_ItemCore seems to grab the latest in the IDs (screenshots to follow), however I want to be able to grab the ID of the item selected in the window. Example:
Actor gets 2 swords, IDs assigned: 3001 and 3002 (they show up as 1/100 and 2/100 in the Weapons window or Equip window respectively).
I want to equip the 1st sword (3001), but when I do, the sword(ID 3002) is passed along instead... how do I fix this?
Link: (YEP_ItemCore)
EDIT(12:02p): Alright I've narrowed it down to the Window_ItemList's drawItemCarryNumber() function in YEP_ItemCore. It's how it assigns its groups or something. It seems to get the latest items created first (3003, 3002, 3001) and assigns them to the index of that item (+1). LINES 1407-1413 of YEP_ItemCore, to follow along.
-- Order of Item Assignment --
So I see 1 of 2 ways of doing this... 1) somehow save/change the load order of items (not sure where to do that), or 2) change the index to 3000 - ItemID... that should do it. Will brb with test.
EDIT2: Well changing index to ItemID - 3000 sort of worked.. but the items loaded are still backwards lol - Screenshot:
Screenshots:
Actor gets 2 swords, IDs assigned: 3001 and 3002 (they show up as 1/100 and 2/100 in the Weapons window or Equip window respectively).
I want to equip the 1st sword (3001), but when I do, the sword(ID 3002) is passed along instead... how do I fix this?
Link: (YEP_ItemCore)
EDIT(12:02p): Alright I've narrowed it down to the Window_ItemList's drawItemCarryNumber() function in YEP_ItemCore. It's how it assigns its groups or something. It seems to get the latest items created first (3003, 3002, 3001) and assigns them to the index of that item (+1). LINES 1407-1413 of YEP_ItemCore, to follow along.
-- Order of Item Assignment --
So I see 1 of 2 ways of doing this... 1) somehow save/change the load order of items (not sure where to do that), or 2) change the index to 3000 - ItemID... that should do it. Will brb with test.
EDIT2: Well changing index to ItemID - 3000 sort of worked.. but the items loaded are still backwards lol - Screenshot:
Screenshots: