Single module modding

This commit is contained in:
2026-11-14 12:18:41 -03:00
parent 605008f584
commit 313098892e
134 changed files with 919 additions and 924 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
// screens mods' client scripts make, see docs/modding/gui/index.md: the screens of their menus, and screens with no
// screens mods' client phases make, see docs/modding/gui/index.md: the screens of their menus, and screens with no
// menu. a mod's screen that throws is closed, with the error in the console
import { TICK_DELTA } from "@/common/constants.ts";
import type { ClientMenu as ModClientMenu, MenuScreen, Screen } from "@/common/mod_api/client.ts";
@@ -98,7 +98,7 @@ export class GuiModMenuScreen extends GuiMenuScreen {
}
}
// a screen with no menu, opened by a client script
// a screen with no menu, opened by a mod's client phase
export class GuiModScreen extends GuiScreen {
#mod: string;
#screen: Screen;