Skip to content

Instantly share code, notes, and snippets.

@hobodave
Last active November 21, 2016 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hobodave/7014028 to your computer and use it in GitHub Desktop.
Save hobodave/7014028 to your computer and use it in GitHub Desktop.
new Game.Object('Waste reclamation plant', 'waste reclamation plant|waste reclamation plants|reclaimed', 'Reclaims cookies from human waste.', 'farm', 'farmIcon', 'farmBackground', 999999999999999, function() {
return Game.ComputeCps(6249999999, Game.Has('Chunky waste') * 624999999, Game.Has('Liquid waste') + Game.Has('Mixed waste') + Game.Has('Metamucil') + Game.Has('Real time collection'));
}, Game.NewDrawFunction(0, 0, 64, 64, 1), function() {
if (this.amount >= 1) Game.Unlock(['Chunky waste', 'Liquid waste']);
if (this.amount >= 10) Game.Unlock('Mixed waste');
if (this.amount >= 50) Game.Unlock('Metamucil');
if (this.amount >= 100) Game.Unlock('Real time collection');
});
Game.Objects['Waste reclamation plant'].displayName = '<span style="font-size:55%;">Waste reclamation plant</span>'; //shrink the name since it's so large
var tier1=10;
var tier2=100;
var tier3=1000;
var tier4=50000;
var tier5=1000000;
var order = 1100;
// new Game.Upgrade('name', 'desc', price, 'icon', buyFunction);
new Game.Upgrade('Chunky waste', 'Waste reclamation plants gain <b>+624999999</b> base CpS.<q>Corn!</q>', Game.Objects['Waste reclamation plant'].basePrice*tier1, [13,0]);
new Game.Upgrade('Liquid waste', 'Waste reclamation plants are <b>twice</b> as efficient.<q>Drip drip.</q>', Game.Objects['Waste reclamation plant'].basePrice*tier2, [13,0]);
new Game.Upgrade('Mixed waste', 'Waste reclamation plants are <b>twice</b> as efficient.<q>Watch your step!</q>', Game.Objects['Waste reclamation plant'].basePrice*tier3, [13,1]);
new Game.Upgrade('Metamucil', 'Waste reclamation plants are <b>twice</b> as efficient.<q>Stay home today.</q>', Game.Objects['Waste reclamation plant'].basePrice*tier4, [13,2]);
new Game.Upgrade('Real time collection', 'Waste reclamation plants are <b>twice</b> as efficient.<q>Knock knock.</q>', Game.Objects['Waste reclamation plant'].basePrice*tier5, [13,13]);
Game.RebuildStore();
@andrewvaughan
Copy link

Heavenly cookies don't stay when you refresh.

3/10 would not crap again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment