From f2106f4e8009a10963f93f799d4f8dd22859edb9 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 22 Nov 2022 20:09:29 +0200 Subject: [PATCH 22/22] Granularity: Increase number of move fragments Number of fragments multiplied by 10. Most related costs also multiplied by 10, but in some cases things are adjusted slighly to take advantage of the increased granularity. See osdn #45859 Signed-off-by: Marko Lindqvist --- data/granularity/game.ruleset | 14 +++++++------- data/granularity/terrain.ruleset | 10 +++++----- data/granularity/units.ruleset | 18 +++++++++--------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/data/granularity/game.ruleset b/data/granularity/game.ruleset index 457a33df41..07cfc65b84 100644 --- a/data/granularity/game.ruleset +++ b/data/granularity/game.ruleset @@ -299,7 +299,7 @@ nuke_defender_survival_chance_pct = 0 ;if_attacker = ; { "type", "name", "range", "present" ; "DiplRel", "War", "Local", TRUE -; "MinMoveFrags", "1", "Local", TRUE +; "MinMoveFrags", "10" "Local", TRUE ; } [actions] @@ -501,7 +501,7 @@ actor_reqs = { "type", "name", "range" "UnitFlag", "Cities", "Local" "UnitState", "OnLivableTile", "Local" - "MinMoveFrags", "1", "Local" + "MinMoveFrags", "5", "Local" } target_reqs = { "type", "name", "range", "present" @@ -562,7 +562,7 @@ action = "Transport Disembark" actor_reqs = { "type", "name", "range" "UnitState", "Transported", "Local" - "MinMoveFrags", "1", "Local" + "MinMoveFrags", "5", "Local" "UnitState", "OnNativeTile", "Local" } @@ -571,7 +571,7 @@ action = "Transport Disembark" actor_reqs = { "type", "name", "range" "UnitState", "Transported", "Local" - "MinMoveFrags", "1", "Local" + "MinMoveFrags", "5", "Local" "CityTile", "Center", "Tile" } @@ -580,7 +580,7 @@ action = "Transport Disembark 2" actor_reqs = { "type", "name", "range", "present" "UnitState", "Transported", "Local", TRUE - "MinMoveFrags", "1", "Local", TRUE + "MinMoveFrags", "5", "Local", TRUE "UnitState", "OnNativeTile", "Local", FALSE "CityTile", "Center", "Tile", FALSE } @@ -589,7 +589,7 @@ actor_reqs = action = "Transport Embark" actor_reqs = { "type", "name", "range", "present" - "MinMoveFrags", "1", "Local", TRUE + "MinMoveFrags", "5", "Local", TRUE "DiplRel", "Armistice", "Local", FALSE "DiplRel", "War", "Local", FALSE "DiplRel", "Cease-fire", "Local", FALSE @@ -601,7 +601,7 @@ actor_reqs = action = "Unit Move" actor_reqs = { "type", "name", "range", "present" - "MinMoveFrags", "1", "Local", TRUE + "MinMoveFrags", "5", "Local", TRUE "UnitState", "Transported", "Local", FALSE } diff --git a/data/granularity/terrain.ruleset b/data/granularity/terrain.ruleset index 73be38959c..35f2b6a921 100644 --- a/data/granularity/terrain.ruleset +++ b/data/granularity/terrain.ruleset @@ -63,10 +63,10 @@ min_start_native_area = 0 ; How many fragments each movement point has. ; For example road movement costs are relative to this. -move_fragments = 6 +move_fragments = 60 ; How many move_fragments IgTer unit movement costs -igter_cost = 4 +igter_cost = 40 ; Whether diagonal movement has increased cost (no effect with hex topology) ; The cost increase is more accurate with larger values for move_fragments @@ -775,7 +775,7 @@ rmact_gfx_alt = "-" [road_path] extra = "Path" -move_cost = 6 +move_cost = 60 food_incr = 0 shield_incr = 0 trade_incr = 0 @@ -787,7 +787,7 @@ gui_type = "Other" [road_road] extra = "Road" -move_cost = 3 +move_cost = 30 food_incr = 0 shield_incr = 0 trade_incr = 100 @@ -799,7 +799,7 @@ gui_type = "Other" [road_river] extra = "River" -move_cost = 3 +move_cost = 30 move_mode = "Cardinal" food_incr = 0 shield_incr = 0 diff --git a/data/granularity/units.ruleset b/data/granularity/units.ruleset index d543a62096..2fcf31dc97 100644 --- a/data/granularity/units.ruleset +++ b/data/granularity/units.ruleset @@ -124,13 +124,13 @@ veteran_move_bonus = 0 [unitclass_land] name = _("Land") -min_speed = 1 +min_speed = 5 hp_loss_pct = 0 flags = "TerrainSpeed", "NonNatBombardTgt" [unitclass_sea] name = _("Sea") -min_speed = 1 +min_speed = 5 hp_loss_pct = 0 flags = "TerrainSpeed" @@ -400,7 +400,7 @@ attack = 7 defense = 7 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -436,7 +436,7 @@ attack = 10 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -471,7 +471,7 @@ attack = 20 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -507,7 +507,7 @@ attack = 20 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 10 +move_rate = 100 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -542,7 +542,7 @@ attack = 0 defense = 0 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -576,7 +576,7 @@ attack = 0 defense = 3 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -612,7 +612,7 @@ attack = 10 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 2 fuel = 0 -- 2.35.1