#46051: Implement direct connectivity Open Date: 2022-11-09 02:04 Last Update: 2024-05-12 01:19 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46051 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46051 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2024-05-12 01:19 Updated by: cazfi Comment: Attached a patch rebased against current main branch. --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: S3_2 d3f Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: A sidekick of #45946, to test some things on a simpler case (no need of caching or iterative pathfinding). Make a requirement for CivII style connectivity, i.e., that a given unit class may walk from target city to target tile by a crow flight trajectory (FYI, CivII path pattern diagram may be seen here but we'll hardly reproduce it precisely). Additionally to this requirement, we introduce ruleset parameters: minimal dipl.rel. with a unit to pass through a tile, minimal dipl.rel. with a city to pass through a tile, minimal dipl.rel. with a tile owner to pass through a tile, may we pass through cities/bases lacking native terrain or road, unit class maximal connecting distance. We'll need to include tile (of the nearest gov center) parameter into Output_Waste_Pct effect and introduce Surplus_Waste effect (see #42246) to actually remake CivII rules (-2/3 of shields waste if a direct road to gc ~applied over halving by Courthouse~ but only surplus shields are subject to waste). That all is for another tickets. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/46051 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46051