From d1128c0cc93bb6aa79706ce4d48c907d5574740a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 8 Jun 2023 00:16:58 +0300 Subject: [PATCH 14/14] civ/2: Add unit type flags documentation Update formatting in all rulesets See osdn #48027 Signed-off-by: Marko Lindqvist --- data/alien/units.ruleset | 50 +++++++++---------- data/civ1/units.ruleset | 84 ++++++++++++++++++++++++++++++-- data/civ2/units.ruleset | 81 ++++++++++++++++++++++++++++-- data/civ2civ3/units.ruleset | 54 ++++++++++---------- data/classic/units.ruleset | 58 +++++++++++----------- data/experimental/units.ruleset | 54 ++++++++++---------- data/multiplayer/units.ruleset | 54 ++++++++++---------- data/sandbox/units.ruleset | 52 ++++++++++---------- data/stub/units.ruleset | 44 ++++++++--------- data/webperimental/units.ruleset | 58 +++++++++++----------- 10 files changed, 369 insertions(+), 220 deletions(-) diff --git a/data/alien/units.ruleset b/data/alien/units.ruleset index ef66a10f52..d85b915d5d 100644 --- a/data/alien/units.ruleset +++ b/data/alien/units.ruleset @@ -207,7 +207,7 @@ flags = "Missile", "DoesntOccupyTile" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -290,22 +290,22 @@ flags = "Missile", "DoesntOccupyTile" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely ; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "AttackAny" = can attack unreachable units ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -314,34 +314,34 @@ flags = "Missile", "DoesntOccupyTile" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible diff --git a/data/civ1/units.ruleset b/data/civ1/units.ruleset index 7c9e38ff43..521328b04a 100644 --- a/data/civ1/units.ruleset +++ b/data/civ1/units.ruleset @@ -228,8 +228,8 @@ flags = "Missile", "Unreachable" ; This is useful when the combination of a unit's bonuses ; becomes complex enough to make the auto generated help ; ugly or inaccurate. -; flags = special flag strings; list of built-in flags (see -; classic/units.ruleset) and/or user flags defined above +; flags = special flag strings; list of built-in flags described below +; and/or user flags defined above ; ; veteran_names = Special veteran level for this unit. See the definitions in ; game.ruleset. All of the veteran_* entries have to have the @@ -262,15 +262,90 @@ flags = "Missile", "Unreachable" ; Bonus is defined in attackers entry. ; ; +; ** Flags ** +; +; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has +; "ZOC" flag +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; peaceful borders; DoesntOccupyTile +; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) +; rather than terrain/road etc cost, unless terrain cost is +; less +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive +; "BeachLander" = won't lose all its movement when moving from non-native +; terrain to native terrain even if slow_invasions is on. +; "Partial_Invis" = visible only to adjancent units; does not hide transported +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance +; server option) +; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also +; "CoastStrict" = (sea only) cannot leave coast +; "Coast" = (sea only) can refuel on coast. Set fuel to force unit +; to regularly end turn on coast +; "Only_Native_Attack" = cannot attack targets on non-native tiles even if +; unit class can +; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep +; "EvacuateFirst" = the game will try to rescue units with this flag before +; it tries to rescue units without it when their transport +; is destroyed. Think of the Birkenhead drill ("women and +; children first"). Replace "women and children" with +; "units with the EvacuateFirst unit type flag". +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited +; "NoVeteran" = this unit cannot gain veteran levels through experience +; (as if both raise_chance and work_raise_chance were zero); +; it can still gain veterancy through Veteran_Build, etc +; "CityBuster" = this unit has double firepower against cities +; "NoBuild" = this unit cannot be built +; "BadWallAttacker" = the firepower of this unit is set to 1 if +; attacking a city +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour +; rule) +; "BarbarianOnly" = only barbarians can build this unit +; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible +; "NewCityGamesOnly" = unit can't be built on scenarios where founding new cities +; is not allowed. Give this flag to units that would make no sense +; to have in a game with such a scenario +; "CanEscape" = this unit has, given that certain conditions are +; fulfilled, a 50% chance to escape rather than being +; killed when killstack is enabled and the defender of its +; tile is defeated. The conditions are that it has more move +; points than required to move to an adjacent tile plus the +; attackers move points and that the attacker doesn't have +; the "CanKillEscaping" unit type flag. +; "CanKillEscaping" = an attack from this unit ignores the "CanEscape" unit +; type flag. +; "Provoking" = a unit considering to auto attack this unit will choose to +; do so even if has better odds when defending against it +; then when attacking it. Applies when the autoattack server +; setting is enabled. +; ; Following actions require extra fields: ; "Attack" ; attack = base attack strength -; "Bombard" (do not appear in Civ1) +; "Bombard" ; attack = base attack strength ; bombard_rate = the number of shots fired at enemy units when attacking ; "Join City" ; pop_cost = the number of population added to the target city -; "Paradrop Unit" (does not appear in Civ1) +; "Paradrop Unit" ; paratroopers_range = the maximal range the unit can be paradropped to. ; Max range is 65534. ; paratroopers_mr_req = the move rate which is required at least for @@ -315,7 +390,6 @@ flags = "Missile", "Unreachable" ; "AttackFastStartUnit" = Gets granted as 'a' startunit ; "AttackStrongStartUnit" = Gets granted as 'A' startunit ; - ; Civ1 does not have initial explorers, but we want to do something ; sensible if the explorer server option is set non-zero. ; Likely options: diff --git a/data/civ2/units.ruleset b/data/civ2/units.ruleset index a233f1bdc5..da28c9b295 100644 --- a/data/civ2/units.ruleset +++ b/data/civ2/units.ruleset @@ -251,8 +251,8 @@ flags = "Unreachable", "DoesntOccupyTile" ; This is useful when the combination of a unit's bonuses ; becomes complex enough to make the auto generated help ; ugly or inaccurate. -; flags = special flag strings; list of built-in flags (see -; classic/units.ruleset) and/or user flags defined above +; flags = special flag strings; list of built-in flags described below +; and/or user flags defined above ; ; veteran_names = Special veteran level for this unit. See the definitions in ; game.ruleset. All of the veteran_* entries have to have the @@ -285,6 +285,81 @@ flags = "Unreachable", "DoesntOccupyTile" ; Bonus is defined in attackers entry. ; ; +; ** Flags ** +; +; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has +; "ZOC" flag +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; peaceful borders; DoesntOccupyTile +; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) +; rather than terrain/road etc cost, unless terrain cost is +; less +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive +; "BeachLander" = won't lose all its movement when moving from non-native +; terrain to native terrain even if slow_invasions is on. +; "Partial_Invis" = visible only to adjancent units; does not hide transported +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance +; server option) +; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also +; "CoastStrict" = (sea only) cannot leave coast +; "Coast" = (sea only) can refuel on coast. Set fuel to force unit +; to regularly end turn on coast +; "Only_Native_Attack" = cannot attack targets on non-native tiles even if +; unit class can +; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep +; "EvacuateFirst" = the game will try to rescue units with this flag before +; it tries to rescue units without it when their transport +; is destroyed. Think of the Birkenhead drill ("women and +; children first"). Replace "women and children" with +; "units with the EvacuateFirst unit type flag". +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited +; "NoVeteran" = this unit cannot gain veteran levels through experience +; (as if both raise_chance and work_raise_chance were zero); +; it can still gain veterancy through Veteran_Build, etc +; "CityBuster" = this unit has double firepower against cities +; "NoBuild" = this unit cannot be built +; "BadWallAttacker" = the firepower of this unit is set to 1 if +; attacking a city +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour +; rule) +; "BarbarianOnly" = only barbarians can build this unit +; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible +; "NewCityGamesOnly" = unit can't be built on scenarios where founding new cities +; is not allowed. Give this flag to units that would make no sense +; to have in a game with such a scenario +; "CanEscape" = this unit has, given that certain conditions are +; fulfilled, a 50% chance to escape rather than being +; killed when killstack is enabled and the defender of its +; tile is defeated. The conditions are that it has more move +; points than required to move to an adjacent tile plus the +; attackers move points and that the attacker doesn't have +; the "CanKillEscaping" unit type flag. +; "CanKillEscaping" = an attack from this unit ignores the "CanEscape" unit +; type flag. +; "Provoking" = a unit considering to auto attack this unit will choose to +; do so even if has better odds when defending against it +; then when attacking it. Applies when the autoattack server +; setting is enabled. +; ; Following actions require extra fields: ; "Attack" ; attack = base attack strength @@ -1763,7 +1838,7 @@ uk_food = 0 uk_gold = 0 cargo = "Missile" flags = "Partial_Invis", "BadCityDefender", - "Only_Native_Attack", "Provoking" + "Only_Native_Attack", "Provoking" roles = "Hunter" helptext = _("\ Traveling under the surface of the ocean, Submarines have\ diff --git a/data/civ2civ3/units.ruleset b/data/civ2civ3/units.ruleset index 746c373516..5d5d6b961c 100644 --- a/data/civ2civ3/units.ruleset +++ b/data/civ2civ3/units.ruleset @@ -108,7 +108,7 @@ veteran_move_bonus = 0, 0, 0, 0 ; flags = List of unit class flags (from the following list; you ; cannot add custom unit class flags) ; helptext = optional help text string; should escape all raw newlines -; so that xgettext parsing works +; so that xgettext parsing works ; ; ** Unit class Flags ** ; @@ -240,7 +240,7 @@ flags = "Unreachable", "DoesntOccupyTile", "CanPillage", "Airliftable" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -323,21 +323,21 @@ flags = "Unreachable", "DoesntOccupyTile", "CanPillage", "Airliftable" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely -; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -346,34 +346,34 @@ flags = "Unreachable", "DoesntOccupyTile", "CanPillage", "Airliftable" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible diff --git a/data/classic/units.ruleset b/data/classic/units.ruleset index c2bd9ee3ee..e67f53e6c1 100644 --- a/data/classic/units.ruleset +++ b/data/classic/units.ruleset @@ -215,7 +215,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -277,7 +277,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; supported in client ; sound_fight = optional sound effect when the unit fights ; sound_fight_alt = optional alternative sound effect if above not -; supported in client +; supported in client ; helptext = optional help text string; should escape all raw newlines ; so that xgettext parsing works ; @@ -298,21 +298,21 @@ flags = "Unreachable", "DoesntOccupyTile" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely -; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -321,34 +321,34 @@ flags = "Unreachable", "DoesntOccupyTile" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible @@ -404,7 +404,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; "BarbarianBoat" = can be created as boat for sea barbarian ; "BarbarianBuild" = can be built by barbarians ; "BarbarianBuildTech" = can be built by barbarians if someone has -; researched its tech requirements +; researched its tech requirements ; "BarbarianLeader" = this unit is the barbarian leader (only one) ; "BarbarianSea" = can be created as a barbarian that disembarks from a barbarian boat ; "BarbarianSeaTech" = can be created as a barbarian that disembarks from a barbarian boat @@ -1799,7 +1799,7 @@ uk_food = 0 uk_gold = 0 cargo = "Missile" flags = "Partial_Invis", "BadCityDefender", "Provoking", - "Only_Native_Attack" + "Only_Native_Attack" roles = "Hunter" helptext = _("\ Traveling under the surface of the ocean, Submarines have\ diff --git a/data/experimental/units.ruleset b/data/experimental/units.ruleset index a120075621..0c88fe2989 100644 --- a/data/experimental/units.ruleset +++ b/data/experimental/units.ruleset @@ -227,7 +227,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -310,21 +310,21 @@ flags = "Unreachable", "DoesntOccupyTile" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely -; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -333,34 +333,34 @@ flags = "Unreachable", "DoesntOccupyTile" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible @@ -1824,7 +1824,7 @@ uk_food = 0 uk_gold = 0 cargo = "Missile" flags = "Partial_Invis", "BadCityDefender", "Provoking", - "Only_Native_Attack", "Shield2Gold" + "Only_Native_Attack", "Shield2Gold" roles = "Hunter" helptext = _("\ Traveling under the surface of the ocean, Submarines have\ diff --git a/data/multiplayer/units.ruleset b/data/multiplayer/units.ruleset index a5dcc842c1..5eccf0d2ad 100644 --- a/data/multiplayer/units.ruleset +++ b/data/multiplayer/units.ruleset @@ -214,7 +214,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -297,21 +297,21 @@ flags = "Unreachable", "DoesntOccupyTile" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely -; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -320,34 +320,34 @@ flags = "Unreachable", "DoesntOccupyTile" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible @@ -1897,7 +1897,7 @@ uk_food = 0 uk_gold = 0 cargo = "Missile" flags = "Partial_Invis", "BadCityDefender", "Provoking", - "Only_Native_Attack" + "Only_Native_Attack" roles = "Hunter" helptext = _("\ Traveling under the surface of the ocean, Submarines have\ diff --git a/data/sandbox/units.ruleset b/data/sandbox/units.ruleset index c05a124a07..87ecea04cf 100644 --- a/data/sandbox/units.ruleset +++ b/data/sandbox/units.ruleset @@ -251,7 +251,7 @@ flags = "Unreachable", "DoesntOccupyTile", "CanPillage", "MediumWeight" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -334,21 +334,21 @@ flags = "Unreachable", "DoesntOccupyTile", "CanPillage", "MediumWeight" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely -; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -357,34 +357,34 @@ flags = "Unreachable", "DoesntOccupyTile", "CanPillage", "MediumWeight" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible diff --git a/data/stub/units.ruleset b/data/stub/units.ruleset index 482691fca2..06f10e1c84 100644 --- a/data/stub/units.ruleset +++ b/data/stub/units.ruleset @@ -149,7 +149,7 @@ flags = "" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -230,15 +230,15 @@ flags = "" ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "AttackAny" = can attack unreachable units ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can do diplomat actions (see diplchance server option) +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can do diplomat actions (see diplchance server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast ; "Coast" = (sea only) can refuel on coast. Set fuel to force unit @@ -246,24 +246,24 @@ flags = "" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc @@ -273,7 +273,7 @@ flags = "" ; attacking a city ; defended by a city wall (or other city building defense) ; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible @@ -325,11 +325,11 @@ flags = "" ; "Ferryboat" = AI hint: useful for ferrying ; "Barbarian" = can be created as land barbarian ; "BarbarianTech" = can be created as land barbarian, if someone has -; researched its tech requirements +; researched its tech requirements ; "BarbarianBoat" = can be created as boat for sea barbarian ; "BarbarianBuild" = can be built by barbarians ; "BarbarianBuildTech" = can be built by barbarians if someone has -; researched its tech requirements +; researched its tech requirements ; "BarbarianLeader" = this unit is the barbarian leader (only one) ; "BarbarianSea" = can be created as a barbarian that disembarks from a barbarian boat ; "BarbarianSeaTech" = can be created as a barbarian that disembarks from a barbarian boat diff --git a/data/webperimental/units.ruleset b/data/webperimental/units.ruleset index 62751ecc5c..58a467b626 100644 --- a/data/webperimental/units.ruleset +++ b/data/webperimental/units.ruleset @@ -218,7 +218,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; for no alternate graphic. ; tech_req = required advance, names from techs.ruleset, or special: ; "None" => available from start -; impr_req = required city improvement, names from buildings.ruleset +; impr_req = required city improvement, names from buildings.ruleset ; gov_req = required government, names from governments.ruleset ; obsolete_by = can be upgraded to and made obsolete by another unit by name ; build_cost = production shields required to build @@ -280,7 +280,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; supported in client ; sound_fight = optional sound effect when the unit fights ; sound_fight_alt = optional alternative sound effect if above not -; supported in client +; supported in client ; helptext = optional help text string; should escape all raw newlines ; so that xgettext parsing works ; @@ -301,21 +301,21 @@ flags = "Unreachable", "DoesntOccupyTile" ; ; "IgZOC" = ignore Zones of Control (ZOC) even if unit class has ; "ZOC" flag -; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move -; around it freely -; "NonMil" = a non-military unit: no attacks; no martial law; can enter +; "HasNoZOC" = unit has no Zone of Control (ZOC), thus any unit can move +; around it freely +; "NonMil" = a non-military unit: no attacks; no martial law; can enter ; peaceful borders; DoesntOccupyTile ; "IgTer" = use constant move cost defined in igter_cost (terrain.ruleset) ; rather than terrain/road etc cost, unless terrain cost is ; less -; "OneAttack" = can only make a single attack, regardless of movement points -; "FieldUnit" = cause unhappiness even when not being aggressive +; "OneAttack" = can only make a single attack, regardless of movement points +; "FieldUnit" = cause unhappiness even when not being aggressive ; "BeachLander" = won't lose all its movement when moving from non-native ; terrain to native terrain even if slow_invasions is on. ; "Partial_Invis" = visible only to adjancent units; does not hide transported -; units other than missiles -; "Settlers" = can irrigate and build roads -; "Diplomat" = can defend against diplomat actions (see diplchance +; units other than missiles +; "Settlers" = can irrigate and build roads +; "Diplomat" = can defend against diplomat actions (see diplchance ; server option) ; "Spy" = strong in diplomatic battles. _Must_ be "Diplomat" also ; "CoastStrict" = (sea only) cannot leave coast @@ -324,34 +324,34 @@ flags = "Unreachable", "DoesntOccupyTile" ; "Only_Native_Attack" = cannot attack targets on non-native tiles even if ; unit class can ; "Cant_Fortify" = cannot fortify even if unit class has "CanFortify" flag -; "Fanatic" = can only be built by governments that allow them -; (see civ2/governments.ruleset, Fundamentalism government) -; "Unique" = a player can only have one of these units in the game at -; the same time; barbarians cannot use this at present -; "GameLoss" = losing one of these units means you lose the game, but it -; is produced without homecity and upkeep +; "Fanatic" = can only be built by governments that allow them +; (see civ2/governments.ruleset, Fundamentalism government) +; "Unique" = a player can only have one of these units in the game at +; the same time; barbarians cannot use this at present +; "GameLoss" = losing one of these units means you lose the game, but it +; is produced without homecity and upkeep ; "EvacuateFirst" = the game will try to rescue units with this flag before ; it tries to rescue units without it when their transport ; is destroyed. Think of the Birkenhead drill ("women and ; children first"). Replace "women and children" with ; "units with the EvacuateFirst unit type flag". -; "SuperSpy" = this unit always wins diplomatic contests, that is, unless -; it encounters another SuperSpy, in which case defender wins; -; can also be used on non-diplomat units, in which case it can -; protect cities from diplomats; also 100% spy survival chance -; "NoHome" = this unit has no homecity and will be free of all upkeep, and -; therefore will not revolt along with its city of origin should -; it be incited +; "SuperSpy" = this unit always wins diplomatic contests, that is, unless +; it encounters another SuperSpy, in which case defender wins; +; can also be used on non-diplomat units, in which case it can +; protect cities from diplomats; also 100% spy survival chance +; "NoHome" = this unit has no homecity and will be free of all upkeep, and +; therefore will not revolt along with its city of origin should +; it be incited ; "NoVeteran" = this unit cannot gain veteran levels through experience ; (as if both raise_chance and work_raise_chance were zero); ; it can still gain veterancy through Veteran_Build, etc ; "CityBuster" = this unit has double firepower against cities ; "NoBuild" = this unit cannot be built -; "BadWallAttacker" = the firepower of this unit is set to 1 if +; "BadWallAttacker" = the firepower of this unit is set to 1 if ; attacking a city -; defended by a city wall (or other city building defense) -; "BadCityDefender" = if attacked while in a city, firepower is set to 1 -; and firepower of attacker is doubled (the Pearl Harbour +; defended by a city wall (or other city building defense) +; "BadCityDefender" = if attacked while in a city, firepower is set to 1 +; and firepower of attacker is doubled (the Pearl Harbour ; rule) ; "BarbarianOnly" = only barbarians can build this unit ; "Shield2Gold" = Switch from shield upkeep to gold upkeep possible @@ -407,7 +407,7 @@ flags = "Unreachable", "DoesntOccupyTile" ; "BarbarianBoat" = can be created as boat for sea barbarian ; "BarbarianBuild" = can be built by barbarians ; "BarbarianBuildTech" = can be built by barbarians if someone has -; researched its tech requirements +; researched its tech requirements ; "BarbarianLeader" = this unit is the barbarian leader (only one) ; "BarbarianSea" = can be created as a barbarian that disembarks from a barbarian boat ; "BarbarianSeaTech" = can be created as a barbarian that disembarks from a barbarian boat @@ -1815,7 +1815,7 @@ uk_food = 0 uk_gold = 0 cargo = "Missile" flags = "Partial_Invis", "BadCityDefender", "Provoking", - "Only_Native_Attack", "HeavyWeight" + "Only_Native_Attack", "HeavyWeight" roles = "Hunter" helptext = _("\ Traveling under the surface of the ocean, Submarines have\ -- 2.39.2