Um... well, in theory, you could maybe make a MMORTS with this, but it'd require quite a lot of rewrite of the netcode. Or it'd have to be a meta-game thing, where players explored "dungeons" then returned to the "town", which would be some really bizarre modification of the Lobby Client concept.
In short, it could be done, but you probably don't want to
As for code, it's mainly C++, an animation language called BOS, and LUA. I don't think Delphi is required any more.