From 286d69142668ead0feb6ba406018a6c03c21cbe4 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 22 Nov 2022 20:13:30 +0200 Subject: [PATCH 18/18] 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 5ddd0cd2d7..2a7c26bcad 100644 --- a/data/granularity/game.ruleset +++ b/data/granularity/game.ruleset @@ -294,7 +294,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] @@ -489,7 +489,7 @@ actor_reqs = { "type", "name", "range" "UnitFlag", "Cities", "Local" "UnitState", "OnLivableTile", "Local" - "MinMoveFrags", "1", "Local" + "MinMoveFrags", "5", "Local" } target_reqs = { "type", "name", "range", "present" @@ -550,7 +550,7 @@ action = "Transport Disembark" actor_reqs = { "type", "name", "range" "UnitState", "Transported", "Local" - "MinMoveFrags", "1", "Local" + "MinMoveFrags", "5", "Local" "UnitState", "OnNativeTile", "Local" } @@ -559,7 +559,7 @@ action = "Transport Disembark" actor_reqs = { "type", "name", "range" "UnitState", "Transported", "Local" - "MinMoveFrags", "1", "Local" + "MinMoveFrags", "5", "Local" "CityTile", "Center", "Local" } @@ -568,7 +568,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", "Local", FALSE } @@ -577,7 +577,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 @@ -589,7 +589,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 ee37265200..d8841fb820 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 @@ -770,7 +770,7 @@ rmact_gfx_alt = "-" [road_path] extra = "Path" -move_cost = 6 +move_cost = 60 food_incr = 0 shield_incr = 0 trade_incr = 0 @@ -782,7 +782,7 @@ gui_type = "Other" [road_road] extra = "Road" -move_cost = 3 +move_cost = 30 food_incr = 0 shield_incr = 0 trade_incr = 100 @@ -794,7 +794,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 ac2fb09282..2814513de2 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" @@ -398,7 +398,7 @@ attack = 7 defense = 7 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -431,7 +431,7 @@ attack = 10 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -463,7 +463,7 @@ attack = 20 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -496,7 +496,7 @@ attack = 20 defense = 10 hitpoints = 10 firepower = 1 -move_rate = 10 +move_rate = 100 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -528,7 +528,7 @@ attack = 0 defense = 0 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -559,7 +559,7 @@ attack = 0 defense = 3 hitpoints = 10 firepower = 1 -move_rate = 5 +move_rate = 50 vision_radius_sq = 2 transport_cap = 0 fuel = 0 @@ -592,7 +592,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