[Issue Report]: Trying to pick up the magic rock with a full inventory causes it to appear at ground level behind the stand
Operating System
Windows x64
DevilutionX version
1.5.2
Describe
Attempting to pick up the magic rock when you don't have room in your inventory causes it to drop back on the same tile as the pedestal/stand object, but using the ground sprites and selection mode instead of the elevated sprites/mode.
To Reproduce
- Fill up your inventory so there's no space for a 2x2 item
- Go to dlvl 5 in a game with the magic rock available
- Attempt to pick up the rock
- See it get drawn behind the base of the pedestal
Expected Behavior
The rock should either stay elevated, or spawn on an adjacent tile (using the same logic as if it was dropped by the player)
Additional context
Nice write up, I have seen it happen but was mostly just confused about what just happened
I was trying to remember what other items have custom stands like the magic rock... does this also happen with the Lazarus Staff on hell, by any chance?
I don't recall if there are any other similar item stands for unique/quest items.
The Vile Stand works more like an armor rack. Therefore, Lazarus' Staff always flips onto the ground before you can put it in your inventory.