Changelog
Object names highlighted in room descriptions
2026-11-07 17:14 UTC · glorp (#13630)
Object names in room descriptions are now shown in bold magenta for ANSI clients. Plain-text clients see no change: the colour tags are converted or stripped per player by $ansi_utils.
How: #1:integrate_room_msg wraps %t/%T in the message, and for messages that spell the name out, #1:highlight_integration_name(msg, text) colours the first match of the object's own name (minus a leading the/a/an). #1942:integrate_room_msg (furniture), which skips #1, now also calls the helper.
To switch it all off: make #1:highlight_integration_name return args[2], and drop the %t line in #1:integrate_room_msg. Requested by Kael; done by glorp.