<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3ACanHarvest</id>
	<title>LUA:CanHarvest - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3ACanHarvest"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CanHarvest&amp;action=history"/>
	<updated>2026-07-13T22:23:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:CanHarvest&amp;diff=4979&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: CanHarvest() = Checks to see if the given player has the skills to harvest the given ground spawn   ==== Syntax ==== CanHarvest(param1, param2)   ==== Parameters...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CanHarvest&amp;diff=4979&amp;oldid=prev"/>
		<updated>2013-09-10T01:39:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: CanHarvest() = Checks to see if the given player has the skills to harvest the given ground spawn   ==== Syntax ==== CanHarvest(param1, param2)   ==== Parameters...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: CanHarvest() =&lt;br /&gt;
Checks to see if the given player has the skills to harvest the given ground spawn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CanHarvest(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (Spawn)&lt;br /&gt;
: ''param1'' is the player who's skills we want to check&lt;br /&gt;
: ''param2'' is the ground spawn we want to check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function precast(Caster, Target)&lt;br /&gt;
	if IsGroundSpawn(Target) then&lt;br /&gt;
		return CanHarvest(Caster, Target)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This spell will check to see if the player can harvest the ground spawn.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
Returns true if the player has the skill&lt;br /&gt;
&lt;br /&gt;
If it returns false this function will also send the message stating the skill needed&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>