Line 9: |
Line 9: |
| | | |
| =Construction Types= | | =Construction Types= |
| + | Two types of ship construction are possible, "Normal Construction" and "Large Ship Construction" (LSC), the former being the most used and cheaper one, and the later being the most expensive with the greatest results. |
| + | |
| ==Normal Construction== | | ==Normal Construction== |
| '''"Normal Construction"''' is the basic construction method. Recipes range from 30-999 fuel {{Fuel}}, ammo {{Ammo}}, steel {{Steel}} and bauxite {{Bauxite}} and each attempt costs 1 development material {{DM}}. Speeding up construction costs 1 instant construction {{IC}}. | | '''"Normal Construction"''' is the basic construction method. Recipes range from 30-999 fuel {{Fuel}}, ammo {{Ammo}}, steel {{Steel}} and bauxite {{Bauxite}} and each attempt costs 1 development material {{DM}}. Speeding up construction costs 1 instant construction {{IC}}. |
Line 22: |
Line 24: |
| *Note: The check is done from top to bottom, if the requirements of multiple pools are fulfilled, only the topmost one is used. | | *Note: The check is done from top to bottom, if the requirements of multiple pools are fulfilled, only the topmost one is used. |
| | | |
− | The constructed ship is selected in the pool by a value we call <math>ID</math> which can go from 1 to 100. It is calculated by substating two random value <math>Rand_1</math> and <math>Rand_2</math>. | + | The constructed ship is selected in the pool by a value called "<math>ID</math>" which can go from 1 to 100, calculated by substating two random values: |
| | | |
| {|class="wikitable mw-collapsible mw-collapsed" width="100%" | | {|class="wikitable mw-collapsible mw-collapsed" width="100%" |
Line 29: |
Line 31: |
| | | | | |
| {|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 [0 ; 100] - Rand [0 ; Res - 1]</math> |
| |} | | |} |
| | | |
| ;With | | ;With |
− | *<math>Rand_1</math> a random number between 0 and 100, | + | *<math>Rand</math> the function returning a random whole number between its boundaries, included, |
− | *<math>Rand_2</math> a random number generated between 0 and <math>Res-1</math>. | + | *<math>Res</math> a whole number that is incremented by having low/high resource inputs of certain types, defined below, |
− | In case value ID becomes 0 or negative, the value will be converted back into a positive value and incremented by 2:
| + | **The resources used to increment this value depend on the pool that has been selected. |
− | |-
| + | 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 44: |
| *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{| Ammo-400 |}{25} \Bigg\rceil + \Bigg\lceil \frac{| 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{| Ammo-200 |}{13} \Bigg\rceil + \Bigg\lceil \frac{| 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{| Fuel-100 |}{10} \Bigg\rceil + \Bigg\lceil \frac{| 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,
| + | |
− | **51 is its maximum possible value.
| |
− | **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== |