Schematics editor wip

This commit is contained in:
2026-11-22 16:19:10 -03:00
parent 527f2fb5a7
commit 681d3afb4d
6 changed files with 256 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
// SPDX-License-Identifier: AGPL-3.0-or-later
// tools for making the game from inside it. it depends on no mod, so it can be added to any game
import type { ClientContext } from "cubi/client";
import type { ServerContext } from "cubi/server";
import { register_schematic_editor, register_schematic_editor_screen } from "./schematic_editor.ts";
export function server(ctx: ServerContext) {
register_schematic_editor(ctx);
}
export function client(ctx: ClientContext) {
register_schematic_editor_screen(ctx);
}