Swapping inventory stack with cursor stack loses reserved inventory slot
Posted: Wed May 28, 2025 1:51 pm
I have a blueprint in my inventory. I click it, to put it in my cursor. The slot in my inventory now has a hand icon, reserved for the blueprint to return to. I click in the world to place the blueprint. At this point, my mod event triggers and it does some manipulation of the cursor item stack. The blueprint gets swapped back to the main inventory or to a temporary script inventory, some stuff happens, then it gets swapped back to the cursor stack.
At this point, the reserved slot in the main inventory is gone.
How can I preserve that reserved slot through this process?
At this point, the reserved slot in the main inventory is gone.
How can I preserve that reserved slot through this process?