Line 29: |
Line 29: |
| | | | | |
| {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | | {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" |
− | |valign="center"| <math>ID=Rand_1-Rand_2</math> | + | |valign="center"| <math>ID=Rand_1-Rand_2</math> |
| |} | | |} |
| | | |
| ;With | | ;With |
− | *<math>Rand_1</math> a random number between 0 and 100, | + | *<math>Rand_1</math> a random whole number between 0 and 100 included, |
− | *<math>Rand_2</math> a random number generated between 0 and <math>Res-1</math>. | + | *<math>Rand_2</math> a random whole number generated between 0 and <math>Res - 1</math> included. |
− | In case value ID becomes 0 or negative, the value will be converted back into a positive value and incremented by 2: | + | In case <math>ID</math> is 0 or negative, the value will be converted back into a positive value and incremented by 2. |
− | |-
| |
− | |
| |
− | ;Note
| |
− | Every random function here give a random whole number between ''A'' and ''B'' with ''A'' and ''B'' included
| |
| |- | | |- |
| | | | | |
Line 45: |
Line 41: |
| *Pool 1: {{Steel}} {{Bauxite}} | | *Pool 1: {{Steel}} {{Bauxite}} |
| {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | | {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" |
− | |valign="center"| <math>Res=MAX \Bigg( abs \Big( \Bigg\lceil \frac{Steel-400}{25} \Bigg\rceil + \Bigg\lceil \frac{Baux-300}{20} \Bigg\rceil \Big); 51\Bigg)</math> | + | |valign="center"| <math>Res=MAX \Bigg( \Bigg| \Bigg\lceil \frac{Steel-400}{25} \Bigg\rceil + \Bigg\lceil \frac{Baux-300}{20} \Bigg\rceil \Bigg| ; 51\Bigg)</math> |
| |} | | |} |
− |
| |
| | | |
| *Pool 2: {{Ammo}} {{Steel}} | | *Pool 2: {{Ammo}} {{Steel}} |
| {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | | {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" |
− | |valign="center"| <math>Res=MAX \Bigg( abs \Big( \Bigg\lceil \frac{abs(Ammo-400)}{25} \Bigg\rceil + \Bigg\lceil \frac{abs(Steel-600)}{30} \Bigg\rceil \Big); 51\Bigg)</math> | + | |valign="center"| <math>Res=MAX \Bigg( \Bigg| \Bigg\lceil \frac{abs(Ammo-400)}{25} \Bigg\rceil + \Bigg\lceil \frac{abs(Steel-600)}{30} \Bigg\rceil \Bigg| ; 51\Bigg)</math> |
| |} | | |} |
− |
| |
| | | |
| *Pool 3: {{Ammo}} {{Steel}} | | *Pool 3: {{Ammo}} {{Steel}} |
| {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | | {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" |
− | |valign="center"| <math>Res=MAX \Bigg( abs \Big( \Bigg\lceil \frac{abs(Ammo-200)}{13} \Bigg\rceil + \Bigg\lceil \frac{abs(Steel-200)}{20} \Bigg\rceil \Big); 51\Bigg)</math> | + | |valign="center"| <math>Res=MAX \Bigg( \Bigg| \Bigg\lceil \frac{abs(Ammo-200)}{13} \Bigg\rceil + \Bigg\lceil \frac{abs(Steel-200)}{20} \Bigg\rceil \Bigg| ; 51\Bigg)</math> |
| |} | | |} |
− |
| |
| | | |
| *Pool 4: {{Fuel}} {{Steel}} | | *Pool 4: {{Fuel}} {{Steel}} |
| {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" | | {|style="padding:10px; margin:20px; border:1px solid orange; border-radius:10px" |
− | |valign="center"| <math>Res=MAX \Bigg( abs \Big( \Bigg\lceil \frac{abs(Fuel-100)}{10} \Bigg\rceil + \Bigg\lceil \frac{abs(Steel-30)}{15} \Bigg\rceil \Big); 51\Bigg)</math> | + | |valign="center"| <math>Res=MAX \Bigg( \Bigg| \Bigg\lceil \frac{abs(Fuel-100)}{10} \Bigg\rceil + \Bigg\lceil \frac{abs(Steel-30)}{15} \Bigg\rceil \Bigg| ; 51\Bigg)</math> |
| |} | | |} |
| | | |
| ;With | | ;With |
| *<math>Res</math> a number that can be incremented by having low/high resource inputs of certain types, | | *<math>Res</math> a number that can be incremented by having low/high resource inputs of certain types, |
− | **51 is its maximum possible value.
| |
| **The resources used to increment this value depend on the pool that has been selected. | | **The resources used to increment this value depend on the pool that has been selected. |
− | *<math>\lceil x \rceil</math> is the function ceiling which round decimals upwards
| |
− | *<math>abs</math> is the function absolute, which always return the number positive.
| |
| [https://tsundb.kc3.moe/construction] | | [https://tsundb.kc3.moe/construction] |
| |} | | |} |
| | | |
− | ;Pratical conclusion | + | ;Pratical Conclusion |
− | * Only 2 resource will have an effect depending of the pool. Changing the two other will ahve no effect as long as it doesn't change the pool. | + | * Only 2 resources will have an effect depending on the pool. Changing the two others will have no effect as long as it does not change the pool. |
− | * On the two resource that have an effect one have a bigger effect than the other. | + | * Of the two resources that have an effect, one has a bigger effect than the other. |
− | ** the effect is capped, above a certain threshold increasing the resources further won't have any effect. | + | ** The effect is capped, above a certain threshold increasing the resources further will not have any effect. |
− | * The effect of changing resources will increase the drop of some ship by reducing the drop of others. | + | * The effect of changing resources will increase the drop of some ships by reducing the drop of others. |
| | | |
| ==Large Ship Construction== | | ==Large Ship Construction== |