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
+8 -8
View File
@@ -4,19 +4,19 @@
// recipes a shared script registers with ctx.recipes.register: there on the server and every client alike, for their
// scripts and the crafting grid, without being sent
import { assert, assertEquals, assertRejects } from "@std/assert";
import { EverythingRegistry } from "$/common/everything_registry.ts";
import type { ModListing } from "$/common/mod_loader.ts";
import { read_bmod } from "$/common/bmod.ts";
import { load_client_mods } from "$/client/mods.ts";
import { load_order } from "$/common/mod_check.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 { ModListing } from "@/common/mod_loader.ts";
import { read_bmod } from "@/common/bmod.ts";
import { load_client_mods } from "@/client/mods.ts";
import { load_order } from "@/common/mod_check.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";
// sifts into what its component says, and a shaped recipe made in code. then sifting and washing as testrecipes' own
// types, found by the item put in
const SHARED = `
import type { SharedContext } from "bworld/shared";
import type { SharedContext } from "cubi/shared";
export function setup(ctx: SharedContext) {
for (const id of ctx.items.ids()) {
const sifts = ctx.items.components(id)["testrecipes:siftable"] as { into: string } | undefined;