World gen stuff
This commit is contained in:
+1
-3
@@ -12,15 +12,13 @@ import { pack_mod } from "@/tools/pack_mod.ts";
|
||||
import { create_mod } from "@/tools/new_mod.ts";
|
||||
import { load_mods } from "@/server/load_mods.ts";
|
||||
import { start_host } from "@/server/host.ts";
|
||||
import { copy_dir } from "./helpers.ts";
|
||||
import { copy_dir, ENGINE_TEXTURES } from "./helpers.ts";
|
||||
import { PROTOCOL_VERSION } from "@/common/protocol.ts";
|
||||
import { decode_level_chunk, type LevelChunk } from "@/common/chunk_streaming.ts";
|
||||
import { decode_chunk, encode_chunk } from "@/server/game/saves.ts";
|
||||
import { list_chunks, read_chunk, write_chunks } from "@/server/regions.ts";
|
||||
import { section_index } from "@/common/section.ts";
|
||||
|
||||
const ENGINE_TEXTURES = ["cubi:missing", ...Array.from({ length: 9 }, (_, i) => `cubi:break_${i}`)];
|
||||
|
||||
// mods/bworld and one made from the template, packed into a folder of .cubi files
|
||||
async function packed_mods() {
|
||||
const sources = Deno.makeTempDirSync({ prefix: "bworld_mod_src_" });
|
||||
|
||||
Reference in New Issue
Block a user