Update modding docs
This commit is contained in:
@@ -50,7 +50,6 @@ if (import.meta.main) {
|
||||
try {
|
||||
const path = create_mod(id, display_name);
|
||||
console.log(`Created ${path}. Edit its manifest.json, then run deno task check-mods.`);
|
||||
console.log("Note: the game can't load mods yet, see the implementation plan in MODS.md.");
|
||||
} catch (e) {
|
||||
console.error((e as Error).message);
|
||||
Deno.exit(1);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// deno task pack-mod mods/copper_tools [copper_tools.bmod]
|
||||
// builds a mod folder into a .bmod: its data merged into data.json, each script bundled into one module, and its
|
||||
// textures and credits. deno task build does this for every mod in mods/, see "Mod files" in MODS.md
|
||||
// textures and credits. deno task build does this for every mod in mods/, see docs/modding/gettingstarted/modfiles.md
|
||||
import { basename, dirname, resolve } from "@std/path";
|
||||
import { type Bmod, BMOD_EXTENSION, SCRIPT_SIDES, type ScriptSide, write_bmod } from "$/common/bmod.ts";
|
||||
import type { ManifestJson } from "$/common/mod_data.ts";
|
||||
|
||||
Reference in New Issue
Block a user