<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wesnoth.org/index.php?action=history&amp;feed=atom&amp;title=LuaAPI%2Ftypes%2Fside</id>
	<title>LuaAPI/types/side - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wesnoth.org/index.php?action=history&amp;feed=atom&amp;title=LuaAPI%2Ftypes%2Fside"/>
	<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;action=history"/>
	<updated>2026-11-02T17:56:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=70283&amp;oldid=prev</id>
		<title>Celtic Minstrel: /* Misc side settings */ Add shroud_data</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=70283&amp;oldid=prev"/>
		<updated>2022-12-24T06:03:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Misc side settings: &lt;/span&gt; Add shroud_data&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 06:03, 24 December 2022&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-l78&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&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;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;Whether the side uses fog and shroud.&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;Whether the side uses fog and shroud.&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;* &#039;&#039;side&#039;&#039;.&#039;&#039;&#039;shroud_data&#039;&#039;&#039; &amp;amp;harr; &#039;&#039;shroud data string&#039;&#039;&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;The current shroud for the side, as a shroud data string (see [[SideWML]]).&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;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;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;* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;share_vision&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;vision type&amp;#039;&amp;#039;&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;* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;share_vision&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;vision type&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Celtic Minstrel</name></author>
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=68360&amp;oldid=prev</id>
		<title>Celtic Minstrel: /* Misc side settings */ Fix formatting</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=68360&amp;oldid=prev"/>
		<updated>2021-07-23T04:56:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Misc side settings: &lt;/span&gt; Fix formatting&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 04:56, 23 July 2021&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-l79&quot;&gt;Line 79:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 79:&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;Whether the side uses fog and shroud.&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;Whether the side uses fog and shroud.&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;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;* &#039;&#039;side&#039;&#039;.&#039;&#039;share_vision&#039;&#039; &amp;amp;harr; &#039;&#039;vision type&#039;&#039;&lt;/div&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;* &#039;&#039;side&#039;&#039;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/ins&gt;&#039;&#039;share_vision&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&lt;/ins&gt;&#039;&#039; &amp;amp;harr; &#039;&#039;vision type&#039;&#039;&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;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;The side&amp;#039;s policy for sharing vision with allies. This is a string which can be set to one of &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; (meaning both fog and shroud are shared), &amp;#039;&amp;#039;&amp;#039;shroud&amp;#039;&amp;#039;&amp;#039; (meaning shroud is shared but fog is not), or &amp;#039;&amp;#039;&amp;#039;none&amp;#039;&amp;#039;&amp;#039; (meaning no vision is shared).&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;The side&amp;#039;s policy for sharing vision with allies. This is a string which can be set to one of &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; (meaning both fog and shroud are shared), &amp;#039;&amp;#039;&amp;#039;shroud&amp;#039;&amp;#039;&amp;#039; (meaning shroud is shared but fog is not), or &amp;#039;&amp;#039;&amp;#039;none&amp;#039;&amp;#039;&amp;#039; (meaning no vision is shared).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Celtic Minstrel</name></author>
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=68198&amp;oldid=prev</id>
		<title>Celtic Minstrel: Categorize</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=68198&amp;oldid=prev"/>
		<updated>2021-06-30T02:34:36Z</updated>

		<summary type="html">&lt;p&gt;Categorize&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 02:34, 30 June 2021&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-l138&quot;&gt;Line 138:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 138:&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;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;All the side&amp;#039;s data as raw WML. This can be used to access values that aren&amp;#039;t directly supported.&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;All the side&amp;#039;s data as raw WML. This can be used to access values that aren&amp;#039;t directly supported.&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;[[Category:Lua Reference]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Celtic Minstrel</name></author>
	</entry>
	<entry>
		<id>https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=66120&amp;oldid=prev</id>
		<title>Celtic Minstrel: Document the side userdata</title>
		<link rel="alternate" type="text/html" href="https://wiki.wesnoth.org/index.php?title=LuaAPI/types/side&amp;diff=66120&amp;oldid=prev"/>
		<updated>2020-10-17T02:03:59Z</updated>

		<summary type="html">&lt;p&gt;Document the side userdata&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This represents a side in the current scenario. Its metatable is the [[LuaAPI/wesnoth/sides|wesnoth.sides]] module, meaning functions of that module can be called on it using colon syntax.&lt;br /&gt;
&lt;br /&gt;
==== Side identity ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;side&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The index of the side. This is the same value used to look up the side in &amp;#039;&amp;#039;&amp;#039;wesnoth.sides&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;side_name&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;translatable string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The display name for the side, to be shown in the UI.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;save_id&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The ID used to track this side&amp;#039;s recall list.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;flag&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;image string&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;flag_icon&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;image string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The images used for the side&amp;#039;s flag. Note that if the side doesn&amp;#039;t explicitly set a flag, this will return the default flag.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;color&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s team color.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;user_team_name&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;translatable string&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;team_name&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s team settings.&lt;br /&gt;
&lt;br /&gt;
==== Side controller ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;controller&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;controller type&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
How the side is controlled. This does not distinguish between local and remote sides, so it is safe to read or write this in multiplayer games.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;is_local&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Whether the side is a local side. Careless use will result in out-of-sync errors.&lt;br /&gt;
&lt;br /&gt;
The normal use for it is if you need to show a dialog on the screen that should only pop up for the local player, or that should have a different appearance or behaviour for a non-local player.&lt;br /&gt;
&lt;br /&gt;
==== Side resources ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;gold&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s current gold amount.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;village_gold&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;village_support&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;recall_cost&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;base_income&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Various settings that influence the side&amp;#039;s income.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;num_villages&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;num_units&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;total_upkeep&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;expenses&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;net_income&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;total_income&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Various derived values that influence the side&amp;#039;s income.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;carryover_bonus&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;carryover_percentage&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;number&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;carryover_add&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s gold carryover settings.&lt;br /&gt;
&lt;br /&gt;
==== Misc side settings ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;fog&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;shroud&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Whether the side uses fog and shroud.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;share_vision&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;vision type&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s policy for sharing vision with allies. This is a string which can be set to one of &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; (meaning both fog and shroud are shared), &amp;#039;&amp;#039;&amp;#039;shroud&amp;#039;&amp;#039;&amp;#039; (meaning shroud is shared but fog is not), or &amp;#039;&amp;#039;&amp;#039;none&amp;#039;&amp;#039;&amp;#039; (meaning no vision is shared).&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;hidden&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Whether the side should be hidden UIs that list sides.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;scroll_to_leader&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Whether the game should scroll to this side&amp;#039;s leader when their turn begins.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;suppress_end_turn_confirmation&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Whether the game should confirm that the user really meant to end their turn if no units have moved.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;persistent&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Whether the side&amp;#039;s recall list should be serialized to the saved game so that it can reappear in a later scenario.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;defeat_condition&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s condition for defeat. For possible values, see the description at [[SideWML]]. More information is available [[ScenarioWML#Scenario_End_Conditions|here]].&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;starting_location&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;location&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s starting location. This is an array table with the x and y coordinates.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;recruit&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;list of unit type IDs&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The side&amp;#039;s recruit list.&lt;br /&gt;
&lt;br /&gt;
==== Multiplayer settings ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;faction&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;faction_name&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;translatable string&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The name and ID of the side&amp;#039;s chosen faction.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;chose_random&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Indicates whether the player explicitly chose their faction or if it was chosen for them at random by the engine.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;lost&amp;#039;&amp;#039;&amp;#039; &amp;amp;harr; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If true, this side will be removed from the persistent list at the end of the scenario. This key can also be used to stop the engine from removing a side, by setting it to false. Writing this key only works in a victory/defeat event.&lt;br /&gt;
&lt;br /&gt;
==== Other side attributes ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;variables&amp;#039;&amp;#039;&amp;#039;[&amp;#039;&amp;#039;path&amp;#039;&amp;#039;] &amp;amp;harr; &amp;#039;&amp;#039;variable value&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;variables&amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;__cfg&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;all side variables&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This is a variables table with the same semantics as [[LuaAPI/wml#wml.variables|wml.variables]]. If arrays are needed, it (or the side it belongs to) can be passed as the second parameter to&lt;br /&gt;
[[LuaAPI/wml#wml.array_access.get|wml.array_access.get]] or&lt;br /&gt;
[[LuaAPI/wml#wml.array_access.set|wml.array_access.set]].&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;side&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039;__cfg&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;config&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
All the side&amp;#039;s data as raw WML. This can be used to access values that aren&amp;#039;t directly supported.&lt;/div&gt;</summary>
		<author><name>Celtic Minstrel</name></author>
	</entry>
</feed>