Textsystem: Bis-Strich mit Leerzeichen (Zahl – Zahl) per Agent-Sweep

562 Ersetzungen in 50 Dateien: Halbgeviertstrich zwischen zwei Ziffern (=
"bis"-Bereich) bekommt Leerzeichen davor/danach (3–4 -> 3 – 4). Regex
/([0-9])\s*–\s*(?=[0-9])/ auf Rohtext (format-erhaltend, CRLF/Einrueckung
unveraendert), Bindestriche in Woertern und Minuszeichen unangetastet, alle
JSON weiter gueltig. Energiemanager-Zeitbloecke sind Display-Labels (kein
Logik-Key) -> safe.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-22 12:38:19 +02:00
parent 9c99359d9c
commit fecd8bb9c9
139 changed files with 1827 additions and 411 deletions
+4 -4
View File
@@ -1131,7 +1131,7 @@
mastH: 30 + Math.random() * 12
});
}
// 23 große Segelschiffe mit hohem Mast (echtes Hindernis)
// 2 3 große Segelschiffe mit hohem Mast (echtes Hindernis)
const tall = 2 + Math.floor(Math.random() * 2);
for (let i = 0; i < tall; i++) {
let x;
@@ -1168,7 +1168,7 @@
const segStart = segmentStarts[segIdx], segEnd = segmentEnds[segIdx];
const zoneW = 220;
const zoneX = segStart + 40 + Math.random() * (segEnd - segStart - zoneW - 80);
// Unfallstelle 100160 px vor oder hinter der Landezone — aber im selben Segment
// Unfallstelle 100 160 px vor oder hinter der Landezone — aber im selben Segment
let crashX = zoneX + zoneW/2 + (Math.random() < 0.5 ? -1 : 1) * (110 + Math.random()*40);
crashX = Math.max(segStart + 60, Math.min(segEnd - 60, crashX));
// Gaffer im naheren Umfeld der Landezone — sie laufen durchgehend in
@@ -3508,7 +3508,7 @@
else if (sinkRate > 40) { lzR=74; lzG=124; lzB=78; lzLabel='GUTES TEMPO'; }
else { lzLabel='ANFLUG — TIEFER'; }
}
// Landezone deutlich heller (Alpha 0.651.0, voller Farbton statt gedaempft)
// Landezone deutlich heller (Alpha 0.65 1.0, voller Farbton statt gedaempft)
ctx.fillStyle = `rgba(${lzR},${lzG},${lzB},${0.65 + 0.35 * blink})`;
ctx.fillRect(lzSx, GROUND_Y - 22, lz.w, 22);
ctx.strokeStyle = `rgba(255,255,255,1.0)`;
@@ -3988,7 +3988,7 @@
state._fuelTrack.lastFuel = h.fuel;
state._fuelTrack.lastT = state.t;
}
// Balken: 0..12 l/min (typisch 46, Vollschub bis ~10), mit Mindestbreite 4%
// Balken: 0..12 l/min (typisch 4 6, Vollschub bis ~10), mit Mindestbreite 4%
const lpm = state._fuelLitersPerMin || 0;
const fr = document.getElementById('fFuelRate');
const vr = document.getElementById('vFuelRate');