<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.0">
    <ScriptPackage>
        <Script isActive="yes" isFolder="no">
            <name>MegaHarvester</name>
            <packageName>DrazikHarvester</packageName>
            <script>MegaHarvesterEnvironment = {
[&quot;Forest&quot;] = {&quot;harvest echinacea&quot;, &quot;harvest elm&quot;, &quot;harvest ginger&quot;, &quot;harvest ginseng&quot;, &quot;harvest lobelia&quot;, &quot;harvest myrrh&quot;, &quot;gather nuts&quot;},
[&quot;Garden&quot;] = {&quot;harvest echinacea&quot;, &quot;harvest elm&quot;, &quot;harvest ginger&quot;, &quot;harvest ginseng&quot;, &quot;harvest lobelia&quot;, &quot;harvest myrrh&quot;, &quot;gather vegetables&quot;, &quot;gather fruit&quot;},
[&quot;Desert&quot;] = {&quot;harvest pear&quot;, &quot;harvest weed&quot;},
[&quot;Grasslands&quot;] = {&quot;harvest goldenseal&quot;, &quot;harvest slipper&quot;, &quot;gather grain&quot;, &quot;gather sugarcane&quot;},
[&quot;Mountains&quot;] = {&quot;harvest valerian&quot;},
[&quot;Jungle&quot;] = {&quot;harvest kuzu&quot;, &quot;harvest kola&quot;, &quot;harvest skullcap&quot;, &quot;gather cacao&quot;, &quot;gather fruit&quot;},
[&quot;Natural underground&quot;] = {&quot;harvest moss&quot;, &quot;harvest bloodroot&quot;, &quot;gather lumic&quot;, &quot;gather dust&quot;},
[&quot;Hills&quot;] = {&quot;harvest bayberry&quot;, &quot;harvest hawthorn&quot;},
[&quot;Swamp&quot;] = {&quot;harvest ash&quot;, &quot;harvest cohosh&quot;, &quot;harvest bellwort&quot;},
[&quot;Valley&quot;] = {&quot;harvest sileris&quot;, &quot;gather olives&quot;},
[&quot;Freshwater&quot;] = {&quot;harvest kelp&quot;},
[&quot;River&quot;] = {&quot;harvest kelp&quot;, &quot;gather clay&quot;},
[&quot;Water&quot;] = {&quot;harvest kelp&quot;},
[&quot;Ocean&quot;] = {&quot;harvest kelp&quot;},
};
MegaHarvesterQueue = {
};

function megaHarvesterStart(env)
for i = 1,table.maxn(MegaHarvesterEnvironment[env]) do
table.insert(MegaHarvesterQueue, MegaHarvesterEnvironment[env][i])
end
cecho(&quot;\n&lt;aquamarine:dark_green&gt;MegaHarvesting from this &quot; .. RoomEnvironment .. &quot;!&quot;)
enableTrigger(&quot;MegaHarvester&quot;)
megaHarvester()
end

function megaHarvester()
	if MegaHarvesterQueue[1] == nil  then 
		cecho(&quot;\n&lt;aquamarine:dark_green&gt;Done MegaHarvesting from this &quot; .. RoomEnvironment .. &quot;!&quot;)
		disableTrigger(&quot;MegaHarvester&quot;)
	else 
	send(MegaHarvesterQueue[1])
	table.remove(MegaHarvesterQueue,1)
	end
end</script>
            <eventHandlerList/>
        </Script>
    </ScriptPackage>
	    <ScriptPackage>
        <Script isActive="yes" isFolder="no">
            <name>RoomInfo</name>
            <packageName></packageName>
            <script>function RoomInfo(events, args)
 info = gmcp.Room.Info
 RoomNumberx = info.num
 RoomEnvironment = info.environment

end</script>
            <eventHandlerList>
                <string>gmcp.Room.Info</string>
            </eventHandlerList>
        </Script>
    </ScriptPackage>
<AliasPackage>
        <Alias isActive="yes" isFolder="no">
            <name>MegaHarvester</name>
            <script>megaHarvesterStart(RoomEnvironment)</script>
            <command></command>
            <packageName></packageName>
            <regex>^megah$</regex>
        </Alias>
    </AliasPackage>
    <TriggerPackage>
        <Trigger isActive="no" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
            <name>MegaHarvester</name>
            <script>megaHarvester()</script>
            <triggerType>0</triggerType>
            <conditonLineDelta>0</conditonLineDelta>
            <mStayOpen>0</mStayOpen>
            <mCommand></mCommand>
            <packageName></packageName>
            <mFgColor>#ff0000</mFgColor>
            <mBgColor>#ffff00</mBgColor>
            <mSoundFile></mSoundFile>
            <colorTriggerFgColor>#000000</colorTriggerFgColor>
            <colorTriggerBgColor>#000000</colorTriggerBgColor>
            <regexCodeList>
                <string>That plant has been fully harvested.</string>
                <string>You have already harvested from this plant recently.</string>
                <string>You have recovered balance on all limbs.</string>
                <string>You find that you don't know how to harvest that. How odd.</string>
                <string>What do you wish to harvest?</string>
                <string>You have already gathered from that plant recently.</string>
                <string>What would you like to gather?</string>
                <string>Exactly where do you see farmland around here to gather from?</string>
                <string>You carefully dig through the soft soil of the riverbed but are unable to find any suitable clay.</string>
                <string>That plant has been fully gathered from.</string>
                <string>You scour the farmland for anything of value, but come up empty.</string>
            </regexCodeList>
            <regexCodePropertyList>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
                <integer>3</integer>
            </regexCodePropertyList>
        </Trigger>
    </TriggerPackage
</MudletPackage>
