Fix inventory layout integration and qualify ordinary UI and radio guidance

This commit is contained in:
2026-09-19 18:17:51 +02:00
parent 5c7719c19c
commit 67de3752fb
125 changed files with 18310 additions and 42 deletions
@@ -0,0 +1,11 @@
[WorkbenchPluginAttribute(name: "Isolated vanilla inventory control", wbModules: {"WorldEditor"})]
class ERRIC_InventoryControlPlugin : WorldEditorPlugin
{
override void RunCommandline()
{
string enabled, play;
WorldEditor editor = Workbench.GetModule(WorldEditor);
if (editor && System.GetCLIParam("erricInventoryControl", enabled) && enabled == "1" && System.GetCLIParam("errPlay", play) && play == "1")
editor.SwitchToGameMode();
}
}