From 132688bc2f6d8500ce3a72687d0a6bb4bd16ec66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Lach?= Date: Tue, 13 Sep 2022 15:23:29 +0200 Subject: [PATCH] - Add clarify what counter does into each ruleset diff --git a/data/alien/game.ruleset b/data/alien/game.ruleset index 89a5b294e6..cf3fbbcf51 100644 --- a/data/alien/game.ruleset +++ b/data/alien/game.ruleset @@ -1605,6 +1605,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/civ1/game.ruleset b/data/civ1/game.ruleset index 04f96a356e..b889311e5f 100644 --- a/data/civ1/game.ruleset +++ b/data/civ1/game.ruleset @@ -1420,6 +1420,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/civ2/game.ruleset b/data/civ2/game.ruleset index 613f33ee5d..cdce1454fd 100644 --- a/data/civ2/game.ruleset +++ b/data/civ2/game.ruleset @@ -1665,6 +1665,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/civ2civ3/game.ruleset b/data/civ2civ3/game.ruleset index ae4467ae65..93d0d83417 100644 --- a/data/civ2civ3/game.ruleset +++ b/data/civ2civ3/game.ruleset @@ -2112,6 +2112,24 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings + [playercolors] background.r = 86 background.g = 86 diff --git a/data/classic/game.ruleset b/data/classic/game.ruleset index 782c29ac20..e98962fbb1 100644 --- a/data/classic/game.ruleset +++ b/data/classic/game.ruleset @@ -1911,6 +1911,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/goldkeep/game.ruleset b/data/goldkeep/game.ruleset index 8fb2cd7f36..20cb4fd44b 100644 --- a/data/goldkeep/game.ruleset +++ b/data/goldkeep/game.ruleset @@ -1994,6 +1994,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/granularity/game.ruleset b/data/granularity/game.ruleset index 57ef67f45a..d5ae95045a 100644 --- a/data/granularity/game.ruleset +++ b/data/granularity/game.ruleset @@ -877,6 +877,23 @@ name = _("Goods") ; ; */ <-- avoid gettext warnings +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/multiplayer/game.ruleset b/data/multiplayer/game.ruleset index d11ec2b4da..067462f38b 100644 --- a/data/multiplayer/game.ruleset +++ b/data/multiplayer/game.ruleset @@ -1872,6 +1872,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/sandbox/game.ruleset b/data/sandbox/game.ruleset index 1843eba6ca..49a6585dc2 100644 --- a/data/sandbox/game.ruleset +++ b/data/sandbox/game.ruleset @@ -3532,6 +3532,38 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings + +[counter_owned1] +name = "Owned" +def = 0 +checkpoint = 5 +type = "OWNED" +range = "City" + + +[counter_owned2] +name = "Owned2" +def = 0 +checkpoint = 7 +type = "OWNED" +range = "City" [playercolors] background.r = 86 @@ -3588,21 +3620,6 @@ colorlist = ; _("Team 4"), ; etc... -[counter_owned1] -name = "Owned" -def = 0 -checkpoint = 5 -type = "OWNED" -range = "City" - - -[counter_owned2] -name = "Owned2" -def = 0 -checkpoint = 7 -type = "OWNED" -range = "City" - ; Default value are 6, so citizens do not strike right after build the city ; city may to be conquered to made citizens striking [counter_owned3_strike] diff --git a/data/stub/game.ruleset b/data/stub/game.ruleset index 6777db9600..550a5f287c 100644 --- a/data/stub/game.ruleset +++ b/data/stub/game.ruleset @@ -738,6 +738,23 @@ name = _("Goods") ; ; */ <-- avoid gettext warnings +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 diff --git a/data/webperimental/game.ruleset b/data/webperimental/game.ruleset index 9b3fe5b077..a5d8157508 100644 --- a/data/webperimental/game.ruleset +++ b/data/webperimental/game.ruleset @@ -2165,6 +2165,23 @@ type = "Vision" [clause_embassy] type = "Embassy" +; /* <-- avoid gettext warnings +;Counter types +; +;name = translatable name as seen by user +;rule_name = (optional) internal name for savegames, rulesets +; etc; if not present, "name" is used for this +; purpose too. Since the name used in savegames must +; not change, if you want to rename an item after a +; ruleset has been released, you should set +; "rule_name" to the original value of "name". +;checkpoint = Trigger value of the counter. When counter`s +; value is at least this much, the "Counter" requirement +; is fulfilled. +;def = Initial value of the counter. +;type = Behavior of the counter: +; "Owned" - Increased each turn, zeroed when city changes owner +; */ <-- avoid gettext warnings [playercolors] background.r = 86 -- 2.37.3