@@ -611,6 +611,7 @@ CM.Data.Fortunes = [
|
|||||||
'Fortune #015',
|
'Fortune #015',
|
||||||
'Fortune #016',
|
'Fortune #016',
|
||||||
'Fortune #017',
|
'Fortune #017',
|
||||||
|
'Fortune #018',
|
||||||
'Fortune #100',
|
'Fortune #100',
|
||||||
'Fortune #101',
|
'Fortune #101',
|
||||||
'Fortune #102',
|
'Fortune #102',
|
||||||
@@ -619,7 +620,7 @@ CM.Data.Fortunes = [
|
|||||||
];
|
];
|
||||||
CM.Data.HalloCookies = ['Skull cookies', 'Ghost cookies', 'Bat cookies', 'Slime cookies', 'Pumpkin cookies', 'Eyeball cookies', 'Spider cookies'];
|
CM.Data.HalloCookies = ['Skull cookies', 'Ghost cookies', 'Bat cookies', 'Slime cookies', 'Pumpkin cookies', 'Eyeball cookies', 'Spider cookies'];
|
||||||
CM.Data.ChristCookies = ['Christmas tree biscuits', 'Snowflake biscuits', 'Snowman biscuits', 'Holly biscuits', 'Candy cane biscuits', 'Bell biscuits', 'Present biscuits'];
|
CM.Data.ChristCookies = ['Christmas tree biscuits', 'Snowflake biscuits', 'Snowman biscuits', 'Holly biscuits', 'Candy cane biscuits', 'Bell biscuits', 'Present biscuits'];
|
||||||
CM.Data.ValCookies = ['Pure heart biscuits', 'Ardent heart biscuits', 'Sour heart biscuits', 'Weeping heart biscuits', 'Golden heart biscuits', 'Eternal heart biscuits'];
|
CM.Data.ValCookies = ['Pure heart biscuits', 'Ardent heart biscuits', 'Sour heart biscuits', 'Weeping heart biscuits', 'Golden heart biscuits', 'Eternal heart biscuits', 'Prism heart biscuits'];
|
||||||
|
|
||||||
/********
|
/********
|
||||||
* Disp *
|
* Disp *
|
||||||
@@ -3244,6 +3245,8 @@ CM.Sim.CalculateGains = function() {
|
|||||||
if (CM.Sim.Has('Fortune #100')) mult *= 1.01;
|
if (CM.Sim.Has('Fortune #100')) mult *= 1.01;
|
||||||
if (CM.Sim.Has('Fortune #101')) mult *= 1.07;
|
if (CM.Sim.Has('Fortune #101')) mult *= 1.07;
|
||||||
|
|
||||||
|
if (CM.Sim.Has('Dragon scale')) mult *= 1.03;
|
||||||
|
|
||||||
var buildMult = 1;
|
var buildMult = 1;
|
||||||
if (Game.hasGod) {
|
if (Game.hasGod) {
|
||||||
var godLvl = Game.hasGod('asceticism');
|
var godLvl = Game.hasGod('asceticism');
|
||||||
@@ -3274,16 +3277,8 @@ CM.Sim.CalculateGains = function() {
|
|||||||
|
|
||||||
if (CM.Sim.Has('Santa\'s legacy')) mult *= 1 + (Game.santaLevel + 1) * 0.03;
|
if (CM.Sim.Has('Santa\'s legacy')) mult *= 1 + (Game.santaLevel + 1) * 0.03;
|
||||||
|
|
||||||
for (var i in CM.Sim.Objects) {
|
var milkProgress = CM.Sim.AchievementsOwned / 25;
|
||||||
var me = CM.Sim.Objects[i];
|
var milkMult = 1;
|
||||||
var storedCps = (typeof(me.cps) == 'function' ? me.cps(me) : me.cps);
|
|
||||||
if (Game.ascensionMode != 1) storedCps *= (1 + me.level * 0.01) * buildMult;
|
|
||||||
CM.Sim.cookiesPs += me.amount * storedCps;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (CM.Sim.Has('"egg"')) CM.Sim.cookiesPs += 9; // "egg"
|
|
||||||
|
|
||||||
var milkMult=1;
|
|
||||||
if (CM.Sim.Has('Santa\'s milk and cookies')) milkMult *= 1.05;
|
if (CM.Sim.Has('Santa\'s milk and cookies')) milkMult *= 1.05;
|
||||||
//if (CM.Sim.hasAura('Breath of Milk')) milkMult *= 1.05;
|
//if (CM.Sim.hasAura('Breath of Milk')) milkMult *= 1.05;
|
||||||
milkMult *= 1 + CM.Sim.auraMult('Breath of Milk') * 0.05;
|
milkMult *= 1 + CM.Sim.auraMult('Breath of Milk') * 0.05;
|
||||||
@@ -3298,21 +3293,31 @@ CM.Sim.CalculateGains = function() {
|
|||||||
|
|
||||||
var catMult = 1;
|
var catMult = 1;
|
||||||
|
|
||||||
if (CM.Sim.Has('Kitten helpers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.1 * milkMult);
|
if (CM.Sim.Has('Kitten helpers')) catMult *= (1 + milkProgress * 0.1 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten workers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.125 * milkMult);
|
if (CM.Sim.Has('Kitten workers')) catMult *= (1 + milkProgress * 0.125 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten engineers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.15 * milkMult);
|
if (CM.Sim.Has('Kitten engineers')) catMult *= (1 + milkProgress * 0.15 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten overseers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.175 * milkMult);
|
if (CM.Sim.Has('Kitten overseers')) catMult *= (1 + milkProgress * 0.175 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten managers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten managers')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten accountants')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten accountants')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten specialists')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten specialists')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten experts')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten experts')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten consultants')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten consultants')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten assistants to the regional manager')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.175 * milkMult);
|
if (CM.Sim.Has('Kitten assistants to the regional manager')) catMult *= (1 + milkProgress * 0.175 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten marketeers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.15 * milkMult);
|
if (CM.Sim.Has('Kitten marketeers')) catMult *= (1 + milkProgress * 0.15 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten analysts')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.125 * milkMult);
|
if (CM.Sim.Has('Kitten analysts')) catMult *= (1 + milkProgress * 0.125 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten executives')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.115 * milkMult);
|
if (CM.Sim.Has('Kitten executives')) catMult *= (1 + milkProgress * 0.115 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten angels')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.1 * milkMult);
|
if (CM.Sim.Has('Kitten angels')) catMult *= (1 + milkProgress * 0.1 * milkMult);
|
||||||
if (CM.Sim.Has('Fortune #103')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.05 * milkMult);
|
if (CM.Sim.Has('Fortune #103')) catMult *= (1 + milkProgress * 0.05 * milkMult);
|
||||||
|
|
||||||
|
for (var i in CM.Sim.Objects) {
|
||||||
|
var me = CM.Sim.Objects[i];
|
||||||
|
var storedCps = (typeof(me.cps) == 'function' ? me.cps(me) : me.cps);
|
||||||
|
if (Game.ascensionMode != 1) storedCps *= (1 + me.level * 0.01) * buildMult;
|
||||||
|
if (me.name == "Grandma" && CM.Sim.Has('Milkhelp® lactose intolerance relief tablets')) storedCps *= 1 + 0.05 * milkProgress * milkMult;
|
||||||
|
CM.Sim.cookiesPs += me.amount * storedCps;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CM.Sim.Has('"egg"')) CM.Sim.cookiesPs += 9;//"egg"
|
||||||
|
|
||||||
mult *= catMult;
|
mult *= catMult;
|
||||||
|
|
||||||
@@ -3426,19 +3431,25 @@ CM.Sim.CheckOtherAchiev = function() {
|
|||||||
if (minAmount >= 400) CM.Sim.Win('Quadricentennial');
|
if (minAmount >= 400) CM.Sim.Win('Quadricentennial');
|
||||||
if (minAmount >= 450) CM.Sim.Win('Quadricentennial and a half');
|
if (minAmount >= 450) CM.Sim.Win('Quadricentennial and a half');
|
||||||
if (minAmount >= 500) CM.Sim.Win('Quincentennial');
|
if (minAmount >= 500) CM.Sim.Win('Quincentennial');
|
||||||
|
if (minAmount >= 550) CM.Sim.Win('Quincentennial and a half');
|
||||||
|
if (minAmount >= 600) CM.Sim.Win('Sexcentennial');
|
||||||
|
|
||||||
if (buildingsOwned >= 100) CM.Sim.Win('Builder');
|
if (buildingsOwned >= 100) CM.Sim.Win('Builder');
|
||||||
if (buildingsOwned >= 500) CM.Sim.Win('Architect');
|
if (buildingsOwned >= 500) CM.Sim.Win('Architect');
|
||||||
if (buildingsOwned >= 1000) CM.Sim.Win('Engineer');
|
if (buildingsOwned >= 1000) CM.Sim.Win('Engineer');
|
||||||
if (buildingsOwned >= 2000) CM.Sim.Win('Lord of Constructs');
|
if (buildingsOwned >= 2000) CM.Sim.Win('Lord of Constructs');
|
||||||
|
if (buildingsOwned >= 4000) CM.Sim.Win('Grand design');
|
||||||
|
if (buildingsOwned >= 8000) CM.Sim.Win('Ecumenopolis');
|
||||||
|
|
||||||
if (CM.Sim.UpgradesOwned >= 20) CM.Sim.Win('Enhancer');
|
if (CM.Sim.UpgradesOwned >= 20) CM.Sim.Win('Enhancer');
|
||||||
if (CM.Sim.UpgradesOwned >= 50) CM.Sim.Win('Augmenter');
|
if (CM.Sim.UpgradesOwned >= 50) CM.Sim.Win('Augmenter');
|
||||||
if (CM.Sim.UpgradesOwned >= 100) CM.Sim.Win('Upgrader');
|
if (CM.Sim.UpgradesOwned >= 100) CM.Sim.Win('Upgrader');
|
||||||
if (CM.Sim.UpgradesOwned >= 200) CM.Sim.Win('Lord of Progress');
|
if (CM.Sim.UpgradesOwned >= 200) CM.Sim.Win('Lord of Progress');
|
||||||
|
if (CM.Sim.UpgradesOwned >= 300) CM.Sim.Win('The full picture');
|
||||||
|
if (CM.Sim.UpgradesOwned >= 400) CM.Sim.Win('When there\'s nothing left to add');
|
||||||
|
|
||||||
if (buildingsOwned >= 3000 && CM.Sim.UpgradesOwned >= 300) CM.Sim.Win('Polymath');
|
if (buildingsOwned >= 4000 && CM.Sim.UpgradesOwned >= 300) CM.Sim.Win('Polymath');
|
||||||
if (buildingsOwned >= 4000 && CM.Sim.UpgradesOwned >= 400) CM.Sim.Win('Renaissance baker');
|
if (buildingsOwned >= 8000 && CM.Sim.UpgradesOwned >= 400) CM.Sim.Win('Renaissance baker');
|
||||||
|
|
||||||
if (CM.Sim.Objects['Cursor'].amount + CM.Sim.Objects['Grandma'].amount >= 777) CM.Sim.Win('The elder scrolls');
|
if (CM.Sim.Objects['Cursor'].amount + CM.Sim.Objects['Grandma'].amount >= 777) CM.Sim.Win('The elder scrolls');
|
||||||
|
|
||||||
@@ -3481,6 +3492,8 @@ CM.Sim.BuyBuildings = function(amount, target) {
|
|||||||
if (me.amount >= 400) CM.Sim.Win('Dr. T');
|
if (me.amount >= 400) CM.Sim.Win('Dr. T');
|
||||||
if (me.amount >= 500) CM.Sim.Win('Thumbs, phalanges, metacarpals');
|
if (me.amount >= 500) CM.Sim.Win('Thumbs, phalanges, metacarpals');
|
||||||
if (me.amount >= 600) CM.Sim.Win('With her finger and her thumb');
|
if (me.amount >= 600) CM.Sim.Win('With her finger and her thumb');
|
||||||
|
if (me.amount >= 700) CM.Sim.Win('Gotta hand it to you');
|
||||||
|
if (me.amount >= 800) CM.Sim.Win('The devil\'s workshop');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for (var j in Game.Objects[me.name].tieredAchievs) {
|
for (var j in Game.Objects[me.name].tieredAchievs) {
|
||||||
@@ -3524,7 +3537,7 @@ CM.Sim.BuyUpgrades = function() {
|
|||||||
else if (i == 'Elder Covenant') {
|
else if (i == 'Elder Covenant') {
|
||||||
CM.Sim.Win('Elder calm')
|
CM.Sim.Win('Elder calm')
|
||||||
}
|
}
|
||||||
else if (i == 'Eternal heart biscuits') {
|
else if (i == 'Prism heart biscuits') {
|
||||||
CM.Sim.Win('Lovely cookies');
|
CM.Sim.Win('Lovely cookies');
|
||||||
}
|
}
|
||||||
else if (i == 'Heavenly key') {
|
else if (i == 'Heavenly key') {
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ CM.Data.Fortunes = [
|
|||||||
'Fortune #015',
|
'Fortune #015',
|
||||||
'Fortune #016',
|
'Fortune #016',
|
||||||
'Fortune #017',
|
'Fortune #017',
|
||||||
|
'Fortune #018',
|
||||||
'Fortune #100',
|
'Fortune #100',
|
||||||
'Fortune #101',
|
'Fortune #101',
|
||||||
'Fortune #102',
|
'Fortune #102',
|
||||||
@@ -28,5 +29,5 @@ CM.Data.Fortunes = [
|
|||||||
];
|
];
|
||||||
CM.Data.HalloCookies = ['Skull cookies', 'Ghost cookies', 'Bat cookies', 'Slime cookies', 'Pumpkin cookies', 'Eyeball cookies', 'Spider cookies'];
|
CM.Data.HalloCookies = ['Skull cookies', 'Ghost cookies', 'Bat cookies', 'Slime cookies', 'Pumpkin cookies', 'Eyeball cookies', 'Spider cookies'];
|
||||||
CM.Data.ChristCookies = ['Christmas tree biscuits', 'Snowflake biscuits', 'Snowman biscuits', 'Holly biscuits', 'Candy cane biscuits', 'Bell biscuits', 'Present biscuits'];
|
CM.Data.ChristCookies = ['Christmas tree biscuits', 'Snowflake biscuits', 'Snowman biscuits', 'Holly biscuits', 'Candy cane biscuits', 'Bell biscuits', 'Present biscuits'];
|
||||||
CM.Data.ValCookies = ['Pure heart biscuits', 'Ardent heart biscuits', 'Sour heart biscuits', 'Weeping heart biscuits', 'Golden heart biscuits', 'Eternal heart biscuits'];
|
CM.Data.ValCookies = ['Pure heart biscuits', 'Ardent heart biscuits', 'Sour heart biscuits', 'Weeping heart biscuits', 'Golden heart biscuits', 'Eternal heart biscuits', 'Prism heart biscuits'];
|
||||||
|
|
||||||
|
|||||||
68
src/Sim.js
68
src/Sim.js
@@ -221,6 +221,8 @@ CM.Sim.CalculateGains = function() {
|
|||||||
if (CM.Sim.Has('Fortune #100')) mult *= 1.01;
|
if (CM.Sim.Has('Fortune #100')) mult *= 1.01;
|
||||||
if (CM.Sim.Has('Fortune #101')) mult *= 1.07;
|
if (CM.Sim.Has('Fortune #101')) mult *= 1.07;
|
||||||
|
|
||||||
|
if (CM.Sim.Has('Dragon scale')) mult *= 1.03;
|
||||||
|
|
||||||
var buildMult = 1;
|
var buildMult = 1;
|
||||||
if (Game.hasGod) {
|
if (Game.hasGod) {
|
||||||
var godLvl = Game.hasGod('asceticism');
|
var godLvl = Game.hasGod('asceticism');
|
||||||
@@ -251,16 +253,8 @@ CM.Sim.CalculateGains = function() {
|
|||||||
|
|
||||||
if (CM.Sim.Has('Santa\'s legacy')) mult *= 1 + (Game.santaLevel + 1) * 0.03;
|
if (CM.Sim.Has('Santa\'s legacy')) mult *= 1 + (Game.santaLevel + 1) * 0.03;
|
||||||
|
|
||||||
for (var i in CM.Sim.Objects) {
|
var milkProgress = CM.Sim.AchievementsOwned / 25;
|
||||||
var me = CM.Sim.Objects[i];
|
var milkMult = 1;
|
||||||
var storedCps = (typeof(me.cps) == 'function' ? me.cps(me) : me.cps);
|
|
||||||
if (Game.ascensionMode != 1) storedCps *= (1 + me.level * 0.01) * buildMult;
|
|
||||||
CM.Sim.cookiesPs += me.amount * storedCps;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (CM.Sim.Has('"egg"')) CM.Sim.cookiesPs += 9; // "egg"
|
|
||||||
|
|
||||||
var milkMult=1;
|
|
||||||
if (CM.Sim.Has('Santa\'s milk and cookies')) milkMult *= 1.05;
|
if (CM.Sim.Has('Santa\'s milk and cookies')) milkMult *= 1.05;
|
||||||
//if (CM.Sim.hasAura('Breath of Milk')) milkMult *= 1.05;
|
//if (CM.Sim.hasAura('Breath of Milk')) milkMult *= 1.05;
|
||||||
milkMult *= 1 + CM.Sim.auraMult('Breath of Milk') * 0.05;
|
milkMult *= 1 + CM.Sim.auraMult('Breath of Milk') * 0.05;
|
||||||
@@ -275,21 +269,31 @@ CM.Sim.CalculateGains = function() {
|
|||||||
|
|
||||||
var catMult = 1;
|
var catMult = 1;
|
||||||
|
|
||||||
if (CM.Sim.Has('Kitten helpers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.1 * milkMult);
|
if (CM.Sim.Has('Kitten helpers')) catMult *= (1 + milkProgress * 0.1 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten workers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.125 * milkMult);
|
if (CM.Sim.Has('Kitten workers')) catMult *= (1 + milkProgress * 0.125 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten engineers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.15 * milkMult);
|
if (CM.Sim.Has('Kitten engineers')) catMult *= (1 + milkProgress * 0.15 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten overseers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.175 * milkMult);
|
if (CM.Sim.Has('Kitten overseers')) catMult *= (1 + milkProgress * 0.175 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten managers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten managers')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten accountants')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten accountants')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten specialists')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten specialists')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten experts')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten experts')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten consultants')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.2 * milkMult);
|
if (CM.Sim.Has('Kitten consultants')) catMult *= (1 + milkProgress * 0.2 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten assistants to the regional manager')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.175 * milkMult);
|
if (CM.Sim.Has('Kitten assistants to the regional manager')) catMult *= (1 + milkProgress * 0.175 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten marketeers')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.15 * milkMult);
|
if (CM.Sim.Has('Kitten marketeers')) catMult *= (1 + milkProgress * 0.15 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten analysts')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.125 * milkMult);
|
if (CM.Sim.Has('Kitten analysts')) catMult *= (1 + milkProgress * 0.125 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten executives')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.115 * milkMult);
|
if (CM.Sim.Has('Kitten executives')) catMult *= (1 + milkProgress * 0.115 * milkMult);
|
||||||
if (CM.Sim.Has('Kitten angels')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.1 * milkMult);
|
if (CM.Sim.Has('Kitten angels')) catMult *= (1 + milkProgress * 0.1 * milkMult);
|
||||||
if (CM.Sim.Has('Fortune #103')) catMult *= (1 + (CM.Sim.AchievementsOwned / 25) * 0.05 * milkMult);
|
if (CM.Sim.Has('Fortune #103')) catMult *= (1 + milkProgress * 0.05 * milkMult);
|
||||||
|
|
||||||
|
for (var i in CM.Sim.Objects) {
|
||||||
|
var me = CM.Sim.Objects[i];
|
||||||
|
var storedCps = (typeof(me.cps) == 'function' ? me.cps(me) : me.cps);
|
||||||
|
if (Game.ascensionMode != 1) storedCps *= (1 + me.level * 0.01) * buildMult;
|
||||||
|
if (me.name == "Grandma" && CM.Sim.Has('Milkhelp® lactose intolerance relief tablets')) storedCps *= 1 + 0.05 * milkProgress * milkMult;
|
||||||
|
CM.Sim.cookiesPs += me.amount * storedCps;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CM.Sim.Has('"egg"')) CM.Sim.cookiesPs += 9;//"egg"
|
||||||
|
|
||||||
mult *= catMult;
|
mult *= catMult;
|
||||||
|
|
||||||
@@ -403,19 +407,25 @@ CM.Sim.CheckOtherAchiev = function() {
|
|||||||
if (minAmount >= 400) CM.Sim.Win('Quadricentennial');
|
if (minAmount >= 400) CM.Sim.Win('Quadricentennial');
|
||||||
if (minAmount >= 450) CM.Sim.Win('Quadricentennial and a half');
|
if (minAmount >= 450) CM.Sim.Win('Quadricentennial and a half');
|
||||||
if (minAmount >= 500) CM.Sim.Win('Quincentennial');
|
if (minAmount >= 500) CM.Sim.Win('Quincentennial');
|
||||||
|
if (minAmount >= 550) CM.Sim.Win('Quincentennial and a half');
|
||||||
|
if (minAmount >= 600) CM.Sim.Win('Sexcentennial');
|
||||||
|
|
||||||
if (buildingsOwned >= 100) CM.Sim.Win('Builder');
|
if (buildingsOwned >= 100) CM.Sim.Win('Builder');
|
||||||
if (buildingsOwned >= 500) CM.Sim.Win('Architect');
|
if (buildingsOwned >= 500) CM.Sim.Win('Architect');
|
||||||
if (buildingsOwned >= 1000) CM.Sim.Win('Engineer');
|
if (buildingsOwned >= 1000) CM.Sim.Win('Engineer');
|
||||||
if (buildingsOwned >= 2000) CM.Sim.Win('Lord of Constructs');
|
if (buildingsOwned >= 2000) CM.Sim.Win('Lord of Constructs');
|
||||||
|
if (buildingsOwned >= 4000) CM.Sim.Win('Grand design');
|
||||||
|
if (buildingsOwned >= 8000) CM.Sim.Win('Ecumenopolis');
|
||||||
|
|
||||||
if (CM.Sim.UpgradesOwned >= 20) CM.Sim.Win('Enhancer');
|
if (CM.Sim.UpgradesOwned >= 20) CM.Sim.Win('Enhancer');
|
||||||
if (CM.Sim.UpgradesOwned >= 50) CM.Sim.Win('Augmenter');
|
if (CM.Sim.UpgradesOwned >= 50) CM.Sim.Win('Augmenter');
|
||||||
if (CM.Sim.UpgradesOwned >= 100) CM.Sim.Win('Upgrader');
|
if (CM.Sim.UpgradesOwned >= 100) CM.Sim.Win('Upgrader');
|
||||||
if (CM.Sim.UpgradesOwned >= 200) CM.Sim.Win('Lord of Progress');
|
if (CM.Sim.UpgradesOwned >= 200) CM.Sim.Win('Lord of Progress');
|
||||||
|
if (CM.Sim.UpgradesOwned >= 300) CM.Sim.Win('The full picture');
|
||||||
|
if (CM.Sim.UpgradesOwned >= 400) CM.Sim.Win('When there\'s nothing left to add');
|
||||||
|
|
||||||
if (buildingsOwned >= 3000 && CM.Sim.UpgradesOwned >= 300) CM.Sim.Win('Polymath');
|
if (buildingsOwned >= 4000 && CM.Sim.UpgradesOwned >= 300) CM.Sim.Win('Polymath');
|
||||||
if (buildingsOwned >= 4000 && CM.Sim.UpgradesOwned >= 400) CM.Sim.Win('Renaissance baker');
|
if (buildingsOwned >= 8000 && CM.Sim.UpgradesOwned >= 400) CM.Sim.Win('Renaissance baker');
|
||||||
|
|
||||||
if (CM.Sim.Objects['Cursor'].amount + CM.Sim.Objects['Grandma'].amount >= 777) CM.Sim.Win('The elder scrolls');
|
if (CM.Sim.Objects['Cursor'].amount + CM.Sim.Objects['Grandma'].amount >= 777) CM.Sim.Win('The elder scrolls');
|
||||||
|
|
||||||
@@ -458,6 +468,8 @@ CM.Sim.BuyBuildings = function(amount, target) {
|
|||||||
if (me.amount >= 400) CM.Sim.Win('Dr. T');
|
if (me.amount >= 400) CM.Sim.Win('Dr. T');
|
||||||
if (me.amount >= 500) CM.Sim.Win('Thumbs, phalanges, metacarpals');
|
if (me.amount >= 500) CM.Sim.Win('Thumbs, phalanges, metacarpals');
|
||||||
if (me.amount >= 600) CM.Sim.Win('With her finger and her thumb');
|
if (me.amount >= 600) CM.Sim.Win('With her finger and her thumb');
|
||||||
|
if (me.amount >= 700) CM.Sim.Win('Gotta hand it to you');
|
||||||
|
if (me.amount >= 800) CM.Sim.Win('The devil\'s workshop');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for (var j in Game.Objects[me.name].tieredAchievs) {
|
for (var j in Game.Objects[me.name].tieredAchievs) {
|
||||||
@@ -501,7 +513,7 @@ CM.Sim.BuyUpgrades = function() {
|
|||||||
else if (i == 'Elder Covenant') {
|
else if (i == 'Elder Covenant') {
|
||||||
CM.Sim.Win('Elder calm')
|
CM.Sim.Win('Elder calm')
|
||||||
}
|
}
|
||||||
else if (i == 'Eternal heart biscuits') {
|
else if (i == 'Prism heart biscuits') {
|
||||||
CM.Sim.Win('Lovely cookies');
|
CM.Sim.Win('Lovely cookies');
|
||||||
}
|
}
|
||||||
else if (i == 'Heavenly key') {
|
else if (i == 'Heavenly key') {
|
||||||
|
|||||||
Reference in New Issue
Block a user