SLIC-Reference : Functions : Current Game : Information
CTP2 Bureau
The Modding
Knowledgebase
Apolyton CTP2 forums
Apolyton CTP2 archives
Source Code Project SVN

SLIC-Reference : Functions : Current Game : Information

Entries:

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

GetCurrentRound int       Returns the current round
GetCurrentYear   Returns the current year
GetRevolutionLevel int   Returns the REVOLUTION_LEVEL set in const.txt
GetRiotLevel int   Returns the RIOT_LEVEL set in const.txt
GetRoundsToNextDisaster int   Returns the no. of turns to the next ozone or flood event given the current global pollution-level
Preference (prefname) int       Read the value of the given preference (from userprofile.txt/profile.txt). E.G. Preference("Pollution") will return 1 if pollution is enabled for this game, 0 otherwise

Latest update: 11.11.2022  ( - recently updated)
  Administration
This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 123647 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