RimWorld

RimWorld

RIMMSqol
Messages, alerts and letter filtering
Checked settings on main config and specific alert disabling (adding alert from list) works just fine, however I cant seem to understand in what format messages and letters need to be written to filter them out or if they even work with modded alerts/messages to begin with.
Last edited by Justacommonegg; 28 Apr, 2024 @ 10:26am
< >
Showing 1-3 of 3 comments
Razuhl  [developer] 28 Apr, 2024 @ 3:11pm 
It works on the titles. Example for a regular expression:

"Sunflower seeds x\d+ has rotted away in storage\.". The \d+ means "as many digits as possible but at least one" and \. escapes the . which has special meaning(match any character).

You can use any of the many resources on the web that cover regular expressions to learn and test your creations. Like "regexr.com" or simply Notepad++ with its regular expression search.
#6 15 Sep, 2024 @ 12:56pm 
I realize you've implemented this system for maximum possible power but could we possible get a rethink on the use of regex and possibly just match literal strings instead for the 98% of people out there that don't understand and aren't savvy enough to learn regex?
Razuhl  [developer] 16 Sep, 2024 @ 10:10am 
@#6 You can just type the literal - unless it contains special characters it makes no difference. But since the texts contain dynamic content, like numbers or names, it's not very useful.
< >
Showing 1-3 of 3 comments
Per page: 1530 50