I have an idea for a plugin I’d like to write for Geas mud but am unsure of the most efficient way to go about it. The idea is to give more choice and variability to users in the colour scheme and styles of text they see and the ability to trigger reliably on ‘events’ via broadcasts to other plugins.
The situation is that Geas mud gives a lot of variability in coloursets to users. For example I can set all my critical hits on an enemy to pink text over blue background. This makes creating triggers based on colour/font easy and very reliable for events. BUT maybe I don’t want to see a whole lot of pink and blue on my screen – ie I want the reliable trigger with a fairly neutral colour palette.
So then in comes this idea... what it involves is setting all message types to unique font/colours, using triggers to identify what the message type is, omitting it from output, broadcasting that ‘event’ to other plugins, then using ColourNote to send the text back to the output window in a user-defined colour and font.
I am comfortable doing all that but I’m unsure if that’s the most efficient way to do it. For example, there are 82 different types of text I can receive from the mud in unique colours. Is making 82 different triggers matching only on font a wise move or is one trigger with a function more efficient? Also is using ColourNote to reproduce all this text going to result in slowness or issues with the sequence of text on the screen?
The situation is that Geas mud gives a lot of variability in coloursets to users. For example I can set all my critical hits on an enemy to pink text over blue background. This makes creating triggers based on colour/font easy and very reliable for events. BUT maybe I don’t want to see a whole lot of pink and blue on my screen – ie I want the reliable trigger with a fairly neutral colour palette.
So then in comes this idea... what it involves is setting all message types to unique font/colours, using triggers to identify what the message type is, omitting it from output, broadcasting that ‘event’ to other plugins, then using ColourNote to send the text back to the output window in a user-defined colour and font.
I am comfortable doing all that but I’m unsure if that’s the most efficient way to do it. For example, there are 82 different types of text I can receive from the mud in unique colours. Is making 82 different triggers matching only on font a wise move or is one trigger with a function more efficient? Also is using ColourNote to reproduce all this text going to result in slowness or issues with the sequence of text on the screen?