Complete.Org: Mailing Lists: Archives: freeciv-dev: November 1998:
[Freeciv-Dev] building obsolete wonders?
Home

[Freeciv-Dev] building obsolete wonders?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] building obsolete wonders?
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Mon, 2 Nov 1998 15:21:38 +1100

Should a player be able to build obsolete wonders?

I'm wondering, because the current freeciv behaviour is a bit strange:
Say there is a wonder W, which becomes obsolete with tech T.
If no-one has T, then W works fine and can be built.
If someone else has T, then W counts as obsolete, and is shown with 
an (O) in the production-changes dialog etc, but can still be built.
If the player has T, then W can't be built by that player.

(This is because wonder_obsolete() checks global tech, while
could_build_improvement() has "if(improvement_obsolete(p, id)) return 0;"
where improvement_obsolete() checks the player's tech.)

(In Civ1 I seem to recall you could always build obsolete wonders,
mainly useful when tediously increasing one's score at the end,
and/or waiting for a spaceship to arrive.)

-- David


[Prev in Thread] Current Thread [Next in Thread]