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 "Guilds/Coastal Plains/Cooking/Theory"

From A Tale in the Desert
Jump to navigationJump to search
Line 96: Line 96:
 
**As a practical matter 3 additives per base would be a lot of additives, and with Cooking Skill level 5 you can use 5 bases, so 5*(3+1) = 20 which is still less than 21 but you'll never need that many different ingredients anyway.
 
**As a practical matter 3 additives per base would be a lot of additives, and with Cooking Skill level 5 you can use 5 bases, so 5*(3+1) = 20 which is still less than 21 but you'll never need that many different ingredients anyway.
 
Stats, which is just the Glazing in actual practice, determines what you'll be able to do while the recipe is in effect.
 
Stats, which is just the Glazing in actual practice, determines what you'll be able to do while the recipe is in effect.
 +
 +
== Location ==
 +
 +
The distances that we derived earlier can be regarded as the radii of circles whose location is determined by the separation, and therefore the relative location, of the Additives and Bases in a R2 space that uses seconds as the metric.
 +
 +
Huh??? OK. The dotted circles are the Doughnut Holes.
 +
[[Image:Intercepts.png|right]]
 +
 +
The analytical technique expresses the circles with equations of the form X2 + Y2 = (2R)2, solves the consequent quadratic equations for the intercepts, and connects the consequent point pairs to create a star burst pattern that visually identifies the single point, the location of the additive, that all of the circles must have in common.
 +
The distance between any two ingredients, if one of them is sufficiently potent, can be mapped onto a 2000x2000 unit plane (an R^2 space) where the units are expressed in seconds. We'll skip over the painful exercise of normalizing the R^2 space, and simply thank Quizzical for his efforts. For our purposes, the location of several base ingredients is well known, and we can use those bases as our reference points.
 +
 +
As cheap, well positioned bases, we particularly like:
 +
 +
( 499, -468) Cabbage
 +
(-582,  793) Camel Milk
 +
( 366,  615) Coconut Meat
 +
(-367, -580) Oil
 +
(- 80, -102) Garlic, which is sometimes needed if potencies are low. 
 +
*Start by determining the distance between the unknown location of the additive and the known location of the reference base.
 +
*Inscribe a circle of radius distance about the known location of the reference base. You know that the additive must lie somewhere on that circle.
 +
*Continue by determining the distance between the unknown location of the additive and the known location of a different base.
 +
*Inscribe a circle about that base.
 +
*We'll duck some lovely geometrical proofs, and simply state that the inscribed circles will have exactly two points in common.
 +
*Draw a line between those two points.
 +
*Do it some more and you'll get the following Starburst pattern.
 +
[[Image:Zanthoxylum.png]]
 +
 +
Take particular note that Zanthoxylum is collinear with Coconut Meat and Oil, and that the associated chord is therefore a very short line. We'll discuss collinearity, and tangent circles, in more detail when we get to calibration.

Revision as of 09:00, 10 January 2009

Back to cooking

Information from Tale 3:

Consider a Glazed Doughnut

In the middle of the Glazed Doughnut there's a hole that contributes nothing, but if the hole gets too large, you won't have a doughnut any more.

The Doughnut provides most of the bulk, and a bit of the flavor.

The Glazing provides most of the flavor, and a bit of the bulk.

Cooking works that way too!

  • The radius of each base "doughnut" is always exactly 1000 seconds of duration (16.6 minutes).
  • The distance between a Base and an Additive (measured in seconds of duration), determines the size of the hole.
    • The size of the base "doughnut" that's left, after you remove the hole, provides most of the bulk and a bit of the potency.
  • The flavor of each additive "glaze" provides most of the potency and a bit of the bulk.

Servings

Your cooking skill level determines the number of Bases that you can use in a recipe, one Base per cooking level. If the number of bases in a recipe exceeds your cooking skill level, you will get muddled results. There are 7 ingredients per serving, and the general formula is Servings = (Na + Nb) modulo 7, where Na is the number of Additive Ingredients and Nb is the number of Base Ingredients. In a typical production recipe there will be one Additive Ingredient per Base, and 7s-1 of each Base ingredient where S is the total number of servings per Base. In other words, a level 5 cook might cook 5*(Na+34Nb)/7 servings, for a recipe with 5 different Additives each paired with an effective Base, which would yield 5*35/7=25 servings.

If your Gastronomy level is 7 or more, from eating Masterpiece Recipes, you will have a Critically Evaluate this Food menu on the kitchen, that will indicate the integer Duration (to the nearest second) and the integer Stats for that recipe.


Duration

The duration formulas, for a two ingredient recipe, are:

  • Duration = Additive Boost + Base Bulk
    • Additive Boost, or simply boost is a proportional part of the potency of the additive.
      • If the recipe is 1:6 Additive:Base, then the Additive Boost will be Additive Potency * 1/7.
      • If the recipe is 1:13 Additive:Base, then the Additive Boost will be Additive Potency * 1/14.
      • If you know the duration difference between two recipes that vary only by ratio, you can back out the effect of the Base Bulk, and thereby isolate a hypothetical value for pure potency, even though the value can never be directly measured.
      • Potency fluctuates inversely with usage and perhaps with inventory. Rare herbs are therefore more potent than common ingredients and, to preserve their potency, should only be used as additives. (Don't use Oyster Meat as a base.)
  • Boost = Potency * Na/(Na+Nb), where Na and Nb indicate the units of the same Additive and the same Base.
    • Na < Nb, as their relative amount is what determines their role in a recipe. (Only use Copper Pots.)
  • Bulk = Duration - Boost
  • Distance = 1000 - Bulk

If you use multiple different additives per base, and it's all determined based on distance whether you intended it that way or not, you'll kill your duration.

  • MultipleDiffAdditiveBulk = 1000/Ndiffa^2 - Distance/Ndiffa, where diff indicates different additives that are associated with a base.
    • If there is only one additive, the equation collapses to Bulk = 1000 - Distance.
    • The consequent durations are added together, so if the Additives are at about the same distance the equation collapses to Bulk = 1000/Na - Daverage, so you can't possibly increase your duration by using multiple different additive.
  • If you use more than one of a particular additive, it does increase the duration. If you use three units of a rare herb and 4 units of a seldom used base, you'd get nearly three times the duration, but only one serving.
    • Don't go there unless you are tuning a recipe to be a possible masterpiece. One unit of a rare herb is just as potent as three units of that same herb, and you wouldn't get poor nearly as fast if you made a huge recipe, say 1 additive and 104 of the base ingredient = 105/7 = 15 servings, and ate more often. At cooking level 5 you can easily get 80 minutes of duration with a single additive per base, and that's plenty of time for most activities.
    • Using multiples of rare herbs, even if you could afford it, would be a bad idea anyway as the potency of the herb would drop very rapidly, and you'd have ruined that herb for everybody.

Recipes will spoil after a few days. Each Pyramid of Renewal adds 2 days, Salt adds 2 days, and the recipe itself adds two days. That's a maximum of 18 days, but we're not there just yet.

Duration, which is just the Doughnut in actual practice, determines how long a recipe will effect your performance statistics.

Performance Stats

Each recipe also provides an overall performance decrease/neutral/increase in each stat. Although there are seven different stats they are independent of each other. The only variables that effect the statistics are:

  • The potency of the additive (important)
  • The potency * 1/9 of the base (trivial)
  • The characteristics of each ingredient, which are one of three multipliers (-1, 0, 1) for each stat.

Each ingredient provides a different combination of stats, so the Art of Cooking lies in selecting a combination of ingredients that will provide you with the desired performance, without killing your duration or your pocketbook.

  • Str = Strength (Safari: Debens of carry weight, mining, cement, grinding, pumping, coconuts)
  • Dex = Dexterity (Acrobatics: Debens of carry bulk, off-road velocity)
  • End = Endurance (Oyster Catcher: Flax processing, digging, pumping, cement)
  • Spd = Speed (Cicada: On-road velocity, fishing, beekeeping)
  • Con = Constitution(none: Smoking, toxin lab, chemistry lab)
  • Foc = Focus (none: Tooth limestone prospecting, carving, dowsing)
  • Per = Perception (Food, Wine, Beer, Fumeology: Tapping, gathering wood, dowsing, mining)
  • There's a complete listing at Stats.

Going back to our doughnut analogy, when you eat the doughnut the bulk and the glazing all get mushed together, and flavor, rather than size, becomes the important factor.

  • Stat = Sqrt(Sum( Potency/17.2 * Bulk/1000 )), where each stat for each Additive:Base pairing is considered separately.
    • Potency is scaled by a factor of 1/17.2 (The scaling factor might be a bit more or a bit less than 17.2, and Teppy may be messing with it to control game balance.)
      • If an ingredient is being used as a base, its potency is further scaled by a factor of 1/9. The square root of 1/9 is only 1/3, so this isn't as bad as it sounds.
    • Bulk is a characteristic of the pair. Bulk has no meaning for a single ingredient.
      • If bulk <= 0, you will get 0 as the Stat contribution, Teppy took away our negative duration feedback, but you may still get a positive duration if your Additives provide enough of a kick.
    • The contribution from each Additive:Base pair (we have to give up on our doughnut analogy at this point) is then separately multiplied by the characteristic (-1, 0, 1) of each Stat for each separate ingredient, and then the contributions are accumulated in a separate register for each Stat. That's the summation part.
      • Oyster Meat is unique in that it has a +2 multiplier for Endurance. Please don't ever use Oyster Meat as a base. It's far too valuable as an END Boost for Aqueduct Pumps, Clinker Vats, Barrel Grinders, etc, etc, etc, for it's potency to be killed by using it as a base. Sadly, the potency of Oyster Meat is already down to 1582, so we may have already lost this battle.
    • The sign of the accumulated contributions is retained, but only the signed square root of the magnitude is carried forward.
      • Rare herbs aren't as wonderful as they might seem. Herbs really take a hit when the signed square root is calculated.
      • Mushrooms and common herbs hold up quite nicely.
    • The square root of the accumulated contributions is then tinkered a bit.
      • Add 1.2 if the value is negative.
      • Add 0.5 if the value is positive and the ingredient is being used as a base.
      • Add 0.2 if the value is positive and the ingredient is being used as an additive.
      • Our testing technique, wherein we analyze a 1/14th portion of the hypothetical potency, and then multiply by 14, gives potencies that are in multiples of 14. That's OK for most purposes, but if you want to be precise, you'll need finer granularity.
    • Now truncate the stat values. Only the truncated value is retained, so a bite of the recipe will only have an integer effect on your stats.
  • If you are using multiple different additives per base (or if you screw up), the worst bulk is used for that base and every associated additive. Otherwise, the contribution of the base is tossed into the same discrete hoppers as everything else.
    • Multiple additives, however, will kill your duration.
  • Your current cooking level limits the number of bases that you can use. If you use more bases than your current level, everything becomes muddled.
  • Bases are defined as the set of ingredients that have the same quantity as the maximum for any single ingredient. Be careful! Verify any critical recipe before you cook it, and don't accidentally use the nerfed Iron Cooking Pot. If you accidentally add just one more item to a base, everything else suddenly becomes an additive.
    • Only 21 different ingredients are allowed in a recipe.
    • As a practical matter 3 additives per base would be a lot of additives, and with Cooking Skill level 5 you can use 5 bases, so 5*(3+1) = 20 which is still less than 21 but you'll never need that many different ingredients anyway.

Stats, which is just the Glazing in actual practice, determines what you'll be able to do while the recipe is in effect.

Location

The distances that we derived earlier can be regarded as the radii of circles whose location is determined by the separation, and therefore the relative location, of the Additives and Bases in a R2 space that uses seconds as the metric.

Huh??? OK. The dotted circles are the Doughnut Holes.

Intercepts.png

The analytical technique expresses the circles with equations of the form X2 + Y2 = (2R)2, solves the consequent quadratic equations for the intercepts, and connects the consequent point pairs to create a star burst pattern that visually identifies the single point, the location of the additive, that all of the circles must have in common. The distance between any two ingredients, if one of them is sufficiently potent, can be mapped onto a 2000x2000 unit plane (an R^2 space) where the units are expressed in seconds. We'll skip over the painful exercise of normalizing the R^2 space, and simply thank Quizzical for his efforts. For our purposes, the location of several base ingredients is well known, and we can use those bases as our reference points.

As cheap, well positioned bases, we particularly like:

( 499, -468) Cabbage
(-582,  793) Camel Milk
( 366,  615) Coconut Meat
(-367, -580) Oil
(- 80, -102) Garlic, which is sometimes needed if potencies are low.  
  • Start by determining the distance between the unknown location of the additive and the known location of the reference base.
  • Inscribe a circle of radius distance about the known location of the reference base. You know that the additive must lie somewhere on that circle.
  • Continue by determining the distance between the unknown location of the additive and the known location of a different base.
  • Inscribe a circle about that base.
  • We'll duck some lovely geometrical proofs, and simply state that the inscribed circles will have exactly two points in common.
  • Draw a line between those two points.
  • Do it some more and you'll get the following Starburst pattern.

Zanthoxylum.png

Take particular note that Zanthoxylum is collinear with Coconut Meat and Oil, and that the associated chord is therefore a very short line. We'll discuss collinearity, and tangent circles, in more detail when we get to calibration.