diff --git a/CookieMonster.js b/CookieMonster.js index 3048252..d5faf20 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -919,6 +919,33 @@ CM.Data.ChristCookies = ['Christmas tree biscuits', 'Snowflake biscuits', 'Snowm CM.Data.ValCookies = ['Pure heart biscuits', 'Ardent heart biscuits', 'Sour heart biscuits', 'Weeping heart biscuits', 'Golden heart biscuits', 'Eternal heart biscuits', 'Prism heart biscuits']; CM.Data.PlantDrops = ['Elderwort biscuits', 'Bakeberry cookies', 'Duketater cookies', 'Green yeast digestives', 'Wheat slims', 'Fern tea', 'Ichor syrup'] +/******** + * Section: All possible effects plants and other items can have with an explanation */ + +CM.Data.Effects = { + buildingCost: "Building prices", + click: "Cookies per click", + cps: "Total CPS", + cursorCps: "Cursor CPS", + goldenCookieDur: "Golden cookie duration", + goldenCookieEffDur: "Golden cookie effect duration", + goldenCookieFreq: "Golden cookie frequency", + goldenCookieGain: "Golden cookie gains", + grandmaCps: "Grandma CPS", + itemDrops: "Random item drop chance", + milk: "Effect from milk", + reindeerDur: "Reindeer duration", + reindeerFreq: "Reindeer frequency", + reindeerGain: "Reindeer gains", + upgradeCost: "Upgrade prices", + wrathCookieDur: "Wrath cookie duration", + wrathCookieEffDur: "Wrath cookie effect duration", + wrathCookieFreq: "Wrath cookie frequency", + wrathCookieGain: "Wrath cookie gains", + wrinklerEat: "Wrinkler ", + wrinklerSpawn: "Wrinkler spawn frequency" +} + /******** * Section: Data for the various scales used by CookieMonster */ @@ -4310,9 +4337,10 @@ CM.DelayInit = function() { */ CM.Main.ReplaceTooltips = function() { CM.Main.ReplaceTooltipBuild(); - CM.Main.ReplaceTooltipLump(); - CM.Main.ReplaceTooltipGrimoire(); - + CM.Main.ReplaceTooltipLump(); + + // Replace Tooltips of Minigames. Nesting it in LoadMinigames makes sure to replace them even if + // they were not loaded initially CM.Backup.LoadMinigames = Game.LoadMinigames; Game.LoadMinigames = function() { CM.Backup.LoadMinigames(); diff --git a/src/Data.js b/src/Data.js index e481133..050f82b 100644 --- a/src/Data.js +++ b/src/Data.js @@ -35,6 +35,33 @@ CM.Data.ChristCookies = ['Christmas tree biscuits', 'Snowflake biscuits', 'Snowm CM.Data.ValCookies = ['Pure heart biscuits', 'Ardent heart biscuits', 'Sour heart biscuits', 'Weeping heart biscuits', 'Golden heart biscuits', 'Eternal heart biscuits', 'Prism heart biscuits']; CM.Data.PlantDrops = ['Elderwort biscuits', 'Bakeberry cookies', 'Duketater cookies', 'Green yeast digestives', 'Wheat slims', 'Fern tea', 'Ichor syrup'] +/******** + * Section: All possible effects plants and other items can have with an explanation */ + +CM.Data.Effects = { + buildingCost: "Building prices", + click: "Cookies per click", + cps: "Total CPS", + cursorCps: "Cursor CPS", + goldenCookieDur: "Golden cookie duration", + goldenCookieEffDur: "Golden cookie effect duration", + goldenCookieFreq: "Golden cookie frequency", + goldenCookieGain: "Golden cookie gains", + grandmaCps: "Grandma CPS", + itemDrops: "Random item drop chance", + milk: "Effect from milk", + reindeerDur: "Reindeer duration", + reindeerFreq: "Reindeer frequency", + reindeerGain: "Reindeer gains", + upgradeCost: "Upgrade prices", + wrathCookieDur: "Wrath cookie duration", + wrathCookieEffDur: "Wrath cookie effect duration", + wrathCookieFreq: "Wrath cookie frequency", + wrathCookieGain: "Wrath cookie gains", + wrinklerEat: "Wrinkler ", + wrinklerSpawn: "Wrinkler spawn frequency" +} + /******** * Section: Data for the various scales used by CookieMonster */