RimWorld

RimWorld

RIMMSqol
Justacommonegg 28. apr. 2024 kl. 10:25
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.
Sidst redigeret af Justacommonegg; 28. apr. 2024 kl. 10:26
< >
Viser 1-3 af 3 kommentarer
Razuhl  [udvikler] 28. apr. 2024 kl. 15:11 
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 kl. 12:56 
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  [udvikler] 16. sep. 2024 kl. 10:10 
@#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.
< >
Viser 1-3 af 3 kommentarer
Per side: 1530 50