The Wiki for Tale 4 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 A Tale in the Desert
Jump to navigationJump to search
(New page: == Derived stats == I wrote a small script to derive some stats for each variety (the last 3 columns). Here's the source, tweak as needed.. <pre><nowiki> #!/usr/bin/env python data = ( ...)
 
m (→‎Derived stats: Forgot to sign that.)
Line 46: Line 46:
 
print '|}'
 
print '|}'
 
</nowiki></pre>
 
</nowiki></pre>
 +
 +
--[[User:Inkoaten|Inkoaten]] 00:27, 10 April 2009 (EST)

Revision as of 05:27, 10 April 2009

Derived stats

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

#!/usr/bin/env python

data = (
    ('Old Egypt',    2, 0, 1, 0, 1),
    ('Nile Green',   1, 1, 2, 0, 1),
    ('Ariella #8',   2, 0, 2, 1, 1),
    ('Coyan #56',    2, 0, 2, 1, 2),
    ('Coyan #77',    1, 0, 2, 2, 1),
    ('Forgiving #5', 1, 0, 2, 2, 1),
    ('Tedra #116',   0, 1, 4, 2, 3),
    ('Tedra #123',   1, 0, 3, 2, 4),
    ('Tedra #138',   0, 1, 3, 2, 5),
    ('Zaniac #37',   1, 1, 3, 1, 3),
    ('Zaniac #38',   1, 0, 2, 2, 2),
    ('Zaniac #128',  1, 1, 3, 1, 4),
    ('Zaniac #134',  1, 1, 3, 2, 2),
    ('Zaniac #163',  1, 1, 3, 2, 3),
    ('Zaniac #180',  1, 0, 3, 2, 3)
    )

print '{| border="1" cellspacing="0" cellpadding="5" class="wikitable sortable"'
print '! Variety !! Weeding !! Watering !! Yield-Flax !! Yield-Rotten Flax !! Yield-Seeds !! Plantings per 1k !! Seed-planting per 1k !! Actions per 1k'


for name, weed, water, flax, rf, seeds in data:
    plantings_per_1k = 1000.0 / (flax + rf)
    weedwater_per_1k = plantings_per_1k * (weed + water)
    seedplantings_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

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

print '|}'

--Inkoaten 00:27, 10 April 2009 (EST)