#45945: "Connected" effect + "CityState", "CapitalConnected" requirement Open Date: 2022-10-21 11:39 Last Update: 2022-10-21 11:58 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45945 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45945 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-10-21 11:58 Updated by: cazfi Comment: Reply To ihnatus (A question: we use here capitals or governmental centers?) There's actually three options: primary capital / all capitals / government centers. The City State should just be named accordingly (with the possibility to add the others later, if needed) --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Feature Requests Status: Open Priority: 5 - Medium MileStone: S3_2 d3f Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: One of the core parts of HRM879656. The effect and the req are added in a bundle since they have no sense separately. After the capitals are identified (A question: we use here capitals or governmental centers?), the effect is run recursively for the player's cities to see if they are directly (by effect) or indirectly (through other player's cities) connected to some of the capitals, and a flag for each city is set that may be used in the requirement. The flag is updated within the turn only if either city buildings are changed or the city changes hands. -- 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/45945 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45945