From f1df1af6359051552247aa82c6dbe7cd54cf1064 Mon Sep 17 00:00:00 2001 From: Ross Williams Date: Sun, 1 Mar 2026 23:11:30 +0000 Subject: [PATCH 1/2] Update filtrex expression reference --- docs/Manifest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Manifest.md b/docs/Manifest.md index 27214603..cdb691d0 100644 --- a/docs/Manifest.md +++ b/docs/Manifest.md @@ -172,7 +172,7 @@ Each mod contains a manifest. Manifests have the following format: { "name": "Use epic content", "type": "conditional", // This variation will be active if its condition returns true and inactive otherwise - it will not be shown in the GUI - "condition": "\"Atampy26.SomeOtherMod\" in config.loadOrder", // The condition is passed the framework's config; you can check the syntax at https://github.com/m93a/filtrex#expressions + "condition": "\"Atampy26.SomeOtherMod\" in config.loadOrder", // The condition is passed the framework's config; you can check the syntax at https://github.com/cshaa/filtrex#expressions "contentFolders": ["epicContent"] } ] From 4016efa3815047191447c341dc7e8844316a575d Mon Sep 17 00:00:00 2001 From: Ross Williams Date: Sun, 1 Mar 2026 23:15:52 +0000 Subject: [PATCH 2/2] Add filtrex example combining mod options --- docs/Manifest.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/Manifest.md b/docs/Manifest.md index cdb691d0..c4f5d825 100644 --- a/docs/Manifest.md +++ b/docs/Manifest.md @@ -170,10 +170,16 @@ Each mod contains a manifest. Manifests have the following format: } }, { - "name": "Use epic content", + "name": "Use epicContent if Atampy26.SomeOtherMod is loaded", "type": "conditional", // This variation will be active if its condition returns true and inactive otherwise - it will not be shown in the GUI - "condition": "\"Atampy26.SomeOtherMod\" in config.loadOrder", // The condition is passed the framework's config; you can check the syntax at https://github.com/cshaa/filtrex#expressions + "condition": "\"Atampy26.SomeOtherMod\" in config.loadOrder", // The condition is passed the framework's config (see Config docs); you can check the syntax at https://github.com/cshaa/filtrex#expressions "contentFolders": ["epicContent"] + }, + { + "name": "Use awesomeContent only if two specific options are enabled", + "type": "conditional", + "condition": "\"Use additional content\" in ('Atampy26.ExampleMod' of config.modOptions) and \"Use lowercase or uppercase text:Uppercase text\" in ('Atampy26.ExampleMod' of config.modOptions)", + "contentFolders": ["awesomeContent"] } ] }