<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=AssignStartingPlots.DivideIntoRegions_%28Civ5_API%29</id>
	<title>AssignStartingPlots.DivideIntoRegions (Civ5 API) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=AssignStartingPlots.DivideIntoRegions_%28Civ5_API%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=AssignStartingPlots.DivideIntoRegions_(Civ5_API)&amp;action=history"/>
	<updated>2026-04-25T13:47:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=AssignStartingPlots.DivideIntoRegions_(Civ5_API)&amp;diff=13367&amp;oldid=prev</id>
		<title>DonQuich: Bot update</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=AssignStartingPlots.DivideIntoRegions_(Civ5_API)&amp;diff=13367&amp;oldid=prev"/>
		<updated>2012-09-20T13:48:45Z</updated>

		<summary type="html">&lt;p&gt;Bot update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|AssignStartingPlots}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; AssignStartingPlots:DivideIntoRegions&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;int&amp;#039;&amp;#039;&amp;#039; numDivisions, &amp;#039;&amp;#039;&amp;#039;unknown&amp;#039;&amp;#039;&amp;#039; fertility_table, &amp;#039;&amp;#039;&amp;#039;table&amp;#039;&amp;#039;&amp;#039; rectangle_data_table&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|numDivisions:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &amp;#039;&amp;#039;No description available.&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|fertility_table:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &amp;#039;&amp;#039;No description available.&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|rectangle_data_table:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &amp;#039;&amp;#039;No description available.&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&amp;#039;&amp;#039;Too many occurences. Only 50 out of 47 are listed.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|AssignStartingPlots.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Gameplay/Lua/AssignStartingPlots.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(firstSubdivisions, first_section_fertility_table, first_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1182}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(laterSubdivisions, second_section_fertility_table, second_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1184}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1193}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iSubdivisions, first_section_fertility_table, first_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iSubdivisions, second_section_fertility_table, second_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1196}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (iNumDivides == 3) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1207}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iSubdivisions, second_section_fertility_table, second_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1208}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iSubdivisions, third_section_fertility_table, third_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1210}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1504}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(self.iNumCivs, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1505}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- The regions have been defined.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1507}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif self.method == 3 or self.method == 4 then -- Rectangular&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1525}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(self.iNumCivs, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1526}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- The regions have been defined.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1528}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else -- Continental.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1735}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsOnThisLandmass, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1736}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Europe.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0865}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0866}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;iNumCivsRemaining = iNumCivsRemaining - 1;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0887}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsRemaining, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0888}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Europe_Scenario.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Scenarios/MedievalScenario/Europe_Scenario.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0956}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iSubdivisions, second_section_fertility_table, second_section_data_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0957}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0997}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0998}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Morocco and Tunisia defined as Region 3.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1000}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Egypt and Judea.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1001}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 56;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1009}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1010}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Egypt and Judea defined as Region 4.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1012}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Turkey.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1013}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 60;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1021}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1022}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Turkey defined as Region 5.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1024}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Balkans.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1025}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 42;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1033}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1034}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Balkans defined as Region 6.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1036}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Spain.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1037}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 6;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1045}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1046}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Spain defined as Region 7.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1049}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 6;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1057}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1058}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- France defined as Region 8.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1060}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Netherlands.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1061}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 19;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1069}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1070}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Netherlands defined as Region 9.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1072}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Central Europe.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1073}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 35;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1081}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1082}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Central Europe defined as Region 10.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1084}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Scandinavia.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1085}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 23;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1093}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1094}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Scandinavia defined as Region 11.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1096}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Russia.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1097}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 51;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1105}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(1, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|1106}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--print(&amp;quot;- Russia defined as Region 12.&amp;quot;);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1108}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Hemispheres.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Maps/Hemispheres.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0967}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsInWest, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0969}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Process the team in the east.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0970}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = math.floor(iW / 2) + 1;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0982}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsInEast, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0983}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- The regions have been defined.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0985}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- If number of teams is any number other than two, use standard division.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0986}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|North_vs_South.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/North_vs_South.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0518}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsInSouth, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0520}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- Process the team in the north.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0521}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self.inhabited_WestX = 0;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0533}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsInNorth, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0534}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- The regions have been defined.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0536}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- If number of teams is any number other than two, use standard One Landmass division.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0537}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0560}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(self.iNumCivs, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0561}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- The regions have been defined.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0562}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|West_vs_East.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;Maps/West_vs_East.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0355}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;self:DivideIntoRegions(iNumCivsInEast, fert_table, rect_table)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0356}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- The regions have been defined.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0358}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;-- If number of teams is any number other than two, use standard One Landmass division.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeLine5|0359}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;else&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|DivideIntoRegions]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>