oilcheck console command: show every oil leak source (2.10.6)

Engine leak values, oilpan bolts incl. drain plug, oil filter item (items.txt).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 17:41:08 +02:00
co-authored by Claude Opus 5.5
parent a067e238da
commit 0a9da7bc9c
5 changed files with 132 additions and 1 deletions
+4
View File
@@ -27,6 +27,7 @@ namespace MSCO
"vehicles | rig - debug info about vehicles / player models\n" +
"model [game|classic] - other players as MSC characters or the MSCO figure\n" +
"vars <filter> - synced vehicle values, e.g. vars oil (debug)\n" +
"oilcheck - where does oil leak out? (all leak sources of the engine)\n" +
"debug - toggle sync debug output\n" +
"clear - clear this console";
@@ -179,6 +180,9 @@ namespace MSCO
// Diagnose: welche Fahrzeugwerte synchronisiert werden (z.B. "vars oil")
foreach (string line in mp.DescribeVehicleValues(args.Length > 1 ? args[1] : "")) print(line);
break;
case "oilcheck":
foreach (string line in OilCheck.Report()) print(line);
break;
case "debug":
FsmSync.Debug = !FsmSync.Debug;
print("Sync debug output " + (FsmSync.Debug ? "ON" : "OFF"));