From f2084e994a0d934653b9fc585de12ae48f8c2527 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 22 Nov 2025 21:37:28 +0200
Subject: [PATCH 6/6] Correct ruleset comment about custom unit class flags

See RM #1722

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 data/alien/units.ruleset         | 4 ++--
 data/civ1/units.ruleset          | 4 ++--
 data/civ2/units.ruleset          | 4 ++--
 data/civ2civ3/units.ruleset      | 4 ++--
 data/classic/units.ruleset       | 4 ++--
 data/experimental/units.ruleset  | 4 ++--
 data/granularity/units.ruleset   | 4 ++--
 data/multiplayer/units.ruleset   | 4 ++--
 data/ruledit/comments-3.1.txt    | 4 ++--
 data/sandbox/units.ruleset       | 4 ++--
 data/stub/units.ruleset          | 4 ++--
 data/webperimental/units.ruleset | 4 ++--
 12 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/data/alien/units.ruleset b/data/alien/units.ruleset
index 4021d21b14..b7d09145a3 100644
--- a/data/alien/units.ruleset
+++ b/data/alien/units.ruleset
@@ -96,8 +96,8 @@ veteran_move_bonus = 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/civ1/units.ruleset b/data/civ1/units.ruleset
index 9321f68ba6..da5fe6562d 100644
--- a/data/civ1/units.ruleset
+++ b/data/civ1/units.ruleset
@@ -92,8 +92,8 @@ veteran_move_bonus = 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                        so that xgettext parsing works
 ;
diff --git a/data/civ2/units.ruleset b/data/civ2/units.ruleset
index faffb792fb..5f2436cd05 100644
--- a/data/civ2/units.ruleset
+++ b/data/civ2/units.ruleset
@@ -100,8 +100,8 @@ veteran_move_bonus = 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/civ2civ3/units.ruleset b/data/civ2civ3/units.ruleset
index cb0274fc2e..2c66bda47b 100644
--- a/data/civ2civ3/units.ruleset
+++ b/data/civ2civ3/units.ruleset
@@ -112,8 +112,8 @@ veteran_move_bonus = 0, 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/classic/units.ruleset b/data/classic/units.ruleset
index d0ac930e61..15b5fa5703 100644
--- a/data/classic/units.ruleset
+++ b/data/classic/units.ruleset
@@ -107,8 +107,8 @@ veteran_move_bonus = 0, 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/experimental/units.ruleset b/data/experimental/units.ruleset
index 41f3caa827..7bd76300b0 100644
--- a/data/experimental/units.ruleset
+++ b/data/experimental/units.ruleset
@@ -111,8 +111,8 @@ veteran_move_bonus = 0, 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/granularity/units.ruleset b/data/granularity/units.ruleset
index d270de99a0..d51097d78e 100644
--- a/data/granularity/units.ruleset
+++ b/data/granularity/units.ruleset
@@ -90,8 +90,8 @@ veteran_move_bonus = 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/multiplayer/units.ruleset b/data/multiplayer/units.ruleset
index 33abda41a9..8a7e9c7f32 100644
--- a/data/multiplayer/units.ruleset
+++ b/data/multiplayer/units.ruleset
@@ -107,8 +107,8 @@ veteran_move_bonus = 0, 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/ruledit/comments-3.1.txt b/data/ruledit/comments-3.1.txt
index ca63abd508..48df52ebe0 100644
--- a/data/ruledit/comments-3.1.txt
+++ b/data/ruledit/comments-3.1.txt
@@ -266,8 +266,8 @@ uclasses = "\
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base\n\
 ; non_native_def_pct  = Defense power percentage applying when defending on\n\
 ;                       non-native terrain (such as ship in harbour)\n\
-; flags               = List of unit class flags (from the following list; you\n\
-;                       cannot add custom unit class flags)\n\
+; flags               = List of unit class flags; list of built-in flags\n\
+;                       described below and/or user flags defined above\n\
 ; helptext            = optional help text string; should escape all raw newlines\n\
 ;                       so that xgettext parsing works\n\
 ;\n\
diff --git a/data/sandbox/units.ruleset b/data/sandbox/units.ruleset
index 161c6a11b2..b12dd1399d 100644
--- a/data/sandbox/units.ruleset
+++ b/data/sandbox/units.ruleset
@@ -122,8 +122,8 @@ veteran_move_bonus = 0, 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/stub/units.ruleset b/data/stub/units.ruleset
index 3580524ef9..5a6efa1f9c 100644
--- a/data/stub/units.ruleset
+++ b/data/stub/units.ruleset
@@ -72,8 +72,8 @@ veteran_move_bonus = 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
diff --git a/data/webperimental/units.ruleset b/data/webperimental/units.ruleset
index 5bea0ae5de..085f41a6be 100644
--- a/data/webperimental/units.ruleset
+++ b/data/webperimental/units.ruleset
@@ -114,8 +114,8 @@ veteran_move_bonus = 0, 0, 0, 0
 ; hp_loss_pct         = Hitpoints lost each turn if unit not in city or native base
 ; non_native_def_pct  = Defense power percentage applying when defending on
 ;                       non-native terrain (such as ship in harbour)
-; flags               = List of unit class flags (from the following list; you
-;                       cannot add custom unit class flags)
+; flags               = List of unit class flags; list of built-in flags
+;                       described below and/or user flags defined above
 ; helptext            = optional help text string; should escape all raw newlines
 ;                       so that xgettext parsing works
 ;
-- 
2.51.0

