Skip to content

Commit

Permalink
Merge branch 'master' into subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev authored Jan 18, 2025
2 parents 02961d7 + 0657394 commit 1c31137
Show file tree
Hide file tree
Showing 20 changed files with 4,078 additions and 225 deletions.
Binary file added Pictures/Default/perkpermanentBenefaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pictures/Legacy/perkpermanentBenefaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pictures/Monotonous/perkpermanentBenefaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pictures/Simplified/perkpermanentBenefaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare const PROD: boolean | undefined

export const version = '3.1.1 January 13, 2025 pt 1.3: The Bakery Update'
export const version = '3.1.1 January 15, 2025 pt 1.4: The Bakery Update'

/**
* PSEUDO DO NOT CHANGE THIS LINE
Expand Down
6 changes: 6 additions & 0 deletions src/Reset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,11 @@ export const updateSingularityMilestoneAwards = (singularityReset = true): void
awardAutosCookieUpgrade()
}

if (player.highestSingularityCount >= 244) {
player.cubeUpgrades[71] = 1
player.cubeUpgrades[72] = 1
}

if (player.singularityUpgrades.platonicAlpha.getEffect().bonus && player.platonicUpgrades[5] === 0) {
player.platonicUpgrades[5] = 1
updatePlatonicUpgradeBG(5)
Expand Down Expand Up @@ -1319,6 +1324,7 @@ export const singularity = async (setSingNumber = -1): Promise<void> => {
hold.insideSingularityChallenge = player.insideSingularityChallenge
hold.ultimatePixels = player.ultimatePixels
hold.ultimateProgress = player.ultimateProgress
hold.cubeUpgradeRedBarFilled = player.cubeUpgradeRedBarFilled
hold.singularityChallenges = Object.fromEntries(
Object.entries(player.singularityChallenges).map(([key, value]) => {
return [key, {
Expand Down
7 changes: 6 additions & 1 deletion src/SingularityChallenges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,12 @@ export const singularityChallengeData: Record<
unlockSingularity: 100,
HTMLTag: 'noOcteracts',
singularityRequirement: (baseReq: number, completions: number) => {
return baseReq + 13 * completions
if (completions < 10) {
return baseReq + 13 * completions
}
else {
return baseReq + 13 * 9 + 10 * (completions - 9)
}
},
scalingrewardcount: 1,
uniquerewardcount: 3,
Expand Down
3 changes: 2 additions & 1 deletion src/Statistics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { format, formatTimeShort, player } from './Synergism'
import type { GlobalVariables } from './types/Synergism'
import { sumContents } from './Utility'
import { Globals as G } from './Variables'
import i18next from 'i18next'

const associated = new Map<string, string>([
['kMisc', 'miscStats'],
Expand Down Expand Up @@ -2043,7 +2044,7 @@ const updateDisplayC15Rewards = () => {
if (player.challenge15Exponent >= exponentRequirements[i]) {
DOMCacheGetOrSet(`c15Reward${i + 1}Num`).textContent = isNum[i]
? format(100 * values[i - skip] - 100, 2, true)
: 'Unlocked!'
: i18next.t('wowCubes.unlocked')

if (!isNum[i] && i !== 24) {
// TODO: This sucks -Platonic
Expand Down
6 changes: 6 additions & 0 deletions src/Synergism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2820,6 +2820,12 @@ const loadSynergy = () => {
resetHistoryRenderAllTables()
updateSingularityAchievements()
updateSingularityGlobalPerks()

// Update the Sing requirements on reload for a challenge if applicable
if (G.currentSingChallenge !== undefined) {
const sing = player.singularityChallenges[G.currentSingChallenge].computeSingularityRquirement()
player.singularityCount = sing
}
}

updateAchievementBG()
Expand Down
12 changes: 11 additions & 1 deletion src/singularity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ export const singularityPerks: SingularityPerk[] = [
218,
228,
238,
248
248,
],
description: (n: number, levels: number[]) => {
for (let i = levels.length - 1; i >= 0; i--) {
Expand Down Expand Up @@ -2235,6 +2235,16 @@ export const singularityPerks: SingularityPerk[] = [
return i18next.t('singularity.perks.skrauQ.default', { amt })
},
ID: 'skrauQ'
},
{
name: () => {
return i18next.t('singularity.perks.permanentBenefaction.name')
},
levels: [244],
description: () => {
return i18next.t('singularity.perks.permanentBenefaction.default')
},
ID: 'permanentBenefaction'
}
]

Expand Down
132 changes: 78 additions & 54 deletions translations/de.json

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"availableBlueberries": "You have <<lightblue|{{availableBlueberries}}>> unspent Blueberries. Unlock higher tier modules below using them!",
"cubeUpgradeThresholds": "Your Blueberry Time requirements have been doubled <<cyan | {{threshold}}>> times due to lifetime Ambrosia. <<cyan | Blueberry Generation Speed +{{percent}}%>>!",
"cubeUpgradeRedBarFills": "Your Red Bar has filled <<maroon | {{amount}}>> times while Cookie Upgrade 29 is purchased, giving <<green | +{{luck}} &#9752 Ambrosia Luck>>!",
"ambrosiaBuyPrompt": "How many Ambrosia would you like to spend? You have {{amount}} Ambrosia. Type -1 to use max!",
"ambrosiaBuyPrompt": "How many Ambrosia would you like to spend? You have {{amount}} Ambrosia. Type -1 to use max!",
"refund": "You have refunded all spent Blueberries and Ambrosia.",
"refundWord": "Refund",
"data": {
Expand Down Expand Up @@ -1666,7 +1666,7 @@
},
"itAllAddsUp": {
"name": "It all adds up",
"default": "The 'Add' Special Action reward & cooldown are divided by {{div}} while its maximum capacity is multiplied the same amount! (Rounded Up)."
"default": "The 'Add' Special Action reward & cooldown is divided by {{div}} while its maximum capacity is multiplied the same amount! (Rounded Up)."
},
"automagicalRunes": {
"name": "Automagical Runes",
Expand Down Expand Up @@ -1744,7 +1744,7 @@
},
"octeractMetagenesis": {
"name": "Octeract Metagenesis",
"hasLevel1": "Gives free levels of Octeract Cogenesis AND Trigenesis based on your current free levels and purchased levels: (level * free / 640)^0.5, (level^2 * free/125000)^0.333 respectively.",
"hasLevel1": "Gives free levels of Octeract Cogenesis AND Trigenesis based on your current free levels and purchased levels: (level * free / 640)^0.5, (level^2 * free/125000)^0.333 respectively ",
"default": "Gives free levels of Octeract Cogenesis based on your current free levels and purchased levels: (level * free / 1000)^0.5"
},
"immaculateAlchemy": {
Expand All @@ -1761,6 +1761,10 @@
"name": "Primal Power!",
"hasLevel1": "Gain awesome power by reaching Prime Numbered Singularities! Currently gaining: + <<limegreen|☘ 131>> & <<limegreen|☘ 269>> Ambrosia Luck!",
"default": "Gain awesome power by reaching Prime Numbered Singularities! Currently gaining: <<limegreen|☘ +131>> Ambrosia Luck!"
},
"permanentBenefaction": {
"name": "Permanent Benefaction",
"default": "<<lightblue | Pandora>> and <<orange | Vyshareth>> will always grant you their benefaction, so their cookies are correspondingly always eaten!"
}
},
"toString": {
Expand Down Expand Up @@ -3166,7 +3170,7 @@
"noOcteracts": {
"name": "No Octeract Effects",
"description": "Beat the target Singularity, but octeracts and their upgrades do nothing!<br/>Effective Singularity is also much higher based on tier.",
"ScalingReward1": "+0.02 increase to <<var(--lightseagreen-text-color)|OCTERACT to CUBE>> bonus power (Base: 2.00)",
"ScalingReward1": "+0.02 increase to <<var(--lightseagreen-text-color)|OCTERACT to CUBE>> bonus power (Base: 2.00) [effect halved after 10 completions]",
"UniqueReward1": "1st - A bonus to <<Gold|Offerings>> based on <<var(--lightseagreen-text-color)|Octeracts>>!",
"UniqueReward2": "10th - A bonus to <<steelblue|Obtainium>> based on <<var(--lightseagreen-text-color)|Octeracts>>!",
"UniqueReward3": "10th - A new <<orchid|Quark Shop>> upgrade!"
Expand Down Expand Up @@ -3276,6 +3280,7 @@
"openAll": "Open All",
"autoOff": "Auto Open [OFF]",
"autoOn": "Auto Open {{percent}}%",
"unlocked": "Unlocked!",
"quarks": {
"quarkTitle": "-=- Cube to Quark Corner -=-",
"resetInfo": "Quark Rewards reset midnight!",
Expand Down
Loading

0 comments on commit 1c31137

Please sign in to comment.