Just like on the tin: Add "event listener" for when $dataArmors or $dataWeapons length changes?
Is there anything that does this and calls a function?
And it can't be the Game_Interpreter.prototype.command127-128. Because if you are using say YEP_ItemCore with independent Items it doesn't get the new item, just the base item. So the best thing would be if I could just know when and/or if the length of either database changes?
The point of this is to store the last created item.
Best regards,
Is there anything that does this and calls a function?
And it can't be the Game_Interpreter.prototype.command127-128. Because if you are using say YEP_ItemCore with independent Items it doesn't get the new item, just the base item. So the best thing would be if I could just know when and/or if the length of either database changes?
The point of this is to store the last created item.
Best regards,