Skip to content

Instantly share code, notes, and snippets.

=heropool.Buckle.col.k.n.Adept.img.332z8a2A573L7562km000FqmBmgnbbc9ajabqheBplxkgDurb96yrn4AihhogDtqpledDwDvalYgYHkgriiM998Q8b=AkM8bcYLc8K8bc%A46eckIz9YL4S6Iaz%A4Vk1azc4LSiui2a1z8cA4TuCi26190ch46gUi36180ag3h46nmj2ia1z8w24c36oqoac4qJz85c52qyo6cqyoIz8c2g4Esem8SG8J80zc4SsS4s8Mz4W4eNz64Ug46Nw%43B4cO8d6ce3egPkd68cfeR0d8P.hp.4.sd.18-1:18-1:76-1:76-1:15-1:15-1.abilitydata.(statue.sd.32-2:0-0:0-0:0-0:76-3:0-0.n.push.i.ritemx.132fb.part.1.img.286000s65Ae9Ri7v98Ume28gw58ow08jpwgoHog8grhchw38w838w81)+Buckle.col.k.hsv.-20:-40:20.n.Kinetic.img.2kn000FqmvieAlgBplqhekccogDDurpddihhead457tqpyroDwDf79YgYClpc6pHkgriivalTT1cZYSaY=7Qa5=%86PY=72e26NaY=2eUeNaY%Ugqg2cMaY73e2qygACMaZ4Wg3iM4356cpsh2oNc26a3iloc4okNm7a72kukc4kuOa246Ee8swUGOmca6UeU8ePmc8X29Pmci8W48cPcjc8UI8aQma4ca8384Sbiwa98T0bmR.sd.76-2:39-2:0-0:0-0:56-2:0-0.abilitydata.(statue.sd.39-4:0-0:0-0:0-0:76-3:0-0.n.topple.i.ritemx.132fb.part.1.img.32238g3403o287000labZreKg9=UGh17t870x6xE82E8E38138i803M8ogo49p4809482)+Buckle.col.k.hsv.-20:-40:20.n.Pyro.img.2kr000u98Fqmwdcnbbqhe
@Grimy
Grimy / salt.md
Last active February 10, 2018 14:24

Preservative Salt in 23 cycles — An analysis

Overview

[gif] Preservative Salt in 23 cycles

There’s… a lot of things happening, here. The first thing to notice is that this solution actually consists of two independent pipelines. The main one can reach a throughput of 1:3, while the slow one makes a single output out of the leftovers of the main pipeline. This is inspired by the “odd one out” designs of /u/biggiemac42 (Wakefulness Potion, Universal Solvent, Wheel Representation).

// Amount of Helium awarded at the end of the given zone.
function zone_helium(z, lead) {
let level = (z - 19) * 1.35;
let base = z >= 151 ? 10 : z >= 59 ? 5 : 1;
let reward = Math.round(base * Math.pow(1.23, Math.sqrt(level))) + Math.round(base * level);
reward *= lead && (z % 2 == 1) ? 2 : 1;
return reward * Math.pow(1.005, z);
}
// Total helium from a run up to the given zone