I think this would be basically just a version of wish.cpp’s monster_wish that uses mapdate.h instead of monster.h and uses construction.cpp’s map tile changing code. I tried doing it on my own but couldn’t seem to accomplish anything.
interesting, what uses do you have in mind?
Adventure maps.
Also fixing random holes in lab walls.
I got the idea from wanting to spawn gas pumps to test vehicles without having to spawn gas 100 units at a time and wanting to spawn walls instead of spawning lots of two by fours and nails. Being able to switch one tile with another is a pretty useful cheat/debug feature though, since it could be used to test whatever terrain configuration someone would want.