<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sleague.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=The_civ_library</id>
	<title>The civ library - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sleague.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=The_civ_library"/>
	<link rel="alternate" type="text/html" href="https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;action=history"/>
	<updated>2026-04-15T18:49:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=5096&amp;oldid=prev</id>
		<title>Prof. Garfield: Added to category lua resources</title>
		<link rel="alternate" type="text/html" href="https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=5096&amp;oldid=prev"/>
		<updated>2019-01-26T20:08:10Z</updated>

		<summary type="html">&lt;p&gt;Added to category lua resources&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:08, 26 January 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Lua Resources]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Back to [[TOTPP Functions]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Back to [[TOTPP Functions]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prof. Garfield</name></author>
	</entry>
	<entry>
		<id>https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4992&amp;oldid=prev</id>
		<title>Prof. Garfield: Put code tags in the code lines</title>
		<link rel="alternate" type="text/html" href="https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4992&amp;oldid=prev"/>
		<updated>2019-01-01T22:03:45Z</updated>

		<summary type="html">&lt;p&gt;Put code tags in the code lines&lt;/p&gt;
&lt;a href=&quot;https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;amp;diff=4992&amp;amp;oldid=4988&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Prof. Garfield</name></author>
	</entry>
	<entry>
		<id>https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4988&amp;oldid=prev</id>
		<title>Prof. Garfield: Changed the names of the linked to pages, so that they are the full command (for clarity and to prevent conflicts)</title>
		<link rel="alternate" type="text/html" href="https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4988&amp;oldid=prev"/>
		<updated>2019-01-01T21:42:52Z</updated>

		<summary type="html">&lt;p&gt;Changed the names of the linked to pages, so that they are the full command (for clarity and to prevent conflicts)&lt;/p&gt;
&lt;a href=&quot;https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;amp;diff=4988&amp;amp;oldid=4985&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Prof. Garfield</name></author>
	</entry>
	<entry>
		<id>https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4985&amp;oldid=prev</id>
		<title>Prof. Garfield at 20:51, 1 January 2019</title>
		<link rel="alternate" type="text/html" href="https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4985&amp;oldid=prev"/>
		<updated>2019-01-01T20:51:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:51, 1 January 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Back to [[TOTPP Functions]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Follow the link in the function name for additional information about that function, if it is available.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Follow the link in the function name for additional information about that function, if it is available.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prof. Garfield</name></author>
	</entry>
	<entry>
		<id>https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4979&amp;oldid=prev</id>
		<title>Prof. Garfield: Copied The Civ Library Information</title>
		<link rel="alternate" type="text/html" href="https://sleague.civfanatics.com/index.php?title=The_civ_library&amp;diff=4979&amp;oldid=prev"/>
		<updated>2019-01-01T20:37:04Z</updated>

		<summary type="html">&lt;p&gt;Copied The Civ Library Information&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Follow the link in the function name for additional information about that function, if it is available.&lt;br /&gt;
&lt;br /&gt;
[[addImprovement]]&lt;br /&gt;
&lt;br /&gt;
civ.addImprovement(city, improvement)&lt;br /&gt;
&lt;br /&gt;
Adds city improvement `improvement` to city `city`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[canEnter]]&lt;br /&gt;
&lt;br /&gt;
civ.canEnter(unittype, tile) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if the given unittype can enter tile `tile`, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[captureCity]]&lt;br /&gt;
&lt;br /&gt;
civ.captureCity(city, tribe)&lt;br /&gt;
&lt;br /&gt;
Captures city `city` for tribe `tribe`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[createCity]]&lt;br /&gt;
&lt;br /&gt;
civ.createCity(tribe, tile) -&amp;gt; city&lt;br /&gt;
&lt;br /&gt;
Creates a city owned by `tribe` at the location given by `tile`. Returns `nil` if a city could not be created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[createUnit]]&lt;br /&gt;
&lt;br /&gt;
civ.createUnit(unittype, tribe, tile) -&amp;gt; unit&lt;br /&gt;
&lt;br /&gt;
Creates a unit of type `unittype`, owned by `tribe`, at the location given by `tile`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[deleteCity]]&lt;br /&gt;
&lt;br /&gt;
civ.deleteCity(city)&lt;br /&gt;
&lt;br /&gt;
Deletes city `city` from the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[deleteUnit]]&lt;br /&gt;
&lt;br /&gt;
civ.deleteUnit(unit)&lt;br /&gt;
&lt;br /&gt;
Deletes unit `unit` from the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[destroyWonder]]&lt;br /&gt;
&lt;br /&gt;
civ.destroyWonder(wonder)&lt;br /&gt;
&lt;br /&gt;
Destroys wonder `wonder`, removing it from the game, and marking it as &amp;#039;lost&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[enableTechGroup]]&lt;br /&gt;
&lt;br /&gt;
civ.enableTechGroup(tribe, techgroup, value)&lt;br /&gt;
&lt;br /&gt;
Sets the value of tech group `techgroup` (0-7) to value `value` (0-2, 0 = can research, can own, 1 = can&amp;#039;t research, can own, 2 = can&amp;#039;t research, can&amp;#039;t own) for tribe `tribe`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[endGame]]&lt;br /&gt;
&lt;br /&gt;
civ.endGame(endscreens=false)&lt;br /&gt;
&lt;br /&gt;
Ends the game. `endscreens` is a boolean that determines whether to show the powergraph and related screens.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getActiveUnit]]&lt;br /&gt;
&lt;br /&gt;
civ.getActiveUnit() -&amp;gt; unit&lt;br /&gt;
&lt;br /&gt;
Returns the currently active unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getCity]]&lt;br /&gt;
&lt;br /&gt;
civ.getCity(id) -&amp;gt; city&lt;br /&gt;
&lt;br /&gt;
Returns the city with id `id`, or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getCurrentTile]]&lt;br /&gt;
&lt;br /&gt;
civ.getCurrentTile() -&amp;gt; tile&lt;br /&gt;
&lt;br /&gt;
Returns the currently selected tile.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getCurrentTribe]]&lt;br /&gt;
&lt;br /&gt;
civ.getCurrentTribe() -&amp;gt; tribe&lt;br /&gt;
&lt;br /&gt;
Returns the currently active tribe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getGameYear]]&lt;br /&gt;
&lt;br /&gt;
civ.getGameYear() -&amp;gt; integer&lt;br /&gt;
&lt;br /&gt;
Returns the current game year.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getImprovement]]&lt;br /&gt;
&lt;br /&gt;
civ.getImprovement(id) -&amp;gt; improvement&lt;br /&gt;
&lt;br /&gt;
Returns the improvement with id `id` (0-39), or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getMapDimensions]]&lt;br /&gt;
&lt;br /&gt;
civ.getMapDimensions() -&amp;gt; width, height, number_of_maps&lt;br /&gt;
&lt;br /&gt;
Returns three integers, the width and height of the map and the number of maps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getPlayerTribe]]&lt;br /&gt;
&lt;br /&gt;
civ.getPlayerTribe() -&amp;gt; tribe&lt;br /&gt;
&lt;br /&gt;
Returns the player&amp;#039;s tribe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getTech]]&lt;br /&gt;
&lt;br /&gt;
civ.getTech(id) -&amp;gt; tech&lt;br /&gt;
&lt;br /&gt;
Returns the tech with id `id` (0-99), or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getTile]]&lt;br /&gt;
&lt;br /&gt;
civ.getTile(x, y, z) -&amp;gt; tile&lt;br /&gt;
&lt;br /&gt;
Returns the tile with coordinates `x`, `y`, `z`, or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getToTDir]]&lt;br /&gt;
&lt;br /&gt;
civ.getToTDir() -&amp;gt; string&lt;br /&gt;
&lt;br /&gt;
Returns the absolute path of the ToT installation directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getTribe]]&lt;br /&gt;
&lt;br /&gt;
civ.getTribe(id) -&amp;gt; tribe&lt;br /&gt;
&lt;br /&gt;
Returns the tech with id `id` (0-7), or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getTurn]]&lt;br /&gt;
&lt;br /&gt;
civ.getTurn() -&amp;gt; integer&lt;br /&gt;
&lt;br /&gt;
Returns the current turn number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getUnit]]&lt;br /&gt;
&lt;br /&gt;
civ.getUnit(id) -&amp;gt; integer&lt;br /&gt;
&lt;br /&gt;
Returns the unit with id `id`, or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getUnitType]]&lt;br /&gt;
&lt;br /&gt;
civ.getUnitType(id) -&amp;gt; unittype&lt;br /&gt;
&lt;br /&gt;
Returns the unit type with id `id`, or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[getWonder]]&lt;br /&gt;
&lt;br /&gt;
civ.getWonder(id) -&amp;gt; wonder&lt;br /&gt;
&lt;br /&gt;
Returns the wonder with id `id` (0-27), or `nil` if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[giveTech]]&lt;br /&gt;
&lt;br /&gt;
civ.giveTech(tribe, tech)&lt;br /&gt;
&lt;br /&gt;
Gives tech `tech` to tribe `tribe`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[hasImprovement]]&lt;br /&gt;
&lt;br /&gt;
civ.hasImprovement(city, improvement)&lt;br /&gt;
&lt;br /&gt;
Returns `true` if city `city` has improvement `improvement`, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[hasTech]]&lt;br /&gt;
&lt;br /&gt;
civ.hasTech(tribe, tech) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if tribe `tribe` has tech `tech`, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isCity]]&lt;br /&gt;
&lt;br /&gt;
civ.isCity(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a city, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isImprovement]]&lt;br /&gt;
&lt;br /&gt;
civ.isImprovement(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a city improvement, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isLeader]]&lt;br /&gt;
&lt;br /&gt;
civ.isLeader(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a leader, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isTech]]&lt;br /&gt;
&lt;br /&gt;
civ.isTech(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a tech, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isTile]]&lt;br /&gt;
&lt;br /&gt;
civ.isTile(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a tile, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isTribe]]&lt;br /&gt;
&lt;br /&gt;
civ.isTribe(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a tribe, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isUnit]]&lt;br /&gt;
&lt;br /&gt;
civ.isUnit(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a unit, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isUnitType]]&lt;br /&gt;
&lt;br /&gt;
civ.isUnitType(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a unit type, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[isWonder]]&lt;br /&gt;
&lt;br /&gt;
civ.isWonder(object) -&amp;gt; boolean&lt;br /&gt;
&lt;br /&gt;
Returns `true` if `object` is a wonder, `false` otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[iterateCities]]&lt;br /&gt;
&lt;br /&gt;
civ.iterateCities() -&amp;gt; iterator&lt;br /&gt;
&lt;br /&gt;
Returns an iterator yielding all cities in the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[iterateUnits]]&lt;br /&gt;
&lt;br /&gt;
civ.iterateUnits() -&amp;gt; iterator&lt;br /&gt;
&lt;br /&gt;
Returns an iterator yielding all units in the game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[killTribe]]&lt;br /&gt;
&lt;br /&gt;
civ.killTribe(tribe)&lt;br /&gt;
&lt;br /&gt;
Removes tribe `tribe` from the game. All its cities and units are removed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[makeAggression]]&lt;br /&gt;
&lt;br /&gt;
civ.makeAggression(who, whom)&lt;br /&gt;
&lt;br /&gt;
Cancels any peace treaties between tribe `who` and tribe `whom`, and make `who` declare war on `whom`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[playMusic]]&lt;br /&gt;
&lt;br /&gt;
civ.playMusic(trackNo or filename)&lt;br /&gt;
&lt;br /&gt;
Plays CD track `trackNo`, or with the DirectShow music patch enabled, play the file given by `filename`, where `filename` is relative to the &amp;#039;Music&amp;#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[playSound]]&lt;br /&gt;
&lt;br /&gt;
civ.playSound(filename)&lt;br /&gt;
&lt;br /&gt;
Plays the sound file given by `filename`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[playVideo]]&lt;br /&gt;
&lt;br /&gt;
civ.playVideo(filename)&lt;br /&gt;
&lt;br /&gt;
Plays the video file given by `filename`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[removeImprovement]]&lt;br /&gt;
&lt;br /&gt;
civ.removeImprovement(city, improvement)&lt;br /&gt;
&lt;br /&gt;
Removes city improvement `improvement` from city `city`.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[sleep]]&lt;br /&gt;
&lt;br /&gt;
civ.sleep(milliseconds)&lt;br /&gt;
&lt;br /&gt;
Sleeps for the given number of milliseconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[takeTech]]&lt;br /&gt;
&lt;br /&gt;
civ.takeTech(tribe, tech, collapse=false)&lt;br /&gt;
&lt;br /&gt;
Takes away tech `tech` from tribe `tribe`, the optional `collapse` parameter determines whether to take away all techs that have `tech` as a prerequisite somewhere up the tree.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[teleportUnit]]&lt;br /&gt;
&lt;br /&gt;
civ.teleportUnit(unit, tile)&lt;br /&gt;
&lt;br /&gt;
Teleports (i.e. moves at no cost) unit `unit` to tile `tile`. The unit is moved regardless of whether it is a valid location for the unit. To check this, see `civ.canEnter` and `civlua.isValidUnitLocation`.&lt;/div&gt;</summary>
		<author><name>Prof. Garfield</name></author>
	</entry>
</feed>