#44772: Lua control of diplomatic states Open Date: 2022-06-07 23:41 Last Update: 2022-06-07 23:41 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44772 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44772 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-07 23:41 Updated by: Anonymous * New Ticket "Lua control of diplomatic states" created --------------------------------------------------------------------- Ticket Status: Reporter: (Anonymous) Owner: (None) Type: Feature Requests Status: Open Priority: 5 - Medium MileStone: (None) Component: Scripting API Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Add functions Player.get_diplo_state(player) and Player.set_diplo_state(player, state) where Player.get_diplo_state(player) gets the diplomatic state between Player and player, returning a string like "War", "Peace", or "Ceasefire", and Player.set_diplo_state(player, state) sets the diplomatic state between the two players to the state argument's value -- 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/44772 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44772