diff --git a/preview/style.css b/preview/style.css index cc53e05..49c9f5b 100644 --- a/preview/style.css +++ b/preview/style.css @@ -2502,7 +2502,6 @@ input:not([type="checkbox"]):not([type="range"]) { .lesson-target { margin-top: 24px; max-width: 340px; } .lesson-target .section-heading { margin-bottom: 10px; } .pending-threat > .equipment-art { opacity: .35; } -.threat-pending { position: absolute; top: 68px; right: 10px; color: var(--muted); font-size: 12px; } .lesson-target .hull-gauge { border-color: #74e8bd; } /* Discovery introduces the target before exposing editable program controls. */ .native-tutorial[data-chapter="first-shot"][data-tutorial-step="0"] #planning { diff --git a/preview/tactical.js b/preview/tactical.js index 608b9af..760ed1b 100644 --- a/preview/tactical.js +++ b/preview/tactical.js @@ -108,7 +108,7 @@ export function createTacticalView({ const details = (key, art, text, extra = "") => ``; return `
-
${details("A", weaponArt, fireText, `
${symbol("hull", `${t("Puissance", "Power")} ${power}`, power)}${symbol(light ? "check" : "reactor", light ? t("Batterie autonome", "Own battery") : t("Coût : 1 énergie", "Cost: 1 energy"), light ? t("Autonome", "Own battery") : "−1")}
`)}
+
${details("A", weaponArt, fireText, `
${symbol("laser", `${t("Puissance de tir", "Firepower")} ${power}`, power)}${symbol(light ? "check" : "reactor", light ? t("Batterie autonome", "Own battery") : t("Coût : 1 énergie", "Cost: 1 energy"), light ? t("Autonome", "Own battery") : "−1")}
`)}
${details("B", system, chargeText, flow)}
${details("C", cIcon, cText)}
`; @@ -194,7 +194,7 @@ export function createTacticalView({ .join(", ")}` : `${t("Trajectoire", "Trajectory")} : ${zoneName(th.zone)}`; const target = `${shipLocator(stations, internal ? null : th.zone)}`; - return `${target}${visual}${symbol("hull", `${t("Points de vie", "Hit points")} : ${hp}/${th.hp}`, `${hp}/${th.hp}`)}${symbol("shield", `${t("Bouclier", "Shield")} : ${th.shield}`, `${th.shield}`)}${pending ? `${t("À venir", "Incoming")}` : ""}${status ? `${esc(status)}` : ""}`; + return `${target}${visual}${symbol("hull", `${t("Points de vie", "Hit points")} : ${hp}/${th.hp}`, `${hp}/${th.hp}`)}${symbol("shield", `${t("Bouclier", "Shield")} : ${th.shield}`, `${th.shield}`)}${status ? `${esc(status)}` : ""}`; } return { shipCutaway, threatPortrait }; }