Check if a building is a wonder...

Have I overlooked something?

Nope, a lot of the simple/basic stuff is just a database JOIN away so there are no explicit API methods for things like this.

IIRC it's

Code:
local isWorldWonder = (GameInfo.BuildingClasses[GameInfo.Buildings[iBuilding].BuildingClass].MaxGlobalInstances == 1)
 
Back
Top Bottom