More (probably) silly questions

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
FriendAtArms
Posts: 14
Joined: Thu Apr 16, 2026 9:35 pm

More (probably) silly questions

Post by FriendAtArms »

I fixed the "Turn 2 crash" problem I mentioned in my last thread, and I'm moving on to a new one. Hopefully that's all right.

My ruleset has a Temple of Artemis wonder, unlocked by a tech called Syncretism. I want the ToA to replace any Temple improvement in a city where it's built, and only that city.

What happens in practice is, as soon as I research Syncretism, every city with a Temple in its worklist automatically upgrades it to a ToA. (If the Temple was already built, it doesn't get upgraded.) The reason, of course, is that I put this in the Buildings file under Temple:
obsolete_by =
{ "type", "name", "range"
"Building", "Temple of Artemis", "City"
}
Clearly, ToA obsoleting Temple isn't the way to go here. Is there a way I can make this wonder replace a Temple in its own city, but not affect any other Temple?
Post Reply