The Wiki for Tale 4 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.
User:AngelRio/Flax
Rationale
Growing flax is simple. It is one of the most basic building blocks of many construction projects. Farming it in quantities, however, present a risk to the wrist and carpal tunnel due to its repetitive nature. We plan to remedy that by using both left and right hands, and minimizing the stress on the mouse-holding hand.
This was written to reduce risk of RSI, and not for growing flax while you are AFK. Other than this restriction, please feel free to modify the code, and submit changes back. Thank you.
Instructions
- Load the AHK file.
- Position the flax menu below the TimeLoc window as shown below.
- Go to overhead cartographic view (press F8 twice).
- Zoom in the closest level.
- Zoom out in 10 increments.
- Press Alt-L to freeze the zoom level.
- Start planting flax. Press the Insert key.
- Do not move the mouse at any time.
- Wait for the weeds to grow.
- Mouse over a flax bed and press the Delete or PageDown key.
- Repeat for each flax bed.
- Do not move the mouse when until the bed has been watered, weeded or harvested.
- Use the Delete key when watering, weeding or harvesting from right to left, and the PageDown key when doing it from left to right.
Notes
- Tested using 1024 x 768 resolution. If you have a different resolution, you may have to edit some of the values.
Showing your Appreciation
Donations of in-game items are certainly welcome, especially limestones. ^_^"
About AutoHotKey
I prefer using AutoHotKey since you can map certain keyboard sequences or mouse control into a "hotkey" such as Ctrl-Alt-Something, unlike with AC Tool where you need to be fast on the Alt-Tab draw. In this simple flax-growing script, we use the Insert, Delete and PageDown buttons which are not used in the game.
Code for AutoHotKey
;Plant a row of flax PlantFlax() { Loop 10 { ;Wait for the proper position Sleep, 450 ;Put a flax seed on the ground Click, 503, 55 } } ;============================================== ;Watering/Weeding/Harvesting from Left to Right PgDn:: MouseGetPos, MouseX, MouseY NewMouseX := MouseX + 40 NewMouseY := MouseY ; Click on the Flax bed Click %MouseX% %MouseY% ;Wait for the menu to show up ;;Change this to a lag-resistant implementation Sleep, 500 ;Click on the menu item to Water/Weed/Harvest Click %NewMouseX% %NewMouseY% ;Finished one bed Return ;============================================== ;Watering/Weeding/Harvesting from Right to Left Delete:: MouseGetPos, MouseX, MouseY NewMouseX := MouseX + 20 NewMouseY := MouseY ; Click on the Flax bed Click %MouseX% %MouseY% ;Wait for the menu to show up ;;Change this to a lag-resistant implementation Sleep, 500 ;Click on the menu item to Water/Weed/Harvest Click %NewMouseX% %NewMouseY% NewMouseX := NewMouseX -60 MouseMove, %NewMouseX%, %NewMouseY% ;Finished one bed Return ;============================================ ;Planting flax beds Insert:: ;Move to the right... Click, 1024, 384 PlantFlax() ;Move down a bit... Click, 585, 477 Sleep, 1000 ;Move to the left... Click, 0, 384 PlantFlax() ;Move to the center ready for weeding Click, 700, 356 ;End of Flax Planting Return