jgh713 wrote:Though for some reason the map audit forced every outdoors room on my map to be indoors.
That seems a bit strange - do you mean that (you think) the "environment" {lua
setRoomEnv(roomId, envId) &
getRoomEnv( roomId ); 2D Mapper "color" though that will be changed to "environment" when a second direct "color" command comes on-line (see below)} "number" that those rooms have is being clobbered? Or that the colour is being changed? Or that some "userData" is being subject to
application frobbing?
In relation to this I have some environment "improvements" on a back-burner: those include overhauling/extending the code so that that an "environment" has a "name/description" and possibly a standard room "weight" and "character" and so that the mapping of environment to colour that is auto-magically done (but kept inaccessible from the user) by the auto-magic XML Map parser used for the downloaded maps from the 5 IRE MUDS) would be user accessible {so that several different "environments" that are mapped to the same "color id" can be individually reassigned.} Some packages do some of the above but I thought it ought to be brought into the Application core.
That bit about environment number to colour is particularly relevant when say several different types of "water" are all mapped to the ANSI 4 "blue" colour on the "mapper color" tab of the profile preferences but each has a different "htmlcolor" attribute that maps to a different 24bit RGB shade that Mudlet currently ignores. At present one of the IRE MUDs has that ("Achaea" IIRC).
For the moment though some of this needs to mess with the internal data structures - and the "room" one {
TRoom class for anyone that cares} is already getting a bit
Heath-Robinson so I have stopped off to re-factoring/redesigning some aspects of that which should pay off greatly to unify the way that exits are identified internally...! This should improve the handling of exits and the things that are linked to them (doors/weights/custom lines/no-speedwalk-locking/speedwalking & route-finding) - and that will also help when translating the GUI/Internal for other languages with different initials e.g. here are a few guesses but I am not sure we can even relay on a single letter initial being enough for many languages:
- North, East, South, West, Up, Down, In, Out {English}
- Nord, Est, Sud, Ouest, Haut, Bas, Dans, Dehors {French}
- Nord, Ost, Süd, West, Oban, Unten, Im, Aus {German}
- Norte, Este, Sur, Oeste, Arriba, Abajo, En, Fuera {Spanish}
![Confused :?](./images/smilies/icon_e_confused.gif)