Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function computeOITEMS() {
- var OITEMS = [
- {
- name: "Fine-structure constant",
- icon: "0h39",
- text: "Doubles production",
- current: function (data,pn) {
- return "x"+pn(Math.pow(2,data.omegas[0]),"",true);
- },
- cost: function (current) {
- return Math.pow(10,current);
- },
- },{
- name: "Cosmological constant",
- icon: "0g8w",
- text: "+1% Natural Disasters",
- current: function (data) {
- var a = (3*60*(100/(100+data.omegas[1])));
- return "~"+stimer(a);
- },
- cost: function (current) {
- return fib(current+2);
- },
- },{
- name: "Add Quark mixing",
- icon: "0e8o",
- text: "-0.5% building cost",
- current: function (data) {
- return "-"+((1-(100+(data.omegas[2]/2))/(100+data.omegas[2]))*100).toFixed(2)+"%";
- },
- cost: function (current) {
- return fib(current+2);
- },
- },{
- name: "Add Neutrino mixing",
- icon: "09yp",
- text: "10% faster research",
- current: function (data) {
- return "+"+((-1+Math.pow(1.1,data.omegas[3]))*100).toFixed(2)+"%";
- },
- cost: function (current) {
- return fact(current+2);
- },
- },{
- name: "Add Boson",
- icon: "08sn",
- text: "Increases base click",
- current: function (data) {
- var val=0;
- for (var i=1; i<=data.omegas[4]; ++i) {
- var exp=Math.floor(i/10);
- val+=Math.pow(10,exp);
- }
- return "+"+val;
- },
- cost: function (current) {
- return fact(current+2);
- },
- },{
- name: "Strong coupling const",
- icon: "02je",
- text: "+0.25% prod. to click",
- current: function (data) {
- return "+"+((0.0025*data.omegas[5])*100).toFixed(2)+"%";
- },
- cost: function (current) {
- return Math.pow(current+1,current+1);
- },
- }
- ];
- return OITEMS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement