Admin: install parts, set time and weather; join without prompt
- VEHICLE: INSTALL for parts that are not installed - runs the game's own assembly (trigger "Assembly" like on load), so the part sits exactly on its pivot; synced to other players via FsmSync (MSCO_INSTALL) - WORLD: time buttons (2-hour steps via the sun FSM's load path) and CLEAR / RAIN / THUNDERSTORM (weather front moved above the admin); sent to everyone as mod message "msco.world" (no server update needed) - JOIN from the server browser/website connects right away in the main menu; server mods still ask before downloading Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -292,6 +292,7 @@ namespace MSCO
|
||||
if (Debug) MscoLog.Warning("[MSCO] << not found: " + msg.Path + " [" + msg.FsmName + "]");
|
||||
return;
|
||||
}
|
||||
if (msg.EventName == VehicleAdmin.InstallEvent) { VehicleAdmin.InstallRemote(fsm); return; } // Admin hat ein Teil eingebaut
|
||||
FsmState state = fsm.Fsm.GetState(msg.State);
|
||||
if (state == null || switchState == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user