CursedSliver

test

Jul 6th, 2023 (edited)
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Game.registerMod("digestiveMod",{
  2.     init:function(){
  3.         this.spritesheet=App?this.dir+"/img.png":"https://cdn.discordapp.com/attachments/1125562860257419264/1126610635103424522/gyd_spritesheet2_5_2.png"
  4.         this.createUpgrades=function(){
  5.             var base = 108*Math.pow(10, 27)
  6.             var scales = [10, 50, 500, 0, 50000, 5000000, 500000000, 500000000000, 500000000000000, 500000000000000000, 500000000000000000000, 5000000000000000000000000, 50000000000000000000000000000, 500000000000000000000000000000000, 5000000000000000000000000000000000000, 50000000000000000000000000000000000000000]
  7.             this.upgrades = []
  8.             this.upgrades.push(new Game.Upgrade('Increased digestibility',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>We put the digest in digestives!</q>',base*scales[0],[0, 0, this.spritesheet]));Game.MakeTiered(Game.last, 1);
  9.             this.upgrades.push(new Game.Upgrade('All-green preservatives',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Includes no GMOs (Green Missing Options)! Completely green! Guaranteed to preserve your food for at least 1000 years*! <br>*results may be unsatisfactory by up to 100000% reduced efficiency if used on products that are not green, in pairs of short solid cylinders, and have a round dent in the middle of each.</q>',base*scales[1],[1, 0, this.spritesheet]));Game.MakeTiered(Game.last, 2);
  10.             this.upgrades.push(new Game.Upgrade('Many, many more flavors',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Using the power of loopholes, you’ve convinced consumers that extremely marginal differences in taste between digestives are one-of-a-kind limited edition flavors, which really increases public demand.</q>',base*scales[2],[2, 0, this.spritesheet]));Game.MakeTiered(Game.last, 3);
  11.             this.upgrades.push(new Game.Upgrade('GYD coins',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Units of purchasing power far past the Euro.</q>',base*scales[4],[3, 0, this.spritesheet]));Game.MakeTiered(Game.last, 4);
  12.             this.upgrades.push(new Game.Upgrade('Survival of the fittest',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>5% Crispier, 2% luckier, and 7.3% more delicious cookies for only five times the plant casualties.</q>',base*scales[5],[4, 0, this.spritesheet]));Game.MakeTiered(Game.last, 5);
  13.             this.upgrades.push(new Game.Upgrade('Improved recipe',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Wait, we were only adding TWO DROPS of food coloring?!</q>',base*scales[6],[0, 1, this.spritesheet]));Game.MakeTiered(Game.last, 6);
  14.             this.upgrades.push(new Game.Upgrade('Environmental friendliness',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>All-natural plantations reducing the carbon footprint by -2%, which can be utilized for a better public relation, thus, more profits. (I mean, who cares about the lumps of cancerogenous ash in their digestives, anyways?)</q>',base*scales[7],[1, 1, this.spritesheet]));Game.MakeTiered(Game.last, 7);
  15.             this.upgrades.push(new Game.Upgrade('Corporate marketing',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Strategies including deception, misinformation by omission, definitely not voting fraud, and BUY OUR GREEN YEAST DIGESTIVE VALUE PACK #169 COMING OUT THIS MONTH WITH A TOTAL OF 420 NEW USELESS FEATURES!</q>',base*scales[8],[2, 1, this.spritesheet]));Game.MakeTiered(Game.last, 8);
  16.             this.upgrades.push(new Game.Upgrade('Greener yeast',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Double the green-ness, double the luckiness <br>(double the imposter syndrome)</q>',base*scales[9],[3, 1, this.spritesheet]));Game.MakeTiered(Game.last, 9);
  17.             this.upgrades.push(new Game.Upgrade('Discord moderation',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>A little bit of chaos and discord is perfectly fine for a growing garden, but too much can completely ruin it. Hiring someone to watch over your crops helps them to grow in moderation.</q>',base*scales[10],[4, 1, this.spritesheet]));Game.MakeTiered(Game.last, 10);
  18.             this.upgrades.push(new Game.Upgrade('Discord administration',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>A huge step up from Discord moderation. Administering just the right amount of discord to your garden preserves its essence whilst greatly enhancing its effects through ADMIN POWER.</q>',base*scales[11],[0, 2, this.spritesheet]));Game.MakeTiered(Game.last, 11);
  19.             this.upgrades.push(new Game.Upgrade('Sponsorships',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Getting famous people to promote digestives is great! The Yeastie Boys, the Green Roof Inn, and Digestive Harvey (just to name a few) are all spreading word of them across the globe!</q>',base*scales[12],[1, 2, this.spritesheet]));Game.MakeTiered(Game.last, 12);
  20.             this.upgrades.push(new Game.Upgrade('The Emerald Forest',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>The trees are green. The leaves are trees. The leaves drop, drop, pebbles of emerald, burrowing into the roots of yeast. The earth of yeasts grow, grow, past all bounds of reasoning, until they digest no more.</q>',base*scales[13],[2, 2, this.spritesheet]));Game.MakeTiered(Game.last, 13);
  21.             this.upgrades.push(new Game.Upgrade('Cognitive Alterations',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>The color green is merely a construct formed by humans to make sense of the world around them. Redefining green itself to encompass many more colors will allow you to sell digestives of any color, which means you don’t have to pay for food dye anymore!</q>',base*scales[14],[3, 2, this.spritesheet]));Game.MakeTiered(Game.last, 14);
  22.             this.upgrades.push(new Game.Upgrade('Rotting Digestives (but still green)',loc("Green Yeast Digestives are <b>twice</b> as efficient.")+'<q>Yes, they are from rot! Fungus from the ground! But when has that stopped us from enjoying such a delicacy!?</q>',base*scales[15],[4, 2, this.spritesheet]));Game.MakeTiered(Game.last, 15);
  23.             this.upgrades.push(new Game.Upgrade('Fortune #021',loc("Green Yeast Digestives are <b>7%</b> more efficient and <b>7%</b> cheaper.")+'<q>The yeast is always greener on the other side.</q>',base*77777777777777777777777777777,[3, 3, this.spritesheet]));Game.MakeTiered(Game.last, 'fortune');
  24.             this.upgrades.push(new Game.Upgrade('A herd of sheep',loc("Farms gain <b>+5% CpS</b> per green yeast digestive.<br>Green Yeast Digestives gain <b>+0.1% efficiency</b> per farm.")+'<q>This should hopefully prevent your crops from being overtaken by grass.</q>',base*200000,[1, 3, this.spritesheet]));Game.MakeTiered(Game.last, 'synergy1');
  25.             this.upgrades.push(new Game.Upgrade('Light wave refinements',loc("Prisms gain <b>+5% CpS</b> per green yeast digestive.<br>Green Yeast Digestives gain <b>+0.1% efficiency</b> per prism.")+'<q>The greenest green ever greened.</q>',base*200000000000,[2, 3, this.spritesheet]));Game.MakeTiered(Game.last, 'synergy2');
  26.             for(let i in this.upgrades)this.upgrades[i].won = 1;  
  27.             this.upgrades.push(new Game.Upgrade('Unshackled Green Yeast Digestives',loc("Tiered upgrades for <b>Green Yeast Digestives</b> provide an extra <b>+5%</b> efficiency.<br>Only works with unshackled upgrade tiers.")+'<q>Digest the uniqueness, savor the lucky green.</q>',Math.pow(21, 7)*15000000,[4, 3, this.spritesheet]));Game.last.pool = 'prestige';
  28.             for(let i of this.upgrades){i.order=1800;}
  29.             this.upgrades[15].order = 19001;
  30.             LocalizeUpgradesAndAchievs()
  31.         }
  32.         if(Game.ready) this.createUpgrades()
  33.         else Game.registerHook("create", this.createUpgrades)
  34.     },
  35.     save: function(){
  36.         let str = "";
  37.         return str;
  38.     },
  39.     load: function(str){
  40.  
  41.     }
  42. })
Advertisement
Add Comment
Please, Sign In to add comment