<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_08</id>
	<title>A Development Tutorial: Chapter 08 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_08"/>
	<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;action=history"/>
	<updated>2026-11-22T13:45:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=16294&amp;oldid=prev</id>
		<title>Henry at 19:15, 22 September 2018</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=16294&amp;oldid=prev"/>
		<updated>2018-09-22T19:15:29Z</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:15, 22 September 2018&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-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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;| status = Progress Stopped&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;| status = Progress Stopped&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;| complete = 75%&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;| complete = 75%&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;| seasons = All Seasons&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 08: Scenery Scripts&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;| chapter = 08: Scenery Scripts&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 27|Pro Tips&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;}}&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>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9986&amp;oldid=prev</id>
		<title>Henry at 05:34, 29 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9986&amp;oldid=prev"/>
		<updated>2017-01-29T05:34:55Z</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 06:34, 29 January 2017&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-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&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;** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start.&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;** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start.&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;&#039;Code:&#039;&#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;&#039;Code:&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;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;&amp;lt;code class=&amp;quot;bbc_code&amp;quot; style=&amp;quot;overflow: scroll;&amp;quot;&amp;gt;//&amp;amp;nbsp; Includes some definitions&amp;lt;br&amp;gt;#include &amp;quot;_macros.fos&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;//&amp;amp;nbsp; Function signature for player interactions with Scenery objects&amp;lt;br&amp;gt;bool s_RefillRobot(Critter&amp;amp;amp; player, Scenery&amp;amp;amp; robot, int skill, Item@ item)&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Retrieve the variable used by the quest to mark it&amp;#039;s progress, plus error handling&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;GameVar@ questVar = GetLocalVar(LVAR_q_turo_prog, player.Id);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(valid(questVar))&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;is quest still in progress and before repairing the robot&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if (questVar &amp;amp;lt; 30)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;amp;nbsp; Check if repair skill is used on the robot&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_REPAIR)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;You don&amp;#039;t think it can be done without some small energy cells.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Check if science skill is used on the robot&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_SCIENCE)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;The robot is running very low on energy.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Check if the player used a Small Energy Cell on the robot.&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(valid(item))&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(item.GetProtoId() == PID_SMALL_ENERGY_CELL)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;You replace one of the energy cells of the robot.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Set the quest progress&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;questVar = 30;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Remove the Small Energy Cells used.&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;item.SetCount(item.GetCount() - 1);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;item.Update();&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;else&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_REPAIR || skill == SK_SCIENCE)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;You already replaced the energy source of this robot, there is nothing more you can do here.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;/code&amp;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;&amp;lt;code class=&amp;quot;bbc_code&amp;quot; style=&amp;quot;overflow: scroll;&amp;quot;&amp;gt;//&amp;amp;nbsp; Includes some definitions&amp;lt;br&amp;gt;#include &amp;quot;_macros.fos&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;//&amp;amp;nbsp; Function signature for player interactions with Scenery objects&amp;lt;br&amp;gt;bool s_RefillRobot(Critter&amp;amp;amp; player, Scenery&amp;amp;amp; robot, int skill, Item@ item)&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Retrieve the variable used by the quest to mark it&amp;#039;s progress, plus error handling&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;GameVar@ questVar = GetLocalVar(LVAR_q_turo_prog, player.Id);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(valid(questVar))&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;is quest still in progress and before repairing the robot&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if (questVar &amp;amp;lt; 30)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;amp;nbsp; Check if repair skill is used on the robot&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_REPAIR)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;You don&amp;#039;t think it can be done without some small energy cells.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Check if science skill is used on the robot&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_SCIENCE)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;The robot is running very low on energy.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Check if the player used a Small Energy Cell on the robot.&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(valid(item))&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(item.GetProtoId() == PID_SMALL_ENERGY_CELL)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;You replace one of the energy cells of the robot.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Set the quest progress&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;questVar = 30;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;Remove the Small Energy Cells used.&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;item.SetCount(item.GetCount() - 1);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;item.Update();&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;else&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_REPAIR || skill == SK_SCIENCE)&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &amp;quot;You already replaced the energy source of this robot, there is nothing more you can do here.&amp;quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&amp;quot;white-space: pre;&amp;quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;/code&amp;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;[[Category:Guides]]&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;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9985&amp;oldid=prev</id>
		<title>Henry at 05:34, 29 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9985&amp;oldid=prev"/>
		<updated>2017-01-29T05:34:06Z</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 06:34, 29 January 2017&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-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&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;** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start.&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;** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start.&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;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;image soon&lt;/del&gt;)&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Code:&#039;&#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;&amp;lt;code class=&quot;bbc_code&quot; style=&quot;overflow: scroll;&quot;&amp;gt;//&amp;amp;nbsp; Includes some definitions&amp;lt;br&amp;gt;#include &quot;_macros.fos&quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;//&amp;amp;nbsp; Function signature for player interactions with Scenery objects&amp;lt;br&amp;gt;bool s_RefillRobot&lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Critter&amp;amp;amp; player, Scenery&amp;amp;amp; robot, int skill, Item@ item&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Retrieve the variable used by the quest to mark it&#039;s progress, plus error handling&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;GameVar@ questVar = GetLocalVar(LVAR_q_turo_prog, player.Id);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(valid(questVar))&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;is quest still in progress and before repairing the robot&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if (questVar &amp;amp;lt; 30)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;amp;nbsp; Check if repair skill is used on the robot&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_REPAIR)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;You don&#039;t think it can be done without some small energy cells.&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Check if science skill is used on the robot&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_SCIENCE)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;The robot is running very low on energy.&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Check if the player used a Small Energy Cell on the robot.&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(valid(item))&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(item.GetProtoId() == PID_SMALL_ENERGY_CELL)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;You replace one of the energy cells of the robot.&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Set the quest progress&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;questVar = 30;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;//&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;Remove the Small Energy Cells used.&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;item.SetCount(item.GetCount() - 1);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;item.Update();&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;else&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;if(skill == SK_REPAIR || skill == SK_SCIENCE)&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;{&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;player.Say(SAY_NETMSG, &quot;You already replaced the energy source of this robot, there is nothing more you can do here.&quot;);&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return true;&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;span style=&quot;white-space: pre;&quot;&amp;gt;	&amp;lt;/span&amp;gt;return false;&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;/code&amp;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;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;[[Category:Guides]]&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;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9902&amp;oldid=prev</id>
		<title>Henry at 02:29, 26 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9902&amp;oldid=prev"/>
		<updated>2017-01-26T02:29:00Z</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 03:29, 26 January 2017&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 08: Scenery Scripts&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;| chapter = 08: Scenery Scripts&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[A Development Tutorial: &lt;/del&gt;Chapter 21&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|Advanced Kill Quest]]&lt;/del&gt;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&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;}}&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>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9825&amp;oldid=prev</id>
		<title>Henry at 02:46, 21 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9825&amp;oldid=prev"/>
		<updated>2017-01-21T02:46:47Z</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 03:46, 21 January 2017&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 08: Scenery Scripts&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;| chapter = 08: Scenery Scripts&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 21|Advanced Kill Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects&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;}}&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>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9803&amp;oldid=prev</id>
		<title>Henry at 02:00, 21 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9803&amp;oldid=prev"/>
		<updated>2017-01-21T02:00:32Z</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 03:00, 21 January 2017&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;| image = AWikiEditor.gif&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;| image = AWikiEditor.gif&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;| description = Get the developer tools and try building new content for this game!&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;| description = Get the developer tools and try building new content for this game!&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;| status = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wip&lt;/del&gt;&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;| status = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Progress Stopped&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;| complete = 75%&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;| complete = 75%&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 08: Scenery Scripts&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;| chapter = 08: Scenery Scripts&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[A Development Tutorial: &lt;/del&gt;Chapter 10&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|Locations: Public to Private]]&lt;/del&gt;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[A Development Tutorial: &lt;/del&gt;Chapter 13&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|A Simple Quest]]&lt;/del&gt;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Basic Mechanics&lt;/del&gt;]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;Chapter 15&lt;/ins&gt;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.01&lt;/ins&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Lockpick Cooldown&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;}}&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>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9770&amp;oldid=prev</id>
		<title>Henry at 18:02, 20 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9770&amp;oldid=prev"/>
		<updated>2017-01-20T18:02:20Z</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 19:02, 20 January 2017&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 08: Scenery Scripts&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;| chapter = 08: Scenery Scripts&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 10|Locations: Public to Private]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 13|A Simple Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Modifying Some &lt;/del&gt;Basic Mechanics]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 10|Locations: Public to Private]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 13|A Simple Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15|Basic Mechanics]]&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;}}&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>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9758&amp;oldid=prev</id>
		<title>Henry at 17:55, 20 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9758&amp;oldid=prev"/>
		<updated>2017-01-20T17:55:32Z</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 18:55, 20 January 2017&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-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;| authors = Slowhand&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;| authors = Slowhand&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;| chapter = 08: Scenery Scripts&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;| chapter = 08: Scenery Scripts&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 10|Locations: Public to Private]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/del&gt;Quest &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Script&lt;/del&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 13|A Simple Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15|Modifying Some Basic Mechanics]]&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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&#039;&#039;&#039;Scenery Scripts&#039;&#039;&#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 10|Locations: Public to Private]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Scripts&lt;/ins&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 13|A Simple Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15|Modifying Some Basic Mechanics]]&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;}}&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>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9745&amp;oldid=prev</id>
		<title>Henry at 17:04, 20 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9745&amp;oldid=prev"/>
		<updated>2017-01-20T17:04:02Z</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 18:04, 20 January 2017&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-l35&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&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;** Finally, if the player tries to use Small Energy Cells on the robot, the system will notify about the success and set the quest variable to the desired value. This is how the quest is progressed in this case&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;** Finally, if the player tries to use Small Energy Cells on the robot, the system will notify about the success and set the quest variable to the desired value. This is how the quest is progressed in this case&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;** Also one Small Energy Cell is removed from the backpack of the player&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;** Also one Small Energy Cell is removed from the backpack of the player&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;** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start&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;** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start&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;/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;(image soon)&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;[[Category:Guides]]&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;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9744&amp;oldid=prev</id>
		<title>Henry: Created page with &quot;{{Guide | name = A Development Tutorial: Chapter 8 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = wip...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_08&amp;diff=9744&amp;oldid=prev"/>
		<updated>2017-01-20T17:02:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Guide | name = A Development Tutorial: Chapter 8 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = wip...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Guide&lt;br /&gt;
| name = A Development Tutorial: Chapter 8&lt;br /&gt;
| image = AWikiEditor.gif&lt;br /&gt;
| description = Get the developer tools and try building new content for this game!&lt;br /&gt;
| status = wip&lt;br /&gt;
| complete = 75%&lt;br /&gt;
| authors = Slowhand&lt;br /&gt;
| chapter = 08: Scenery Scripts&lt;br /&gt;
| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;&amp;#039;&amp;#039;&amp;#039;Scenery Scripts&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 10|Locations: Public to Private]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|Setup of Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding a Quest Script]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 13|A Simple Quest]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &amp;quot;SAY&amp;quot; Menu]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15|Modifying Some Basic Mechanics]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Creating and using some basic scripts: Scenery scripts.&lt;br /&gt;
&lt;br /&gt;
A quest complexity will usually require us to use scripts. At this point we will dive into one of the most simple scripts, the Scenery scripts, or scripts associated with scenery objects on the map. For this we will need a Scenery object on our map and a new script we want to call when the user interact with it.&lt;br /&gt;
&lt;br /&gt;
Step by Step:&lt;br /&gt;
&lt;br /&gt;
* Create a new scriptfile:&lt;br /&gt;
** Create a new textfile named &amp;quot;quest_tut1.fos&amp;quot; in &amp;quot;Server\scripts\&amp;quot;&lt;br /&gt;
** Copy paste the content from the code part below&lt;br /&gt;
* Bind the script file to the Scenery in Mapper:&lt;br /&gt;
** Launch Mapper and the load the map&lt;br /&gt;
** If you haven&amp;#039;t add a Scenery object to the map. (I used some defected robot.)&lt;br /&gt;
** Set the ScriptName value of the Scenery object to your script files name. (quest_tut1.fos)&lt;br /&gt;
** Set the FuncName value of the Scenery object to the function to be called when player interaction. (s_RefillRobot)&lt;br /&gt;
** Save the map and exit&lt;br /&gt;
* Run the server to compile your script:&lt;br /&gt;
** To test if your script compiles error free, you can use: Server\scripts\compile.bat quest_tut1.fos&lt;br /&gt;
** Delete previous script file binaries of your modified script file if they exist. (quest_tut1.fosb, quest_tut1.fosp)&lt;br /&gt;
** Run the server&lt;br /&gt;
* Understand the script:&lt;br /&gt;
** Study the script file, pretty straightforward, comments are useless but I left them there anyways&lt;br /&gt;
** If the player tries to use the Repair Skill on the robot, it will say that he can&amp;#039;t do that without Small Energy Cells&lt;br /&gt;
** If the players tries to use the Science Skill on the robot, the system will say that the robot is out of energy&lt;br /&gt;
** Finally, if the player tries to use Small Energy Cells on the robot, the system will notify about the success and set the quest variable to the desired value. This is how the quest is progressed in this case&lt;br /&gt;
** Also one Small Energy Cell is removed from the backpack of the player&lt;br /&gt;
** If the player tries to use the Repair or Science skills on the robot, the notification will tell, that it is already done. This is ensured by the quest variable check at the start&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
</feed>