In my game, when two inventory items are combined to create a third item, I’ve been using this code:
Game.TakeItem("new_item");
Game.DeleteItem("first_item");
Game.DeleteItem("second_item");
My inventory slides down for a second when an item is added to it, and the problem with this method is that you can see all three abovementioned items for a split second in the inventory, which isn’t very nice.
I’ve tried to do it the other way around (that is, first deleting the two items that are combined, and then adding the new item), but when I do that, the new item is never added.
I’m probably just missing something blinding obvious here?