SLIC-Reference : Functions : Wonders & Buildings : Information
CTP2 Bureau
The Modding
Knowledgebase
WePlayCiv: CtP2 Downloads
WePlayCiv: Call To Power forum
Apolyton Call To Power forums
Civilization Fanatics: Call To Power

SLIC-Reference : Functions : Wonders & Buildings : Information

Entries:

- CTP1 - messages only
- CTP2 - can be triggered (events)
- CTP2 Apolyton Edition  
  - tested
- broken, obsolete - working

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)

Latest update: 24.11.2010  ( - recently updated)
  Administration
This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 71621 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne
Share this page:  VK Facebook Twitter LiveJournal OK MR Google+ LinkedIn tumblr Pinterest Blogger Digg Evernote