emerginginstance

Custom projects for Stage 1

Aug 20th, 2021 (edited)
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var projectC1 = {
  2.     id: "projectButtonC1",
  3.     title: "The Universe Next Door ",
  4.     priceTag: "(300,000 ops)",
  5.     description: "Somehow you turned the universe into Paperclips from Earth (Restart with 10% boost to demand) ",
  6.     trigger: function(){if(clips>=3e+55) {clips = 3e+55; return true;}},
  7.     uses: 1,
  8.     cost: function(){return operations>=300000},
  9.     flag: 0,
  10.     element: null,
  11.     effect: function(){
  12.         projectC1.flag = 1;
  13.         standardOps = standardOps-300000;
  14.         prestigeU++;
  15.         var savePrestige = {
  16.             prestigeU: prestigeU,
  17.             prestigeS: prestigeS,
  18.             }
  19.         localStorage.setItem("savePrestige",JSON.stringify(savePrestige));
  20.         displayMessage("Entering New Universe.");
  21.         reset();
  22.     }
  23. }
  24.  
  25. var projectC2 = {
  26.     id: "projectButtonC2",
  27.     title: "The Universe Within ",
  28.     priceTag: "(300,000 creat)",
  29.     description: "You have crashed the simulation (Restart with 10% speed boost to creativity generation) ",
  30.     trigger: function(){if(clips>=3e+55) {clips = 3e+55; return true;}},
  31.     uses: 1,
  32.     cost: function(){return creativity>=300000},
  33.     flag: 0,
  34.     element: null,
  35.     effect: function(){
  36.         projectC1.flag = 1;
  37.         creativity = creativity-300000;
  38.         prestigeS++;
  39.         var savePrestige = {
  40.             prestigeU: prestigeU,
  41.             prestigeS: prestigeS,
  42.             }
  43.         localStorage.setItem("savePrestige",JSON.stringify(savePrestige));
  44.         displayMessage("Entering Simulated Universe.");
  45.         reset();
  46.        
  47.     }
  48. }
  49.  
  50. projects.push(projectC1);
  51. projects.push(projectC2);
Add Comment
Please, Sign In to add comment