mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 12:36:15 -04:00
Build 29069848
This commit is contained in:
parent
962fd8b0cd
commit
13627b6c09
27 changed files with 17517 additions and 4011 deletions
32
src/help.ts
32
src/help.ts
|
@ -3,12 +3,15 @@ import { t } from "./i18n/i18n";
|
|||
import { asyncAlert } from "./asyncAlert";
|
||||
import { miniMarkDown } from "./pure_functions";
|
||||
import {
|
||||
catchRateBest, catchRateGood,
|
||||
catchRateBest,
|
||||
catchRateGood,
|
||||
levelTimeBest,
|
||||
levelTimeGood, missesBest, missesGood,
|
||||
levelTimeGood,
|
||||
missesBest,
|
||||
missesGood,
|
||||
wallBouncedBest,
|
||||
wallBouncedGood
|
||||
} from "./pure_functions"
|
||||
wallBouncedGood,
|
||||
} from "./pure_functions";
|
||||
|
||||
export function helpMenuEntry() {
|
||||
return {
|
||||
|
@ -20,13 +23,18 @@ export function helpMenuEntry() {
|
|||
title: t("main_menu.help_title"),
|
||||
allowClose: true,
|
||||
content: [
|
||||
miniMarkDown(t("main_menu.help_content",{
|
||||
catchRateBest, catchRateGood,
|
||||
levelTimeBest,
|
||||
levelTimeGood, missesBest, missesGood,
|
||||
wallBouncedBest,
|
||||
wallBouncedGood
|
||||
})),
|
||||
miniMarkDown(
|
||||
t("main_menu.help_content", {
|
||||
catchRateBest,
|
||||
catchRateGood,
|
||||
levelTimeBest,
|
||||
levelTimeGood,
|
||||
missesBest,
|
||||
missesGood,
|
||||
wallBouncedBest,
|
||||
wallBouncedGood,
|
||||
}),
|
||||
),
|
||||
miniMarkDown(t("main_menu.help_upgrades")),
|
||||
...upgrades.map(
|
||||
(u) => `
|
||||
|
@ -41,7 +49,7 @@ export function helpMenuEntry() {
|
|||
${miniMarkDown(u.fullHelp)}
|
||||
`,
|
||||
),
|
||||
'<h2>'+t("main_menu.credit_levels")+'</h2>',
|
||||
"<h2>" + t("main_menu.credit_levels") + "</h2>",
|
||||
...allLevels
|
||||
.filter((l) => l.credit?.trim())
|
||||
.map(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue