The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Shayra"

From ATITD5
Jump to navigationJump to search
Line 1: Line 1:
AC Tools Macro:
 
 
This is Dharma's Continuous Flaxer from T3. I had to modify the mouse position for Weeding with Water/Weeding. Other than that it is unchanged. It plants 12 beds and will continue to harvest as long as you have supplies.
 
 
<br>
 
<pre>
 
// Dharma's Continuous Flaxing Macro V1.1
 
 
// Set your resolution to 1280 by 1024
 
 
// Make sure your ATITD window is maximized and AC Tool is not maximized, so the ATITD title bar is visible
 
 
// Pin open your planting window and drag it to the upper left corner.
 
 
// Enter Cartagropher View and zoom all the way in.
 
 
// Turn on "Enable hotkeys on flax"
 
 
// Turn off "Camera Moves quite fast" and "Camera moves unreasonably fast" options
 
 
// This macro works best on reasonably flat ground.
 
 
// It is tolerant of lag, but not impervious, so keep an eye on it.
 
 
// It might be more reliable if you have high frames per second, if you have trouble, try lowering your graphics settings.
 
 
// Look for comments below on how to customize
 
 
constants
 
 
// plant is the number of flax beds to plant before stopping
 
plant = 240
 
 
MouseX = 0
 
MouseY = 0
 
 
MouseXStart = 0
 
MouseYStart = 0
 
 
cycle = 0
 
 
moveTime = 1400
 
 
end
 
 
call Flax
 
 
procedure Test
 
 
MousePos 100, 10
 
Delay 300
 
LeftClick
 
Delay 1 sec
 
MousePos 700, 512
 
Call WeedAtMousePos
 
 
end
 
 
procedure Flax
 
 
MousePos 100, 10
 
Delay 300
 
LeftClick
 
Delay 1 sec
 
 
while $plant >= 12
 
 
Call PlantFlax
 
 
loop 5
 
Call MoveRight
 
Call PlantFlax
 
end
 
 
Call MoveDown
 
Call PlantFlax
 
 
loop 5
 
Call MoveLeft
 
Call PlantFlax
 
end
 
 
Delay 10000 // Delay some time because the first weeds grow more slowly than the second
 
 
loop cycle = 1 to 3
 
 
if $cycle = 1
 
MousePos 640, 250
 
else
 
MousePos 540, 250
 
end
 
 
Call WeedAtMousePos
 
 
MousePos 850, 400
 
Call WeedAtMousePos
 
 
loop 3
 
MousePos 1000, 450
 
Call WeedAtMousePos
 
end
 
MousePos 980, 450
 
Call WeedAtMousePos
 
 
MousePos 750, 750
 
Call WeedAtMousePos
 
 
MousePos 450, 600
 
Call WeedAtMousePos
 
 
loop 3
 
MousePos 250, 550
 
Call WeedAtMousePos
 
end
 
 
MousePos 250, 550
 
Call WeedAtMousePos
 
end
 
 
Call MoveLeft
 
Call MoveUp
 
 
compute $plant = $plant - 12
 
end
 
 
end
 
 
procedure PlantGrid
 
 
Call PlantFlax
 
loop 2
 
Call MoveRight
 
Call PlantFlax
 
end
 
Call MoveDown
 
Call PlantFlax
 
loop 2
 
Call MoveLeft
 
Call PlantFlax
 
end
 
Call MoveDown
 
Call PlantFlax
 
loop 2
 
Call MoveRight
 
Call PlantFlax
 
end
 
 
end
 
 
procedure PlantFlax
 
 
MousePos 40, 40
 
Call ClickFast
 
Delay 800
 
 
end
 
 
procedure WeedAtMousePos
 
 
Compute MouseXStart = {MouseX}
 
Compute MouseYStart = {MouseY}
 
Compute MouseX = $MouseXStart + 7
 
Compute MouseY = $MouseYStart - 11
 
 
Call ClickFast
 
Delay 200
 
LoadRGB $MouseX,$MouseY
 
// Force the menu to appear if it didn't appear
 
While {RGBRed} < 200
 
Call ClickFast
 
Delay 200
 
LoadRGB $MouseX,$MouseY
 
End
 
 
// Redisplay the menu until "Weed" appears
 
Compute MouseX = $MouseXStart + 20
 
Compute MouseY = $MouseYStart
 
LoadRGB $MouseX,$MouseY
 
While {RGBRed} > 0 and {RGBRed} < 120 and {RGBBlue} < 120 and {RGBGreen} < 120
 
Call ClickFast
 
Delay 200
 
LoadRGB $MouseX,$MouseY
 
End
 
 
// Select "Weed"
 
Compute MouseX = $MouseXStart + 30
 
Compute MouseY = $MouseYStart - 4
 
Call ClickFast
 
MousePos $MouseX, $MouseY
 
Call ClickFast
 
Delay 1400
 
 
end
 
 
procedure MoveUp
 
 
MousePos 640, 272
 
Call ClickFast
 
Delay $moveTime
 
 
end
 
 
procedure MoveDown
 
 
MousePos 640, 752
 
Call ClickFast
 
Delay $moveTime
 
 
end
 
 
procedure MoveLeft
 
 
MousePos 370, 532
 
Call ClickFast
 
Delay $moveTime
 
 
end
 
 
procedure MoveRight
 
 
MousePos 880, 512
 
Call ClickFast
 
Delay $moveTime
 
 
end
 
 
procedure ClickFast
 
 
Delay 250
 
LeftClick
 
Delay 50
 
 
end
 
 
</pre>
 
 
 
===HOOKAH HERBS===
 
===HOOKAH HERBS===
  
Line 749: Line 513:
 
|Zanthoxylum || Spicy || Roasted Onions ||
 
|Zanthoxylum || Spicy || Roasted Onions ||
 
|}
 
|}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
AC Tools Macro:
 +
 +
This is Dharma's Continuous Flaxer from T3. I had to modify the mouse position for Weeding with Water/Weeding. Other than that it is unchanged. It plants 12 beds and will continue to harvest as long as you have supplies.
 +
 +
<br>
 +
<pre>
 +
// Dharma's Continuous Flaxing Macro V1.1
 +
 +
// Set your resolution to 1280 by 1024
 +
 +
// Make sure your ATITD window is maximized and AC Tool is not maximized, so the ATITD title bar is visible
 +
 +
// Pin open your planting window and drag it to the upper left corner.
 +
 +
// Enter Cartagropher View and zoom all the way in.
 +
 +
// Turn on "Enable hotkeys on flax"
 +
 +
// Turn off "Camera Moves quite fast" and "Camera moves unreasonably fast" options
 +
 +
// This macro works best on reasonably flat ground.
 +
 +
// It is tolerant of lag, but not impervious, so keep an eye on it.
 +
 +
// It might be more reliable if you have high frames per second, if you have trouble, try lowering your graphics settings.
 +
 +
// Look for comments below on how to customize
 +
 +
constants
 +
 +
// plant is the number of flax beds to plant before stopping
 +
plant = 240
 +
 +
MouseX = 0
 +
MouseY = 0
 +
 +
MouseXStart = 0
 +
MouseYStart = 0
 +
 +
cycle = 0
 +
 +
moveTime = 1400
 +
 +
end
 +
 +
call Flax
 +
 +
procedure Test
 +
 +
MousePos 100, 10
 +
Delay 300
 +
LeftClick
 +
Delay 1 sec
 +
MousePos 700, 512
 +
Call WeedAtMousePos
 +
 +
end
 +
 +
procedure Flax
 +
 +
MousePos 100, 10
 +
Delay 300
 +
LeftClick
 +
Delay 1 sec
 +
 +
while $plant >= 12
 +
 +
Call PlantFlax
 +
 +
loop 5
 +
Call MoveRight
 +
Call PlantFlax
 +
end
 +
 +
Call MoveDown
 +
Call PlantFlax
 +
 +
loop 5
 +
Call MoveLeft
 +
Call PlantFlax
 +
end
 +
 +
Delay 10000 // Delay some time because the first weeds grow more slowly than the second
 +
 +
loop cycle = 1 to 3
 +
 +
if $cycle = 1
 +
MousePos 640, 250
 +
else
 +
MousePos 540, 250
 +
end
 +
 +
Call WeedAtMousePos
 +
 +
MousePos 850, 400
 +
Call WeedAtMousePos
 +
 +
loop 3
 +
MousePos 1000, 450
 +
Call WeedAtMousePos
 +
end
 +
MousePos 980, 450
 +
Call WeedAtMousePos
 +
 +
MousePos 750, 750
 +
Call WeedAtMousePos
 +
 +
MousePos 450, 600
 +
Call WeedAtMousePos
 +
 +
loop 3
 +
MousePos 250, 550
 +
Call WeedAtMousePos
 +
end
 +
 +
MousePos 250, 550
 +
Call WeedAtMousePos
 +
end
 +
 +
Call MoveLeft
 +
Call MoveUp
 +
 +
compute $plant = $plant - 12
 +
end
 +
 +
end
 +
 +
procedure PlantGrid
 +
 +
Call PlantFlax
 +
loop 2
 +
Call MoveRight
 +
Call PlantFlax
 +
end
 +
Call MoveDown
 +
Call PlantFlax
 +
loop 2
 +
Call MoveLeft
 +
Call PlantFlax
 +
end
 +
Call MoveDown
 +
Call PlantFlax
 +
loop 2
 +
Call MoveRight
 +
Call PlantFlax
 +
end
 +
 +
end
 +
 +
procedure PlantFlax
 +
 +
MousePos 40, 40
 +
Call ClickFast
 +
Delay 800
 +
 +
end
 +
 +
procedure WeedAtMousePos
 +
 +
Compute MouseXStart = {MouseX}
 +
Compute MouseYStart = {MouseY}
 +
Compute MouseX = $MouseXStart + 7
 +
Compute MouseY = $MouseYStart - 11
 +
 +
Call ClickFast
 +
Delay 200
 +
LoadRGB $MouseX,$MouseY
 +
// Force the menu to appear if it didn't appear
 +
While {RGBRed} < 200
 +
Call ClickFast
 +
Delay 200
 +
LoadRGB $MouseX,$MouseY
 +
End
 +
 +
// Redisplay the menu until "Weed" appears
 +
Compute MouseX = $MouseXStart + 20
 +
Compute MouseY = $MouseYStart
 +
LoadRGB $MouseX,$MouseY
 +
While {RGBRed} > 0 and {RGBRed} < 120 and {RGBBlue} < 120 and {RGBGreen} < 120
 +
Call ClickFast
 +
Delay 200
 +
LoadRGB $MouseX,$MouseY
 +
End
 +
 +
// Select "Weed"
 +
Compute MouseX = $MouseXStart + 30
 +
Compute MouseY = $MouseYStart - 4
 +
Call ClickFast
 +
MousePos $MouseX, $MouseY
 +
Call ClickFast
 +
Delay 1400
 +
 +
end
 +
 +
procedure MoveUp
 +
 +
MousePos 640, 272
 +
Call ClickFast
 +
Delay $moveTime
 +
 +
end
 +
 +
procedure MoveDown
 +
 +
MousePos 640, 752
 +
Call ClickFast
 +
Delay $moveTime
 +
 +
end
 +
 +
procedure MoveLeft
 +
 +
MousePos 370, 532
 +
Call ClickFast
 +
Delay $moveTime
 +
 +
end
 +
 +
procedure MoveRight
 +
 +
MousePos 880, 512
 +
Call ClickFast
 +
Delay $moveTime
 +
 +
end
 +
 +
procedure ClickFast
 +
 +
Delay 250
 +
LeftClick
 +
Delay 50
 +
 +
end
 +
 +
</pre>

Revision as of 09:42, 5 October 2010

HOOKAH HERBS

Herb Name Flavor Aroma Verified in T4
Allbright Antiseptic Exotic Spices Verified
Aloe Mellow Moss
Altar's Blessing Spicy Pepper Verified
Anansi Spicy Sulfur Verified
Apiphenalm Woody Licorice Verified
Apothecary's Scythe Antiseptic Pine
Artemisia Antiseptic Lead Pencil
Asafoetida Mellow Pepper
Asane Bitter Sulfur
Ashoka Sweet Roasted Onions Verified
Azure Tristeria Woody Leather
Banto Hot Pepper Verified
Bay Tree Smokey Minerals Verified
Bee Balm Hot Sulfur Verified
Beetle Leaf Dry Pine Verified
Beggar's Button Spicy Licorice Verified
Bhillawa Toasty Dried Cherries
Bilimbi Mellow Pine
Bitter Florian Spicy Stewed Vegetables Verified
Black Pepper Plant Mellow Berries Verified
Blessed Mariae Hot Camel Dung
Blood Balm Hot Rotting Flesh
Blood Root Astringent Roasted Onions
Blood Blossom Toasty Licorice
Blooded Harebell Mellow Camel Dung
Bloodwort Sweet Pepper
Blue Damia Bitter Smoldering Paper
Blue Tarafern Toasty Stewed Vegetables Verified
Blueberry Tea Tree Smokey Roasted Nuts
Bluebottle Clover Antiseptic Cedar Verified
Blushing Blossom Toasty Berries
Brassy Caltrops Toasty Moss
Brown Muskerro Toasty Candy
Buckler-leaf Mellow Licorice Verified
Bull's Blood Harsh Roasted Onions
Burnt Tarragon Harsh Stewed Vegetables Verified
Butterfly Damia Bitter Camel Dung
Butterroot Antiseptic Pepper
Calabash Dry Dried Apples
Camelmint Smokey Moss
Caraway Harsh Moss Verified
Cardamom Woody Roasted Nuts Verified
Cassia Woody Cedar Verified
Chaffa Woody Pine Verified
Chatinabrae Woody Berries Verified
Chives Burnt Exotic Spices Verified
Chukkah Dry Moss
Cicada Bean Woody Smoldering Paper Verified
Cinnamon Spicy Moss Verified
Cinquefoil Smokey Berries
Cirallis Bitter Maple
Clingroot Spicy Candy
Common Basil Smokey Earth Verified
Common Rosemary Dry Exotic Spices Verified
Common Sage Mellow Camel Dung Verified
Corsacia Burnt Cedar Verified
Covage Dry Licorice Verified
Crampbark Spicy Exotic Spices Verified
Cranesbill Sweet Cedar
Creeping Black Nightshade Burnt Dried Apples
Creeping Thyme Woody Chocolate Verified
Crimson Clover Antiseptic Maple Verified
Crimson Lettuce Burnt Stewed Vegetables Verified
Crimson Nightshade Smokey Sulfur
Crimson Pipeweed Sweet Dried Apples Verified
Crimson Windleaf Toasty Pine Verified
Crumpled Leaf Basil Smokey Licorice Verified
Curly Sage Dry Smoldering Paper
Cyan Cressida Dry Rotting Flesh
Daggerleaf Toasty Maple Verified
Dalchini Burnt Pine Verified
Dameshood Dry Lead Pencil
Dank Mullien Toasty Cedar
Dark Ochoa Antiseptic Dried Cherries Verified
Dark Radish Smokey Sulfur Verified
Dark Russet Woody Dried Apples
Deadly Catsclaw Dry Minerals
Deadwood Tree Bitter Dried Apples
Death's Piping Hot Rotting Flesh
Dewplant Sweet Chocolate Verified
Digweed Burnt Berries Verified
Discorea Mellow Roasted Nuts Verified
Drapeau D'or Toasty Earth Verified
Dusty Blue Sage Mellow Rotting Flesh Verified
Dwarf Hogweed Sweet Exotic Spices Verified
Dwarf Wild Lettuce Burnt Dried Cherries Verified
Earth Apple Smokey Cedar
Elegia Bitter Moss Verified
Enchanter's Plant Antiseptic Roasted Onions
Finlow Smokey Roasted Onions
Fire Allspice Bitter Licorice
Fire Lily Spicy Dried Cherries
Fivesleaf Burnt Leather
Flaming Skirret Spicy Moss
Flander's Blossom Spicy Smoldering Paper
Fleabane Dry Roasted Nuts Verified
Fool's Agar Spicy Cedar Verified
Fumitory Harsh Chocolate
Garcinia Burnt Maple
Garlic Chives Burnt Candy
Ginger Root Mellow Licorice Verified
Ginger Taragon Harsh Dried Cherries
Ginseng Root Spicy Licorice Verified
Glechoma Antiseptic Minerals Verified
Gnemnon Spicy Berries Verified
Gokhru Spicy Rotting Flesh Verified
Golden Dubloon Sweet Maple
Golden Gladalia Astringent Dried Apple
Golden Sellia Bitter Minerals Verified
Golden Sun Spicy Rotting Flesh Verified
Golden Sweetgrass Harsh Roasted Nuts
Golden Thyme Woody Dried Cherries Verified
Gynura Mellow Earth Verified
Harebell Mellow Oak Verified
Harrow Spicy Oak Verified
Hazlewort Spicy Lead Pencil Verified
Headache Tree Spicy Camel Dung
Heartsease Hot Roasted Nuts
Hogweed Spicy Roasted Nuts Verified
Homesteader's Palm Dry Sulfur
Honey Mint Spicy Chocolate Verified
Houseleek Sweet Pine Verified
Hyssop Spicy Pine Verified
Ice Blossom Toasty Lead Pencil
Ice Mint Spicy Stewed Vegetables
Ilex Mellow Lead Pencil Verified
Indigo Damia Bitter Rotting Flesh Verified
Ipomoea Woody Camel Dung
Jagged Dewcup Mellow Maple
Jaivanti Sweet Exotic Spices Verified
Jaiyanti Sweet Candy
Joy of the Mountain Burnt Smoldering Paper
Jugwort Spicy Dried Cherries
Katako Root Harsh Pine Verified
Khokali Toasty Chocolate Verified
King's Coin Burnt Lead Pencil Verified
Lamae Harsh Cedar
Larkspur Hot Minerals
Lavender Navarre Bitter Pepper
Lavender Scented Thyme Woody Leather
Lemon Basil Smokey Lead Pencil
Lemongrass Woody Candy
Lemondrop Sweet Dried Cherries Verified
Lilia Sweet Rotting Flesh Added
Liquorice Smokey Pepper Verified
Lungclot Bitter Lead Pencil Verified
Lythrum Mellow Berries Verified
Mahonia Antiseptic Berries Verified
Malice Weed Spicy Camel Dung
Mandrake Root Spicy Pine
Maragosa Dry Earth
Mariae Spicy Earth DONE
Meadowsweet Burnt Licorice
Medicago Woody Minerals Verified
Mindanao Woody Smoldering Paper
Miniature Bamboo Woody Smoldering Paper
Miniature Lamae Harsh Maple
Mirabellis Fern Toasty Minerals Verified
Moon Aloe Dried Apple
Morpha Spicy Chocolate
Motherwort Hot Berries Verified
Mountain Mint Spicy Candy Verified
Myristica Hot Smoldering Paper Verified
Myrrh Woody Earth Verified
Naranga Dry Berries
Nubian Liquorice Woody Oak
Octec's Grace Burnt Earth
Opal Harebell Mellow Rotting Flesh Verified
Orange Niali Burnt Moss Verified
Orange Sweetgrass Harsh Minerals Verified
Orris Bitter Stewed Vegetables Verified
Pale Dhamasa Burnt Chocolate Verified
Pale Ochoa Antiseptic Chocolate
Pale Russet Woody Dried Apple
Pale Skirret Hot Sulfur Verified
Panoe Woody Chocolate
Paradise Lily
Patchouli Antiseptic Dried Apple
Peppermint Spicy Minerals
Pippali Dry Cedar
Pitcher Plant Spicy Maple Verified
Primula Woody Sulfur Verified
Prisniparni Toasty Leather
Pulmonaria Opal Burnt Candy
Purple Tintiri Dry Maple Verified
Quamash
Red Pepper Plant Mellow Pepper
Revivia Woody Roasted Onions
Rhubarb Harsh Berries
Royal Rosemary Dry Candy Verified
Rubia Sweet Stewed Vegetables
Rubydora Spicy Leather
Sacred Palm Sweet Oak
Sagar Ghota Spicy Sulfur
Sandalwood Woody Sulfur
Sandy Dustweed Dry Oak
Satsachi Astringent Stewed Vegetables
Scaley Hardwood Bitter Roasted Onions
Schisandra Woody Lead Pencil
Shrubby Basil Smokey Rotting Flesh
Shrub Sage Dry Roasted Onions
Shyama Burnt Stewed Vegetables
Shyamalata Burnt Dried Cherries
Sickly Root Woody Maple
Silvertongue Damia Bitter Roasted Nuts
Skirret Spicy Dried Apples Verified
Sky Gladalia Astringent Exotic Spices
Soapwort Smokey Camel Dung
Sorrel Woody Pine Verified
Spinach Mellow Roasted Nuts
Spinnea Harsh Oak
Squill Mellow Minerals
Steel Bladegrass Harsh Camel Dung
Stickler Hedge Sweet Roasted Onions Verified
Strawberry Tea Woody Roasted Nuts Verified
Strychnos Toasty Pepper Verified
Sugar Cane Woody Rotting Flesh Verified
Sweet Groundmaple Mellow Cedar
Sweetflower Sweet Leather Verified
Sweetgrass Harsh Smoldering Paper Verified
Sweetsop Spicy Pepper Verified
Tagetese Mellow Smoldering Paper Verified
Tamarask Harsh Candy
Tangerine Dream Dry Pepper
Thunder Plant Antiseptic Candy Verified
Thyme Woody Stewed Vegetables Verified
Tiny Clover Antiseptic Oak Verified
Trilobe Mellow Cedar
Tristeria Woody Stewed Vegetables
True Tarragon Harsh Leather Verified
Tsangto Bitter Berries Verified
Tsatso Antiseptic Leather Verified
Turtle's Shell Burnt Oak
Umber Basil Smokey Moss
Upright Ochoa Antiseptic Stewed Vegetables Verified
Vanilla Tea Tree
Verdant Squill Mellow Sulfur Verified
Verdant Two-Lobe Dry Camel Dung
Wasabi Harsh Pepper Verified
Weeping Patala Toasty Oak
White Pepper Plant Mellow Minerals Verified
Whitebelly Hot Berries Verified
Wild Garlic Woody Cedar
Wild Lettuce Burnt Chocolate Verified
Wild Onion Burnt Minerals Verified
Wild Yam Spicy Leather Verified
Wood Sage Mellow Sulfur Verified
Xanat Woody Oak
Xanosi Burnt Sulfur Verified
Yava Sweet Dried Apples
Yellow Gentian Woody Pepper
Yellow Tristeria Woody Dried Cherries
Yigory Mellow Pine Verified
Zanthoxylum Spicy Roasted Onions











AC Tools Macro:

This is Dharma's Continuous Flaxer from T3. I had to modify the mouse position for Weeding with Water/Weeding. Other than that it is unchanged. It plants 12 beds and will continue to harvest as long as you have supplies.


// Dharma's Continuous Flaxing Macro V1.1

// Set your resolution to 1280 by 1024

// Make sure your ATITD window is maximized and AC Tool is not maximized, so the ATITD title bar is visible

// Pin open your planting window and drag it to the upper left corner.

// Enter Cartagropher View and zoom all the way in.

// Turn on "Enable hotkeys on flax"

// Turn off "Camera Moves quite fast" and "Camera moves unreasonably fast" options

// This macro works best on reasonably flat ground.

// It is tolerant of lag, but not impervious, so keep an eye on it.

// It might be more reliable if you have high frames per second, if you have trouble, try lowering your graphics settings.

// Look for comments below on how to customize

constants

	// plant is the number of flax beds to plant before stopping
	plant = 240

	MouseX = 0
	MouseY = 0

	MouseXStart = 0
	MouseYStart = 0

	cycle = 0

	moveTime = 1400

end

call Flax

procedure Test

	MousePos 100, 10
	Delay 300
	LeftClick
	Delay 1 sec
	MousePos 700, 512
	Call WeedAtMousePos

end

procedure Flax

	MousePos 100, 10
	Delay 300
	LeftClick
	Delay 1 sec

	while $plant >= 12

		Call PlantFlax

		loop 5
			Call MoveRight
			Call PlantFlax
		end

		Call MoveDown
		Call PlantFlax

		loop 5
			Call MoveLeft
			Call PlantFlax
		end

		Delay 10000 // Delay some time because the first weeds grow more slowly than the second

		loop cycle = 1 to 3

			if $cycle = 1
				MousePos 640, 250
			else
				MousePos 540, 250
			end

			Call WeedAtMousePos

			MousePos 850, 400
			Call WeedAtMousePos

			loop 3
				MousePos 1000, 450
				Call WeedAtMousePos
			end
			MousePos 980, 450
			Call WeedAtMousePos

			MousePos 750, 750
			Call WeedAtMousePos

			MousePos 450, 600
			Call WeedAtMousePos

			loop 3
				MousePos 250, 550
				Call WeedAtMousePos
			end

			MousePos 250, 550
			Call WeedAtMousePos
		end

		Call MoveLeft
		Call MoveUp

		compute $plant = $plant - 12
	end

end

procedure PlantGrid

	Call PlantFlax	
	loop 2
		Call MoveRight
		Call PlantFlax	
	end
	Call MoveDown
	Call PlantFlax	
	loop 2
		Call MoveLeft
		Call PlantFlax	
	end
	Call MoveDown
	Call PlantFlax	
	loop 2
		Call MoveRight
		Call PlantFlax	
	end

end

procedure PlantFlax

		MousePos 40, 40
		Call ClickFast
		Delay 800	

end

procedure WeedAtMousePos

		Compute MouseXStart = {MouseX}
		Compute MouseYStart = {MouseY}
		Compute MouseX = $MouseXStart + 7
		Compute MouseY = $MouseYStart - 11

		Call ClickFast
		Delay 200
		LoadRGB $MouseX,$MouseY
		// Force the menu to appear if it didn't appear
		While {RGBRed} < 200
			Call ClickFast
			Delay 200
			LoadRGB $MouseX,$MouseY
		End

		// Redisplay the menu until "Weed" appears
		Compute MouseX = $MouseXStart + 20
		Compute MouseY = $MouseYStart
		LoadRGB $MouseX,$MouseY
		While {RGBRed} > 0 and {RGBRed} < 120 and {RGBBlue} < 120 and {RGBGreen} < 120
			Call ClickFast
			Delay 200
			LoadRGB $MouseX,$MouseY
		End

		// Select "Weed"
		Compute MouseX = $MouseXStart + 30
		Compute MouseY = $MouseYStart - 4
		Call ClickFast
		MousePos $MouseX, $MouseY
		Call ClickFast
		Delay 1400

end

procedure MoveUp

		MousePos 640, 272
		Call ClickFast
		Delay $moveTime

end

procedure MoveDown

		MousePos 640, 752
		Call ClickFast
		Delay $moveTime

end

procedure MoveLeft

		MousePos 370, 532
		Call ClickFast
		Delay $moveTime

end

procedure MoveRight

		MousePos 880, 512
		Call ClickFast
		Delay $moveTime

end

procedure ClickFast

		Delay 250
		LeftClick
		Delay 50

end