Ticket #44772

Lua control of diplomatic states

Eröffnet am: 2022-06-07 23:41 Letztes Update: 2022-07-09 07:58

Auswertung:
(Anonym)
Verantwortlicher:
(Keine)
Status:
Offen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

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-Verlauf (3/4 Historien)

2022-06-07 23:41 Aktualisiert von: None
  • New Ticket "Lua control of diplomatic states" created
2022-06-08 08:56 Aktualisiert von: cazfi
  • Meilenstein Update from (Keine) to S3_2 d3f
2022-06-08 17:18 Aktualisiert von: ihnatus
Kommentar

I think the API should also support other things that are supported by "DiplRel" requirement (like "Gives Shared Vision"). Example patch I once made here.

2022-07-09 07:58 Aktualisiert von: cazfi
Kommentar

Reply To ihnatus

I think the API should also support other things that are supported by "DiplRel" requirement

One such thing would be "HasTeamEmbassy" that should be added in #45073. People using research information API from #45068 would need it.

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden