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.
Difference between revisions of "User:KasumiGhia/lua"
KasumiGhia (talk | contribs) (Created page with "==My list of modified LUA files== All these scripts are written as new scripts/files so if veggietales is updated without including these fixes/changes my scripts should keep wo...") |
KasumiGhia (talk | contribs) |
||
Line 11: | Line 11: | ||
The below is an edited version of the onion planting macro. | The below is an edited version of the onion planting macro. | ||
+ | <b>[http://atitd.nabiki.org/T6/onions2.lua onions2.lua]</b> (right click and save into the veggietales/luaScripts folder) | ||
+ | |||
+ | |||
+ | |||
+ | <b>Updates/Tweaks by [[User:KasumiGhia | KasumiGhia]]:</b> | ||
* FEATURE: Added prompting for size of area to plant, instead of requiring script editing to change | * 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. | * 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. | ||
Line 16: | Line 21: | ||
* FIX: a couple times it couldn't find the location of the new onion plant. I've added additional offsets to find it. | * 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) | * 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) | ||
− | *[http://atitd.nabiki.org/onions2.lua onions2.lua] (right click and save into the veggietales/luaScripts folder) | + | |
+ | <b>Updates/Tweaks by [[User:Cegaiel | Cegaiel]]:</b> | ||
+ | *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. | ||
+ | *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 5x5 or small grids. | ||
+ | *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. | ||
+ | |||
+ | <b>Updates/Tweaks by [[User:Taral | Taral]]:</b> | ||
+ | *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). | ||
+ | |||
+ | <b>And More By [[User:KasumiGhia | KasumiGhia]]:</b> | ||
+ | *refill water after harvest if that prevents having to refill during the watering cycle. | ||
+ | *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 | ||
+ | |||
+ | |||
+ | |||
+ | <b>[http://atitd.nabiki.org/T6/onions2.lua onions2.lua]</b> (right click and save into the veggietales/luaScripts folder) | ||
<br> | <br> | ||
+ | |||
===Already included in the latest version of VeggieTales=== | ===Already included in the latest version of VeggieTales=== | ||
====Generic Flax lua==== | ====Generic Flax lua==== |
Revision as of 19:34, 28 December 2011
My list of modified LUA files
All these scripts are written as new scripts/files so if veggietales is updated without including these fixes/changes my scripts should keep working.
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)
Onions macro
The below is an edited version of the onion planting macro.
onions2.lua (right click and save into the veggietales/luaScripts folder)
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:
- 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.
- 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 5x5 or small grids.
- 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:
- 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:
- refill water after harvest if that prevents having to refill during the watering cycle.
- 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
onions2.lua (right click and save into the veggietales/luaScripts folder)
Already included in the latest version of VeggieTales
Generic Flax lua
This is an edit of the existing flax and flax_seeds macros to (hopefully) handle any flax seed. It should handle any flax, with any number of weedings/waterings.
- you will need the following image, Save this file in the veggietales folder with the rest of the images
- here are the two flax lua, one for seeds and one for normal flax production
- Flax.generic.lua (right click and save into the veggietales/lua folder)
- Flax_seeds.generic.lua (right click and save into the veggietales/lua folder)
just start and use the lua´s like the original flax lua´s.
Fixed paper_press.lua
If you get the wood paper manufacturing skill the paper presses change in a way that breaks the paper_press.lua script. It's easy to fix. just save the following image over the current one in the veggietales folder.