This would probably be a logistical nightmare for item accounting, which is probably why it hasn’t been done, but it would probably also be less costly to handle on the C++ side than on the Lua side. I always feel dirty when I have to delete something and replace it with something else in the exact same spot. (Having to delete and remake monsters before we could send :attack(nil) was even worse, mind you.)
This would probably be a logistical nightmare for item accounting, which is probably why it hasn’t been done, but it would probably also be less costly to handle on the C++ side than on the Lua side. I always feel dirty when I have to delete something and replace it with something else in the exact same spot. (Having to delete and remake monsters before we could send :attack(nil) was even worse, mind you.)