freeciv21 icon indicating copy to clipboard operation
freeciv21 copied to clipboard

Allow more instances of small wonders and unique units

Open Corbeau-1 opened this issue 3 years ago • 2 comments

Create something like unique = 3 field for units and wonders (and buildings?) The number depicts how many instances of the thing can be produced.

unique = 1 mimics previous behaviour for wonders and unique units.

unique = 3 for, say, Pyramids, means that a player can have Pyramids in 3 cities.

unique = 0 means "infinite", meaning there is no limit of how many of X can be built.

Addition/extension/complication

Allow negative numbers as a code for "per X cities". So, unique = -5 would mean that one thing can be built for every 5 cities the nation has.

Corbeau-1 avatar Aug 19 '21 22:08 Corbeau-1

i think this should apply to units as well.

jwrober avatar Aug 19 '21 22:08 jwrober

Just a random thought, while I'm here: with this, the whole "Genus" thing can be abolished. Simply, small wonders have unique = 1 while regular buildings have unique = 0. Same for non/unique units.

Corbeau-1 avatar Oct 06 '22 13:10 Corbeau-1