<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=DefineUpgrade_%28Harvest%29</id>
		<title>DefineUpgrade (Harvest) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=DefineUpgrade_%28Harvest%29"/>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=DefineUpgrade_(Harvest)&amp;action=history"/>
		<updated>2026-05-07T15:38:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://oxeyegames.com/wiki/index.php?title=DefineUpgrade_(Harvest)&amp;diff=245&amp;oldid=prev</id>
		<title>166 MMX: Created page with '{{HarvestMethod | defineUpgrade(building, name, description, mineralsCost, energyCost, radiusSize, initialSpriteName) | Defines a new creative building to be used as building upg...'</title>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=DefineUpgrade_(Harvest)&amp;diff=245&amp;oldid=prev"/>
				<updated>2009-12-02T19:20:57Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{HarvestMethod | defineUpgrade(building, name, description, mineralsCost, energyCost, radiusSize, initialSpriteName) | Defines a new creative building to be used as building upg...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{HarvestMethod&lt;br /&gt;
|&lt;br /&gt;
defineUpgrade(building, name, description, mineralsCost, energyCost, radiusSize, initialSpriteName)&lt;br /&gt;
|&lt;br /&gt;
Defines a new creative building to be used as building upgrades. The initial sprite is currently always picked from the default gfx package.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|building|String|The new building identifier name.}}&lt;br /&gt;
{{MethodParam|name|String|The display name of the building.}}&lt;br /&gt;
{{MethodParam|description|String|The description of the building.}}&lt;br /&gt;
{{MethodParam|mineralsCost|Number|The mineral costs to build the building.}}&lt;br /&gt;
{{MethodParam|energyCost|Number|The energy costs to build the building.}}&lt;br /&gt;
{{MethodParam|radiusSize|Number|}}&lt;br /&gt;
{{MethodParam|initialSpriteName|String|The initial sprite identifier name.}}&lt;br /&gt;
|&lt;br /&gt;
Returns nothing.&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
harvest.defineUpgrade(&amp;quot;SUPERSOLARPLANT&amp;quot;, &amp;quot;Super-duper Solar Plant&amp;quot;, &amp;quot;This is a really good solar plant.&amp;quot;, 300, 100, 30.0, &amp;quot;SparkProducer&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resources ===&lt;br /&gt;
*[http://www.oxeyegames.com/forum/viewtopic.php?p=1523#p1523 Oxeye Game Studio Forum - Harvest Functions]&lt;/div&gt;</summary>
		<author><name>166 MMX</name></author>	</entry>

	</feed>