From 0cf4a00136d231cb2aee99836dc3ed01b3cc63b3 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 2 Apr 2023 11:02:06 +0300 Subject: [PATCH 38/38] Increase maximum number of user unit flags - Nex max for user unit class flags: 25 - New max for user unit type flags: 50 Requested by Lexxie See osdn #46086 Signed-off-by: Marko Lindqvist --- common/unittype.h | 175 +++++++++++++++++-------------- 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/goldkeep/units.ruleset | 4 +- data/granularity/units.ruleset | 4 +- data/multiplayer/units.ruleset | 4 +- data/ruledit/comments-3.3.txt | 4 +- data/sandbox/units.ruleset | 4 +- data/stub/units.ruleset | 4 +- data/webperimental/units.ruleset | 4 +- 13 files changed, 119 insertions(+), 104 deletions(-) diff --git a/common/unittype.h b/common/unittype.h index 30cc4a08c1..48fa18249d 100644 --- a/common/unittype.h +++ b/common/unittype.h @@ -106,14 +106,24 @@ BV_DEFINE(bv_utypes, U_LAST); #define SPECENUM_VALUE25 UCF_USER_FLAG_13 #define SPECENUM_VALUE26 UCF_USER_FLAG_14 #define SPECENUM_VALUE27 UCF_USER_FLAG_15 - -/* keep this last */ +#define SPECENUM_VALUE28 UCF_USER_FLAG_16 +#define SPECENUM_VALUE29 UCF_USER_FLAG_17 +#define SPECENUM_VALUE30 UCF_USER_FLAG_18 +#define SPECENUM_VALUE31 UCF_USER_FLAG_19 +#define SPECENUM_VALUE32 UCF_USER_FLAG_20 +#define SPECENUM_VALUE33 UCF_USER_FLAG_21 +#define SPECENUM_VALUE34 UCF_USER_FLAG_22 +#define SPECENUM_VALUE35 UCF_USER_FLAG_23 +#define SPECENUM_VALUE36 UCF_USER_FLAG_24 +#define SPECENUM_VALUE37 UCF_USER_FLAG_25 + +/* Keep this last */ #define SPECENUM_COUNT UCF_COUNT #define SPECENUM_NAMEOVERRIDE #define SPECENUM_BITVECTOR bv_unit_class_flags #include "specenum_gen.h" -#define UCF_LAST_USER_FLAG UCF_USER_FLAG_15 +#define UCF_LAST_USER_FLAG UCF_USER_FLAG_25 #define MAX_NUM_USER_UCLASS_FLAGS (UCF_LAST_USER_FLAG \ - UCF_USER_FLAG_1 + 1) @@ -309,9 +319,14 @@ struct unit_class { #define SPECENUM_VALUE72 UTYF_USER_FLAG_43 #define SPECENUM_VALUE73 UTYF_USER_FLAG_44 #define SPECENUM_VALUE74 UTYF_USER_FLAG_45 +#define SPECENUM_VALUE75 UTYF_USER_FLAG_46 +#define SPECENUM_VALUE76 UTYF_USER_FLAG_47 +#define SPECENUM_VALUE77 UTYF_USER_FLAG_48 +#define SPECENUM_VALUE78 UTYF_USER_FLAG_49 +#define SPECENUM_VALUE79 UTYF_USER_FLAG_50 /* Note that first role must have value next to last flag */ -#define UTYF_LAST_USER_FLAG UTYF_USER_FLAG_45 +#define UTYF_LAST_USER_FLAG UTYF_USER_FLAG_50 #define MAX_NUM_USER_UNIT_FLAGS (UTYF_LAST_USER_FLAG - UTYF_USER_FLAG_1 + 1) #define SPECENUM_NAMEOVERRIDE #define SPECENUM_BITVECTOR bv_unit_type_flags @@ -332,93 +347,93 @@ struct unit_class { #define L_FIRST (UTYF_LAST_USER_FLAG + 1) #define SPECENUM_NAME unit_role_id -/* is built first when city established */ -#define SPECENUM_VALUE75 L_FIRSTBUILD -#define SPECENUM_VALUE75NAME N_("?unitflag:FirstBuild") -/* initial explorer unit */ -#define SPECENUM_VALUE76 L_EXPLORER -#define SPECENUM_VALUE76NAME N_("?unitflag:Explorer") -/* can be found in hut */ -#define SPECENUM_VALUE77 L_HUT -#define SPECENUM_VALUE77NAME N_("?unitflag:Hut") -/* can be found in hut, tech required */ -#define SPECENUM_VALUE78 L_HUT_TECH -#define SPECENUM_VALUE78NAME N_("?unitflag:HutTech") -/* is created in Partisan circumstances */ -#define SPECENUM_VALUE79 L_PARTISAN -#define SPECENUM_VALUE79NAME N_("?unitflag:Partisan") -/* ok on defense (AI) */ -#define SPECENUM_VALUE80 L_DEFEND_OK -#define SPECENUM_VALUE80NAME N_("?unitflag:DefendOk") -/* primary purpose is defense (AI) */ -#define SPECENUM_VALUE81 L_DEFEND_GOOD -#define SPECENUM_VALUE81NAME N_("?unitflag:DefendGood") -/* is useful for ferrying (AI) */ -#define SPECENUM_VALUE82 L_FERRYBOAT -#define SPECENUM_VALUE82NAME N_("?unitflag:FerryBoat") -/* barbarians unit, land only */ -#define SPECENUM_VALUE83 L_BARBARIAN -#define SPECENUM_VALUE83NAME N_("?unitflag:Barbarian") -/* barbarians unit, global tech required */ -#define SPECENUM_VALUE84 L_BARBARIAN_TECH -#define SPECENUM_VALUE84NAME N_("?unitflag:BarbarianTech") -/* barbarian boat */ -#define SPECENUM_VALUE85 L_BARBARIAN_BOAT -#define SPECENUM_VALUE85NAME N_("?unitflag:BarbarianBoat") -/* barbarians boat, global tech required */ -#define SPECENUM_VALUE86 L_BARBARIAN_BOAT_TECH -#define SPECENUM_VALUE86NAME N_("?unitflag:BarbarianBoatTech") -/* what barbarians should build */ -#define SPECENUM_VALUE87 L_BARBARIAN_BUILD -#define SPECENUM_VALUE87NAME N_("?unitflag:BarbarianBuild") -/* barbarians build when global tech */ -#define SPECENUM_VALUE88 L_BARBARIAN_BUILD_TECH -#define SPECENUM_VALUE88NAME N_("?unitflag:BarbarianBuildTech") -/* barbarian leader */ -#define SPECENUM_VALUE89 L_BARBARIAN_LEADER -#define SPECENUM_VALUE89NAME N_("?unitflag:BarbarianLeader") -/* sea raider unit */ -#define SPECENUM_VALUE90 L_BARBARIAN_SEA -#define SPECENUM_VALUE90NAME N_("?unitflag:BarbarianSea") -/* sea raider unit, global tech required */ -#define SPECENUM_VALUE91 L_BARBARIAN_SEA_TECH -#define SPECENUM_VALUE91NAME N_("?unitflag:BarbarianSeaTech") +/* Built first when city established */ +#define SPECENUM_VALUE80 L_FIRSTBUILD +#define SPECENUM_VALUE80NAME N_("?unitflag:FirstBuild") +/* Explorer unit */ +#define SPECENUM_VALUE81 L_EXPLORER +#define SPECENUM_VALUE81NAME N_("?unitflag:Explorer") +/* Can be found in hut */ +#define SPECENUM_VALUE82 L_HUT +#define SPECENUM_VALUE82NAME N_("?unitflag:Hut") +/* Can be found in hut, tech required */ +#define SPECENUM_VALUE83 L_HUT_TECH +#define SPECENUM_VALUE83NAME N_("?unitflag:HutTech") +/* Created in Partisan circumstances */ +#define SPECENUM_VALUE84 L_PARTISAN +#define SPECENUM_VALUE84NAME N_("?unitflag:Partisan") +/* Ok on defense (AI) */ +#define SPECENUM_VALUE85 L_DEFEND_OK +#define SPECENUM_VALUE85NAME N_("?unitflag:DefendOk") +/* Primary purpose is defense (AI) */ +#define SPECENUM_VALUE86 L_DEFEND_GOOD +#define SPECENUM_VALUE86NAME N_("?unitflag:DefendGood") +/* Useful for ferrying (AI) */ +#define SPECENUM_VALUE87 L_FERRYBOAT +#define SPECENUM_VALUE87NAME N_("?unitflag:FerryBoat") +/* Barbarians unit, land only */ +#define SPECENUM_VALUE88 L_BARBARIAN +#define SPECENUM_VALUE88NAME N_("?unitflag:Barbarian") +/* Barbarians unit, global tech required */ +#define SPECENUM_VALUE89 L_BARBARIAN_TECH +#define SPECENUM_VALUE89NAME N_("?unitflag:BarbarianTech") +/* Barbarian boat */ +#define SPECENUM_VALUE90 L_BARBARIAN_BOAT +#define SPECENUM_VALUE90NAME N_("?unitflag:BarbarianBoat") +/* Barbarians boat, global tech required */ +#define SPECENUM_VALUE91 L_BARBARIAN_BOAT_TECH +#define SPECENUM_VALUE91NAME N_("?unitflag:BarbarianBoatTech") +/* What barbarians should build */ +#define SPECENUM_VALUE92 L_BARBARIAN_BUILD +#define SPECENUM_VALUE92NAME N_("?unitflag:BarbarianBuild") +/* Barbarians build when global tech */ +#define SPECENUM_VALUE93 L_BARBARIAN_BUILD_TECH +#define SPECENUM_VALUE93NAME N_("?unitflag:BarbarianBuildTech") +/* Barbarian leader */ +#define SPECENUM_VALUE94 L_BARBARIAN_LEADER +#define SPECENUM_VALUE94NAME N_("?unitflag:BarbarianLeader") +/* Sea raider unit */ +#define SPECENUM_VALUE95 L_BARBARIAN_SEA +#define SPECENUM_VALUE95NAME N_("?unitflag:BarbarianSea") +/* Sea raider unit, global tech required */ +#define SPECENUM_VALUE96 L_BARBARIAN_SEA_TECH +#define SPECENUM_VALUE96NAME N_("?unitflag:BarbarianSeaTech") /* StartUnit: Cities */ -#define SPECENUM_VALUE92 L_START_CITIES -#define SPECENUM_VALUE92NAME N_("?unitflag:CitiesStartUnit") +#define SPECENUM_VALUE97 L_START_CITIES +#define SPECENUM_VALUE97NAME N_("?unitflag:CitiesStartUnit") /* StartUnit: Worker */ -#define SPECENUM_VALUE93 L_START_WORKER -#define SPECENUM_VALUE93NAME N_("?unitflag:WorkerStartUnit") +#define SPECENUM_VALUE98 L_START_WORKER +#define SPECENUM_VALUE98NAME N_("?unitflag:WorkerStartUnit") /* StartUnit: Explorer */ -#define SPECENUM_VALUE94 L_START_EXPLORER -#define SPECENUM_VALUE94NAME N_("?unitflag:ExplorerStartUnit") +#define SPECENUM_VALUE99 L_START_EXPLORER +#define SPECENUM_VALUE99NAME N_("?unitflag:ExplorerStartUnit") /* StartUnit: King */ -#define SPECENUM_VALUE95 L_START_KING -#define SPECENUM_VALUE95NAME N_("?unitflag:KingStartUnit") +#define SPECENUM_VALUE100 L_START_KING +#define SPECENUM_VALUE100NAME N_("?unitflag:KingStartUnit") /* StartUnit: Diplomat */ -#define SPECENUM_VALUE96 L_START_DIPLOMAT -#define SPECENUM_VALUE96NAME N_("?unitflag:DiplomatStartUnit") +#define SPECENUM_VALUE101 L_START_DIPLOMAT +#define SPECENUM_VALUE101NAME N_("?unitflag:DiplomatStartUnit") /* StartUnit: Ferryboat */ -#define SPECENUM_VALUE97 L_START_FERRY -#define SPECENUM_VALUE97NAME N_("?unitflag:FerryStartUnit") +#define SPECENUM_VALUE102 L_START_FERRY +#define SPECENUM_VALUE102NAME N_("?unitflag:FerryStartUnit") /* StartUnit: DefendOk */ -#define SPECENUM_VALUE98 L_START_DEFEND_OK -#define SPECENUM_VALUE98NAME N_("?unitflag:DefendOkStartUnit") +#define SPECENUM_VALUE103 L_START_DEFEND_OK +#define SPECENUM_VALUE103NAME N_("?unitflag:DefendOkStartUnit") /* StartUnit: DefendGood */ -#define SPECENUM_VALUE99 L_START_DEFEND_GOOD -#define SPECENUM_VALUE99NAME N_("?unitflag:DefendGoodStartUnit") +#define SPECENUM_VALUE104 L_START_DEFEND_GOOD +#define SPECENUM_VALUE104NAME N_("?unitflag:DefendGoodStartUnit") /* StartUnit: AttackFast */ -#define SPECENUM_VALUE100 L_START_ATTACK_FAST -#define SPECENUM_VALUE100NAME N_("?unitflag:AttackFastStartUnit") +#define SPECENUM_VALUE105 L_START_ATTACK_FAST +#define SPECENUM_VALUE105NAME N_("?unitflag:AttackFastStartUnit") /* StartUnit: AttackStrong */ -#define SPECENUM_VALUE101 L_START_ATTACK_STRONG -#define SPECENUM_VALUE101NAME N_("?unitflag:AttackStrongStartUnit") +#define SPECENUM_VALUE106 L_START_ATTACK_STRONG +#define SPECENUM_VALUE106NAME N_("?unitflag:AttackStrongStartUnit") /* AI hunter type unit */ -#define SPECENUM_VALUE102 L_HUNTER -#define SPECENUM_VALUE102NAME N_("?unitflag:Hunter") -/* can improve terrain */ -#define SPECENUM_VALUE103 L_SETTLERS -#define SPECENUM_VALUE103NAME N_("?unitflag:Settlers") +#define SPECENUM_VALUE107 L_HUNTER +#define SPECENUM_VALUE107NAME N_("?unitflag:Hunter") +/* Can improve terrain */ +#define SPECENUM_VALUE108 L_SETTLERS +#define SPECENUM_VALUE108NAME N_("?unitflag:Settlers") #define L_LAST (L_SETTLERS + 1) #include "specenum_gen.h" diff --git a/data/alien/units.ruleset b/data/alien/units.ruleset index 14ec5eadca..c515a42e3c 100644 --- a/data/alien/units.ruleset +++ b/data/alien/units.ruleset @@ -17,7 +17,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -34,7 +34,7 @@ flags = _("Cant_Fortify") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/civ1/units.ruleset b/data/civ1/units.ruleset index fe68589c28..f386e9ae5d 100644 --- a/data/civ1/units.ruleset +++ b/data/civ1/units.ruleset @@ -14,7 +14,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -30,7 +30,7 @@ flags = _("OneAttack") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/civ2/units.ruleset b/data/civ2/units.ruleset index 0cd1f23f4b..857779d9a2 100644 --- a/data/civ2/units.ruleset +++ b/data/civ2/units.ruleset @@ -14,7 +14,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -39,7 +39,7 @@ flags = _("Bomber") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/civ2civ3/units.ruleset b/data/civ2civ3/units.ruleset index f1c7244107..5ca3709d1e 100644 --- a/data/civ2civ3/units.ruleset +++ b/data/civ2civ3/units.ruleset @@ -20,7 +20,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24 web-compatible" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -46,7 +46,7 @@ flags = _("OneAttack") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/classic/units.ruleset b/data/classic/units.ruleset index a2fab15635..88607de20d 100644 --- a/data/classic/units.ruleset +++ b/data/classic/units.ruleset @@ -20,7 +20,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24 web-compatible" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -45,7 +45,7 @@ flags = _("Bomber"), _("Bad at attacking Fighters") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/goldkeep/units.ruleset b/data/goldkeep/units.ruleset index 08880ff1de..bd9fff4226 100644 --- a/data/goldkeep/units.ruleset +++ b/data/goldkeep/units.ruleset @@ -23,7 +23,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -48,7 +48,7 @@ flags = _("Bomber"), _("Bad at attacking Fighters") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/granularity/units.ruleset b/data/granularity/units.ruleset index 2babde848c..81e893d085 100644 --- a/data/granularity/units.ruleset +++ b/data/granularity/units.ruleset @@ -20,7 +20,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -31,7 +31,7 @@ format_version = 40 _("Cant_Fortify") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/multiplayer/units.ruleset b/data/multiplayer/units.ruleset index 5adba69eee..601aba90b8 100644 --- a/data/multiplayer/units.ruleset +++ b/data/multiplayer/units.ruleset @@ -20,7 +20,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24 web-compatible" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -45,7 +45,7 @@ flags = _("Bomber"), _("Bad at attacking Fighters") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/ruledit/comments-3.3.txt b/data/ruledit/comments-3.3.txt index 244170959c..59e3aff41c 100644 --- a/data/ruledit/comments-3.3.txt +++ b/data/ruledit/comments-3.3.txt @@ -1275,7 +1275,7 @@ counters = "\n\ ; This section has comments documenting user (custom) flag types utype = "\ -; Names for custom unit type flags. There can be up to 45 of these.\n\ +; Names for custom unit type flags. There can be up to 50 of these.\n\ ; name = rule name; In some circumstances user may see this\n\ ; as part of some sentences, so try to make it descriptive\n\ ; and sensible.\n\ @@ -1283,7 +1283,7 @@ utype = "\ " uclass = "\n\ -; Names for custom unit class flags. There can be up to 15 of these.\n\ +; Names for custom unit class flags. There can be up to 25 of these.\n\ ; name = rule name; In some circumstances user may see this\n\ ; as part of some sentences, so try to make it descriptive\n\ ; and sensible.\n\ diff --git a/data/sandbox/units.ruleset b/data/sandbox/units.ruleset index 807f94ecad..2dece5b7aa 100644 --- a/data/sandbox/units.ruleset +++ b/data/sandbox/units.ruleset @@ -20,7 +20,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -52,7 +52,7 @@ flags = _("OneAttack") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/stub/units.ruleset b/data/stub/units.ruleset index 8c59963e62..a6a0b93506 100644 --- a/data/stub/units.ruleset +++ b/data/stub/units.ruleset @@ -7,7 +7,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -16,7 +16,7 @@ format_version = 40 ; { "name", "helptxt" ; } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. diff --git a/data/webperimental/units.ruleset b/data/webperimental/units.ruleset index 71ee3af534..9f7ca807f4 100644 --- a/data/webperimental/units.ruleset +++ b/data/webperimental/units.ruleset @@ -20,7 +20,7 @@ options = "+Freeciv-ruleset-3.3-Devel-2023.Feb.24 web-compatible" format_version = 40 [control] -; Names for custom unit type flags. There can be up to 45 of these. +; Names for custom unit type flags. There can be up to 50 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. @@ -52,7 +52,7 @@ flags = _("OneAttack") } -; Names for custom unit class flags. There can be up to 15 of these. +; Names for custom unit class flags. There can be up to 25 of these. ; name = rule name; In some circumstances user may see this ; as part of some sentences, so try to make it descriptive ; and sensible. -- 2.39.2