Alright so the first step of the script is complete. All items that were still stuck in walls have been moved to the cockpit of the entity they were stuck in. Also took the chance to do a little db cleanup removing items that no longer exist or the like.
Part two of the script will finishing it up running it on dev, getting people to test it and then run it on main.