mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-05 03:07:14 -04:00
Build 29091656
This commit is contained in:
parent
f48d9bdfa3
commit
e2d8a0ab5c
28 changed files with 2607 additions and 2496 deletions
250
src/upgrades.ts
250
src/upgrades.ts
|
@ -28,7 +28,8 @@ export const rawUpgrades = [
|
|||
max: 2,
|
||||
name: t("upgrades.slow_down.name"),
|
||||
help: (lvl: number) => t("upgrades.slow_down.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.slow_down.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.slow_down.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.beginner,
|
||||
|
@ -39,7 +40,8 @@ export const rawUpgrades = [
|
|||
max: 2,
|
||||
name: t("upgrades.bigger_puck.name"),
|
||||
help: () => t("upgrades.bigger_puck.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.bigger_puck.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.bigger_puck.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -51,7 +53,8 @@ export const rawUpgrades = [
|
|||
max: 7,
|
||||
name: t("upgrades.extra_life.name"),
|
||||
help: (lvl: number) => t("upgrades.extra_life.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.extra_life.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.extra_life.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.beginner,
|
||||
|
@ -61,8 +64,9 @@ export const rawUpgrades = [
|
|||
id: "skip_last",
|
||||
max: 7,
|
||||
name: t("upgrades.skip_last.name"),
|
||||
help: (lvl: number) =>t("upgrades.skip_last.tooltip") ,
|
||||
fullHelp: (lvl: number) =>t("upgrades.skip_last.verbose_description",{lvl}),
|
||||
help: (lvl: number) => t("upgrades.skip_last.tooltip"),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.skip_last.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.beginner,
|
||||
|
@ -72,8 +76,9 @@ export const rawUpgrades = [
|
|||
gift: true,
|
||||
max: 1,
|
||||
name: t("upgrades.telekinesis.name"),
|
||||
help: (lvl: number) => t("upgrades.telekinesis.tooltip") ,
|
||||
fullHelp: (lvl: number) =>t("upgrades.telekinesis.verbose_description",{lvl}),
|
||||
help: (lvl: number) => t("upgrades.telekinesis.tooltip"),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.telekinesis.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.beginner,
|
||||
|
@ -84,7 +89,7 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.yoyo.name"),
|
||||
help: (lvl: number) => t("upgrades.yoyo.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.yoyo.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) => t("upgrades.yoyo.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.beginner,
|
||||
|
@ -95,7 +100,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.one_more_choice.name"),
|
||||
help: (lvl: number) => t("upgrades.one_more_choice.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.one_more_choice.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.one_more_choice.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.beginner,
|
||||
|
@ -106,7 +112,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.concave_puck.name"),
|
||||
help: (lvl: number) => t("upgrades.concave_puck.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.concave_puck.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.concave_puck.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -117,7 +124,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.streak_shots.name"),
|
||||
help: (lvl: number) => t("upgrades.streak_shots.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.streak_shots.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.streak_shots.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -129,7 +137,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.left_is_lava.name"),
|
||||
help: (lvl: number) => t("upgrades.left_is_lava.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.left_is_lava.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.left_is_lava.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -140,7 +149,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.right_is_lava.name"),
|
||||
help: (lvl: number) => t("upgrades.right_is_lava.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.right_is_lava.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.right_is_lava.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -151,7 +161,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.top_is_lava.name"),
|
||||
help: (lvl: number) => t("upgrades.top_is_lava.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.top_is_lava.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.top_is_lava.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -166,9 +177,11 @@ export const rawUpgrades = [
|
|||
start: lvl * 30 + 1,
|
||||
loss: lvl,
|
||||
}),
|
||||
fullHelp: (lvl: number) =>t("upgrades.hot_start.verbose_description",{
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.hot_start.verbose_description", {
|
||||
start: lvl * 30 + 1,
|
||||
loss: lvl,}),
|
||||
loss: lvl,
|
||||
}),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -180,7 +193,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.picky_eater.name"),
|
||||
help: (lvl: number) => t("upgrades.picky_eater.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.picky_eater.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.picky_eater.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -192,7 +206,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.compound_interest.name"),
|
||||
help: (lvl: number) => t("upgrades.compound_interest.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.compound_interest.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.compound_interest.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -204,7 +219,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.side_kick.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.side_kick.tooltip", { lvl, loss: lvl * 2 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.side_kick.verbose_description",{lvl, loss: lvl * 2}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.side_kick.verbose_description", { lvl, loss: lvl * 2 }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -216,7 +232,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.side_flip.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.side_flip.tooltip", { lvl, loss: lvl * 2 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.side_flip.verbose_description",{lvl, loss: lvl * 2}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.side_flip.verbose_description", { lvl, loss: lvl * 2 }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -228,7 +245,7 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.reach.name"),
|
||||
help: (lvl: number) => t("upgrades.reach.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.reach.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) => t("upgrades.reach.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -239,7 +256,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.happy_family.name"),
|
||||
help: () => t("upgrades.happy_family.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.happy_family.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.happy_family.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -251,7 +269,11 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.addiction.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.addiction.tooltip", { lvl, delay: (5 / lvl).toFixed(2) }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.addiction.verbose_description",{lvl, delay: (5 / lvl).toFixed(2)}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.addiction.verbose_description", {
|
||||
lvl,
|
||||
delay: (5 / lvl).toFixed(2),
|
||||
}),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -262,7 +284,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.nbricks.name"),
|
||||
help: (lvl: number) => t("upgrades.nbricks.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.nbricks.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.nbricks.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -274,7 +297,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.three_cushion.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.three_cushion.tooltip", { max: lvl * 3 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.three_cushion.verbose_description",{max: lvl * 3}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.three_cushion.verbose_description", { max: lvl * 3 }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -285,7 +309,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.trampoline.name"),
|
||||
help: (lvl: number) => t("upgrades.trampoline.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.trampoline.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.trampoline.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -297,7 +322,7 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.zen.name"),
|
||||
help: (lvl: number) => t("upgrades.zen.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.zen.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) => t("upgrades.zen.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -308,7 +333,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.asceticism.name"),
|
||||
help: (lvl: number) => t("upgrades.asceticism.tooltip", { combo: lvl * 3 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.asceticism.verbose_description",{combo: lvl * 3}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.asceticism.verbose_description", { combo: lvl * 3 }),
|
||||
},
|
||||
// Regular
|
||||
|
||||
|
@ -321,7 +347,8 @@ export const rawUpgrades = [
|
|||
max: 4,
|
||||
name: t("upgrades.pierce_color.name"),
|
||||
help: (lvl: number) => t("upgrades.pierce_color.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.pierce_color.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.pierce_color.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -332,7 +359,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.pierce.name"),
|
||||
help: (lvl: number) => t("upgrades.pierce.tooltip", { count: 3 * lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.pierce.verbose_description",{count: 3 * lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.pierce.verbose_description", { count: 3 * lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -343,7 +371,8 @@ export const rawUpgrades = [
|
|||
max: 6,
|
||||
name: t("upgrades.multiball.name"),
|
||||
help: (lvl: number) => t("upgrades.multiball.tooltip", { count: lvl + 1 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.multiball.verbose_description",{count: lvl + 1}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.multiball.verbose_description", { count: lvl + 1 }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -354,7 +383,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.ball_repulse_ball.name"),
|
||||
help: (lvl: number) => t("upgrades.ball_repulse_ball.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.ball_repulse_ball.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.ball_repulse_ball.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -365,7 +395,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.ball_attract_ball.name"),
|
||||
help: (lvl: number) => t("upgrades.ball_attract_ball.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.ball_attract_ball.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.ball_attract_ball.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -375,8 +406,9 @@ export const rawUpgrades = [
|
|||
id: "puck_repulse_ball",
|
||||
max: 2,
|
||||
name: t("upgrades.puck_repulse_ball.name"),
|
||||
help: (lvl: number) =>t("upgrades.puck_repulse_ball.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.puck_repulse_ball.verbose_description",{lvl}),
|
||||
help: (lvl: number) => t("upgrades.puck_repulse_ball.tooltip"),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.puck_repulse_ball.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -386,8 +418,8 @@ export const rawUpgrades = [
|
|||
id: "wind",
|
||||
max: 3,
|
||||
name: t("upgrades.wind.name"),
|
||||
help: (lvl: number) => t("upgrades.wind.tooltip") ,
|
||||
fullHelp: (lvl: number) =>t("upgrades.wind.verbose_description",{lvl}),
|
||||
help: (lvl: number) => t("upgrades.wind.tooltip"),
|
||||
fullHelp: (lvl: number) => t("upgrades.wind.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -398,7 +430,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.helium.name"),
|
||||
help: (lvl: number) => t("upgrades.helium.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.helium.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.helium.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -409,7 +442,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.bricks_attract_coins.name"),
|
||||
help: (lvl: number) => t("upgrades.bricks_attract_coins.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.bricks_attract_coins.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.bricks_attract_coins.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -420,7 +454,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.wrap_left.name"),
|
||||
help: () => t("upgrades.wrap_left.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.wrap_left.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.wrap_left.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -431,7 +466,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.wrap_right.name"),
|
||||
help: () => t("upgrades.wrap_right.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.wrap_right.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.wrap_right.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -447,9 +483,11 @@ export const rawUpgrades = [
|
|||
percent: Math.floor(100 * comboKeepingRate(lvl)),
|
||||
delay: (3 / lvl).toFixed(2),
|
||||
}),
|
||||
fullHelp: (lvl: number) =>t("upgrades.respawn.verbose_description",{
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.respawn.verbose_description", {
|
||||
percent: Math.floor(100 * comboKeepingRate(lvl)),
|
||||
delay: (3 / lvl).toFixed(2),}),
|
||||
delay: (3 / lvl).toFixed(2),
|
||||
}),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -464,9 +502,11 @@ export const rawUpgrades = [
|
|||
percent: lvl * 10,
|
||||
multiplier: 1 + lvl,
|
||||
}),
|
||||
fullHelp: (lvl: number) =>t("upgrades.double_or_nothing.verbose_description",{
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.double_or_nothing.verbose_description", {
|
||||
percent: lvl * 10,
|
||||
multiplier: 1 + lvl,}),
|
||||
multiplier: 1 + lvl,
|
||||
}),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -478,7 +518,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.unbounded.name"),
|
||||
help: (lvl: number) => t("upgrades.unbounded.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.unbounded.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.unbounded.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -490,7 +531,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.etherealcoins.name"),
|
||||
help: (lvl: number) => t("upgrades.etherealcoins.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.etherealcoins.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.etherealcoins.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -501,7 +543,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.shocks.name"),
|
||||
help: (lvl: number) => t("upgrades.shocks.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.shocks.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.shocks.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -512,7 +555,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.sacrifice.name"),
|
||||
help: (lvl: number) => t("upgrades.sacrifice.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.sacrifice.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.sacrifice.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -524,7 +568,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.ghost_coins.name"),
|
||||
help: (lvl: number) => t("upgrades.ghost_coins.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.ghost_coins.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.ghost_coins.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -535,7 +580,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.forgiving.name"),
|
||||
help: (lvl: number) => t("upgrades.forgiving.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.forgiving.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.forgiving.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -546,7 +592,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.ball_attracts_coins.name"),
|
||||
help: (lvl: number) => t("upgrades.ball_attracts_coins.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.ball_attracts_coins.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.ball_attracts_coins.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -557,7 +604,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.clairvoyant.name"),
|
||||
help: (lvl: number) => t("upgrades.clairvoyant.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.clairvoyant.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.clairvoyant.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -569,7 +617,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.implosions.name"),
|
||||
help: (lvl: number) => t("upgrades.implosions.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.implosions.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.implosions.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -580,7 +629,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.corner_shot.name"),
|
||||
help: (lvl: number) => t("upgrades.corner_shot.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.corner_shot.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.corner_shot.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -591,7 +641,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.limitless.name"),
|
||||
help: (lvl: number) => t("upgrades.limitless.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.limitless.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.limitless.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -602,7 +653,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.trickledown.name"),
|
||||
help: (lvl: number) => t("upgrades.trickledown.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.trickledown.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.trickledown.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -614,7 +666,11 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.transparency.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.transparency.tooltip", { lvl, percent: lvl * 50 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.transparency.verbose_description",{lvl, percent: lvl * 50}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.transparency.verbose_description", {
|
||||
lvl,
|
||||
percent: lvl * 50,
|
||||
}),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -625,7 +681,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.superhot.name"),
|
||||
help: (lvl: number) => t("upgrades.superhot.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.superhot.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.superhot.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -636,7 +693,8 @@ export const rawUpgrades = [
|
|||
max: 7,
|
||||
name: t("upgrades.rainbow.name"),
|
||||
help: (lvl: number) => t("upgrades.rainbow.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.rainbow.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.rainbow.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -647,7 +705,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.golden_goose.name"),
|
||||
help: (lvl: number) => t("upgrades.golden_goose.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.golden_goose.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.golden_goose.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -659,7 +718,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.bricks_attract_ball.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.bricks_attract_ball.tooltip", { count: lvl * 3 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.bricks_attract_ball.verbose_description",{count: lvl * 3}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.bricks_attract_ball.verbose_description", { count: lvl * 3 }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -670,7 +730,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.buoy.name"),
|
||||
help: (lvl: number) => t("upgrades.buoy.tooltip", { duration: lvl * 0.5 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.buoy.verbose_description",{duration: lvl * 0.5}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.buoy.verbose_description", { duration: lvl * 0.5 }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -681,7 +742,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.ottawa_treaty.name"),
|
||||
help: () => t("upgrades.ottawa_treaty.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.ottawa_treaty.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.ottawa_treaty.verbose_description", { lvl }),
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -693,7 +755,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.sticky_coins.name"),
|
||||
help: (lvl: number) => t("upgrades.sticky_coins.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.sticky_coins.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.sticky_coins.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -705,7 +768,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.base_combo.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.base_combo.tooltip", { coins: 1 + lvl * 3 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.base_combo.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.base_combo.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -716,7 +780,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.viscosity.name"),
|
||||
help: () => t("upgrades.viscosity.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.viscosity.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.viscosity.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -727,7 +792,8 @@ export const rawUpgrades = [
|
|||
max: 3,
|
||||
name: t("upgrades.coin_magnet.name"),
|
||||
help: (lvl: number) => t("upgrades.coin_magnet.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.coin_magnet.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.coin_magnet.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -739,7 +805,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.smaller_puck.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.smaller_puck.tooltip", { percent: 50 * lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.smaller_puck.verbose_description",{percent: 50 * lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.smaller_puck.verbose_description", { percent: 50 * lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.advanced,
|
||||
|
@ -750,7 +817,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.metamorphosis.name"),
|
||||
help: (lvl: number) => t("upgrades.metamorphosis.tooltip", { lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.metamorphosis.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.metamorphosis.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -761,7 +829,8 @@ export const rawUpgrades = [
|
|||
max: 7,
|
||||
name: t("upgrades.sapper.name"),
|
||||
help: (lvl: number) => t("upgrades.sapper.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.sapper.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.sapper.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -772,7 +841,8 @@ export const rawUpgrades = [
|
|||
max: 1,
|
||||
name: t("upgrades.bigger_explosions.name"),
|
||||
help: (lvl: number) => t("upgrades.bigger_explosions.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.bigger_explosions.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.bigger_explosions.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.simple,
|
||||
|
@ -785,7 +855,8 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.extra_levels.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.extra_levels.tooltip", { count: lvl + 7 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.extra_levels.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.extra_levels.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -796,7 +867,8 @@ export const rawUpgrades = [
|
|||
max: 7,
|
||||
name: t("upgrades.fountain_toss.name"),
|
||||
help: () => t("upgrades.fountain_toss.tooltip"),
|
||||
fullHelp: (lvl: number) =>t("upgrades.fountain_toss.verbose_description",{lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.fountain_toss.verbose_description", { lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -806,8 +878,10 @@ export const rawUpgrades = [
|
|||
id: "minefield",
|
||||
max: 3,
|
||||
name: t("upgrades.minefield.name"),
|
||||
help: (lvl: number) => t("upgrades.minefield.tooltip", { percent:10*lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.minefield.verbose_description",{percent:10*lvl}),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.minefield.tooltip", { percent: 10 * lvl }),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.minefield.verbose_description", { percent: 10 * lvl }),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -821,8 +895,10 @@ export const rawUpgrades = [
|
|||
t("upgrades.soft_reset.tooltip", {
|
||||
percent: Math.round(comboKeepingRate(lvl) * 100),
|
||||
}),
|
||||
fullHelp: (lvl: number) =>t("upgrades.soft_reset.verbose_description",{
|
||||
percent: Math.round(comboKeepingRate(lvl) * 100),}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.soft_reset.verbose_description", {
|
||||
percent: Math.round(comboKeepingRate(lvl) * 100),
|
||||
}),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -836,8 +912,10 @@ export const rawUpgrades = [
|
|||
t("upgrades.shunt.tooltip", {
|
||||
percent: Math.round(comboKeepingRate(lvl) * 100),
|
||||
}),
|
||||
fullHelp: (lvl: number) =>t("upgrades.shunt.verbose_description",{
|
||||
percent: Math.round(comboKeepingRate(lvl) * 100),}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.shunt.verbose_description", {
|
||||
percent: Math.round(comboKeepingRate(lvl) * 100),
|
||||
}),
|
||||
},
|
||||
{
|
||||
category: categories.combo,
|
||||
|
@ -849,7 +927,11 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.passive_income.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.passive_income.tooltip", { time: lvl * 0.25, lvl }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.passive_income.verbose_description",{time: lvl * 0.25, lvl}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.passive_income.verbose_description", {
|
||||
time: lvl * 0.25,
|
||||
lvl,
|
||||
}),
|
||||
},
|
||||
{
|
||||
category: categories.combo_boost,
|
||||
|
@ -861,6 +943,10 @@ export const rawUpgrades = [
|
|||
name: t("upgrades.sturdy_bricks.name"),
|
||||
help: (lvl: number) =>
|
||||
t("upgrades.sturdy_bricks.tooltip", { lvl, percent: lvl * 50 }),
|
||||
fullHelp: (lvl: number) =>t("upgrades.sturdy_bricks.verbose_description",{lvl, percent: lvl * 50}),
|
||||
fullHelp: (lvl: number) =>
|
||||
t("upgrades.sturdy_bricks.verbose_description", {
|
||||
lvl,
|
||||
percent: lvl * 50,
|
||||
}),
|
||||
},
|
||||
] as const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue