I have been using the mapper plugin written for TI:Legacy in this thread: https://www.gammon.com.au/forum/bbshowpost.php?id=14139
It's wonderful and writing it for us was a great kindness. It works great right up until you enable xterm colours ingame. I quite enjoy xterm colours, so I took it upon myself to try to update the plugin to be compatible.
I've worked out that the problem lies with the "got_room_name" trigger not being triggered due to the text_colour flag. The trigger fires fine when text_colour is removed - unfortunately, its colour is the only identifying factor available to me when it comes to room names.
So is it possible to match triggers to colours with xterm enabled? I'm having trouble finding documentation on the topic.
It's wonderful and writing it for us was a great kindness. It works great right up until you enable xterm colours ingame. I quite enjoy xterm colours, so I took it upon myself to try to update the plugin to be compatible.
I've worked out that the problem lies with the "got_room_name" trigger not being triggered due to the text_colour flag. The trigger fires fine when text_colour is removed - unfortunately, its colour is the only identifying factor available to me when it comes to room names.
<trigger
enabled="y"
match="^([^[].*)$"
match_text_colour="y"
script="got_room_name"
text_colour="9"
keep_evaluating="y"
sequence="90"
regexp="y"
name="room_name"
>
</trigger>
So is it possible to match triggers to colours with xterm enabled? I'm having trouble finding documentation on the topic.