Steps to reproduce:
- Start a new game
- Put a blueprint book in your inventory, and put a blueprint inside of the book
- Pick up the blueprint in the book
- /c game.print(serpent.block(game.player.hand_location))
- Observe that the hand_location says the hand is in the main inventory, even though it's actually in the blueprint book's inventory.
This is breaking Editor Extensions' inventory sync, and the only workaround I can think of is to iterate the entire inventory to check for a matching book, which is infeasible.
hand_location is incorrect when holding a blueprint in a blueprint book
hand_location is incorrect when holding a blueprint in a blueprint book
Don't forget, you're here forever.
Re: hand_location is incorrect when holding a blueprint in a blueprint book
I think this is a duplicate of 93175?
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: hand_location is incorrect when holding a blueprint in a blueprint book
Ah frick, I searched before posting but apparently didn't search hard enough.
I hope that I can get a different answer, because I can't think of a sane way to work around this issue.
I hope that I can get a different answer, because I can't think of a sane way to work around this issue.
Don't forget, you're here forever.