Region file format

This commit is contained in:
2026-09-27 23:45:07 -03:00
parent a6869eeb59
commit 677ad8115a
18 changed files with 666 additions and 567 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import { register_mod_data } from "$/common/mod_loader.ts";
import type { ModData, ModListing } from "$/common/mod_loader.ts";
import { load_worldgen } from "$/common/worldgen_loader.ts";
import { GameHost, GameServer } from "./game_server.ts";
import type { WorldSave } from "./saves.ts";
import { ModRuntime } from "./mod_runtime.ts";
export interface ServerModSource {
@@ -16,7 +17,7 @@ export interface ServerModSource {
export async function start_game(
host: GameHost,
save: string | undefined,
save: WorldSave | undefined,
default_seed: string,
mods: ServerModSource[],
): Promise<GameServer> {