Farmhand
Description
Farmhand adds dynamic buttons on the screen while you are at Sunsong Ranch.
The buttons allow quick access to the Plow, Shovel, Bug Spray and Watering Can if they are in your inventory. If you do not have a given item, there will be no button for it. Also adds buttons for seeds that are in your inventory. You can even sell unwanted seeds at a vendor without having to open your bags.
When you leave Halfhill, any tools remaining in your inventory will be dropped. You can pick them up again at the farm. (You can disable this feature.)
A special Crop Scanner tool will let you quickly find any plants you've overlooked that need special attention. (Very hand for the hard-to see Smothered and Runty plants.)
To move the buttons, hold SHIFT and drag a button with the left mouse button.
In the Interface Options panel, you can turn on/off tool dropping, turn on/off chat messages and sounds, turn on/off the portal shard buttons and control whether Farmhand automatically hides itself during combat.
I recommend using Masque (optional) to make your buttons pretty.
Localization
Farmhand has translations for all game-supported locales, but if you see a bad translation please visit the localization page and correct it. Then let me know so I can repackage the addon to pick up the changes.
Thanks to all the translators!
Translator Credits
Thanks as well to the Farmhand users who've made great suggestions:
TaraNTino
adore33
Sentinelum
@JCinDE
Okay so here's the deal. If you can't do a "starts with" type macro like the enUS one, then you need to write a /tar line for every variation of plant and ailment that you want to scan for. Yeah that's a lot of lines and wouldn't work for a normal macro, but the next build of Farmhand will support it. The scanner will detect an overly long macro and split it as necessary to allow it to run in segments. The scanner button will show 1/4 or whatever and you'll need to click it once for each segment. Not as clean and elegant as the enUS version but hey it wasn't my idea to put your words out of order. :P
So one line per plant and ailment like so: /tar le carrote de runty /tar le carrote de smuthah
Etc. (Look at me! I learned French!)
Users of the enUS translation and others that put the adjective first shouldn't see any difference in the behavior of the addon.
@Yggdresil
I'm looking into it, but I'm not sure there will be much I can do. In the meantime, try writing the macro to only target Runty and Smothered plants of each type, which are the hardest to see. Better than nothing, right?
So I just added the french locale to Farmhand :)
However, do note that the macro to search for crops/soils in need of attention won't work as adjectives are placed at the end of the crops' name. Since /tar only does partial matching from the start of it ("One Two" won't match "/tar Two"), it turns out that the crops are always looking good...
Haven't thought of a way around it yet so if you see one, I've put the translation of all possible ailments in the macro.
Thanks for the addon, it's really handy :)
Awsome time saver no more digging through the bags and guessing the number of seeds i have or missing crops that need care
Wow, Love the addon! thanks JC
Hello,
I was wondering if you might could implement this?...
/tar Tilled Soil
/use White Turnip Seeds "for example"
Once you have all your plots Tilled, you have to click to target each Tilled plot, then click the seed, then click another Tilled plot, then click a seed. If /tar Tilled Soil was put in front of each useable seed on the action bar "and you are in range of the plot" you can just keep clicking the seed you want and it will plant. I tested this out myself. Since there are 16 plots, 4 groups of 4. I just stand in the middle of 4 plots in a group and spam my macro and my toon will plant all 4 seeds without having to move, then move to next set of 4 plots. Please, please add :)
I'll look into it. My only concern is whether it would cause problems for people who want to micromanage their planting. But I can perhaps make it smart enough that if you're already targeting tilled soil that it will plant the seed there instead of doing the /tar.
v1.04b adds the feature. If you have no target, it will "/tar Tilled Soil" when you click a seed. If you already have a target, it won't do that even if the target is not tilled soil.
Scanner button has been showing fine for me, english client. Great work on this.
Yeah, I'm on the english client, but the scanner button didn't show until I just upgraded to 1.02b.
Here comes the code for th egerman "deDE" part of the localization file. All targets have been tested.
L["Crop Scanner"] = "Pflanzen-Scanner"
L["CropScannerMacro"] = '/cleartarget\n'..
'/tar Verlockende\n'..
'/tar Wilde\n'..
'/tar Verwucherte\n'..
'/tar Befallene\n'..
'/tar Ausgetrocknete\n'..
'/tar Zuckende\n'..
'/tar Bedeckte\n'..
'/tar Verk\195\188mmerte\n'..
'/tar Hartn\195\164ckiges\n'..
'/tar Beanspruchter\n'
L["Dropping"] = "Entferne"
L["Halfhill"] = "Halbh\195\188gel"
L["Leaving Halfhill."] = L["Halfhill"].." verlassen."
L["Scan your farm for crops or soil that need attention."] = "Scanne die Farm nach Boden und Pflanzen die Pflege ben\195\182tigen."
L["Sunsong Ranch"] = "Geh\195\182ft Sonnensang"
L["The crops are looking good!"] = "Die Pflanzen sehen gut aus!"
L["The Halfhill Market"] = "Der Halbh\195\188gelmarkt"
L["Tools are Locked."] = "Die Ger\195\164te sind gesperrt."
L["Tools are now |cFF00FF00Locked|r and |cFF00FF00will not|r be dropped when you leave Halfhill."] = "Die Ger\195\164te sind jetzt |cFF00FF00Gesperrt|r und |cFF00FF00werden nicht|r entfernt wenn Du den "..L["Halfhill"].." verl\195\164sst."
L["Tools are now |cFFFF0000Unlocked|r and |cFFFF0000will|r be dropped when you leave Halfhill."] = "Die Ger\195\164te sind jetzt |cFFFF0000Entsperrt|r und |cFFFF0000werden|r beim Verlassen des "..L["Halfhill"].." entfernt."
I added those to the localization page. Can you go to the localization page and verify?
v1.03b should pick them up.
Looks good to me. Sorry did not know about the translatoion page.
While reviewing I notice that unused soil that requires attention is placed last in the german macro (also in the english version if I remember well). These should be placed first as when somebody scanns the farm where he intentionally left unused soil he most probably want to know about the plants before being informed about the soil.
The current macro is this:
/tar Occupied
/tar Stubborn
/tar Infested
/tar Alluring
/tar Wild
/tar Tangled
/tar Parched
/tar Wiggling
/tar Smothered
/tar Runty
That should give precedence to Smothered and Runty plants since those are the hardest to detect at a glance (though I think Blizzard is adding a more noticeable effect for them). Occupied soil and stubborn weeds are listed first so that any other status will take priority over them.
My Wild Imps get targeted everytime
I can see how that would be annoying. Once they despawn, the scanner should work. If you really want to prevent it, you can edit the Localization.lua file and change the macro so it tries to target each of the Wild variety of plant by its full name.
BTW: The controlls are not displyed if one logs out at the farm and later logs in again.
Yes. I'm currently trying to figure that one out. When the addon loads, the zone text is blank which was causing the buttons to show up if you log in outside of Halfhill until I changed that. I'm trying to find the appropriate login event when I can be sure the zone text is available. I'll have it fixed soon.
IMHO it should be available at the PLAYER_ENTERING_WORLD event. If not I would give PLAYER_ALIVE a try.
It's supposed to be on the ZONE_CHANGED event, but that doesn't hold true at login. I took a few stabs in the dark and found that the ZONE_CHANGED_NEW_AREA event fires at login and when it does, the GetSubZoneText() function returns usable information. Everything should be working in v1.01.