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:KasumiGhia/lua"

From ATITD5
Jump to navigationJump to search
 
Line 3: Line 3:
 
All these scripts are written as new scripts/files so if veggietales is updated without including these fixes/changes my scripts should keep working.
 
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.
 +
*[http://atitd.nabiki.org/chem_helperT5.lua 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.
 +
 +
* 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)
 +
*[http://atitd.nabiki.org/onions2.lua onions2.lua] (right click and save into the veggietales/luaScripts folder)
 +
 +
<br>
 +
===Already included in the latest version of VeggieTales===
 
====Generic Flax lua====
 
====Generic Flax lua====
 
This is an edit of the existing flax and flax_seeds macros to (hopefully) handle any flax seed.
 
This is an edit of the existing flax and flax_seeds macros to (hopefully) handle any flax seed.
Line 16: Line 33:
  
 
just start and use the lua´s like the original flax lua´s.
 
just start and use the lua´s like the original flax lua´s.
 
====Onions macro====
 
The below is an edited version of the onion planting macro.
 
 
* 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)
 
*[http://atitd.nabiki.org/onions2.lua onions2.lua] (right click and save into the veggietales/lua folder)
 
 
  
 
====Fixed paper_press.lua====
 
====Fixed paper_press.lua====

Latest revision as of 19:15, 27 March 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.

  • 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)
  • 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

Flaxgeneric.png Flaxgeneric.png

  • 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.

PaperLine.png PaperLine.png