Lua Game Objects/City: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Up: [[Lua Game Objects]]
Up: [[Lua Game Objects]]


For the related events, see [[Lua Game Events#City|Lua Game Events (City)]]
Methods:


==Ownership==
==Ownership==
Line 295: Line 299:


==Plots==
==Plots==
===Unknown===
*[[GetCityIndexPlot]](int iIndex)
===Location===
===Location===
*[[Area]]
*[[Area]]
*[[At]](int iX, int iY)
*[[At]](int iX, int iY)
*[[AtPlot]](pPlot) - returns boolean.
*[[AtPlot]](pPlot) - returns boolean.
*[[GetCityIndexPlot]](int iIndex)
*[[GetCityPlotIndex]]
*[[GetCityPlotIndex]]
*[[GetX]]
*[[GetX]]
Line 433: Line 436:
*[[SetAirliftTargeted]]
*[[SetAirliftTargeted]]


===Conscription===
==Conscription==
*[[CanConscript]]
*[[CanConscript]]
*[[Conscript]]
*[[Conscript]]
Line 450: Line 453:
*[[IsNone]]
*[[IsNone]]
*[[SetCitySizeBoost]](int iBoost)
*[[SetCitySizeBoost]](int iBoost)
==Related Events==
See [[Lua Game Events#City|Lua Game Events (City)]]

Latest revision as of 07:56, 16 February 2012

Up: Lua Game Objects


For the related events, see Lua Game Events (City)

Methods:

Ownership

State

Razing

Resistance

We Love The King Day

Misc

Get

Set

Population

Get

Set

Buildings

Wonders/Projects

Get

Set

Yields

Get

Set

Food

Growth

Get

Set

Production

Modifiers

Production Queue

Get

Set

Purchase

Hurry

Culture

Get

Set

Plots

Location

Get

Set

Resources

Specialists

Get

Set

Great People

Get

Set

Units

  • CanTrain(int iUnit, boolean bContinue, boolean bTestVisible, boolean bIgnoreCost, boolean bIgnoreUpgrades)
  • CanTrainTooltip

Get

Set

Experience

Combat

Ranged Strike

Hit Points

Air Lift

Conscription

Unsorted