The Wiki for Tale 6 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:KasumiGhia/lua
From ATITD6
Jump to navigationJump to searchMy list of modified Veggietales Macros
All these scripts are written as new scripts/files so if veggietales is updated without including these fixes/changes my scripts should keep working.
Onions macro
The below is an edited version of the onion planting macro.
- extract the archive to the VeggieTales directory. Image should end up in the top level, the script in the lua directory.
Updates/Tweaks by KasumiGhia:
- FEATURE: Added prompting for size of area to plant, instead of requiring script editing to change
- FEATURE: If you claim to have enough jugs to handle the entire planting, it will assume they're already filled, and that it doesn't need to refill them. This allows you to plant at a distance from water.
- FIX: if slate shows up it will move the fill water icon, causing the original script to error. This version figures out the location of the icon each time to avoid this. (I think this is working, but I'm not 100% sure, it hasn't happened again for me yet)
- FIX: a couple times it couldn't find the location of the new onion plant. I've added additional offsets to find it.
- FIX: The script didn't move back to the starting point correctly, so it ended up walking out of the plantable area. I fixed it so it moves back closer to the right place. (still not perfect though)
Updates/Tweaks by Cegaiel:
- FEATURE: Will now refresh the plant window, after harvesting.
- This is in case you used all your seeds during planting which makes the plant window to be blank (as there are no more seeds in inventory after you planted your last seed).
- By refreshing the plant window after harvesting, it will not cause an error (Plant window not found) on 2nd and subsequent passes.
- FIX: screen_refresh_time changed from 100 to 300, to help prevent pin up problems on slower computers. This doesn't need to be so fast as the game doesn't really keep up anyways on 4x4 or smaller grids.
- FIX: Added instructions in the script that 'Right click Pins/Unpins a Menu' must be ON and 'Right click opens a Menu as pinned' must be OFF.
Updates/Tweaks by Taral:
- FIX: Found/corrected minor bug where the 'fill jugs' routine was off by 1.
- If you claim to have enough jugs it is not suppose to ask to refill jugs, at beginning. However this was off by one (ie if you said you have 60 jugs AND if your grid required 60 jugs, you would be required to enter 61 jugs to not force you to refill jugs at beginning).
- Also condensed my 3 lines of updated code, into 1 line of code (refresh plant window routine).
And More By KasumiGhia:
- FIX: refill water after harvest if that prevents having to refill during the watering cycle. (So it's faster during the critical time)
- FIX: Run faster if the user selects a large number of plantings. I can successfully run a 20 plant area. The previous version starts failing at around 15.
- Sets screen_refresh_time back to 100 if >9 plots
- Sets refocus_click_time to 100 if >9 plots
- Sets refocus_click_time to 50 if >16 plots
- FEATURE: If you have a sheep pen pined open, it'll put all your onions in it at the end of every harvest cycle.
- Install the images in the top level of the VeggieTales directory and the script into the luaScripts directory. (You should be able to just extract the archive to the VeggieTales directory. I think I've got everything set correctly.)
For T5 only, not yet useful on T6
chem_helperT5.lua
- chem_helper.lua updated with all the T5 essence values I could find.
- chem_helperT5.lua (right click and save into the veggietales/luaScripts folder)