The Alchemist Cookbook

Ask and answer any and all questions pertaining to Salem's game-play.

Re: The Alchemist Cookbook

Postby gnox24 » Tue May 14, 2013 5:44 pm

I found some modifier matrices for all types of meat i had in my storage. Turkey meat doesn't differentiate between wild and domesticated, because there is only one type of turkey cuts in the game. All values are calculated from Cabbage Rolls (with different cabbage types) and Lumberjack Frikadels.

The numbers differ up to the second digit behind the dot, but i'm pretty sure they can be rounded to the first digit. Probably this is due to the rounding the game does when displaying the data.

Beaver:
Code: Select all
          0.80             0             0             0
             0          1.09             0          0.49
             0             0          1.10          0.49
             0             0             0          1.20

Turkey:
Code: Select all
          1.20             0             0             0
             0          1.20             0             0
             0          1.00          1.20             0
             0             0             0          1.20

Deer:
Code: Select all
          0.80             0             0             0
             0          1.09             0          0.49
             0             0          1.10          0.49
             0             0             0          1.20

Bear:
Code: Select all
          1.20             0             0             0
             0          1.30          0.60          0.60
          0.20             0          2.00          0.50
          0.20             0             0          1.50
gnox24
 
Posts: 30
Joined: Mon Mar 25, 2013 5:29 pm

Re: The Alchemist Cookbook

Postby lachlaan » Tue May 14, 2013 9:04 pm

I just have to confess that I wasn't paying that much attention to matrix multiplication in math class, so it's more of a burden than anything to think of it that way :P Hopefully other people don't feel the same way, so that they can learn from all of our discoveries. Meanwhile I'll keep posting my results in the simple formula form xD
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2043
Joined: Tue Mar 12, 2013 3:11 pm

Re: The Alchemist Cookbook

Postby gnox24 » Wed May 15, 2013 9:20 am

There is actually not much magic ivolved ;)

If you multiply two matrices, you basically you just take all elements from the first row of the left hand matrix and multiply them with all elements of the first collumn of the right hand matrix. Sum these products togehter and you have the upper left element of the result matrix. Do this for every elements of the result matrix and you are done.

Here is an example with 2x2 matrices:
Code: Select all
A =
   1   2
   3   4

B =
   2   1
   0   2


You multiply them to get matrix C:
Code: Select all
A * B = C

C =
   c1  c2
   c3  c4

with:
c1 = 1 * 2 + 2 * 0 = 2
c2 = 1 * 1 + 2 * 2 = 5
c3 = 3 * 2 + 4 * 0 = 6
c4 = 3 * 1 + 4 * 2 = 11


The result C is than:
Code: Select all
So C =
   2   5
   6  11


I know, this might be far to much math for people who just want to play games. But if you get familiar with this concept things get pretty easy, and it becomes possible to write down complex data in a nice way.

Take your beaver meat example:
lachlaan wrote:bb1 = bb0 * 1.23 + ph0 * 0.5 + yb0 * 0.5


The values '0.5', '0.5' and '1.23' somehow correspond to the last collumn of my beaver modifier matrix. It's the same information, but written in a more compact way.
gnox24
 
Posts: 30
Joined: Mon Mar 25, 2013 5:29 pm

Re: The Alchemist Cookbook

Postby martinuzz » Wed May 15, 2013 7:04 pm

Hat's off to the math wizards at work here. Seems you're on to something. Keep up the good work.
Did Claeyt shut up yet?
WARNING: berrymash laxatives can cause your character to explode violently, after eating chymically unstable foods.
User avatar
martinuzz
 
Posts: 583
Joined: Wed Dec 19, 2012 11:38 pm

Re: The Alchemist Cookbook

Postby Procne » Thu May 16, 2013 1:28 pm

Oh come on devs, multiplying matrices?
Can't we have some simple, predictable formulas which can be used by people without the need for calculators?
Couldn't we have something as simple as "beaver meat gives 2x yellow bile and bear meat gives 2x blood with an extra 5"?

I know that in case of some ingredients those matrices have such effect, but not with all.
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: The Alchemist Cookbook

Postby gnox24 » Thu May 16, 2013 1:54 pm

I started a thread where i started creating a tool which does the calculations.

viewtopic.php?f=11&t=6583
gnox24
 
Posts: 30
Joined: Mon Mar 25, 2013 5:29 pm

Re: The Alchemist Cookbook

Postby Procne » Thu May 16, 2013 2:01 pm

Yes, from that thread I came here.
My point is that choosing ingredients shouldn't require you to run calculations in some custom tool.
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: The Alchemist Cookbook

Postby gnox24 » Thu May 16, 2013 2:14 pm

The intention behind this could be, that the actual algorithm is to complicated to simply calculate the effects. So it becomes be necessesary to develop a 'feeling' for cooking recipes - like it is in real life.

There are some so things one can learn without using math, like Bear taking mainly from salt to increase BB. Or shrooms taking from from BB to increase all values.
gnox24
 
Posts: 30
Joined: Mon Mar 25, 2013 5:29 pm

Re: The Alchemist Cookbook

Postby MagicManICT » Fri May 17, 2013 2:06 am

Procne wrote:Yes, from that thread I came here.
My point is that choosing ingredients shouldn't require you to run calculations in some custom tool.


It should be relatively simple to state that "Rabbit cuts improve humor X in recipes by Y amount" on the wiki. Exact calculations shouldn't be absolutely necessary. It's already hard enough calculating the correct humors.
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: The Alchemist Cookbook

Postby Mereni » Fri May 17, 2013 2:33 am

gnox24 wrote:There is actually not much magic involved ;)


This will help.
User avatar
Mereni
 
Posts: 1839
Joined: Fri Dec 14, 2012 8:26 am

PreviousNext

Return to Help!

Who is online

Users browsing this forum: No registered users and 14 guests