#45949: Expand flexibility of contactturns Open Date: 2022-10-22 08:29 Last Update: 2022-12-05 13:16 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45949 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45949 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-05 13:16 Updated by: cazfi * Status Update from Open to Closed * Owner Update from (None) to cazfi * Resolution Update from None to Rejected --------------------------------------------------------------------- Ticket Status: Reporter: lexxie9952 Owner: cazfi Type: Feature Requests Status: Closed Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: Rejected --------------------------------------------------------------------- Ticket details: In multiplayer games with high number of players, the default state of "War" after meeting can create some ridiculous situations, such as huge cost of diplomacy making 15 diplomats just to get a status other than "War" with nations in the region. Well, just ignore it and make a verbal peace deal, right? No, because "War" diplrel has in-game consequences such as disallowing players to make alliances and in some cases can even break people's pacts etc. At FCW, several years ago we hard-coded an emergency playability patch using "contactturns", where, you are allowed to do Cease-fire or Peace without embassy based on "contactturns" meeting. BUT require embassy for all other pacts. This has worked so well that people can't even imagine (large multiplayer) games without it. However, it remains an ugly hack-patch living in a fork of the main project. What the rest of the project needs and deserves is to selectively allow/disable certain types of pacts based on embassy AND/OR contactturns. That is, some pacts require contactturns, other pacts require embassy, and the ruleset or game settings can decide it. Afterthought: Always when making things like this, it's good to think ahead, whether 3 easy lines of code can expand functionality to other cases. e.g., how hard was it to add "Always" flag for tp_defense instead of just "Alight" and "Block"? In the spirit of such good practices, I fell that in addition to "Contact" and "Embassy" another req condition for pacts can be "Always", since it almost codes itself into the solution anyway. -- 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/45949 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45949