Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(verse): make the reactor duel discoverable (#1038)

Ruben Lütked3db16829518
diff --git a/dodaios/ui/web/frontend/src/components/society/verse/VerseStage.tsx b/dodaios/ui/web/frontend/src/components/society/verse/VerseStage.tsx
index 4408c7423f..44f2b61668 100644
--- a/dodaios/ui/web/frontend/src/components/society/verse/VerseStage.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/verse/VerseStage.tsx
@@ -67,7 +67,7 @@ import { terminalSocketIds, useScreenFaces } from "./effects/useScreenFaces";
import { HoloLayer } from "./effects/HoloLayer";
import { BeaconsLayer } from "./effects/BeaconsLayer";
import { LightsLayer } from "./effects/LightsLayer";
-import { FloatingLabels, type PlateInfo } from "./hud/FloatingLabels";
+import { FloatingLabels, type DuelSpot, type PlateInfo } from "./hud/FloatingLabels";
import { CrewCard, type CrewCardInfo } from "./hud/CrewCard";
import { LiftPanel } from "./hud/LiftPanel";
import { TakeoverPanel } from "./hud/TakeoverPanel";
@@ -430,6 +430,12 @@ export function VerseStage({ onOpenLedger, onSelectAgent, onCreateAgent, onOpenG
const floor = deck.rooms.find((r) => r.id === REACTOR_ARENA.room)?.floorY ?? 0;
return REACTOR_ARENA.terminals.map((tm) => ({ id: `duel:${tm.id}`, kind: "games" as const, room: REACTOR_ARENA.room, x: tm.x, y: floor, z: tm.z, sockets: {} }));
}, [deck]);
+ // The arena shows itself: a "Duel · E" marker near the reactor ring, an icon over the shaft from above (not in the compact panel, which has no duels).
+ const duelSpot = useMemo<DuelSpot | null>(() => {
+ if (compact || !deck || deck.id !== ARENA_DECK) return null;
+ const floorY = deck.rooms.find((r) => r.id === REACTOR_ARENA.room)?.floorY ?? 0;
+ return { arena: REACTOR_ARENA, floorY, commanderId: COMMANDER_ID, label: t("verse.duel.marker") };
+ }, [compact, deck, t]);
// Every desk monitor that shows one coding pane is a terminal the commander can walk up to and take over.
const takeoverTerminals = useMemo<Station[]>(() => {
if (!deck) return [];
@@ -980,7 +986,7 @@ export function VerseStage({ onOpenLedger, onSelectAgent, onCreateAgent, onOpenG
)}
{chunkReady && (
<div className="verse-hud">
- {!dueling && <FloatingLabels runtime={runtime} plates={plates} station={labelledStation} deck={deck} />}
+ {!dueling && <FloatingLabels runtime={runtime} plates={plates} station={labelledStation} deck={deck} duel={duelSpot} />}
{!dueling && <DeckTitle deck={deckId} t={t} counts={counts} rankCard={<RankCard compact={compact} />} onLift={() => setPanel("lift")} />}
{!dueling && <Toolbar
t={t}
@@ -994,7 +1000,7 @@ export function VerseStage({ onOpenLedger, onSelectAgent, onCreateAgent, onOpenG
onCommander={() => { if (runtime.control.mode === "follow") runtime.control.reframe = true; else focusOn(COMMANDER_ID); }}
onSettings={eyeCapable ? () => setPanel("settings") : undefined}
onDuel={compact ? undefined : () => setPanel("duel")}
- onHelp={() => say(t(eyeOn ? "verse.stage.help_eye" : "verse.stage.help"), HELP_MS)}
+ onHelp={() => say(`${t(eyeOn ? "verse.stage.help_eye" : "verse.stage.help")} ${t("verse.stage.help_duel")}`, HELP_MS)}
/>}
{shooter && !dueling && <div className="verse-reticle" data-locked={locked} data-on={hover ? "" : undefined} aria-hidden />}
{shooter && !dueling && !locked && !panel && plateReady && keysReach && (
diff --git a/dodaios/ui/web/frontend/src/components/society/verse/hud/DeckBar.tsx b/dodaios/ui/web/frontend/src/components/society/verse/hud/DeckBar.tsx
index d3493144f4..877de17863 100644
--- a/dodaios/ui/web/frontend/src/components/society/verse/hud/DeckBar.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/verse/hud/DeckBar.tsx
@@ -19,7 +19,10 @@ interface TitleProps {
onLift: () => void;
}
-const LIFT_ICON = "M3.5 1.5v10M1 4l2.5-2.5L6 4M9.5 11.5v-10M7 9l2.5 2.5L12 9";
+/** The duel's mark (a sight): the tool rail's Duel button and the arena icon on the bird's-eye view. */
+export const DUEL_ICON = "M6.5 1v2.6M6.5 9.4V12M1 6.5h2.6M9.4 6.5H12M6.5 3.6a2.9 2.9 0 1 0 0 5.8a2.9 2.9 0 1 0 0-5.8";
+
+const LIFT_ICON ="M3.5 1.5v10M1 4l2.5-2.5L6 4M9.5 11.5v-10M7 9l2.5 2.5L12 9";
export function DeckTitle({ deck, t, counts, rankCard, onLift }: TitleProps) {
return (
@@ -126,8 +129,8 @@ export function Toolbar({ t, view, firstAvailable, firstUnavailable, onView, onL
<span className="verse-tool-text">{t("verse.tools.commander")}</span>
</button>
{onDuel && (
- <button type="button" className="verse-tool" onClick={onDuel} title={t("verse.duel.start")}>
- {icon("M6.5 1v2.6M6.5 9.4V12M1 6.5h2.6M9.4 6.5H12M6.5 3.6a2.9 2.9 0 1 0 0 5.8a2.9 2.9 0 1 0 0-5.8")}
+ <button type="button" className="verse-tool" data-tool="duel" onClick={onDuel} title={t("verse.tools.duel_hint")} aria-label={`${t("verse.tools.duel")}: ${t("verse.tools.duel_hint")}`}>
+ {icon(DUEL_ICON)}
<span className="verse-tool-text">{t("verse.tools.duel")}</span>
</button>
)}
diff --git a/dodaios/ui/web/frontend/src/components/society/verse/hud/FloatingLabels.tsx b/dodaios/ui/web/frontend/src/components/society/verse/hud/FloatingLabels.tsx
index 5385612027..a0111e1474 100644
--- a/dodaios/ui/web/frontend/src/components/society/verse/hud/FloatingLabels.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/verse/hud/FloatingLabels.tsx
@@ -12,6 +12,20 @@
import { useEffect, useRef, type CSSProperties } from "react";
import type { StageRuntime } from "../runtime";
import type { Deck, Station } from "../content/deck";
+import type { ArenaDef } from "../combat/arena";
+import { DUEL_ICON } from "./DeckBar";
+import { duelBeacon } from "./duelBeacon";
+
+/** The duel arena on this deck: a marker near its consoles, an icon over it in the bird's-eye view. */
+export interface DuelSpot {
+ arena: ArenaDef;
+ /** The arena room's floor height. */
+ floorY: number;
+ /** Whose position decides whether the marker shows. */
+ commanderId: string;
+ /** "Duel": the marker's and the icon's text. */
+ label: string;
+}
export interface PlateInfo {
id: string;
@@ -28,6 +42,8 @@ interface Props {
/** `key`: the key that works the station from where the commander stands (third person). */
station: { station: Station; name: string; action: string; key?: string | null } | null;
deck: Deck | null;
+ /** The duel arena, on the deck that has one. */
+ duel?: DuelSpot | null;
}
/** Where a label element was put last (CSS px, rounded), so an unmoved label is not written again. */
@@ -57,7 +73,14 @@ const STATION_LABEL_M = 1.2;
*/
export const PROMPT_AT = 0.8;
-export function FloatingLabels({ runtime, plates, station, deck }: Props) {
+/** The station label is a duel console's own prompt (the marker would repeat it). */
+const isDuelConsole = (s: Station | null) => !!s && s.id.startsWith("duel:");
+
+export function FloatingLabels({ runtime, plates, station, deck, duel }: Props) {
+ const duelRef = useRef<HTMLDivElement>(null);
+ const duelIconRef = useRef<HTMLDivElement>(null);
+ const duelAt = useRef<DuelSpot | null>(null);
+ duelAt.current = duel ?? null;
const plateRefs = useRef(new Map<string, HTMLDivElement>());
const stationRef = useRef<HTMLDivElement>(null);
const stationAt = useRef<Station | null>(null);
@@ -86,6 +109,17 @@ export function FloatingLabels({ runtime, plates, station, deck }: Props) {
const shown = !!s && !!runtime.toScreen(s.x, y, s.z, at) && runtime.inSight(s.x, y, s.z);
put(el, placed, shown, at.x, at.y);
}
+ // The duel arena: a marker over the nearest ring console near the reactor, an icon over the shaft from above.
+ const spot = duelAt.current;
+ const label = duelRef.current;
+ const icon = duelIconRef.current;
+ if (label || icon) {
+ const pose = spot ? runtime.poses.get(spot.commanderId) : undefined;
+ const b = spot && !(keyed.current && isDuelConsole(s)) ? duelBeacon(spot.arena, spot.floorY, runtime.control.mode, pose ?? null) : null;
+ const shown = !!b && !!runtime.toScreen(b.x, b.y, b.z, at) && (b.kind === "icon" || runtime.inSight(b.x, b.y, b.z));
+ if (label) put(label, placed, shown && b?.kind === "label", at.x, at.y);
+ if (icon) put(icon, placed, shown && b?.kind === "icon", at.x, at.y);
+ }
};
runtime.afterFrame.add(place);
return () => { runtime.afterFrame.delete(place); };
@@ -105,6 +139,21 @@ export function FloatingLabels({ runtime, plates, station, deck }: Props) {
</div>
</div>
))}
+ {duel && (
+ <div className="verse-plate" ref={duelRef} data-testid="verse-duel-marker">
+ <div className="verse-station-label verse-duel-marker">
+ <b>{duel.label}<kbd className="verse-key">E</kbd></b>
+ </div>
+ </div>
+ )}
+ {duel && (
+ <div className="verse-plate" ref={duelIconRef} data-testid="verse-duel-icon">
+ <div className="verse-duel-arena-icon">
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" stroke="currentColor" strokeWidth="1.2"><path d={DUEL_ICON} /></svg>
+ <span className="verse-label">{duel.label}</span>
+ </div>
+ </div>
+ )}
{station && (
<div className="verse-plate" ref={stationRef}>
<div className="verse-station-label">
diff --git a/dodaios/ui/web/frontend/src/components/society/verse/hud/duelBeacon.ts b/dodaios/ui/web/frontend/src/components/society/verse/hud/duelBeacon.ts
new file mode 100644
index 0000000000..04ccc8cce0
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/components/society/verse/hud/duelBeacon.ts
@@ -0,0 +1,50 @@
+/**
+ * Where the duel arena shows itself on the deck: a small "Duel · E" marker
+ * over the nearest reactor-ring console once the commander is close to the
+ * ring, and a small icon over the shaft in the bird's-eye view. Pure, so the
+ * rule is tested without a renderer.
+ */
+import type { ArenaDef } from "../combat/arena";
+import type { ControlMode } from "../life/control";
+
+/** How close to the control ring (metres past its outer edge) the marker appears. */
+export const DUEL_BEACON_RANGE_M = 12;
+/** Height of the marker above the console's floor, metres. */
+export const DUEL_BEACON_HEIGHT_M = 1.6;
+
+export interface DuelBeacon {
+ kind: "label" | "icon";
+ x: number;
+ y: number;
+ z: number;
+}
+
+/** The control ring's outer radius around the shaft axis (the annulus bridge), else the consoles' distance. */
+export function ringRadius(arena: ArenaDef): number {
+ const ring = arena.bridges.find((b) => b.kind === "annulus");
+ if (ring && ring.kind === "annulus") return ring.r1;
+ const c = arena.centre;
+ return Math.max(0, ...arena.terminals.map((t) => Math.hypot(t.x - c.x, t.z - c.z)));
+}
+
+/**
+ * The marker for this frame, or null. `floorY`: the arena room's floor;
+ * `commander`: where the commander stands (null: not on this deck).
+ */
+export function duelBeacon(
+ arena: ArenaDef, floorY: number, mode: ControlMode, commander: { x: number; z: number } | null,
+): DuelBeacon | null {
+ const c = arena.centre;
+ if (mode === "overview") return { kind: "icon", x: c.x, y: floorY, z: c.z };
+ if (!commander) return null;
+ const toRing = Math.hypot(commander.x - c.x, commander.z - c.z) - ringRadius(arena);
+ if (toRing > DUEL_BEACON_RANGE_M) return null;
+ let best: { x: number; z: number } | null = null;
+ let bestD = Infinity;
+ for (const t of arena.terminals) {
+ const d = Math.hypot(t.x - commander.x, t.z - commander.z);
+ if (d < bestD) { bestD = d; best = t; }
+ }
+ const at = best ?? c;
+ return { kind: "label", x: at.x, y: floorY + DUEL_BEACON_HEIGHT_M, z: at.z };
+}
diff --git a/dodaios/ui/web/frontend/src/components/society/verse/hud/duelDiscovery.test.tsx b/dodaios/ui/web/frontend/src/components/society/verse/hud/duelDiscovery.test.tsx
new file mode 100644
index 0000000000..9ecd35cf1a
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/components/society/verse/hud/duelDiscovery.test.tsx
@@ -0,0 +1,116 @@
+/**
+ * The duel can be found: the lift names the arena on deck 3, the tool rail's
+ * Duel button says where it is, the help mentions it, and the deck shows a
+ * "Duel · E" marker near the reactor ring and an icon over it from above.
+ */
+import { cleanup, render, screen } from "@testing-library/react";
+import { afterEach, describe, expect, it } from "vitest";
+import de from "@/i18n/locales/ship/verse.de.json";
+import en from "@/i18n/locales/ship/verse.en.json";
+import es from "@/i18n/locales/ship/verse.es.json";
+import pt from "@/i18n/locales/ship/verse.pt.json";
+import zh from "@/i18n/locales/ship/verse.zh.json";
+import { REACTOR_ARENA } from "../combat/arenaReactor";
+import type { StageRuntime } from "../runtime";
+import { Toolbar } from "./DeckBar";
+import { FloatingLabels } from "./FloatingLabels";
+import { DUEL_BEACON_RANGE_M, duelBeacon, ringRadius } from "./duelBeacon";
+
+const t = (key: string) => key;
+const C = REACTOR_ARENA.centre;
+
+afterEach(cleanup);
+
+describe("duel beacon", () => {
+ it("shows an icon over the shaft in the bird's-eye view, wherever the commander is", () => {
+ expect(duelBeacon(REACTOR_ARENA, 0, "overview", null)).toEqual({ kind: "icon", x: C.x, y: 0, z: C.z });
+ expect(duelBeacon(REACTOR_ARENA, 0, "overview", { x: 0, z: 0 })?.kind).toBe("icon");
+ });
+
+ it("shows a marker over the nearest ring console only near the ring", () => {
+ const edge = ringRadius(REACTOR_ARENA) + DUEL_BEACON_RANGE_M;
+ expect(duelBeacon(REACTOR_ARENA, 0, "follow", { x: C.x, z: C.z + edge + 0.5 })).toBeNull();
+ expect(duelBeacon(REACTOR_ARENA, 0, "follow", null)).toBeNull();
+ const near = duelBeacon(REACTOR_ARENA, 2, "follow", { x: C.x + 3, z: C.z + edge - 0.5 });
+ expect(near?.kind).toBe("label");
+ // South-east of the axis: the ring_4 console (x > centre, z > centre), lifted above the floor.
+ const ring4 = REACTOR_ARENA.terminals.find((tm) => tm.id.endsWith("_4"))!;
+ expect(near).toMatchObject({ x: ring4.x, z: ring4.z });
+ expect(near!.y).toBeGreaterThan(2);
+ });
+});
+
+function fakeRuntime(mode: "follow" | "overview", at: { x: number; z: number }) {
+ const afterFrame = new Set<() => void>();
+ const runtime = {
+ poses: new Map([["commander", { id: "commander", x: at.x, y: 0, z: at.z, yaw: 0, height: 1.8, moving: false }]]),
+ afterFrame,
+ control: { mode },
+ eye: null,
+ view: { vp: { width: 800, height: 600 } },
+ toScreen: (_x: number, _y: number, _z: number, out: { x: number; y: number }) => { out.x = 120; out.y = 80; return out; },
+ inSight: () => true,
+ } as unknown as StageRuntime;
+ return { runtime, frame: () => afterFrame.forEach((f) => f()) };
+}
+
+describe("duel marker on the deck", () => {
+ const spot = { arena: REACTOR_ARENA, floorY: 0, commanderId: "commander", label: "verse.duel.marker" };
+
+ it("puts the marker over the console near the reactor and keeps the icon away", () => {
+ const { runtime, frame } = fakeRuntime("follow", { x: C.x, z: C.z + 10 });
+ render(<FloatingLabels runtime={runtime} plates={[]} station={null} deck={null} duel={spot} />);
+ frame();
+ const marker = screen.getByTestId("verse-duel-marker");
+ expect(marker.textContent).toBe("verse.duel.markerE");
+ expect(marker.style.transform).toBe("translate(120px, 80px)");
+ expect(screen.getByTestId("verse-duel-icon").style.transform).toBe("translate(-9999px, -9999px)");
+ });
+
+ it("hides the marker far from the reactor", () => {
+ const { runtime, frame } = fakeRuntime("follow", { x: C.x, z: C.z + 40 });
+ render(<FloatingLabels runtime={runtime} plates={[]} station={null} deck={null} duel={spot} />);
+ frame();
+ expect(screen.getByTestId("verse-duel-marker").style.transform).toBe("translate(-9999px, -9999px)");
+ });
+
+ it("shows the icon from above", () => {
+ const { runtime, frame } = fakeRuntime("overview", { x: 0, z: 0 });
+ render(<FloatingLabels runtime={runtime} plates={[]} station={null} deck={null} duel={spot} />);
+ frame();
+ expect(screen.getByTestId("verse-duel-icon").style.transform).toBe("translate(120px, 80px)");
+ expect(screen.getByTestId("verse-duel-marker").style.transform).toBe("translate(-9999px, -9999px)");
+ });
+
+ it("renders nothing for the duel off the arena deck", () => {
+ const { runtime } = fakeRuntime("follow", { x: C.x, z: C.z });
+ render(<FloatingLabels runtime={runtime} plates={[]} station={null} deck={null} />);
+ expect(screen.queryByTestId("verse-duel-marker")).toBeNull();
+ expect(screen.queryByTestId("verse-duel-icon")).toBeNull();
+ });
+});
+
+describe("duel button on the tool rail", () => {
+ it("is labelled Duel and says where the arena is", () => {
+ render(<Toolbar t={t} view="third" firstAvailable onView={() => {}} onLift={() => {}} onCommander={() => {}} onDuel={() => {}} onHelp={() => {}} />);
+ const button = screen.getByRole("button", { name: /verse\.tools\.duel/ });
+ expect(button.textContent).toContain("verse.tools.duel");
+ expect(button.getAttribute("title")).toBe("verse.tools.duel_hint");
+ });
+});
+
+describe("duel strings", () => {
+ const locales = { de, en, es, pt, zh } as const;
+ it.each(Object.entries(locales))("%s names the arena in the lift, the button, the marker and the help", (_, file) => {
+ const v = file.verse as unknown as Record<string, Record<string, string>>;
+ expect(v.deck.engineering_about).toContain(" · ");
+ for (const s of [v.tools.duel_hint, v.duel.marker, v.stage.help_duel]) expect(s?.trim()).toBeTruthy();
+ });
+ it("keeps German umlauts and the deck's own name", () => {
+ expect(de.verse.deck.engineering_about).toContain("Reaktorschacht");
+ // Real umlauts, never "ue" spellings.
+ const umlauts = [0xe4, 0xf6, 0xfc, 0xdf].map((c) => String.fromCharCode(c));
+ expect(umlauts.some((u) => de.verse.stage.help_duel.includes(u))).toBe(true);
+ expect(en.verse.tools.duel_hint).toContain("Reactor Shaft");
+ });
+});
diff --git a/dodaios/ui/web/frontend/src/components/society/verse/verse.css b/dodaios/ui/web/frontend/src/components/society/verse/verse.css
index 2da5dfce60..703ddc59b3 100644
--- a/dodaios/ui/web/frontend/src/components/society/verse/verse.css
+++ b/dodaios/ui/web/frontend/src/components/society/verse/verse.css
@@ -249,6 +249,22 @@
.verse-station-label b { font-size: 11px; font-weight: 600; color: var(--verse-ink); letter-spacing: 0.04em; }
+/* The duel arena: a quiet marker over the reactor-ring console nearby, an icon over the shaft from above. */
+.verse-duel-marker { border-left: 2px solid var(--verse-amber); }
+.verse-duel-marker b { text-transform: uppercase; letter-spacing: 0.08em; }
+.verse-duel-arena-icon {
+ display: flex;
+ align-items: center;
+ gap: 5px;
+ padding: 3px 7px 3px 5px;
+ color: var(--verse-amber);
+ background: var(--verse-panel);
+ border: 1px solid var(--verse-line-strong);
+ border-radius: 1px;
+ transform: translate(-50%, -50%);
+}
+.verse-duel-arena-icon .verse-label { color: var(--verse-ink-dim); }
+
/* Selected crew member card, bottom left. */
.verse-card {
position: absolute;
diff --git a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.de.json b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.de.json
index c919ea8428..d7e516f46e 100644
--- a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.de.json
+++ b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.de.json
@@ -6,7 +6,8 @@
"unavailable": "Das Schiff braucht WebGL, das dieses Fenster gerade nicht starten kann.",
"deck_missing": "Dieses Deck ist noch nicht gebaut.",
"help": "Third Person: WASD oder Pfeiltasten steuern den Kommandanten, Shift läuft schneller, E benutzt die Station in Reichweite. 1, 2 und 3 wählen Vogelperspektive, Third Person oder Ego-Perspektive; V schaltet der Reihe nach durch. Ziehen verschiebt die Ansicht, Scrollen zoomt. Ein Klick auf das Deck schickt dich dorthin, ein Klick auf ein Crewmitglied öffnet seine Akte. F gedrückt halten entfesselt den Bogensturm: Blitze aus beiden Händen. B klappt das Hoverboard aus, damit gleitest du viel schneller übers Deck.",
- "help_eye": "Third Person und Ego-Perspektive steuern sich wie ein Shooter: Ein Klick in die Ansicht fängt die Maus, Bewegen dreht die Kamera, Esc gibt sie frei. WASD läuft relativ zur Blickrichtung, Shift läuft schneller; die linke Maustaste oder E benutzt, worauf das Fadenkreuz zeigt (ein Crewmitglied, eine Station), sonst benutzt E die Station in Reichweite. Scrollen holt die Kamera näher heran oder weiter weg: ganz heran ist die Ego-Perspektive, wieder herausscrollen kehrt zurück. 1, 2 und 3 wählen Vogelperspektive, Third Person oder Ego-Perspektive; V schaltet der Reihe nach durch. Der Einstellungsknopf in der Werkzeugleiste regelt Mausempfindlichkeit, umgekehrte Achse, Sichtfeld und Qualität. F gedrückt halten entfesselt den Bogensturm: Blitze aus beiden Händen. B klappt das Hoverboard aus, damit gleitest du viel schneller übers Deck."
+ "help_eye": "Third Person und Ego-Perspektive steuern sich wie ein Shooter: Ein Klick in die Ansicht fängt die Maus, Bewegen dreht die Kamera, Esc gibt sie frei. WASD läuft relativ zur Blickrichtung, Shift läuft schneller; die linke Maustaste oder E benutzt, worauf das Fadenkreuz zeigt (ein Crewmitglied, eine Station), sonst benutzt E die Station in Reichweite. Scrollen holt die Kamera näher heran oder weiter weg: ganz heran ist die Ego-Perspektive, wieder herausscrollen kehrt zurück. 1, 2 und 3 wählen Vogelperspektive, Third Person oder Ego-Perspektive; V schaltet der Reihe nach durch. Der Einstellungsknopf in der Werkzeugleiste regelt Mausempfindlichkeit, umgekehrte Achse, Sichtfeld und Qualität. F gedrückt halten entfesselt den Bogensturm: Blitze aus beiden Händen. B klappt das Hoverboard aus, damit gleitest du viel schneller übers Deck.",
+ "help_duel": "Die Duell-Arena liegt im Reaktorschacht auf Deck 3 (Reaktortechnik): Drück E an einer Konsole am Reaktorring oder nutz „Duell“ in der Werkzeugleiste, von jedem Deck aus."
},
"deck": {
"label": "Deck {n}",
@@ -15,7 +16,7 @@
"ops": "Operationsdeck",
"ops_about": "Messe, Mannschaftsquartiere, Ehrenhalle, Simulatoren",
"engineering": "Reaktortechnik",
- "engineering_about": "Techniker an den Terminals: deine Coding-Agenten",
+ "engineering_about": "Techniker an den Terminals: deine Coding-Agenten · Duell-Arena im Reaktorschacht",
"hangar": "Haupthangar",
"hangar_about": "Neue Crew kommt hier mit dem Shuttle an"
},
@@ -104,7 +105,8 @@
"click_to_look": "Klicken zum Umsehen",
"first_too_small": "Für Schulter- und Ego-Perspektive braucht dieses Panel mindestens {width} × {height}.",
"click_for_keys": "Hier klicken, damit die Tasten das Schiff steuern",
- "board": "Hoverboard"
+ "board": "Hoverboard",
+ "duel_hint": "Duell gegen einen Kampfbot im Reaktorschacht (Deck 3, Reaktortechnik). Wähle einen Gegner: Der Lift bringt dich hin, und das Match beginnt."
},
"settings": {
"title": "Ansichtseinstellungen",
@@ -256,7 +258,8 @@
"notice": {
"needs_eye": "Duelle brauchen die 3D-Ansicht in der dritten Person.",
"left": "Du hast das Duell verlassen."
- }
+ },
+ "marker": "Duell"
},
"board": {
"on": "Hoverboard ausgeklappt: WASD gleitet, Shift gibt Schub. B klappt es wieder ein.",
diff --git a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.en.json b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.en.json
index a534120137..6084010e27 100644
--- a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.en.json
+++ b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.en.json
@@ -6,7 +6,8 @@
"unavailable": "The ship needs WebGL, which this window cannot start right now.",
"deck_missing": "This deck has not been built yet.",
"help": "Third person: WASD or the arrow keys walk the commander, Shift hurries, E works the station within reach. 1, 2 and 3 pick the bird's-eye view, third or first person; V cycles them. Drag to look around, scroll to zoom. Click the deck to walk there, click a crew member for their record. Hold F to unleash Arc Storm, lightning from both hands. B folds out the hoverboard, which glides across the deck much faster.",
- "help_eye": "Third and first person play like a shooter: a click on the view takes the mouse, moving it turns the camera, Esc gives it back. WASD walks relative to the view, Shift hurries; the left button or E works what the crosshair is on (a crew member, a station), else E works the station within reach. Scroll to move the camera in or out: all the way in is first person, scrolling out of it comes back. 1, 2 and 3 pick the bird's-eye view, third or first person; V cycles them. The settings button on the tool rail sets mouse sensitivity, inverted look, field of view and quality. Hold F to unleash Arc Storm, lightning from both hands. B folds out the hoverboard, which glides across the deck much faster."
+ "help_eye": "Third and first person play like a shooter: a click on the view takes the mouse, moving it turns the camera, Esc gives it back. WASD walks relative to the view, Shift hurries; the left button or E works what the crosshair is on (a crew member, a station), else E works the station within reach. Scroll to move the camera in or out: all the way in is first person, scrolling out of it comes back. 1, 2 and 3 pick the bird's-eye view, third or first person; V cycles them. The settings button on the tool rail sets mouse sensitivity, inverted look, field of view and quality. Hold F to unleash Arc Storm, lightning from both hands. B folds out the hoverboard, which glides across the deck much faster.",
+ "help_duel": "The duel arena is in the Reactor Shaft on deck 3 (Reactor Engineering): press E at a console on the reactor ring, or use Duel on the tool rail from any deck."
},
"deck": {
"label": "Deck {n}",
@@ -15,7 +16,7 @@
"ops": "Operations Deck",
"ops_about": "Mess hall, crew quarters, records hall, simulators",
"engineering": "Reactor Engineering",
- "engineering_about": "Technicians at the terminals: your coding agents",
+ "engineering_about": "Technicians at the terminals: your coding agents · Duel arena in the reactor shaft",
"hangar": "Main Hangar",
"hangar_about": "New crew arrive here by shuttle"
},
@@ -104,7 +105,8 @@
"click_to_look": "Click to look around",
"first_too_small": "Make this panel at least {width} × {height} for third and first person.",
"click_for_keys": "Click here so the keys reach the ship",
- "board": "Hoverboard"
+ "board": "Hoverboard",
+ "duel_hint": "Duel against a combat bot in the Reactor Shaft (deck 3, Reactor Engineering). Pick an opponent: the lift takes you there and the match starts."
},
"settings": {
"title": "View settings",
@@ -256,7 +258,8 @@
"notice": {
"needs_eye": "Duels need the third-person 3D view.",
"left": "You left the duel."
- }
+ },
+ "marker": "Duel"
},
"board": {
"on": "Hoverboard out: WASD glides, Shift boosts. B folds it away.",
diff --git a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.es.json b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.es.json
index f96752ca23..146f76507b 100644
--- a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.es.json
+++ b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.es.json
@@ -6,7 +6,8 @@
"unavailable": "La nave necesita WebGL y esta ventana no puede iniciarlo ahora.",
"deck_missing": "Esta cubierta aún no está construida.",
"help": "Tercera persona: WASD o las flechas mueven al comandante, Shift acelera, E usa la estación al alcance. 1, 2 y 3 eligen vista de pájaro, tercera o primera persona; V las recorre. Arrastra para mirar, desplaza para hacer zoom. Haz clic en la cubierta para ir allí, en un tripulante para ver su ficha. Mantén F para desatar la Tormenta de Arcos: rayos de ambas manos. B despliega el hoverboard, que cruza la cubierta mucho más rápido.",
- "help_eye": "La tercera y la primera persona se juegan como un shooter: un clic en la vista captura el ratón, moverlo gira la cámara, Esc lo libera. WASD camina según la vista, Shift acelera; el botón izquierdo o E usa lo que señala la mira (un tripulante, una estación); si no, E usa la estación al alcance. La rueda acerca o aleja la cámara: del todo cerca es primera persona y alejarse vuelve. 1, 2 y 3 eligen vista de pájaro, tercera o primera persona; V las recorre. El botón de ajustes de la barra regula la sensibilidad del ratón, el eje invertido, el campo de visión y la calidad. Mantén F para desatar la Tormenta de Arcos: rayos de ambas manos. B despliega el hoverboard, que cruza la cubierta mucho más rápido."
+ "help_eye": "La tercera y la primera persona se juegan como un shooter: un clic en la vista captura el ratón, moverlo gira la cámara, Esc lo libera. WASD camina según la vista, Shift acelera; el botón izquierdo o E usa lo que señala la mira (un tripulante, una estación); si no, E usa la estación al alcance. La rueda acerca o aleja la cámara: del todo cerca es primera persona y alejarse vuelve. 1, 2 y 3 eligen vista de pájaro, tercera o primera persona; V las recorre. El botón de ajustes de la barra regula la sensibilidad del ratón, el eje invertido, el campo de visión y la calidad. Mantén F para desatar la Tormenta de Arcos: rayos de ambas manos. B despliega el hoverboard, que cruza la cubierta mucho más rápido.",
+ "help_duel": "La arena de duelo está en el pozo del reactor, en la cubierta 3 (Ingeniería del reactor): pulsa E en una consola del anillo del reactor o usa Duelo en la barra de herramientas desde cualquier cubierta."
},
"deck": {
"label": "Cubierta {n}",
@@ -15,7 +16,7 @@
"ops": "Cubierta de operaciones",
"ops_about": "Comedor, camarotes, sala de honores, simuladores",
"engineering": "Ingeniería del reactor",
- "engineering_about": "Técnicos en los terminales: tus agentes de código",
+ "engineering_about": "Técnicos en los terminales: tus agentes de código · Arena de duelo en el pozo del reactor",
"hangar": "Hangar principal",
"hangar_about": "La nueva tripulación llega aquí en lanzadera"
},
@@ -104,7 +105,8 @@
"click_to_look": "Haz clic para mirar",
"first_too_small": "Amplía este panel a al menos {width} × {height} para la tercera y la primera persona.",
"click_for_keys": "Haz clic aquí para que las teclas lleguen a la nave",
- "board": "Hoverboard"
+ "board": "Hoverboard",
+ "duel_hint": "Duelo contra un bot de combate en el pozo del reactor (cubierta 3, Ingeniería del reactor). Elige un rival: el ascensor te lleva allí y empieza la partida."
},
"settings": {
"title": "Ajustes de vista",
@@ -256,7 +258,8 @@
"notice": {
"needs_eye": "Los duelos necesitan la vista 3D en tercera persona.",
"left": "Has salido del duelo."
- }
+ },
+ "marker": "Duelo"
},
"board": {
"on": "Hoverboard desplegado: WASD planea, Shift da impulso. B lo pliega.",
diff --git a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.pt.json b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.pt.json
index 8d1181e02d..9479a2c71b 100644
--- a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.pt.json
+++ b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.pt.json
@@ -6,7 +6,8 @@
"unavailable": "A nave precisa de WebGL, que esta janela não consegue iniciar agora.",
"deck_missing": "Este convés ainda não foi construído.",
"help": "Terceira pessoa: WASD ou as setas movem o comandante, Shift acelera, E usa a estação ao alcance. 1, 2 e 3 escolhem vista aérea, terceira ou primeira pessoa; V alterna entre elas. Arraste para olhar, role para dar zoom. Clique no convés para ir até lá, num tripulante para ver a ficha. Segure F para liberar a Tempestade de Arcos: raios das duas mãos. B abre o hoverboard, que cruza o convés muito mais rápido.",
- "help_eye": "A terceira e a primeira pessoa funcionam como um shooter: um clique na vista captura o mouse, movê-lo gira a câmera, Esc o libera. WASD anda conforme a vista, Shift acelera; o botão esquerdo ou E usa o que a mira aponta (um tripulante, uma estação); senão, E usa a estação ao alcance. A roda aproxima ou afasta a câmera: tudo perto é primeira pessoa, e afastar volta. 1, 2 e 3 escolhem vista aérea, terceira ou primeira pessoa; V alterna entre elas. O botão de ajustes da barra define a sensibilidade do mouse, o eixo invertido, o campo de visão e a qualidade. Segure F para liberar a Tempestade de Arcos: raios das duas mãos. B abre o hoverboard, que cruza o convés muito mais rápido."
+ "help_eye": "A terceira e a primeira pessoa funcionam como um shooter: um clique na vista captura o mouse, movê-lo gira a câmera, Esc o libera. WASD anda conforme a vista, Shift acelera; o botão esquerdo ou E usa o que a mira aponta (um tripulante, uma estação); senão, E usa a estação ao alcance. A roda aproxima ou afasta a câmera: tudo perto é primeira pessoa, e afastar volta. 1, 2 e 3 escolhem vista aérea, terceira ou primeira pessoa; V alterna entre elas. O botão de ajustes da barra define a sensibilidade do mouse, o eixo invertido, o campo de visão e a qualidade. Segure F para liberar a Tempestade de Arcos: raios das duas mãos. B abre o hoverboard, que cruza o convés muito mais rápido.",
+ "help_duel": "A arena de duelo fica no poço do reator, no convés 3 (Engenharia do reator): pressione E num console do anel do reator ou use Duelo na barra de ferramentas a partir de qualquer convés."
},
"deck": {
"label": "Convés {n}",
@@ -15,7 +16,7 @@
"ops": "Convés de operações",
"ops_about": "Refeitório, alojamentos, salão de honras, simuladores",
"engineering": "Engenharia do reator",
- "engineering_about": "Técnicos nos terminais: seus agentes de código",
+ "engineering_about": "Técnicos nos terminais: seus agentes de código · Arena de duelo no poço do reator",
"hangar": "Hangar principal",
"hangar_about": "A nova tripulação chega aqui de nave auxiliar"
},
@@ -104,7 +105,8 @@
"click_to_look": "Clique para olhar",
"first_too_small": "Aumente este painel para pelo menos {width} × {height} para a terceira e a primeira pessoa.",
"click_for_keys": "Clique aqui para que as teclas cheguem à nave",
- "board": "Hoverboard"
+ "board": "Hoverboard",
+ "duel_hint": "Duelo contra um bot de combate no poço do reator (convés 3, Engenharia do reator). Escolha um oponente: o elevador leva você até lá e a partida começa."
},
"settings": {
"title": "Ajustes de visualização",
@@ -256,7 +258,8 @@
"notice": {
"needs_eye": "Duelos precisam da visão 3D em terceira pessoa.",
"left": "Você saiu do duelo."
- }
+ },
+ "marker": "Duelo"
},
"board": {
"on": "Hoverboard aberto: WASD desliza, Shift dá impulso. B o recolhe.",
diff --git a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.zh.json b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.zh.json
index 536efbf106..f553a54e2e 100644
--- a/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.zh.json
+++ b/dodaios/ui/web/frontend/src/i18n/locales/ship/verse.zh.json
@@ -6,7 +6,8 @@
"unavailable": "飞船需要 WebGL,但此窗口目前无法启动它。",
"deck_missing": "这层甲板尚未建成。",
"help": "第三人称:WASD 或方向键操控指挥官,Shift 加速,E 使用附近的工作站。1、2、3 分别选择鸟瞰、第三人称或第一人称;V 依次切换。拖动环顾四周,滚轮缩放。点击甲板走过去,点击船员查看其档案。 按住 F 释放电弧风暴:双手迸发闪电。B 展开悬浮板,在甲板上滑行快得多。",
- "help_eye": "第三人称和第一人称的操作与射击游戏相同:点击画面锁定鼠标,移动鼠标转动镜头,Esc 释放。WASD 按视角方向行走,Shift 加速;鼠标左键或 E 使用准星所指的对象(船员或工作站),否则 E 使用附近的工作站。滚轮拉近或拉远镜头:拉到最近即进入第一人称,向外滚动则返回。1、2、3 分别选择鸟瞰、第三人称或第一人称;V 依次切换。工具栏中的设置按钮可调整鼠标灵敏度、反转视角、视野和画质。 按住 F 释放电弧风暴:双手迸发闪电。B 展开悬浮板,在甲板上滑行快得多。"
+ "help_eye": "第三人称和第一人称的操作与射击游戏相同:点击画面锁定鼠标,移动鼠标转动镜头,Esc 释放。WASD 按视角方向行走,Shift 加速;鼠标左键或 E 使用准星所指的对象(船员或工作站),否则 E 使用附近的工作站。滚轮拉近或拉远镜头:拉到最近即进入第一人称,向外滚动则返回。1、2、3 分别选择鸟瞰、第三人称或第一人称;V 依次切换。工具栏中的设置按钮可调整鼠标灵敏度、反转视角、视野和画质。 按住 F 释放电弧风暴:双手迸发闪电。B 展开悬浮板,在甲板上滑行快得多。",
+ "help_duel": "决斗场位于第 3 层(反应堆工程舱)的反应堆竖井:在反应堆环上的控制台按 E,或在任意一层点击工具栏上的“决斗”。"
},
"deck": {
"label": "第 {n} 层甲板",
@@ -15,7 +16,7 @@
"ops": "作业甲板",
"ops_about": "餐厅、船员舱、荣誉厅、模拟舱",
"engineering": "反应堆工程舱",
- "engineering_about": "终端前的技师:你的编程智能体",
+ "engineering_about": "终端前的技师:你的编程智能体 · 反应堆竖井中的决斗场",
"hangar": "主机库",
"hangar_about": "新船员乘穿梭机在此抵达"
},
@@ -104,7 +105,8 @@
"click_to_look": "点击以环顾",
"first_too_small": "将此面板调整到至少 {width} × {height} 才能使用第三人称和第一人称。",
"click_for_keys": "点击此处,让按键控制飞船",
- "board": "悬浮板"
+ "board": "悬浮板",
+ "duel_hint": "在反应堆竖井(第 3 层,反应堆工程舱)与战斗机器人决斗。选择对手后,电梯会带你过去,比赛随即开始。"
},
"settings": {
"title": "视角设置",
@@ -256,7 +258,8 @@
"notice": {
"needs_eye": "决斗需要第三人称 3D 视图。",
"left": "你已退出决斗。"
- }
+ },
+ "marker": "决斗"
},
"board": {
"on": "悬浮板已展开:WASD 滑行,Shift 加速。按 B 收起。",