Space Elevator: Difference between revisions

mNo edit summary
Line 115:
When multiple recipes have the same input and you have the distance set to a value that they share, the module will pick a random one, taking the recipes weights into consideration.
 
When the mining module randomly selects a recipe based on Distance and Weight, it will calculate its output and time using the following formula:
The output chance is calculated as follows:
min((50% + 10% * (plasmaTier - 1) * (2 - overdrive)), 75%)
 
Let <nowiki>$p = \min((0.5 + 0.1 \times (\mathrm{PT} - 1)) \times (2 - \mathrm{OD}), 0.75) $ </nowiki>,PT=PlasmaTier,Helium Plasma=1,Bismuth Plasma=2,Radon Plasma=3;OD=overdrive
The recipe time is calculated as follows:
 
max((1 - 0.1 * (plasmaTier - 1)) / overdrive, 0.5) * recipeTime
Expected output:<nowiki>$e = p\times \mathrm{maxSize} + (1-p)\times \mathrm{minSize} $</nowiki>
 
Time:<nowiki>$t = \max([1 - 0.1 \times (\mathrm{PT} - 1)] / \mathrm{OD}, 0.5)\times \mathrm{RT}$</nowiki>,RT=recipeTime,PT=PlasmaTier,OD=overdrive
7

edits