Change imports

This commit is contained in:
2026-11-04 21:51:26 -03:00
parent 98fa45ebd1
commit ba4b2a8798
270 changed files with 994 additions and 994 deletions
+11 -11
View File
@@ -2,16 +2,16 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import { assert, assertEquals } from "@std/assert";
import { EverythingRegistry } from "$/common/everything_registry.ts";
import type { FluidJson } from "$/common/mod_data.ts";
import type { ModListing } from "$/common/mod_loader.ts";
import type { FluidApi } from "$/common/mod_api/shared.ts";
import { read_bmod } from "$/common/bmod.ts";
import { register_mod_data } from "$/common/mod_loader.ts";
import { load_client_mods } from "$/client/mods.ts";
import { fluid_rules } from "$/client/fluid_rules.ts";
import { load_and_check } from "$/tools/check_mods.ts";
import { pack_mod } from "$/tools/pack_mod.ts";
import { EverythingRegistry } from "@/common/everything_registry.ts";
import type { FluidJson } from "@/common/mod_data.ts";
import type { ModListing } from "@/common/mod_loader.ts";
import type { FluidApi } from "@/common/mod_api/shared.ts";
import { read_bmod } from "@/common/bmod.ts";
import { register_mod_data } from "@/common/mod_loader.ts";
import { load_client_mods } from "@/client/mods.ts";
import { fluid_rules } from "@/client/fluid_rules.ts";
import { load_and_check } from "@/tools/check_mods.ts";
import { pack_mod } from "@/tools/pack_mod.ts";
import { copy_dir, test_game } from "./helpers.ts";
// testfluids: a manifest, the given fluids/ files by file name, and maybe a shared script and an item for it to read
@@ -65,7 +65,7 @@ Deno.test("a fluid with a bad color fails loading", () => {
// syrup is named after the tree in its data and has the color its data says, sap has no rules
const RULES = `
import type { SharedContext } from "bworld/shared";
import type { SharedContext } from "cubi/shared";
export function setup(ctx: SharedContext) {
ctx.fluids.register("testfluids:syrup", {
name: (data: any) => data?.tree && ctx.items.name(data.tree) + " Syrup",