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 "Talk:Flax Seeds"

From ATITD5
Jump to navigationJump to search
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Derived stats ==
 
== Derived stats ==
  
[[User:Inkoaten|Inkoaten]] in Tale4 wrote a small script to derive some stats for each variety (the last 3 columns). Here's the source, tweak as needed..
+
[http://www.atitd.org/wiki/tale4/User:Inkoaten Inkoaten] in Tale4 wrote a small script to derive some stats for each variety (the last 3 columns). Here's the source, tweak as needed..
  
Updated with Tale5 data by [[User:KasumiGhia|KasumiGhia]] 17:46, 27 November 2010 (EST)
+
Updated with Tale5 data by [[User:KasumiGhia|KasumiGhia]]
 
<pre><nowiki>
 
<pre><nowiki>
 
#!/usr/bin/env python
 
#!/usr/bin/env python
Line 13: Line 13:
 
     ('Krae#17',  3, 0, 2, 0, 1),
 
     ('Krae#17',  3, 0, 2, 0, 1),
 
     ('Cragam#65',  2, 2, 2, 0, 1),
 
     ('Cragam#65',  2, 2, 2, 0, 1),
     ('Fez#1',  4, 1, 2, 0, 2),
+
     ('Fez#7',  4, 1, 2, 0, 2),
 +
    ('Fez#8',  3, 1, 2, 0, 1),
 +
    ('Fez#17',  2, 1, 2, 1, 0),
 +
    ('Cragam#89',  2, 2, 4, 0, 1),
 +
    ('Arcticgrey#55',  4, 1, 3, 0, 2),
 +
    ('Fez#34',  3, 1, 5, 0, 1),
 +
    ('Fez#43',  2, 1, 5, 1, 0),
 +
    ('Fez#15',  2, 0, 2, 1, 0),
 +
    ('Asheara#32',  2, 2, 5, 0, 1),
 +
    ('Asheara#59',  2, 2, 6, 0, 1),
 +
    ('dymo#65',  2, 2, 7, 0, 1),
 +
    ('dymo#68',  2, 1, 6, 1, 0),
 +
    ('Fez#95',  1, 2, 8, 1, 0),
 +
    ('Fez#100',  3, 1, 8, 0, 1),
 +
    ('Qwu#63',  2, 2, 9, 0, 1),
 
     )
 
     )
  
Line 46: Line 60:
  
 
print '|}'
 
print '|}'
</pre>
+
</nowiki></pre>

Latest revision as of 15:15, 8 December 2010

Derived stats

Inkoaten in Tale4 wrote a small script to derive some stats for each variety (the last 3 columns). Here's the source, tweak as needed..

Updated with Tale5 data by KasumiGhia

#!/usr/bin/env python

data = (
    ('Old Egypt',    1, 0, 1, 2, 0),
    ('Nile Green',   2, 0, 1, 1, 1),
    ('Krae#12',   4, 0, 1, 0, 2),
    ('Krae#17',   3, 0, 2, 0, 1),
    ('Cragam#65',   2, 2, 2, 0, 1),
    ('Fez#7',   4, 1, 2, 0, 2),
    ('Fez#8',   3, 1, 2, 0, 1),
    ('Fez#17',   2, 1, 2, 1, 0),
    ('Cragam#89',   2, 2, 4, 0, 1),
    ('Arcticgrey#55',   4, 1, 3, 0, 2),
    ('Fez#34',   3, 1, 5, 0, 1),
    ('Fez#43',   2, 1, 5, 1, 0),
    ('Fez#15',   2, 0, 2, 1, 0),
    ('Asheara#32',   2, 2, 5, 0, 1),
    ('Asheara#59',   2, 2, 6, 0, 1),
    ('dymo#65',   2, 2, 7, 0, 1),
    ('dymo#68',   2, 1, 6, 1, 0),
    ('Fez#95',   1, 2, 8, 1, 0),
    ('Fez#100',   3, 1, 8, 0, 1),
    ('Qwu#63',   2, 2, 9, 0, 1),
    )

print '{| border="1" cellspacing="0" cellpadding="5" class="wikitable sortable"'
print '! Variety !! Flax !! Rotten !! Seeds !! Weed !! Water !! Plantings/1k<br>Any type !!Seedings/1k<br>Any type !! Actions/1k<br>Any type !! Plantings/1k<br>Non-rotten !! Seedings/1k<br>Non-rotten !! Actions/1k<br>Non-rotten'


for name, flax, rf, seeds, weed, water in data:
    plantings_per_1k = 1000.0 / (flax + rf)
    weedwater_per_1k = plantings_per_1k * (weed + water)
    seedharvests_per_1k = plantings_per_1k / seeds

    # actions: plant, water/weed, harvest
    planting_actions = plantings_per_1k * (weed + water + 2)

    # actions: plant, harvest 5 times, collect -> 6*seed yield - 1 seeds
    # so approx 7/(6*seeds-1) actions per seed
    actions_per_seed = 7.0/(6.0*seeds-1)
    actions_per_1k = planting_actions + plantings_per_1k * actions_per_seed

    # The same, for non-rotten flax only (for compound expansion etc)
    nr_plantings_per_1k = 1000.0 / flax
    nr_weedwater_per_1k = nr_plantings_per_1k * (weed + water)
    nr_seedharvests_per_1k = nr_plantings_per_1k / seeds
    nr_planting_actions = nr_plantings_per_1k * (weed + water + 2)
    nr_actions_per_1k = nr_planting_actions + nr_plantings_per_1k * actions_per_seed

    name = name.replace(" "," ")

    print '|- align="center"'
    print '| align="left"|%s || %d || %d || %d || %d || %d || %.1f || %.1f || %.1f || %.1f || %.1f || %.1f' % (name, flax, rf, seeds, weed, water, plantings_per_1k, seedharvests_per_1k, actions_per_1k, nr_plantings_per_1k, nr_seedharvests_per_1k, nr_actions_per_1k)

print '|}'