Rename bmod to just mod

This commit is contained in:
2026-11-04 22:07:45 -03:00
parent fe0d857021
commit 5baaf0239a
33 changed files with 253 additions and 253 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ import {
} from "@/common/mod_data.ts";
import { json_object } from "@/common/schema.ts";
import { check_references, load_order, type LoadedMod, type ModReport } from "@/common/mod_check.ts";
import { png_size, texture_size_problem } from "@/common/bmod.ts";
import { png_size, texture_size_problem } from "@/common/mod.ts";
import { type TextureJson, validate_texture_json } from "@/common/texture_animation.ts";
import { type LootTableJson, validate_loot_table } from "@/common/loot.ts";
import { validate_biome } from "@/common/worldgen/biomes.ts";
@@ -125,7 +125,7 @@ function load_mod(mods_dir: string, id: string): LoadedMod {
error(`manifest.json: scripts.${side} ${path} doesn't exist`);
}
}
// cubi/engine needs engine_access, it's checked again on the bundled code when a .bmod loads
// cubi/engine needs engine_access, it's checked again on the bundled code when a .cubi loads
if (mod.manifest?.engine_access !== true) {
const folders = new Set(Object.values(scripts).filter((p) => typeof p === "string").map((p) => dirname(p)));
for (const folder of folders) {