Single module modding

This commit is contained in:
2026-11-14 12:18:41 -03:00
parent 605008f584
commit 313098892e
134 changed files with 919 additions and 924 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import { AIR_ID } from "@/common/protocol.ts";
import { get_state_value, set_state_value } from "@/common/utils.ts";
import type { Face } from "@/common/mod_api/shared.ts";
import type { ClientContext, Instances, ModelRef, Visual, VisualBlock } from "@/common/mod_api/client.ts";
import { setup as setup_client } from "@/mods/create/scripts/client.ts";
import { client as setup_client } from "@/mods/create/scripts/client.ts";
import { stone_floor, test_game } from "../helpers.ts";
// facing and axis states, in the order the importer numbers them
@@ -49,7 +49,7 @@ export async function setup(config: Record<string, unknown> = {}) {
return { ...t, move, place, speed, overstressed, state, use, ticks, crank };
}
// create's client script with only what its visuals need, and a block for one to draw that records what its instances
// create's client phase with only what its visuals need, and a block for one to draw that records what its instances
// do, by model ("own" for the block's own model): how rotating ones turn, and where transformed ones are moved. and the
// items and fluid boxes it draws now, by item and fluid id
export async function visual_for(