边缘世界 RimWorld

边缘世界 RimWorld

RIMMSqol
Justacommonegg 2024 年 4 月 28 日 上午 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.
最后由 Justacommonegg 编辑于; 2024 年 4 月 28 日 上午 10:26
< >
正在显示第 1 - 3 条,共 3 条留言
Razuhl  [开发者] 2024 年 4 月 28 日 下午 3: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 2024 年 9 月 15 日 下午 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  [开发者] 2024 年 9 月 16 日 上午 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.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50