Ticket #46055

Cyclic improvement obsoletion

Eröffnet am: 2022-11-10 03:43 Letztes Update: 2022-12-10 18:30

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

Details

With a bit of sophisticated fantasy, you can create a ruleset where not only several buildings obsolete each other (that's normal - e.g. small wonders represent mutually excepting specialities of a civilization), but at some point two improvements obsoleting each other may appear together that will turn the requirement calculator cycled (e.g.: wonder A is obsoleted by technology X and wonder B at Player range, so is wonder B by Y and A; Player 1 (knowing Y but not X) built A, Player 2 (knowing X but not Y) built B, then one of them forgets all technologies and conquers another one's wonder city). It would be probably too complicated to catch such situations on ruleset load, we should have a method of tie breaking.

Ticket-Verlauf (3/5 Historien)

2022-11-10 03:43 Aktualisiert von: ihnatus
  • New Ticket "Cyclic improvement obsoletion" created
2022-11-10 03:57 Aktualisiert von: cazfi
Kommentar

There was a meta-ticket about "infinite recursions" opened recently (and one related ticket might be duplicate of this)

Sorry for being mostly absent currently - personal reasons.

2022-11-10 05:02 Aktualisiert von: ihnatus
Kommentar

Yes, it's a duplicate (but extended) of #45963. I have put some code that I wanted to put into improvement.c but I don't know if it will work and even if it will, would it be the best solution.

2022-12-10 18:30 Aktualisiert von: cazfi

Dateianhangliste

Bearbeiten

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