| BuildingType
(building)
|
int
|
|
Return the building database index of the named building
|
|
| CityHasWonder
(city, wonder-int)
|
int
|
|
Returns true if the city has the wonder indexed according to WonderDB
|
|
| IsBuildingAtHead
(city)
|
int
|
|
Returns -1 if the city’s build queue has something other than a building at its head, otherwise returns the database index of the building being built
|
|
| IsWonderAtHead
(city)
|
int
|
|
Returns -1 if the city’s build queue has something other than a wonder at its head, otherwise returns the database index of the wonder being built
|
|
| IsWonderType
(wonder, string-type)
|
int
|
|
True if wonder is named type
|
|
| WonderOwner
(wonder)
|
int
|
|
Returns the player who owns the wonder (-1 if no one does)
|
|