Analyzer add patch badge

This commit is contained in:
Kalle
2022-09-15 00:34:14 +03:00
parent c8d2d996e4
commit 1f6d034b14
4 changed files with 15 additions and 1 deletions

View File

@@ -23,7 +23,6 @@ export interface MainWeaponParams {
InkConsumeMinCharge?: number;
/** How much ink one full charge of splatling consumes? */
InkConsumeFullChargeSplatling?: number;
// xxx: morph with another swing one below
/** How much ink one swing of brush consumes? */
InkConsume_WeaponSwingParam?: number;
/** How much ink one vertical swing of roller consumes? */

View File

@@ -12,6 +12,8 @@ import styles from "~/styles/analyzer.css";
import { Image } from "~/components/Image";
import { specialWeaponImageUrl, subWeaponImageUrl } from "~/utils/urls";
export const CURRENT_PATCH = "1.1";
export const links: LinksFunction = () => {
return [{ rel: "stylesheet", href: styles }];
};
@@ -46,6 +48,9 @@ export default function BuildAnalyzerPage() {
<KitCards analyzed={analyzed} />
</div>
<AbilitiesSelector selectedAbilities={build} onChange={setBuild} />
<div className="analyzer__patch">
{t("patch")} {CURRENT_PATCH}
</div>
</div>
<div className="stack md">
<StatCategory title={t("stat.category.sub")}>

View File

@@ -95,3 +95,12 @@
color: var(--text-lighter);
font-size: var(--fonts-xxs);
}
.analyzer__patch {
background-color: var(--theme-transparent);
border-radius: var(--rounded);
font-size: var(--fonts-xxxs);
font-weight: var(--bold);
padding-block: var(--s-0-5);
padding-inline: var(--s-1);
}

View File

@@ -25,5 +25,6 @@
"base": "Base",
"value": "Value",
"build": "Build",
"patch": "Patch:",
"consumptionExplanation": "This chart shows the amount of actions left to perform with main weapon after using sub 0-{{maxSubsToUse}} times. Max amount of consecutive subs to use with full ink tank is {{maxSubsToUse}}."
}