Map room color based on info
Posted: Wed Mar 08, 2023 2:16 pm
I realize this is likely answered in this forum somewhere but I am new to Lua and coding in general and have been looking for the right way to describe what i am looking for.
I have a custom mapper established by the community of the MUD i play. The mapper provides a room 'info'. I am trying to change the color of the room square based on that description. It currently does that for a couple room types but, for example, when the short info contains 'A paved suburban street' i want to make that room color purple.
Could anyone point me to a thread or wiki file that would assist with that? Additionally is there a specific set of code i could look for in the file that denotes room color based on info?
Thanks!
I have a custom mapper established by the community of the MUD i play. The mapper provides a room 'info'. I am trying to change the color of the room square based on that description. It currently does that for a couple room types but, for example, when the short info contains 'A paved suburban street' i want to make that room color purple.
Could anyone point me to a thread or wiki file that would assist with that? Additionally is there a specific set of code i could look for in the file that denotes room color based on info?
Thanks!