Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function read_save() {
- localStorage.zone || ($("#zone").value = game.stats.highestVoidMap.valueTotal || game.global.highestLevelCleared);
- var a = input("zone");
- localStorage.preset || ($$("#preset > *").forEach(function(a) {
- a.selected = parseInt(a.innerHTML.replace("z", "")) < game.global.highestLevelCleared
- }), auto_preset());
- var b = game.global.heliumLeftover;
- /* for (var c in game.portal) b += game.portal[c].heliumSpent; */
- for (var c in game.portal) {var ths=0; game.portal[c].hasOwnProperty('heliumSpent')? ths = game.portal[c].heliumSpent : 0; b += ths};
- var d = Object.keys(game.portal).filter(function(a) {
- return !game.portal[a].locked
- });
- game.global.canRespecPerks || (d = d.map(function(a) {
- return a + ">" + game.portal[a].level
- }));
- /* var e = mastery("turkimp4") ? 1 : mastery("turkimp3") ? .6 : mastery("turkimp2") ? .4 : mastery("turkimp") ? .3 : .25, */
- var e = mastery("turkimp2") ? 1 : mastery("turkimp") ? .4 : .25,
- f = 1 + e,
- g = 1 + .333 * e,
- h = min(floor((a - 101) / 100), game.global.spiresCompleted);
- g *= 100 > a ? .7 : 1 + (mastery("stillRowing") ? .3 : .2) * h;
- for (var i = 27 * game.unlocks.imps.Jestimp + 15 * game.unlocks.imps.Chronoimp, j = 60 > a ? 0 : 85 > a ? 7 : 160 > a ? 10 : 185 > a ? 14 : 20, k = 0, l = game.global.StaffEquipped.mods || []; k < l.length; k++) {
- var m = l[k];
- "MinerSpeed" === m[0] ? f *= 1 + .01 * m[1] : "metalDrop" === m[0] && (g *= 1 + .01 * m[1])
- }
- jobless ? f = 0 : i += (mastery("mapLoot2") ? 5 : 4) * j, update_dg(), $("#helium").value = b + ($("#respec").checked ? 0 : game.resources.helium.owned), $("#unlocks").value = d.join(","), $("#whipimp").checked = game.unlocks.imps.Whipimp, $("#magnimp").checked = game.unlocks.imps.Magnimp, $("#tauntimp").checked = game.unlocks.imps.Tauntimp, $("#venimp").checked = game.unlocks.imps.Venimp, $("#chronojest").value = prettify(i), $("#prod").value = prettify(f), $("#loot").value = prettify(g), $("#breed-timer").value = prettify(mastery("patience") ? 45 : 30)
- }
Advertisement
Add Comment
Please, Sign In to add comment