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.

User:Aiko/Thistles

From ATITD5
< User:Aiko
Revision as of 11:26, 5 December 2010 by Aiko (talk | contribs)
Jump to navigationJump to search

Current thistle request: B+C~F+N- (Shemu III-19)

Recipes:

Daytime:
0,0,0,1,33,
0,0,0,0,33,
0,0,1,0,33,
0,0,0,0,33,
0,0,0,0,33,
0,0,0,0,33,
0,0,0,0,33,
0,0,0,0,33,
0,0,1,2,33,
0,0,0,0,33,
0,0,1,0,33,
0,0,0,0,33,
0,0,0,0,33,
0,0,0,2,33,
0,0,0,0,33,
0,0,0,1,33,
0,0,1,1,33,
0,0,1,1,33,
0,0,2,0,33,
0,0,0,1,33,
0,0,0,1,33,
0,0,0,0,33,
0,0,0,1,33,
0,0,0,0,33,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,1,33,
0,0,0,0,33,
0,0,2,2,33,
0,0,0,1,99,
0,0,0,0,99,
0,0,0,0,33,
0,0,0,0,33,
0,0,0,1,33,
0,0,0,0,33,
0,0,0,1,33,
0,0,0,0,33,
0,0,0,1,33,
0,0,0,0,33,
0,0,0,1,33,
0,0,0,0,33,

Nighttime: 0,0,0,1,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,1,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,1,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,1,0,0,
0,0,1,2,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,1,0,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,0,1,0,
0,0,1,0,0,
0,0,0,3,0,
0,0,2,0,0,
0,0,0,1,0,
0,0,1,0,0,
0,0,0,1,0,
0,0,1,0,0,
0,0,0,1,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,0,0,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,0,0,0,
0,0,0,1,0,
0,0,0,2,0,
0,0,0,0,0,

How-to:

Get current request

  • look at silk worm farm to see current request. High = +, Average = ~, Low = -


Editing config_thistle.txt

  • do an /info Tribisha to see if he has listed current voids
  • open config_thistle.txt in the Veggietales folder
    • scroll down to the voids section and set the voids. Example: current void Car -> Thi means you need to set rule_Car_Thi to 0 in config_thistle.txt
  • still in config_thistle.txt, scroll down to the 'desired' section. Add the current thistle request. Example:
desired "label:Mine"
desired B-C+F+N~
  • save and close config_thistle.txt


Calculating a recipe

  • start Veggietales and choose Thistle mode. This will open a DOS window with calculations. After a few minutes, this should finish. Wait until it says 'press any key to exit' before going on to the next step.


Interpreting the result

  • go to the Veggietales folder and open history.txt
  • scroll to the end. This will have the outcome of your recipe calculations.



Example 1:

Best for B-C+F+N~:1000/18 (D)
1464  unique states in 67.2s
Met 2663/2835 possible requirements (93.9%)

The long rows of numbers in history.txt are all possible recipes. The lines at the bottom of the file will tell you which recipe is the best. In the example, the recipe that ends with a line that says 'B-C+F+N~: 18 actions' is the best recipe. The (D) means this recipe will only work during the day time (between ~9am and ~3.30pm).

Example 2:

Best for B-C+F+N~:15/18 (*)
1464  unique states in 67.2s
Met 2663/2835 possible requirements (93.9%)

The (*) means there are 2 possible recipes: one for the daytime and one for nighttime growing. The 15 in '15/18' is the number of actions for the nighttime recipe and the 18 is the daytime recipe. Scroll up in history.txt until you find a 15 actions recipe and doublecheck that the last column only shows zeros. If the last column does not show zeros, it is not a nighttime recipe and you will need to find another 15 action recipe elsewhere in the file. Similarly, you can recognise a daytime recipe because it will have 33 or 99 in the last column. For the daytime recipe, find the 18 actions recipe where the last column has no zeros but 33 or 99 only.

Example 3:

Best for B-C+F+N~:1000/1000 (-)
1464  unique states in 67.2s
Met 2663/2835 possible requirements (93.9%)

The (-) means that no recipe can be found for your current thistle request. This is probably because the voids are unfavourable. Voids change every Egypt week though so if you wait a few days you might get better voids and still be able to feed the silk worms in time.

Growing your recipe

  • Once you have identified the recipe(s) in history.txt, you will need to open thistle_custom.lua. This is easiest by opening Veggietales, choosing Lua Scripts and clicking the little 'e' in front of thistle_custom. This will open the script up in a text editor. Keep history.txt open as well, you will need it.
  • in history.txt, copy your recipe but ONLY the rows of numbers
  • in thistle_custom.lua, go to the section that starts with instructions = {
  • remove the old recipe (ie. everything between instructions = { and };)
  • paste your recipe between instructions = { and };
  • please note that you can only have ONE recipe here
  • scroll up and update local expected_gardens. Example: you have 10 gardens so it will need to say expected_gardens = 10. Do not delete the ; after the number
  • update last_sun with the state of the gardens. Lid half down = 33. Lid all the way opened = 99. Note that all your gardens need to be in the same state (Plant - adjust Sun - Abort to quickly change lids that are in the wrong position)
  • save and close thistle_custom.lua
  • pin your thistle gardens up on the screen without overlapping them
  • make sure you have as many thistle seeds in your inventory as you have gardens, and a good amount of water in jugs (ie. more than 200)
  • start thistle_custom.lua and press Shift to start the macro
  • run 1 pass only first to make sure your recipe makes the desired thistles. Once you know you are growing the right kind of thistles (Veggietales is hardly ever wrong with the recipes it calculates), you can let the macro grow big amounts of thistles for you.