From a4f121f2be8f3a195ce0a502e53bb959880edadd Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 14 Apr 2024 15:44:17 +0300 Subject: [PATCH 52/52] Rename actionenablers as enablers See osdn #48616 Signed-off-by: Marko Lindqvist --- data/alien/actions.ruleset | 122 +++++------ data/civ1/actions.ruleset | 94 ++++---- data/civ2/actions.ruleset | 138 ++++++------ data/civ2civ3/actions.ruleset | 176 +++++++-------- data/classic/actions.ruleset | 162 +++++++------- data/goldkeep/actions.ruleset | 174 +++++++-------- data/granularity/actions.ruleset | 54 ++--- data/multiplayer/actions.ruleset | 160 +++++++------- data/ruledit/comments-3.3.txt | 4 +- data/sandbox/actions.ruleset | 336 ++++++++++++++--------------- data/stub/actions.ruleset | 8 +- data/webperimental/actions.ruleset | 194 ++++++++--------- server/ruleset/ruleload.c | 10 +- tools/ruleutil/rulesave.c | 2 +- 14 files changed, 819 insertions(+), 815 deletions(-) diff --git a/data/alien/actions.ruleset b/data/alien/actions.ruleset index 9a1769c106..58bce8bbc6 100644 --- a/data/alien/actions.ruleset +++ b/data/alien/actions.ruleset @@ -370,7 +370,7 @@ quiet_actions = "Transport Disembark 2", "Enter Hut 2", "Unit Move" ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -379,12 +379,12 @@ quiet_actions = "Transport Disembark 2", "Enter Hut 2", "Unit Move" ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range" @@ -394,7 +394,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range" @@ -404,7 +404,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range" @@ -418,7 +418,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -435,7 +435,7 @@ target_reqs = "Building", "Headquarters", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -452,7 +452,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -460,7 +460,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -468,7 +468,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -480,7 +480,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -490,10 +490,10 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" -[actionenabler_capture] +[enabler_capture] action = "Capture Units" actor_reqs = { "type", "name", "range", "present" @@ -509,7 +509,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_bombard_city] +[enabler_bombard_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -524,7 +524,7 @@ target_reqs = "DiplRelTileOther", "War", "Local", TRUE } -[actionenabler_bombard_no_city] +[enabler_bombard_no_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -539,7 +539,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -553,7 +553,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -568,7 +568,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -579,7 +579,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_uclass_sea] +[enabler_attack_uclass_sea] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -590,7 +590,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -605,7 +605,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_uclass_sea] +[enabler_ransom_uclass_sea] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -620,7 +620,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -630,7 +630,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -645,7 +645,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -653,7 +653,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -669,7 +669,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -683,7 +683,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -700,7 +700,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -716,7 +716,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -730,7 +730,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -747,14 +747,14 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_unit] +[enabler_airlift_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -764,35 +764,35 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -802,7 +802,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -812,7 +812,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -823,7 +823,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -834,7 +834,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -846,7 +846,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_mine_mountains] +[enabler_mine_mountains] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -858,7 +858,7 @@ target_reqs = "Terrain", "Thick Mountains", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -871,7 +871,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_green_river] +[enabler_irrigate_src_green_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -884,7 +884,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_brown_river] +[enabler_irrigate_src_brown_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -897,7 +897,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_green_river_adjacent] +[enabler_irrigate_src_green_river_adjacent] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -910,7 +910,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_brown_river_adjacent] +[enabler_irrigate_src_brown_river_adjacent] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -923,7 +923,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_citycenter] +[enabler_irrigate_src_citycenter] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -936,7 +936,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_deep_pumping] +[enabler_irrigate_src_deep_pumping] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -948,7 +948,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -960,7 +960,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -971,7 +971,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -983,7 +983,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -992,7 +992,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_native_city] +[enabler_disembark_from_native_city] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1001,7 +1001,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -1011,7 +1011,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1023,7 +1023,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1031,7 +1031,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter_from_native_tile] +[enabler_hut_enter_from_native_tile] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1039,7 +1039,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local", TRUE } -[actionenabler_hut_enter_from_native_city] +[enabler_hut_enter_from_native_city] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1047,7 +1047,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_hut_enter_from_non_native] +[enabler_hut_enter_from_non_native] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1056,7 +1056,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/civ1/actions.ruleset b/data/civ1/actions.ruleset index 6589734871..10aa34a5f6 100644 --- a/data/civ1/actions.ruleset +++ b/data/civ1/actions.ruleset @@ -351,7 +351,7 @@ quiet_actions = "Enter Hut 2", "Unit Move" ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -360,12 +360,12 @@ quiet_actions = "Enter Hut 2", "Unit Move" ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range" @@ -375,7 +375,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -390,7 +390,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range" @@ -400,7 +400,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range" @@ -414,7 +414,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -431,7 +431,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -449,7 +449,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -457,7 +457,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -465,7 +465,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -477,7 +477,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -487,10 +487,10 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -504,7 +504,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -519,7 +519,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -528,14 +528,14 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -544,7 +544,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -557,7 +557,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -568,7 +568,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_uclass_sea] +[enabler_attack_uclass_sea] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -579,7 +579,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -594,7 +594,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_uclass_sea] +[enabler_ransom_uclass_sea] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -609,7 +609,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -619,7 +619,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -634,7 +634,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -642,14 +642,14 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" @@ -660,21 +660,21 @@ target_reqs = "Extra", "River", "Tile", FALSE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -684,7 +684,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -694,7 +694,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -705,7 +705,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -716,7 +716,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -727,7 +727,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -739,7 +739,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_river] +[enabler_irrigate_src_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -751,7 +751,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_irrigation] +[enabler_irrigate_src_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -763,7 +763,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -775,7 +775,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -786,7 +786,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -798,7 +798,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark] +[enabler_disembark] action = "Transport Disembark" actor_reqs = { "type", "name", "range", "present" @@ -808,7 +808,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -825,7 +825,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -833,7 +833,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter_from_native] +[enabler_hut_enter_from_native] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -842,7 +842,7 @@ actor_reqs = "UnitClassFlag", "HutNothing", "Local", FALSE } -[actionenabler_hut_enter_from_transport] +[enabler_hut_enter_from_transport] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -851,7 +851,7 @@ actor_reqs = "UnitClassFlag", "HutNothing", "Local", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/civ2/actions.ruleset b/data/civ2/actions.ruleset index 70a87100f2..78ac0d8f73 100644 --- a/data/civ2/actions.ruleset +++ b/data/civ2/actions.ruleset @@ -405,7 +405,7 @@ quiet_actions = "Unit Move" ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -414,12 +414,12 @@ quiet_actions = "Unit Move" ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -429,7 +429,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -438,7 +438,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -447,7 +447,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range" @@ -456,7 +456,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -467,7 +467,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -477,7 +477,7 @@ actor_reqs = "DiplRel", "Has real embassy", "Local", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range", "present" @@ -487,7 +487,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -496,7 +496,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range" @@ -510,7 +510,7 @@ target_reqs = } ; TODO: Find the exact requirements -[actionenabler_plant_nuke] +[enabler_plant_nuke] action = "Suitcase Nuke Escape" actor_reqs = { "type", "name", "range" @@ -521,7 +521,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -535,7 +535,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -548,7 +548,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -561,7 +561,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -578,7 +578,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -594,7 +594,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -611,7 +611,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range" @@ -626,7 +626,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -634,7 +634,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -642,7 +642,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -654,7 +654,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -664,10 +664,10 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -681,7 +681,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -696,7 +696,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -705,14 +705,14 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -721,7 +721,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -734,7 +734,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -745,7 +745,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -756,7 +756,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_uclass_sea] +[enabler_attack_uclass_sea] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -767,7 +767,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -782,7 +782,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -797,7 +797,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_uclass_sea] +[enabler_ransom_uclass_sea] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -812,7 +812,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -822,7 +822,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -837,7 +837,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -852,7 +852,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -860,7 +860,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -877,7 +877,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -892,7 +892,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -910,7 +910,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -927,7 +927,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -942,7 +942,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -960,7 +960,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_airlift_unit] +[enabler_airlift_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -970,7 +970,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -978,35 +978,35 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1016,7 +1016,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1026,7 +1026,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -1037,7 +1037,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -1048,7 +1048,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1059,7 +1059,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1071,7 +1071,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_river] +[enabler_irrigate_src_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1083,7 +1083,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_irrigation] +[enabler_irrigate_src_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1095,7 +1095,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -1107,7 +1107,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -1118,7 +1118,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -1130,7 +1130,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark] +[enabler_disembark] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1140,7 +1140,7 @@ actor_reqs = ; TODO: was transferring from a transport to a transport on an adjacent tile ; legal? -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1157,7 +1157,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1165,7 +1165,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter] +[enabler_hut_enter] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1173,7 +1173,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_frighten] +[enabler_hut_frighten] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1181,7 +1181,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/civ2civ3/actions.ruleset b/data/civ2civ3/actions.ruleset index f7f82c3901..fcaa8e4f3d 100644 --- a/data/civ2civ3/actions.ruleset +++ b/data/civ2civ3/actions.ruleset @@ -452,7 +452,7 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -461,12 +461,12 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -477,7 +477,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -487,7 +487,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -497,7 +497,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range" @@ -507,7 +507,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -522,7 +522,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -536,7 +536,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_explorer] +[enabler_establish_embassy_explorer] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -550,7 +550,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City" actor_reqs = { "type", "name", "range", "present" @@ -560,7 +560,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -569,7 +569,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_investigate_city_explorer] +[enabler_investigate_city_explorer] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -578,7 +578,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -593,7 +593,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -607,7 +607,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -621,7 +621,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range" @@ -635,7 +635,7 @@ target_reqs = "MinSize", "2", "City" } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -655,7 +655,7 @@ target_reqs = "Building", "Mausoleum of Mausolos", "Player", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -674,7 +674,7 @@ target_reqs = "Building", "Mausoleum of Mausolos", "Player", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -693,7 +693,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range" @@ -709,7 +709,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_eliminate_spy] +[enabler_eliminate_spy] action = "Spy Attack" actor_reqs = { "type", "name", "range", "present" @@ -725,7 +725,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -734,7 +734,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -750,7 +750,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -761,14 +761,14 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "EvacuateFirst", "Local", FALSE } -[actionenabler_capture] +[enabler_capture] action = "Capture Units" actor_reqs = { "type", "name", "range", "present" @@ -784,7 +784,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_bombard_city] +[enabler_bombard_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -799,7 +799,7 @@ target_reqs = "DiplRelTileOther", "War", "Local", TRUE } -[actionenabler_bombard_no_city] +[enabler_bombard_no_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -814,7 +814,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -828,7 +828,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -843,7 +843,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -852,14 +852,14 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -868,7 +868,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -881,7 +881,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -892,7 +892,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -903,7 +903,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_att_from_non_native] +[enabler_attack_att_from_non_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -914,7 +914,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -929,7 +929,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -944,7 +944,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native] +[enabler_ransom_att_from_non_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -959,7 +959,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -969,7 +969,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -985,7 +985,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City 2" actor_reqs = { "type", "name", "range", "present" @@ -1002,7 +1002,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -1011,7 +1011,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_change_home_city_diplo] +[enabler_change_home_city_diplo] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -1019,7 +1019,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1036,7 +1036,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1051,7 +1051,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1070,7 +1070,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1087,7 +1087,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1102,7 +1102,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1121,14 +1121,14 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_unit] +[enabler_airlift_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1138,7 +1138,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -1147,7 +1147,7 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" @@ -1155,7 +1155,7 @@ actor_reqs = "UnitClass", "Sea", "Local", FALSE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" @@ -1163,21 +1163,21 @@ actor_reqs = "UnitClass", "Sea", "Local", FALSE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1187,7 +1187,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1197,7 +1197,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -1208,7 +1208,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -1219,7 +1219,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range", "present" @@ -1232,7 +1232,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_mining_ocean] +[enabler_mining_ocean] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1253,7 +1253,7 @@ target_reqs = ; "Sea" nreq is for Transports, which are only supposed to clean pollution -[actionenabler_irrigate_src_tech_basic_irrigation] +[enabler_irrigate_src_tech_basic_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1267,7 +1267,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_ocean_basic_irrigation] +[enabler_irrigate_src_ocean_basic_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1281,7 +1281,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_extra_basic_irrigation] +[enabler_irrigate_src_extra_basic_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1295,7 +1295,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_tech_not_in_desert] +[enabler_irrigate_src_tech_not_in_desert] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1309,7 +1309,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_ocean_not_in_desert] +[enabler_irrigate_src_ocean_not_in_desert] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1323,7 +1323,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_extra_not_in_desert] +[enabler_irrigate_src_extra_not_in_desert] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1337,7 +1337,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_tech_desert_but_allowed] +[enabler_irrigate_src_tech_desert_but_allowed] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1351,7 +1351,7 @@ target_reqs = "ExtraFlag", "AllowsFarmlandOnDesert", "Tile", TRUE } -[actionenabler_irrigate_src_ocean_desert_but_allowed] +[enabler_irrigate_src_ocean_desert_but_allowed] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1365,7 +1365,7 @@ target_reqs = "ExtraFlag", "AllowsFarmlandOnDesert", "Tile", TRUE } -[actionenabler_irrigate_src_extra_desert_but_allowed] +[enabler_irrigate_src_extra_desert_but_allowed] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -1379,7 +1379,7 @@ target_reqs = "ExtraFlag", "AllowsFarmlandOnDesert", "Tile", TRUE } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -1391,7 +1391,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -1402,7 +1402,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -1414,7 +1414,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1423,7 +1423,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_native_city] +[enabler_disembark_from_native_city] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1432,7 +1432,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -1442,7 +1442,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1454,7 +1454,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1462,7 +1462,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter_from_native_tile] +[enabler_hut_enter_from_native_tile] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1471,7 +1471,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_native_city] +[enabler_hut_enter_from_native_city] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1480,7 +1480,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_non_native] +[enabler_hut_enter_from_non_native] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1490,7 +1490,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_frighten_from_native_tile] +[enabler_hut_frighten_from_native_tile] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1499,7 +1499,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_frighten_from_native_city] +[enabler_hut_frighten_from_native_city] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1508,7 +1508,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_frighten_from_non_native] +[enabler_hut_frighten_from_non_native] action = "Frighten Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1518,7 +1518,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", TRUE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/classic/actions.ruleset b/data/classic/actions.ruleset index b47a54cd20..6b91195212 100644 --- a/data/classic/actions.ruleset +++ b/data/classic/actions.ruleset @@ -444,7 +444,7 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -453,12 +453,12 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -469,7 +469,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -479,7 +479,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -489,7 +489,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range" @@ -499,7 +499,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_eliminate_spy] +[enabler_eliminate_spy] action = "Spy Attack" actor_reqs = { "type", "name", "range", "present" @@ -515,7 +515,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -531,7 +531,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -546,7 +546,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range", "present" @@ -557,7 +557,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -567,7 +567,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range" @@ -581,7 +581,7 @@ target_reqs = "MinSize", "2", "City" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -596,7 +596,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -610,7 +610,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -624,7 +624,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -642,7 +642,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -659,7 +659,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -678,7 +678,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range" @@ -694,7 +694,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -702,7 +702,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -710,7 +710,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -722,7 +722,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -733,14 +733,14 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "EvacuateFirst", "Local", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -754,7 +754,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -769,7 +769,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -778,14 +778,14 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -794,7 +794,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -807,7 +807,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -818,7 +818,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -829,7 +829,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_att_from_non_native] +[enabler_attack_att_from_non_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -840,7 +840,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -855,7 +855,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -870,7 +870,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native] +[enabler_ransom_att_from_non_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -885,7 +885,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -895,7 +895,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -910,7 +910,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City 2" actor_reqs = { "type", "name", "range", "present" @@ -926,7 +926,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -935,7 +935,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -952,7 +952,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -968,7 +968,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -986,7 +986,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed_base] +[enabler_paradrop_base_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1003,7 +1003,7 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1020,7 +1020,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1036,7 +1036,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1054,7 +1054,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed_base] +[enabler_paradrop_city_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1071,14 +1071,14 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_unit] +[enabler_airlift_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1088,7 +1088,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -1096,35 +1096,35 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1134,7 +1134,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1144,7 +1144,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -1155,7 +1155,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -1166,7 +1166,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1178,7 +1178,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_desert_oil] +[enabler_desert_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1190,7 +1190,7 @@ target_reqs = "Terrain", "Desert", "Tile" } -[actionenabler_glacier_oil] +[enabler_glacier_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1202,7 +1202,7 @@ target_reqs = "Terrain", "Glacier", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1214,7 +1214,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_river] +[enabler_irrigate_src_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1226,7 +1226,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_irrigation] +[enabler_irrigate_src_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1238,7 +1238,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -1250,7 +1250,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -1261,7 +1261,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -1273,7 +1273,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1282,7 +1282,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -1291,7 +1291,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1303,7 +1303,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1311,7 +1311,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter_from_native_tile] +[enabler_hut_enter_from_native_tile] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1320,7 +1320,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_non_native] +[enabler_hut_enter_from_non_native] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1329,7 +1329,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_from_native_tile] +[enabler_hut_from_native_tile] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1338,7 +1338,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_from_non_native] +[enabler_hut_from_non_native] action = "Frighten Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1347,7 +1347,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", TRUE } -[actionenabler_claim_extra_war_from_native_tile] +[enabler_claim_extra_war_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range" @@ -1356,7 +1356,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_claim_extra_war_from_non_native] +[enabler_claim_extra_war_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -1365,7 +1365,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local", FALSE } -[actionenabler_claim_extra_unowned_from_native_tile] +[enabler_claim_extra_unowned_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -1377,7 +1377,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_non_native] +[enabler_claim_extra_unowned_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -1389,7 +1389,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/goldkeep/actions.ruleset b/data/goldkeep/actions.ruleset index ae00283024..272c0fa0b5 100644 --- a/data/goldkeep/actions.ruleset +++ b/data/goldkeep/actions.ruleset @@ -444,7 +444,7 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -453,12 +453,12 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -469,7 +469,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -479,7 +479,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -489,7 +489,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range" @@ -499,7 +499,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_eliminate_spy] +[enabler_eliminate_spy] action = "Spy Attack" actor_reqs = { "type", "name", "range", "present" @@ -515,7 +515,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -531,7 +531,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -546,7 +546,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_explorer_establish_embassy] +[enabler_explorer_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -562,7 +562,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range", "present" @@ -573,7 +573,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -583,7 +583,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range" @@ -597,7 +597,7 @@ target_reqs = "MinSize", "2", "City" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -612,7 +612,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -626,7 +626,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -640,7 +640,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -658,7 +658,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -675,7 +675,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -693,7 +693,7 @@ target_reqs = "Gov", "Democracy", "Player", FALSE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range" @@ -708,7 +708,7 @@ target_reqs = "MinHitPoints", "2", "Local", TRUE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -716,7 +716,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -724,7 +724,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -736,7 +736,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -747,14 +747,14 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "EvacuateFirst", "Local", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -768,7 +768,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -783,7 +783,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -792,14 +792,14 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -808,7 +808,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -821,7 +821,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -832,7 +832,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -843,7 +843,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_att_from_non_native] +[enabler_attack_att_from_non_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -854,7 +854,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -869,7 +869,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -884,7 +884,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native] +[enabler_ransom_att_from_non_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -899,7 +899,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -909,7 +909,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -924,7 +924,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City 2" actor_reqs = { "type", "name", "range", "present" @@ -940,7 +940,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -949,7 +949,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -966,7 +966,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -982,7 +982,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1000,7 +1000,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed_base] +[enabler_paradrop_base_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1017,7 +1017,7 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1034,7 +1034,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1050,7 +1050,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1068,7 +1068,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed_base] +[enabler_paradrop_city_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1085,14 +1085,14 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_unit] +[enabler_airlift_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1102,7 +1102,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -1110,35 +1110,35 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1148,7 +1148,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1158,7 +1158,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -1169,7 +1169,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -1180,7 +1180,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1192,7 +1192,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_desert_oil] +[enabler_desert_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1204,7 +1204,7 @@ target_reqs = "Terrain", "Desert", "Tile" } -[actionenabler_glacier_oil] +[enabler_glacier_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1216,7 +1216,7 @@ target_reqs = "Terrain", "Glacier", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1228,7 +1228,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_river] +[enabler_irrigate_src_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1240,7 +1240,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_irrigation] +[enabler_irrigate_src_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1252,7 +1252,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -1264,7 +1264,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -1275,7 +1275,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -1287,7 +1287,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1296,7 +1296,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_native_city] +[enabler_disembark_from_native_city] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1305,7 +1305,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -1315,7 +1315,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1327,7 +1327,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1335,7 +1335,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter_from_native_tile] +[enabler_hut_enter_from_native_tile] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1344,7 +1344,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_native_city] +[enabler_hut_enter_from_native_city] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1353,7 +1353,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_non_native] +[enabler_hut_enter_from_non_native] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1363,7 +1363,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_frighten_from_native_tile] +[enabler_hut_frighten_from_native_tile] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1372,7 +1372,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_frighten_from_native_city] +[enabler_hut_frighten_from_native_city] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1381,7 +1381,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_frighten_from_non_native] +[enabler_hut_frighten_from_non_native] action = "Frighten Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1391,7 +1391,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", TRUE } -[actionenabler_claim_extra_war_from_native_tile] +[enabler_claim_extra_war_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range" @@ -1400,7 +1400,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_claim_extra_war_from_native_city] +[enabler_claim_extra_war_from_native_city] action = "Conquer Extras" actor_reqs = { "type", "name", "range" @@ -1409,7 +1409,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_claim_extra_war_from_non_native] +[enabler_claim_extra_war_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -1419,7 +1419,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_native_tile] +[enabler_claim_extra_unowned_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -1431,7 +1431,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_native_city] +[enabler_claim_extra_unowned_from_native_city] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -1443,7 +1443,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_non_native] +[enabler_claim_extra_unowned_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -1456,7 +1456,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/granularity/actions.ruleset b/data/granularity/actions.ruleset index 7610afd6c2..2b0efdeb97 100644 --- a/data/granularity/actions.ruleset +++ b/data/granularity/actions.ruleset @@ -237,7 +237,7 @@ quiet_actions = "Transport Disembark 2", "Unit Move" ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -246,12 +246,12 @@ quiet_actions = "Transport Disembark 2", "Unit Move" ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -266,7 +266,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -284,7 +284,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_found_city_tribal] +[enabler_found_city_tribal] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -299,7 +299,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_found_city_despotism] +[enabler_found_city_despotism] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -314,7 +314,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_found_city_monarchy] +[enabler_found_city_monarchy] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -328,21 +328,21 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -354,7 +354,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -365,7 +365,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -377,7 +377,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -386,7 +386,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_native_city] +[enabler_disembark_from_native_city] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -395,7 +395,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -405,7 +405,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -417,7 +417,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -425,7 +425,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_relocate] +[enabler_relocate] action = "Teleport" actor_reqs = { "type", "name", "range", "present" @@ -433,7 +433,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_bombard_land] +[enabler_bombard_land] action = "Bombard 2" actor_reqs = { "type", "name", "range" @@ -441,7 +441,7 @@ actor_reqs = "MinMoveFrags", "5", "Local" } -[actionenabler_surgical_strike] +[enabler_surgical_strike] action = "Surgical Strike Building" actor_reqs = { "type", "name", "range" @@ -449,7 +449,7 @@ actor_reqs = "MinMoveFrags", "5", "Local" } -[actionenabler_bombard] +[enabler_bombard] action = "Bombard" actor_reqs = { "type", "name", "range" @@ -457,7 +457,7 @@ actor_reqs = "MinMoveFrags", "5", "Local" } -[actionenabler_fortify] +[enabler_fortify] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -465,7 +465,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_conquer_city_tribal] +[enabler_conquer_city_tribal] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -481,7 +481,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_despotism] +[enabler_conquer_city_despotism] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -497,7 +497,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_monarchy] +[enabler_conquer_city_monarchy] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -512,7 +512,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_capture_defenseless] +[enabler_capture_defenseless] action = "Capture Units" actor_reqs = { "type", "name", "range" @@ -526,7 +526,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/multiplayer/actions.ruleset b/data/multiplayer/actions.ruleset index c87e353760..57ffd838e4 100644 --- a/data/multiplayer/actions.ruleset +++ b/data/multiplayer/actions.ruleset @@ -435,7 +435,7 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -444,12 +444,12 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -460,7 +460,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -470,7 +470,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -480,7 +480,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range" @@ -490,7 +490,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_eliminate_spy] +[enabler_eliminate_spy] action = "Spy Attack" actor_reqs = { "type", "name", "range", "present" @@ -506,7 +506,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -522,7 +522,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -537,7 +537,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range", "present" @@ -548,7 +548,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -558,7 +558,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range" @@ -572,7 +572,7 @@ target_reqs = "MinSize", "2", "City" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -587,7 +587,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -601,7 +601,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -615,7 +615,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -633,7 +633,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -650,7 +650,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -669,7 +669,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range" @@ -685,7 +685,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -697,7 +697,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_help_build_small_wonder] +[enabler_help_build_small_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -710,7 +710,7 @@ target_reqs = "Building", "Palace", "Local", FALSE } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -721,14 +721,14 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "EvacuateFirst", "Local", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -742,7 +742,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -757,7 +757,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -766,14 +766,14 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -782,7 +782,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -795,7 +795,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -806,7 +806,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -817,7 +817,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_att_from_non_native] +[enabler_attack_att_from_non_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -828,7 +828,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -843,7 +843,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -858,7 +858,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native] +[enabler_ransom_att_from_non_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -873,7 +873,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -883,7 +883,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -898,7 +898,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City 2" actor_reqs = { "type", "name", "range", "present" @@ -914,7 +914,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -923,7 +923,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -940,7 +940,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -956,7 +956,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -974,7 +974,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed_base] +[enabler_paradrop_base_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -991,7 +991,7 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1008,7 +1008,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1024,7 +1024,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1042,7 +1042,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed_base] +[enabler_paradrop_city_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1059,14 +1059,14 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_unit] +[enabler_airlift_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1076,7 +1076,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -1084,35 +1084,35 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1122,7 +1122,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1132,7 +1132,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -1143,7 +1143,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -1154,7 +1154,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1166,7 +1166,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_desert_oil] +[enabler_desert_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1178,7 +1178,7 @@ target_reqs = "Terrain", "Desert", "Tile" } -[actionenabler_glacier_oil] +[enabler_glacier_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1190,7 +1190,7 @@ target_reqs = "Terrain", "Glacier", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1202,7 +1202,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_river] +[enabler_irrigate_src_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1214,7 +1214,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_irrigation] +[enabler_irrigate_src_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1226,7 +1226,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -1238,7 +1238,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -1249,7 +1249,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -1261,7 +1261,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1270,7 +1270,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -1279,7 +1279,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local", FALSE } -[actionenabler_hut_enter_from_native_tile] +[enabler_hut_enter_from_native_tile] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1288,7 +1288,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_non_native] +[enabler_hut_enter_from_non_native] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1297,7 +1297,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_from_native_tile] +[enabler_hut_from_native_tile] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1306,7 +1306,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_from_non_native] +[enabler_hut_from_non_native] action = "Frighten Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -1315,7 +1315,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", TRUE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1327,7 +1327,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1335,7 +1335,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_claim_extra_war_from_native_tile] +[enabler_claim_extra_war_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range" @@ -1344,7 +1344,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_claim_extra_war_from_non_native] +[enabler_claim_extra_war_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -1353,7 +1353,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local", FALSE } -[actionenabler_claim_extra_unowned_from_native_tile] +[enabler_claim_extra_unowned_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -1365,7 +1365,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_non_native] +[enabler_claim_extra_unowned_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -1377,7 +1377,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/ruledit/comments-3.3.txt b/data/ruledit/comments-3.3.txt index 3068883d1c..e09fe465d2 100644 --- a/data/ruledit/comments-3.3.txt +++ b/data/ruledit/comments-3.3.txt @@ -1143,7 +1143,7 @@ enablers = "\ \n\ ; /* <-- avoid gettext warnings\n\ ;\n\ -; Action enablers:\n\ +; Enablers:\n\ ;\n\ ; action = the action to enable.\n\ ; actor_reqs = requirements that apply to the actor.\n\ @@ -1152,7 +1152,7 @@ enablers = "\ ; README.actions lists the possible actions and their hard coded\n\ ; requirements.\n\ ;\n\ -; An action enabler is active when its actor_reqs AND its target_reqs are\n\ +; An enabler is active when its actor_reqs AND its target_reqs are\n\ ; satisfied.\n\ ;\n\ ; */ <-- avoid gettext warnings\n\ diff --git a/data/sandbox/actions.ruleset b/data/sandbox/actions.ruleset index 837bf14732..8c8ac4642f 100644 --- a/data/sandbox/actions.ruleset +++ b/data/sandbox/actions.ruleset @@ -516,7 +516,7 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -525,12 +525,12 @@ quiet_actions = "Transport Disembark 2", "Conquer City 2", "Enter Hut 2", ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_disrupt_supply_normal] +[enabler_disrupt_supply_normal] action = "User Action 1" actor_reqs = { "type", "name", "range", "present" @@ -549,7 +549,7 @@ target_reqs = "UnitClass", "Missile", "Local", FALSE } -[actionenabler_disrupt_supply_marines] +[enabler_disrupt_supply_marines] action = "User Action 1" actor_reqs = { "type", "name", "range", "present" @@ -569,7 +569,7 @@ target_reqs = } ; Use Ancient Transportation Network -[actionenabler_ancient_transport_hub] +[enabler_ancient_transport_hub] action = "User Action 2" actor_reqs = { "type", "name", "range", "present" @@ -581,7 +581,7 @@ target_reqs = "Extra", "Ancient Transport Hub", "Tile", TRUE } -[actionenabler_cut_root] +[enabler_cut_root] action = "Heal Unit 2" actor_reqs = { "type", "name", "range", "present" @@ -599,7 +599,7 @@ target_reqs = "UnitFlag", "FleshBased", "Local", TRUE } -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -610,7 +610,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -620,7 +620,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range" @@ -630,7 +630,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range" @@ -640,7 +640,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -655,7 +655,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -669,7 +669,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_explorer] +[enabler_establish_embassy_explorer] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -683,7 +683,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City" actor_reqs = { "type", "name", "range", "present" @@ -693,7 +693,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -702,7 +702,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_investigate_city_explorer] +[enabler_investigate_city_explorer] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -711,7 +711,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_steal_maps] +[enabler_steal_maps] action = "Steal Maps Escape" actor_reqs = { "type", "name", "range" @@ -726,7 +726,7 @@ target_reqs = } ; Give spies the ability to steal gold -[actionenabler_steal_gold] +[enabler_steal_gold] action = "Steal Gold Escape" actor_reqs = { "type", "name", "range" @@ -741,7 +741,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -756,7 +756,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -770,7 +770,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -784,7 +784,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range", "present" @@ -799,7 +799,7 @@ target_reqs = "MinSize", "2", "City" } -[actionenabler_poison_city_despite_treuga_dei] +[enabler_poison_city_despite_treuga_dei] action = "Poison City Escape" actor_reqs = { "type", "name", "range", "present", "survives" @@ -820,7 +820,7 @@ target_reqs = ; by conspiracy theories. ; I delayed introducing this rule until 2021 because of COVID-19. ; -- Sveinung -[actionenabler_release_plague_from_georgia_guidestones] +[enabler_release_plague_from_georgia_guidestones] action = "Spread Plague" actor_reqs = { "type", "name", "range", "present" @@ -843,7 +843,7 @@ target_reqs = ; by conspiracy theories. ; I delayed introducing this rule until 2021 because of COVID-19. ; -- Sveinung -[actionenabler_release_plague_from_georgia_guidestones_despite_treuga_dei] +[enabler_release_plague_from_georgia_guidestones_despite_treuga_dei] action = "Spread Plague" actor_reqs = { "type", "name", "range", "present", "survives" @@ -865,7 +865,7 @@ target_reqs = ; "Too Much Detail", long before the Corona pandemic. ; I delayed introducing this rule until 2021 because of COVID-19. ; -- Sveinung -[actionenabler_release_plague_from_domestic] +[enabler_release_plague_from_domestic] action = "Spread Plague" actor_reqs = { "type", "name", "range", "present" @@ -887,7 +887,7 @@ target_reqs = ; "Too Much Detail", long before the Corona pandemic. ; I delayed introducing this rule until 2021 because of COVID-19. ; -- Sveinung -[actionenabler_release_plague_from_domestic_despite_treuga_dei] +[enabler_release_plague_from_domestic_despite_treuga_dei] action = "Spread Plague" actor_reqs = { "type", "name", "range", "present", "survives" @@ -904,7 +904,7 @@ target_reqs = "MinSize", "5", "City" } -[actionenabler_release_plague_from_bio_lab] +[enabler_release_plague_from_bio_lab] action = "Spread Plague" actor_reqs = { "type", "name", "range", "present" @@ -924,7 +924,7 @@ target_reqs = "Building", "Research Lab", "City" } -[actionenabler_release_plague_from_bio_lab_despite_treuga_dei] +[enabler_release_plague_from_bio_lab_despite_treuga_dei] action = "Spread Plague" actor_reqs = { "type", "name", "range", "present", "survives" @@ -944,7 +944,7 @@ target_reqs = "Building", "Research Lab", "City" } -[actionenabler_mechanic] +[enabler_mechanic] action = "Heal Unit" actor_reqs = { "type", "name", "range", "present" @@ -961,7 +961,7 @@ target_reqs = "UnitFlag", "IronBased", "Local", TRUE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -981,7 +981,7 @@ target_reqs = "Building", "Mausoleum of Mausolos", "Player", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -1000,7 +1000,7 @@ target_reqs = "Building", "Mausoleum of Mausolos", "Player", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -1018,7 +1018,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range", "present" @@ -1034,7 +1034,7 @@ target_reqs = "MinHitPoints", "2", "Local", TRUE } -[actionenabler_sabotage_unit_despite_treuga_dei] +[enabler_sabotage_unit_despite_treuga_dei] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1050,7 +1050,7 @@ target_reqs = "MinHitPoints", "2", "Local", TRUE } -[actionenabler_eliminate_spy] +[enabler_eliminate_spy] action = "Spy Attack" actor_reqs = { "type", "name", "range", "present" @@ -1066,7 +1066,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -1075,7 +1075,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -1088,7 +1088,7 @@ target_reqs = "Building", "Marketplace", "City" } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -1107,7 +1107,7 @@ target_reqs = ; A pacifist wanting to end violence or a neocon looking forward to the ; Casus Belli against terrorist states once Treuga Dei is finished may wish ; to help a non-allied player to complete Treuga Dei. -[actionenabler_help_build_wonder_treuga_dei] +[enabler_help_build_wonder_treuga_dei] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -1119,7 +1119,7 @@ target_reqs = "Building", "Treuga Dei", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -1131,7 +1131,7 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit_recover_consensus] +[enabler_disband_unit_recover_consensus] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -1146,7 +1146,7 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" @@ -1154,7 +1154,7 @@ actor_reqs = "UnitFlag", "Consensus", "Local", FALSE } -[actionenabler_disband_unit_consensus] +[enabler_disband_unit_consensus] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" @@ -1165,7 +1165,7 @@ actor_reqs = "Gov", "Republic", "Player", FALSE } -[actionenabler_capture] +[enabler_capture] action = "Capture Units" actor_reqs = { "type", "name", "range", "present" @@ -1182,7 +1182,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_capture_despite_treuga_dei] +[enabler_capture_despite_treuga_dei] action = "Capture Units" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1199,7 +1199,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_bombard_city] +[enabler_bombard_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -1215,7 +1215,7 @@ target_reqs = "DiplRelTileOther", "War", "Local", TRUE } -[actionenabler_bombard_no_city] +[enabler_bombard_no_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -1230,7 +1230,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_bombard_city_despite_treuga_dei] +[enabler_bombard_city_despite_treuga_dei] action = "Bombard" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1246,7 +1246,7 @@ target_reqs = "DiplRelTileOther", "War", "Local", TRUE } -[actionenabler_bombard_no_city_despite_treuga_dei] +[enabler_bombard_no_city_despite_treuga_dei] action = "Bombard" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1262,7 +1262,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -1276,7 +1276,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_domestic] +[enabler_build_city_domestic] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -1291,7 +1291,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -1300,7 +1300,7 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_border_police] +[enabler_border_police] action = "Expel Unit" actor_reqs = { "type", "name", "range", "present" @@ -1318,7 +1318,7 @@ target_reqs = "DiplRelTile", "Foreign", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" @@ -1326,7 +1326,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_nuke_despite_treuga_dei] +[enabler_nuke_despite_treuga_dei] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1334,7 +1334,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range", "present" @@ -1343,7 +1343,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_nuke_city_despite_treuga_dei] +[enabler_nuke_city_despite_treuga_dei] action = "Nuke City" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1352,7 +1352,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range", "present" @@ -1363,7 +1363,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_nuke_units_despite_treuga_dei] +[enabler_nuke_units_despite_treuga_dei] action = "Nuke Units" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1374,7 +1374,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_suitcase_nuke] +[enabler_suitcase_nuke] action = "Suitcase Nuke" actor_reqs = { "type", "name", "range", "present" @@ -1389,7 +1389,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_suitcase_nuke_despite_treuga_dei] +[enabler_suitcase_nuke_despite_treuga_dei] action = "Suitcase Nuke" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1404,7 +1404,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_suitcase_nuke_escape] +[enabler_suitcase_nuke_escape] action = "Suitcase Nuke Escape" actor_reqs = { "type", "name", "range", "present" @@ -1419,7 +1419,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_suitcase_nuke_escape_despite_treuga_dei] +[enabler_suitcase_nuke_escape_despite_treuga_dei] action = "Suitcase Nuke Escape" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1450,7 +1450,7 @@ actor_reqs = ; ; TODO: create an international incident (set the Casus_Belli_Success ; effect value to 1000) if "Destroy City" still is overpowered. -[actionenabler_scorched_earth] +[enabler_scorched_earth] action = "Destroy City" actor_reqs = { "type", "name", "range", "present" @@ -1461,7 +1461,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_scorched_earth_despite_treuga_dei] +[enabler_scorched_earth_despite_treuga_dei] action = "Destroy City" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1472,7 +1472,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -1484,7 +1484,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_attack_from_native_despite_treuga_dei] +[enabler_attack_from_native_despite_treuga_dei] action = "Attack" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1496,7 +1496,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -1508,7 +1508,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_attack_marines_despite_treuga_dei] +[enabler_attack_marines_despite_treuga_dei] action = "Attack" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1520,7 +1520,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_attack_att_from_non_native] +[enabler_attack_att_from_non_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -1532,7 +1532,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_attack_att_from_non_native_despite_treuga_dei] +[enabler_attack_att_from_non_native_despite_treuga_dei] action = "Attack" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1544,7 +1544,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -1560,7 +1560,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_from_native_despite_treuga_dei] +[enabler_ransom_from_native_despite_treuga_dei] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1576,7 +1576,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -1592,7 +1592,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines_despite_treuga_dei] +[enabler_ransom_marines_despite_treuga_dei] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1608,7 +1608,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native] +[enabler_ransom_att_from_non_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -1624,7 +1624,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native_despite_treuga_dei] +[enabler_ransom_att_from_non_native_despite_treuga_dei] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1640,7 +1640,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -1651,7 +1651,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_explode_missile_despite_treuga_dei] +[enabler_explode_missile_despite_treuga_dei] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1662,7 +1662,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_wipe_units] +[enabler_wipe_units] action = "Wipe Units" actor_reqs = { "type", "name", "range", "present" @@ -1672,7 +1672,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_wipe_units_communism] +[enabler_wipe_units_communism] action = "Wipe Units" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1682,7 +1682,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -1699,7 +1699,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_native_despite_treuga_dei] +[enabler_conquer_city_native_despite_treuga_dei] action = "Conquer City" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1716,7 +1716,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City 2" actor_reqs = { "type", "name", "range", "present" @@ -1734,7 +1734,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines_despite_treuga_dei] +[enabler_conquer_city_marines_despite_treuga_dei] action = "Conquer City 2" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1752,7 +1752,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -1761,7 +1761,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_change_home_city_diplo] +[enabler_change_home_city_diplo] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -1769,7 +1769,7 @@ actor_reqs = "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_no_home_city] +[enabler_no_home_city] action = "Unit Make Homeless" actor_reqs = { "type", "name", "range", "present" @@ -1777,7 +1777,7 @@ actor_reqs = "Building", "Altar to The Divine Ruler", "City", TRUE } -[actionenabler_paradrop_base_to_claimed_not_forest] +[enabler_paradrop_base_to_claimed_not_forest] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1795,7 +1795,7 @@ target_reqs = "TerrainFlag", "DifficultLanding", "Tile", FALSE } -[actionenabler_paradrop_base_to_unclaimed_not_forest] +[enabler_paradrop_base_to_unclaimed_not_forest] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1812,7 +1812,7 @@ target_reqs = "CityTile", "Claimed", "Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer_not_forest] +[enabler_paradrop_base_to_war_conquer_not_forest] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1833,7 +1833,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_war_conquer_not_forest_despite_treuga_dei] +[enabler_paradrop_base_to_war_conquer_not_forest_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1854,7 +1854,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed_base_not_forest] +[enabler_paradrop_base_to_unclaimed_base_not_forest] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1874,7 +1874,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed_base_not_forest_despite_treuga_dei] +[enabler_paradrop_base_to_unclaimed_base_not_forest_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1894,7 +1894,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_veteran_base_to_claimed] +[enabler_paradrop_veteran_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1912,7 +1912,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_veteran_base_to_unclaimed] +[enabler_paradrop_veteran_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1929,7 +1929,7 @@ target_reqs = "Extra", "Castle", "Tile", FALSE } -[actionenabler_paradrop_veteran_base_to_war_conquer] +[enabler_paradrop_veteran_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1950,7 +1950,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_veteran_base_to_war_conquer_despite_treuga_dei] +[enabler_paradrop_veteran_base_to_war_conquer_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -1971,7 +1971,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_veteran_base_to_unclaimed_base] +[enabler_paradrop_veteran_base_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1991,7 +1991,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_veteran_base_to_unclaimed_base_despite_treuga_dei] +[enabler_paradrop_veteran_base_to_unclaimed_base_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2011,7 +2011,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_city_to_claimed_not_forest] +[enabler_paradrop_city_to_claimed_not_forest] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -2029,7 +2029,7 @@ target_reqs = "TerrainFlag", "DifficultLanding", "Tile", FALSE } -[actionenabler_paradrop_city_to_unclaimed_not_forest] +[enabler_paradrop_city_to_unclaimed_not_forest] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -2046,7 +2046,7 @@ target_reqs = "TerrainFlag", "DifficultLanding", "Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer_not_forest] +[enabler_paradrop_city_to_war_conquer_not_forest] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -2067,7 +2067,7 @@ target_reqs = "TerrainFlag", "DifficultLanding", "Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer_not_forest_despite_treuga_dei] +[enabler_paradrop_city_to_war_conquer_not_forest_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2088,7 +2088,7 @@ target_reqs = "TerrainFlag", "DifficultLanding", "Tile", FALSE } -[actionenabler_paradrop_city_to_unclaimed_base_not_forest] +[enabler_paradrop_city_to_unclaimed_base_not_forest] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -2108,7 +2108,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed_base_not_forest_despite_treuga_dei] +[enabler_paradrop_city_to_unclaimed_base_not_forest_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2128,7 +2128,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_veteran_city_to_claimed] +[enabler_paradrop_veteran_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -2146,7 +2146,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_veteran_city_to_unclaimed] +[enabler_paradrop_veteran_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -2163,7 +2163,7 @@ target_reqs = "Extra", "Castle", "Tile", FALSE } -[actionenabler_paradrop_veteran_city_to_war_conquer] +[enabler_paradrop_veteran_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -2184,7 +2184,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_veteran_city_to_war_conquer_despite_treuga_dei] +[enabler_paradrop_veteran_city_to_war_conquer_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2205,7 +2205,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_veteran_city_to_unclaimed_base] +[enabler_paradrop_veteran_city_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -2224,7 +2224,7 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_paradrop_veteran_city_to_unclaimed_base_despite_treuga_dei] +[enabler_paradrop_veteran_city_to_unclaimed_base_despite_treuga_dei] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2243,14 +2243,14 @@ target_reqs = "Extra", "Castle", "Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_light_unit] +[enabler_airlift_light_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -2260,7 +2260,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_airlift_medium_unit] +[enabler_airlift_medium_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -2276,7 +2276,7 @@ target_reqs = "Building", "Airport", "City" } -[actionenabler_airlift_heavy_unit] +[enabler_airlift_heavy_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -2292,7 +2292,7 @@ target_reqs = "Building", "Airport", "City" } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -2301,7 +2301,7 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" @@ -2309,7 +2309,7 @@ actor_reqs = "UnitClass", "Sea", "Local", FALSE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" @@ -2317,21 +2317,21 @@ actor_reqs = "UnitClass", "Sea", "Local", FALSE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -2341,7 +2341,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -2351,7 +2351,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -2362,7 +2362,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -2373,7 +2373,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range", "present" @@ -2386,7 +2386,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_mining_ocean] +[enabler_mining_ocean] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -2398,7 +2398,7 @@ target_reqs = "Terrain", "Deep Ocean", "Tile", TRUE } -[actionenabler_claim_extra_foreign_from_native_tile] +[enabler_claim_extra_foreign_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -2412,7 +2412,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_claim_extra_foreign_from_native_tile_despite_treuga_dei] +[enabler_claim_extra_foreign_from_native_tile_despite_treuga_dei] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2426,7 +2426,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_claim_extra_foreign_from_native_city] +[enabler_claim_extra_foreign_from_native_city] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -2440,7 +2440,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_claim_extra_foreign_from_native_city_despite_treuga_dei] +[enabler_claim_extra_foreign_from_native_city_despite_treuga_dei] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2454,7 +2454,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_claim_extra_foreign_from_non_native] +[enabler_claim_extra_foreign_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -2469,7 +2469,7 @@ actor_reqs = "Building", "Treuga Dei", "World", FALSE } -[actionenabler_claim_extra_foreign_from_non_native_despite_treuga_dei] +[enabler_claim_extra_foreign_from_non_native_despite_treuga_dei] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2484,7 +2484,7 @@ actor_reqs = "Tech", "Communism", "World", TRUE, TRUE } -[actionenabler_claim_extra_unowned_from_native_tile] +[enabler_claim_extra_unowned_from_native_tile] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -2498,7 +2498,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_native_tile_despite_treuga_dei] +[enabler_claim_extra_unowned_from_native_tile_despite_treuga_dei] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2512,7 +2512,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_native_city] +[enabler_claim_extra_unowned_from_native_city] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -2526,7 +2526,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_native_city_despite_treuga_dei] +[enabler_claim_extra_unowned_from_native_city_despite_treuga_dei] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2540,7 +2540,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_non_native] +[enabler_claim_extra_unowned_from_non_native] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present" @@ -2555,7 +2555,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_claim_extra_unowned_from_non_native_despite_treuga_dei] +[enabler_claim_extra_unowned_from_non_native_despite_treuga_dei] action = "Conquer Extras 2" actor_reqs = { "type", "name", "range", "present", "survives" @@ -2579,7 +2579,7 @@ target_reqs = ; "Sea" nreq is for Transports, which are only supposed to clean pollution -[actionenabler_irrigate_src_tech_basic_irrigation] +[enabler_irrigate_src_tech_basic_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2593,7 +2593,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_ocean_basic_irrigation] +[enabler_irrigate_src_ocean_basic_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2607,7 +2607,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_extra_basic_irrigation] +[enabler_irrigate_src_extra_basic_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2621,7 +2621,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_tech_not_in_desert] +[enabler_irrigate_src_tech_not_in_desert] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2635,7 +2635,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_ocean_not_in_desert] +[enabler_irrigate_src_ocean_not_in_desert] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2649,7 +2649,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_extra_not_in_desert] +[enabler_irrigate_src_extra_not_in_desert] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2663,7 +2663,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile", TRUE } -[actionenabler_irrigate_src_tech_desert_but_allowed] +[enabler_irrigate_src_tech_desert_but_allowed] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2677,7 +2677,7 @@ target_reqs = "ExtraFlag", "AllowsFarmlandOnDesert", "Tile", TRUE } -[actionenabler_irrigate_src_ocean_desert_but_allowed] +[enabler_irrigate_src_ocean_desert_but_allowed] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2691,7 +2691,7 @@ target_reqs = "ExtraFlag", "AllowsFarmlandOnDesert", "Tile", TRUE } -[actionenabler_irrigate_src_extra_desert_but_allowed] +[enabler_irrigate_src_extra_desert_but_allowed] action = "Build Irrigation" actor_reqs = { "type", "name", "range", "present" @@ -2705,7 +2705,7 @@ target_reqs = "ExtraFlag", "AllowsFarmlandOnDesert", "Tile", TRUE } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -2717,7 +2717,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -2729,7 +2729,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_board_transport_switch] +[enabler_board_transport_switch] action = "Transport Board 2" actor_reqs = { "type", "name", "range", "present" @@ -2742,7 +2742,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -2754,7 +2754,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_load] +[enabler_load] action = "Transport Load" actor_reqs = { "type", "name", "range", "present" @@ -2769,7 +2769,7 @@ target_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_load_transport_switch] +[enabler_load_transport_switch] action = "Transport Load 2" actor_reqs = { "type", "name", "range", "present" @@ -2785,7 +2785,7 @@ target_reqs = "UnitState", "Transported", "Local", TRUE } -[actionenabler_disembark_from_native_tile] +[enabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -2794,7 +2794,7 @@ actor_reqs = "UnitState", "OnNativeTile", "Local" } -[actionenabler_disembark_from_native_city] +[enabler_disembark_from_native_city] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -2803,7 +2803,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_disembark_from_non_native] +[enabler_disembark_from_non_native] action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" @@ -2813,7 +2813,7 @@ actor_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -2826,7 +2826,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_embark_transport_switch] +[enabler_embark_transport_switch] action = "Transport Embark 4" actor_reqs = { "type", "name", "range", "present" @@ -2839,7 +2839,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -2847,7 +2847,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter_from_native_tile] +[enabler_hut_enter_from_native_tile] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -2856,7 +2856,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_native_city] +[enabler_hut_enter_from_native_city] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -2865,7 +2865,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_enter_from_non_native] +[enabler_hut_enter_from_non_native] action = "Enter Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -2875,7 +2875,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_frighten_from_native_tile] +[enabler_hut_frighten_from_native_tile] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -2884,7 +2884,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_frighten_from_native_city] +[enabler_hut_frighten_from_native_city] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -2893,7 +2893,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_hut_frighten_from_non_native] +[enabler_hut_frighten_from_non_native] action = "Frighten Hut 2" actor_reqs = { "type", "name", "range", "present" @@ -2903,7 +2903,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", TRUE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/data/stub/actions.ruleset b/data/stub/actions.ruleset index 6ff30e9371..bf32446376 100644 --- a/data/stub/actions.ruleset +++ b/data/stub/actions.ruleset @@ -177,7 +177,7 @@ found_city_consuming_always = TRUE ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -186,16 +186,14 @@ found_city_consuming_always = TRUE ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings ; No enabled actions -; [actionenabler_embassy] -; action = "Establish Embassy" -;[actionenabler_regular_move] +;[enabler_regular_move] ;action = "Unit Move" ;actor_reqs = ; { "type", "name", "range", "present" diff --git a/data/webperimental/actions.ruleset b/data/webperimental/actions.ruleset index 89f061b4dd..d627f3d95b 100644 --- a/data/webperimental/actions.ruleset +++ b/data/webperimental/actions.ruleset @@ -405,7 +405,7 @@ quiet_actions = "Heal Unit", "Unit Move" ; /* <-- avoid gettext warnings ; -; Action enablers: +; Enablers: ; ; action = the action to enable. ; actor_reqs = requirements that apply to the actor. @@ -414,12 +414,12 @@ quiet_actions = "Heal Unit", "Unit Move" ; README.actions lists the possible actions and their hard coded ; requirements. ; -; An action enabler is active when its actor_reqs AND its target_reqs are +; An enabler is active when its actor_reqs AND its target_reqs are ; satisfied. ; ; */ <-- avoid gettext warnings -[actionenabler_disrupt_supply_normal] +[enabler_disrupt_supply_normal] action = "User Action 1" actor_reqs = { "type", "name", "range", "present" @@ -438,7 +438,7 @@ target_reqs = "UnitClass", "Missile", "Local", FALSE } -[actionenabler_disrupt_supply_marines] +[enabler_disrupt_supply_marines] action = "User Action 1" actor_reqs = { "type", "name", "range", "present" @@ -457,7 +457,7 @@ target_reqs = "UnitClass", "Missile", "Local", FALSE } -[actionenabler_sabotage_city] +[enabler_sabotage_city] action = "Sabotage City" actor_reqs = { "type", "name", "range", "present" @@ -470,7 +470,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_sabotage_city_spy] +[enabler_sabotage_city_spy] action = "Sabotage City Escape" actor_reqs = { "type", "name", "range", "present" @@ -482,7 +482,7 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_sabotage_city_target] +[enabler_sabotage_city_target] action = "Targeted Sabotage City Escape" actor_reqs = { "type", "name", "range", "present" @@ -494,7 +494,7 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_sabotage_city_production] +[enabler_sabotage_city_production] action = "Sabotage City Production Escape" actor_reqs = { "type", "name", "range", "present" @@ -506,7 +506,7 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_establish_embassy] +[enabler_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -521,7 +521,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_establish_embassy_spy] +[enabler_establish_embassy_spy] action = "Establish Embassy" actor_reqs = { "type", "name", "range", "present" @@ -535,7 +535,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_explorer_establish_embassy] +[enabler_explorer_establish_embassy] action = "Establish Embassy Stay" actor_reqs = { "type", "name", "range", "present" @@ -550,7 +550,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_investigate_city] +[enabler_investigate_city] action = "Investigate City Spend Unit" actor_reqs = { "type", "name", "range", "present" @@ -561,7 +561,7 @@ actor_reqs = "UnitFlag", "Spy", "Local", FALSE } -[actionenabler_investigate_city_spy] +[enabler_investigate_city_spy] action = "Investigate City" actor_reqs = { "type", "name", "range" @@ -571,7 +571,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_poison_city] +[enabler_poison_city] action = "Poison City Escape" actor_reqs = { "type", "name", "range", "present" @@ -587,7 +587,7 @@ target_reqs = "MinSize", "2", "City" } -[actionenabler_steal_tech_random] +[enabler_steal_tech_random] action = "Steal Tech" actor_reqs = { "type", "name", "range", "present" @@ -602,7 +602,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_random_esc] +[enabler_steal_tech_random_esc] action = "Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -616,7 +616,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_steal_tech_target] +[enabler_steal_tech_target] action = "Targeted Steal Tech Escape Expected" actor_reqs = { "type", "name", "range" @@ -630,7 +630,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_incite_city] +[enabler_incite_city] action = "Incite City" actor_reqs = { "type", "name", "range", "present" @@ -648,7 +648,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_incite_city_spy] +[enabler_incite_city_spy] action = "Incite City Escape" actor_reqs = { "type", "name", "range", "present" @@ -665,7 +665,7 @@ target_reqs = "Building", "Palace", "City", FALSE } -[actionenabler_bribe_unit] +[enabler_bribe_unit] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -684,7 +684,7 @@ target_reqs = "Gov", "Democracy", "Player", FALSE } -[actionenabler_bribe_unit_killstack_enabled] +[enabler_bribe_unit_killstack_enabled] action = "Bribe Unit" actor_reqs = { "type", "name", "range", "present" @@ -703,7 +703,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_sabotage_unit] +[enabler_sabotage_unit] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range", "present" @@ -721,7 +721,7 @@ target_reqs = "MinHitPoints", "2", "Local", TRUE } -[actionenabler_sabotage_unit_killstack_enabled] +[enabler_sabotage_unit_killstack_enabled] action = "Sabotage Unit Escape" actor_reqs = { "type", "name", "range", "present" @@ -739,7 +739,7 @@ target_reqs = "MaxUnitsOnTile", "1", "Tile", TRUE } -[actionenabler_steal_gold_capital] +[enabler_steal_gold_capital] action = "Steal Gold" actor_reqs = { "type", "name", "range", "present" @@ -755,7 +755,7 @@ target_reqs = "Building", "Palace", "City" } -[actionenabler_steal_gold_capital_spy] +[enabler_steal_gold_capital_spy] action = "Steal Gold Escape" actor_reqs = { "type", "name", "range" @@ -770,7 +770,7 @@ target_reqs = "Building", "Palace", "City" } -[actionenabler_steal_gold_spy] +[enabler_steal_gold_spy] action = "Steal Gold Escape" actor_reqs = { "type", "name", "range" @@ -781,7 +781,7 @@ actor_reqs = "DiplRel", "Foreign", "Local" } -[actionenabler_steal_maps] +[enabler_steal_maps] action = "Steal Maps Escape" actor_reqs = { "type", "name", "range" @@ -795,7 +795,7 @@ target_reqs = "NationGroup", "Barbarian", "Player", FALSE } -[actionenabler_suitcase_nuke] +[enabler_suitcase_nuke] action = "Suitcase Nuke" actor_reqs = { "type", "name", "range", "present" @@ -809,7 +809,7 @@ actor_reqs = "Building", "Manhattan Project", "Player", TRUE } -[actionenabler_suitcase_nuke_escape] +[enabler_suitcase_nuke_escape] action = "Suitcase Nuke Escape" actor_reqs = { "type", "name", "range", "present" @@ -823,7 +823,7 @@ actor_reqs = "Building", "Manhattan Project", "Player", TRUE } -[actionenabler_eliminate_spy] +[enabler_eliminate_spy] action = "Spy Attack" actor_reqs = { "type", "name", "range", "present" @@ -839,7 +839,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_trade_route] +[enabler_trade_route] action = "Establish Trade Route" actor_reqs = { "type", "name", "range", "present" @@ -847,7 +847,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_marketplace] +[enabler_marketplace] action = "Enter Marketplace" actor_reqs = { "type", "name", "range", "present" @@ -855,7 +855,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_help_build_wonder] +[enabler_help_build_wonder] action = "Help Wonder" actor_reqs = { "type", "name", "range", "present" @@ -870,7 +870,7 @@ target_reqs = "BuildingGenus", "GreatWonder", "Local" } -[actionenabler_disband_unit_recover] +[enabler_disband_unit_recover] action = "Disband Unit Recover" actor_reqs = { "type", "name", "range", "present" @@ -881,14 +881,14 @@ actor_reqs = "DiplRel", "Peace", "Local", FALSE } -[actionenabler_disband_unit] +[enabler_disband_unit] action = "Disband Unit" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "EvacuateFirst", "Local", FALSE } -[actionenabler_build_city_pioneer] +[enabler_build_city_pioneer] action = "Found City" actor_reqs = { "type", "name", "range" @@ -902,7 +902,7 @@ target_reqs = "TerrainFlag","NoCities","Tile",FALSE } -[actionenabler_build_city_occupied] +[enabler_build_city_occupied] action = "Found City" actor_reqs = { "type", "name", "range", "present" @@ -921,7 +921,7 @@ target_reqs = "TerrainFlag", "NoCities", "Tile", FALSE } -[actionenabler_join_city] +[enabler_join_city] action = "Join City" actor_reqs = { "type", "name", "range", "present" @@ -930,7 +930,7 @@ actor_reqs = "MinMoveFrags", "1", "Local", TRUE } -[actionenabler_royal_sapper] +[enabler_royal_sapper] action = "Surgical Strike Building" actor_reqs = { "type", "name", "range", "present" @@ -939,7 +939,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_heal] +[enabler_heal] action = "Heal Unit" actor_reqs = { "type", "name", "range", "present" @@ -957,7 +957,7 @@ target_reqs = "UnitFlag", "LightWeight", "Local", TRUE } -[actionenabler_convert_to_leader_yatch] +[enabler_convert_to_leader_yatch] action = "Convert Unit" actor_reqs = { "type", "name", "range" @@ -967,7 +967,7 @@ actor_reqs = } ; It is always legal to convert back again. -[actionenabler_convert_from_leader_yatch] +[enabler_convert_from_leader_yatch] action = "Convert Unit" actor_reqs = { "type", "name", "range" @@ -975,7 +975,7 @@ actor_reqs = "CityTile", "Center", "Tile" } -[actionenabler_border_police] +[enabler_border_police] action = "Expel Unit" actor_reqs = { "type", "name", "range", "present" @@ -1009,7 +1009,7 @@ target_reqs = ; ; TODO: create an international incident (set the Casus_Belli_Success ; effect value to 1000) if "Destroy City" still is overpowered. -[actionenabler_scorched_earth] +[enabler_scorched_earth] action = "Destroy City" actor_reqs = { "type", "name", "range", "present" @@ -1019,14 +1019,14 @@ actor_reqs = "UnitState", "OnLivableTile", "Local", TRUE } -[actionenabler_nuke] +[enabler_nuke] action = "Explode Nuclear" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Nuclear", "Local", TRUE } -[actionenabler_nuke_city] +[enabler_nuke_city] action = "Nuke City" actor_reqs = { "type", "name", "range" @@ -1035,7 +1035,7 @@ actor_reqs = "DiplRel", "War", "Local" } -[actionenabler_nuke_units] +[enabler_nuke_units] action = "Nuke Units" actor_reqs = { "type", "name", "range" @@ -1048,7 +1048,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_bombard_city] +[enabler_bombard_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -1061,7 +1061,7 @@ target_reqs = "DiplRelTileOther", "War", "Local", TRUE } -[actionenabler_bombard_no_city] +[enabler_bombard_no_city] action = "Bombard" actor_reqs = { "type", "name", "range", "present" @@ -1074,7 +1074,7 @@ target_reqs = "CityTile", "Center", "Tile", FALSE } -[actionenabler_attack_from_native] +[enabler_attack_from_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -1085,7 +1085,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_marines] +[enabler_attack_marines] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -1096,7 +1096,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_attack_att_from_non_native] +[enabler_attack_att_from_non_native] action = "Attack" actor_reqs = { "type", "name", "range", "present" @@ -1107,7 +1107,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_ransom_from_native] +[enabler_ransom_from_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -1122,7 +1122,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_marines] +[enabler_ransom_marines] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -1137,7 +1137,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_ransom_att_from_non_native] +[enabler_ransom_att_from_non_native] action = "Collect Ransom" actor_reqs = { "type", "name", "range", "present" @@ -1152,7 +1152,7 @@ target_reqs = "PlayerState", "Barbarian", "Player" } -[actionenabler_explode_missile] +[enabler_explode_missile] action = "Suicide Attack" actor_reqs = { "type", "name", "range", "present" @@ -1162,7 +1162,7 @@ actor_reqs = "DiplRel", "War", "Local", TRUE } -[actionenabler_conquer_city_native] +[enabler_conquer_city_native] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -1177,7 +1177,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_conquer_city_marines] +[enabler_conquer_city_marines] action = "Conquer City" actor_reqs = { "type", "name", "range", "present" @@ -1192,7 +1192,7 @@ target_reqs = "MaxUnitsOnTile", "0", "Tile", TRUE } -[actionenabler_change_home_city] +[enabler_change_home_city] action = "Home City" actor_reqs = { "type", "name", "range", "present" @@ -1200,7 +1200,7 @@ actor_reqs = "UnitState", "HasHomeCity", "Local", TRUE } -[actionenabler_paradrop_base_to_claimed] +[enabler_paradrop_base_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1217,7 +1217,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed] +[enabler_paradrop_base_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1233,7 +1233,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_base_to_war_conquer] +[enabler_paradrop_base_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1251,7 +1251,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_base_to_unclaimed_base] +[enabler_paradrop_base_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1268,7 +1268,7 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_paradrop_city_to_claimed] +[enabler_paradrop_city_to_claimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1285,7 +1285,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed] +[enabler_paradrop_city_to_unclaimed] action = "Paradrop Unit Enter" actor_reqs = { "type", "name", "range", "present" @@ -1301,7 +1301,7 @@ target_reqs = "Extra", "Fortress","Tile", FALSE } -[actionenabler_paradrop_city_to_war_conquer] +[enabler_paradrop_city_to_war_conquer] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1319,7 +1319,7 @@ target_reqs = "CityTile", "Claimed", "Tile", TRUE } -[actionenabler_paradrop_city_to_unclaimed_base] +[enabler_paradrop_city_to_unclaimed_base] action = "Paradrop Unit Enter Conquer" actor_reqs = { "type", "name", "range", "present" @@ -1336,14 +1336,14 @@ target_reqs = "Extra", "Fortress","Tile", TRUE } -[actionenabler_upgrade_unit] +[enabler_upgrade_unit] action = "Upgrade Unit" actor_reqs = { "type", "name", "range", "present" "DiplRel", "Foreign", "Local", FALSE } -[actionenabler_airlift_light_unit] +[enabler_airlift_light_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1353,7 +1353,7 @@ actor_reqs = "CityTile", "Center", "Tile", TRUE } -[actionenabler_airlift_medium_unit] +[enabler_airlift_medium_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1369,7 +1369,7 @@ target_reqs = "Building", "Airport", "City" } -[actionenabler_airlift_heavy_unit] +[enabler_airlift_heavy_unit] action = "Airlift Unit" actor_reqs = { "type", "name", "range", "present" @@ -1385,7 +1385,7 @@ target_reqs = "Building", "Airport", "City" } -[actionenabler_transform_terrain] +[enabler_transform_terrain] action = "Transform Terrain" actor_reqs = { "type", "name", "range" @@ -1393,35 +1393,35 @@ actor_reqs = "UnitFlag", "Workers", "Local" } -[actionenabler_cultivate] +[enabler_cultivate] action = "Cultivate" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_plant] +[enabler_plant] action = "Plant" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_pillage] +[enabler_pillage] action = "Pillage" actor_reqs = { "type", "name", "range" "UnitClassFlag", "CanPillage", "Local" } -[actionenabler_clean] +[enabler_clean] action = "Clean" actor_reqs = { "type", "name", "range", "present" "UnitFlag", "Workers", "Local", TRUE } -[actionenabler_fortify_terrain] +[enabler_fortify_terrain] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1431,7 +1431,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_fortify_city] +[enabler_fortify_city] action = "Fortify" actor_reqs = { "type", "name", "range", "present" @@ -1441,7 +1441,7 @@ actor_reqs = "Activity", "Fortified", "Local", FALSE } -[actionenabler_road] +[enabler_road] action = "Build Road" actor_reqs = { "type", "name", "range" @@ -1452,7 +1452,7 @@ target_reqs = "TerrainAlter", "CanRoad", "Tile" } -[actionenabler_base] +[enabler_base] action = "Build Base" actor_reqs = { "type", "name", "range" @@ -1463,7 +1463,7 @@ target_reqs = "TerrainAlter", "CanBase", "Tile" } -[actionenabler_mining] +[enabler_mining] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1475,7 +1475,7 @@ target_reqs = "TerrainAlter", "CanMine", "Tile", TRUE } -[actionenabler_desert_oil] +[enabler_desert_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1487,7 +1487,7 @@ target_reqs = "Terrain", "Desert", "Tile" } -[actionenabler_glacier_oil] +[enabler_glacier_oil] action = "Build Mine" actor_reqs = { "type", "name", "range" @@ -1499,7 +1499,7 @@ target_reqs = "Terrain", "Glacier", "Tile" } -[actionenabler_irrigate_src_ocean] +[enabler_irrigate_src_ocean] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1511,7 +1511,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_river] +[enabler_irrigate_src_river] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1523,7 +1523,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_irrigate_src_irrigation] +[enabler_irrigate_src_irrigation] action = "Build Irrigation" actor_reqs = { "type", "name", "range" @@ -1535,7 +1535,7 @@ target_reqs = "TerrainAlter", "CanIrrigate", "Tile" } -[actionenabler_deboard] +[enabler_deboard] action = "Transport Deboard" actor_reqs = { "type", "name", "range" @@ -1547,7 +1547,7 @@ target_reqs = "UnitState", "Transporting", "Local" } -[actionenabler_board] +[enabler_board] action = "Transport Board" actor_reqs = { "type", "name", "range", "present" @@ -1558,7 +1558,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_unload] +[enabler_unload] action = "Transport Unload" actor_reqs = { "type", "name", "range" @@ -1570,7 +1570,7 @@ target_reqs = "UnitState", "Transported", "Local" } -[actionenabler_disembark] +[enabler_disembark] action = "Transport Disembark" actor_reqs = { "type", "name", "range" @@ -1578,7 +1578,7 @@ actor_reqs = "MinMoveFrags", "1", "Local" } -[actionenabler_embark] +[enabler_embark] action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" @@ -1590,7 +1590,7 @@ actor_reqs = "DiplRel", "Never met", "Local", FALSE } -[actionenabler_regular_move] +[enabler_regular_move] action = "Unit Move" actor_reqs = { "type", "name", "range", "present" @@ -1598,7 +1598,7 @@ actor_reqs = "UnitState", "Transported", "Local", FALSE } -[actionenabler_hut_enter] +[enabler_hut_enter] action = "Enter Hut" actor_reqs = { "type", "name", "range", "present" @@ -1606,7 +1606,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local", FALSE } -[actionenabler_hut_frighten] +[enabler_hut_frighten] action = "Frighten Hut" actor_reqs = { "type", "name", "range" @@ -1614,7 +1614,7 @@ actor_reqs = "UnitClassFlag", "HutFrighten", "Local" } -[actionenabler_claim_extra_war] +[enabler_claim_extra_war] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -1623,7 +1623,7 @@ actor_reqs = "UnitFlag", "NonMil", "Local", FALSE } -[actionenabler_claim_extra_unowned] +[enabler_claim_extra_unowned] action = "Conquer Extras" actor_reqs = { "type", "name", "range", "present" @@ -1635,7 +1635,7 @@ target_reqs = "CityTile", "Extras Owned", "Tile", FALSE } -[actionenabler_gain_veterancy] +[enabler_gain_veterancy] action = "Gain Veterancy" actor_reqs = { "type", "name", "range", "present" diff --git a/server/ruleset/ruleload.c b/server/ruleset/ruleload.c index 23be2fed18..0b6a0c3e11 100644 --- a/server/ruleset/ruleload.c +++ b/server/ruleset/ruleload.c @@ -108,6 +108,7 @@ #define UNIT_SECTION_PREFIX "unit_" #define DISASTER_SECTION_PREFIX "disaster_" #define ACHIEVEMENT_SECTION_PREFIX "achievement_" +#define ENABLER_SECTION_PREFIX "enabler_" #define ACTION_ENABLER_SECTION_PREFIX "actionenabler_" #define MULTIPLIER_SECTION_PREFIX "multiplier_" #define COUNTER_SECTION_PREFIX "counter_" @@ -7819,9 +7820,14 @@ static bool load_ruleset_actions(struct section_file *file, if (ok) { sec = secfile_sections_by_name_prefix(file, - ACTION_ENABLER_SECTION_PREFIX); + ENABLER_SECTION_PREFIX); - if (sec) { + if (sec == nullptr && compat->compat_mode && compat->version < RSFORMAT_3_3) { + sec = secfile_sections_by_name_prefix(file, + ACTION_ENABLER_SECTION_PREFIX); + } + + if (sec != nullptr) { section_list_iterate(sec, psection) { struct action_enabler *enabler; const char *sec_name = section_name(psection); diff --git a/tools/ruleutil/rulesave.c b/tools/ruleutil/rulesave.c index 7906f036a1..837e57bdfa 100644 --- a/tools/ruleutil/rulesave.c +++ b/tools/ruleutil/rulesave.c @@ -1230,7 +1230,7 @@ static bool save_actions_ruleset(const char *filename, const char *name) continue; } - fc_snprintf(path, sizeof(path), "actionenabler_%d", sect_idx++); + fc_snprintf(path, sizeof(path), "enabler_%d", sect_idx++); secfile_insert_str(sfile, action_rule_name(enabler_get_action(pae)), "%s.action", path); -- 2.43.0