diff --git a/CLAUDE.md b/CLAUDE.md index 92db0f0..c3d4655 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,6 +9,10 @@ as any other mod. Always ask before making even the simplest models, unless it's coming from ports/ +## Names + +- The engine is called `cubi`, all engine names should use the `cubi` namespace like `cubi:air` + ## Layout - `server/`: the game server, world, saves and server-side game logic diff --git a/CREATE.md b/CREATE.md index fb79d4b..7cc4e08 100644 --- a/CREATE.md +++ b/CREATE.md @@ -375,8 +375,8 @@ use its blocks. Generic: boats with decks, falling structures and elevators woul placement and interaction rules, for blocks like `DirectionalKineticBlock` that sneaking places the other way round. Like Minecraft's secondary use, sneaking with an item in hand skips the clicked block's interactions and uses or places the item, and an item's `on_use` gets the block it was used on, for the wrench's pickup. Reach is the -`bworld:block_interaction_range` and `bworld:entity_interaction_range` attributes, which clients aim with, so the -extendo grip is a modifier while it's held. `player.start_using(ticks)` uses an item over time, with `on_use_tick`, +`cubi:block_interaction_range` and `cubi:entity_interaction_range` attributes, which clients aim with, so the extendo +grip is a modifier while it's held. `player.start_using(ticks)` uses an item over time, with `on_use_tick`, `on_release_using` and `on_finish_using`, for the sand paper, builder's tea and packages. The potato cannon and wands are plain uses, but their reload needs item cooldowns (Minecraft's `getCooldowns`, shown on the hotbar), which aren't built. diff --git a/build.ts b/build.ts index 4941915..e1305d7 100644 --- a/build.ts +++ b/build.ts @@ -69,7 +69,7 @@ async function build_sprites() { } } -// the engine's textures (engine:), with a list of them. clients put them in the texture atlas with the mods' +// the engine's textures (cubi:), with a list of them. clients put them in the texture atlas with the mods' function build_engine_textures() { const folder = `${BUILD_FOLDER}/assets/textures`; Deno.mkdirSync(folder, { recursive: true }); diff --git a/client/atlas.ts b/client/atlas.ts index a144a7a..d6e0329 100644 --- a/client/atlas.ts +++ b/client/atlas.ts @@ -25,10 +25,10 @@ export interface TextureSize { export const ATLAS_BORDER = 1; // shelves, tallest first so each row wastes little, and by id when they're the same size so the same textures always -// give the same atlas. engine:missing is 16×16 and always there +// give the same atlas. cubi:missing is 16×16 and always there export function atlas_layout(sizes: Map): AtlasLayout { - const entries = [...sizes].filter(([id]) => id !== "engine:missing"); - entries.push(["engine:missing", { width: TEXTURE_SIZE, height: TEXTURE_SIZE }]); + const entries = [...sizes].filter(([id]) => id !== "cubi:missing"); + entries.push(["cubi:missing", { width: TEXTURE_SIZE, height: TEXTURE_SIZE }]); entries.sort(([a, sa], [b, sb]) => sb.height - sa.height || sb.width - sa.width || a.localeCompare(b)); const area = entries.reduce( @@ -76,8 +76,8 @@ export async function build_atlas(textures: Map, texture_jso console.warn(`Texture ${id} isn't a png that can be shown, it will show as missing`); } })); - images.get("engine:missing")?.close(); - images.delete("engine:missing"); + images.get("cubi:missing")?.close(); + images.delete("cubi:missing"); const animations = new Map(); for (const [id, image] of images) { @@ -95,7 +95,7 @@ export async function build_atlas(textures: Map, texture_jso const ctx = canvas.getContext("2d")!; // magenta and black checker - const missing = regions["engine:missing"]; + const missing = regions["cubi:missing"]; const half = TEXTURE_SIZE / 2; ctx.fillStyle = "magenta"; ctx.fillRect(missing.x, missing.y, half, half); @@ -208,7 +208,7 @@ export async function engine_textures(): Promise> { const textures = new Map(); await Promise.all(names.map(async (name) => { const response = await fetch(`/assets/textures/${name}.png`); - textures.set(`engine:${name}`, new Uint8Array(await response.arrayBuffer())); + textures.set(`cubi:${name}`, new Uint8Array(await response.arrayBuffer())); })); return textures; } diff --git a/client/entity/remote_entity.ts b/client/entity/remote_entity.ts index 9a576cd..97b2f78 100644 --- a/client/entity/remote_entity.ts +++ b/client/entity/remote_entity.ts @@ -19,7 +19,7 @@ const SWING_TICKS = 6; // an entity the server simulates, like a mob. this only follows where it's told it is and keeps what it was told // it looks like, for drawing it export class RemoteEntity extends Entity { - // the entity type, like "bworld:item" + // the entity type, like "cubi:item" readonly type: string; // synced data, see EntityData data: EntityData; diff --git a/client/rendering/item_renderer.ts b/client/rendering/item_renderer.ts index c798d4e..6c4a5a3 100644 --- a/client/rendering/item_renderer.ts +++ b/client/rendering/item_renderer.ts @@ -409,7 +409,7 @@ export function fluid_rgb(fluid: FluidVariant): Vec3 { export function fluid_look(fluid: FluidVariant): { texture: string; tint: Vec3 } { const json = EverythingRegistry.get("fluids", fluid?.id); if (!json) throw new Error(`there's no fluid ${fluid?.id}`); - return { texture: json.texture ?? "engine:missing", tint: fluid_rgb(structuredClone(fluid)) }; + return { texture: json.texture ?? "cubi:missing", tint: fluid_rgb(structuredClone(fluid)) }; } // where a model's uv in pixels (0-16) is in the atlas. the atlas's border around each sprite (see ATLAS_BORDER) keeps diff --git a/client/rendering/level_renderer.ts b/client/rendering/level_renderer.ts index 89e6923..bc7eba6 100644 --- a/client/rendering/level_renderer.ts +++ b/client/rendering/level_renderer.ts @@ -204,7 +204,7 @@ export class LevelRenderer { return; } const tex = AssetManager.instance.get("bworld:textures"); - const region = get_sprite_region(`engine:break_${stage}`); + const region = get_sprite_region(`cubi:break_${stage}`); for (const quad of this.#destroy_quads(info, value)) { push_decal_quad(tex, quad, x, y, z, region); } diff --git a/client/rendering/visuals.ts b/client/rendering/visuals.ts index 32800bc..cd5dd39 100644 --- a/client/rendering/visuals.ts +++ b/client/rendering/visuals.ts @@ -487,7 +487,7 @@ export function fluid_box(texture: string, tint: number[], from: number[], to: n for (let at = (Math.floor(from[axis] / 16) + 1) * 16; at < to[axis]; at += 16) points.push(at); return [...points, to[axis]]; }); - const model: ModelJson = { id: "engine:fluid_box", textures: { fluid: texture }, elements: [] }; + const model: ModelJson = { id: "cubi:fluid_box", textures: { fluid: texture }, elements: [] }; const quads: InstanceQuad[] = []; for (let i = 0; i < cuts[0].length - 1; i++) { for (let j = 0; j < cuts[1].length - 1; j++) { diff --git a/client/sprites.ts b/client/sprites.ts index b56df4a..35e8074 100644 --- a/client/sprites.ts +++ b/client/sprites.ts @@ -8,6 +8,6 @@ type TexturesInfo = Record; export function get_sprite_region(id: string): SpriteRegion { const textures_info = AssetManager.instance.get("bworld:textures_info"); - return textures_info?.[id] ?? textures_info?.["engine:missing"] ?? + return textures_info?.[id] ?? textures_info?.["cubi:missing"] ?? { x: 0, y: 0, width: TEXTURE_SIZE, height: TEXTURE_SIZE }; } diff --git a/client/workers/chunk_worker.ts b/client/workers/chunk_worker.ts index 59b50b8..b055fee 100644 --- a/client/workers/chunk_worker.ts +++ b/client/workers/chunk_worker.ts @@ -473,7 +473,7 @@ function block_quads(value: number): MeshQuad[] { flush: quad.flush, group: quad.aligned ? quad.face : UNALIGNED_GROUP, shade: quad.shade ? FACE_SHADE[quad.face] : 1, - sprite: textures_info[quad.texture] ?? textures_info["engine:missing"], + sprite: textures_info[quad.texture] ?? textures_info["cubi:missing"], light_weights: light_weights(quad.face, quad.positions), tint: quad_tint(block, quad.variables), })); @@ -595,8 +595,8 @@ function fill_fluid_cells(chunks: (Uint32Array | null)[], nid: number, index: nu function flowing_scale(block: BlockRegistry): number | undefined { const textures = fluid_textures(block.textures); if (textures.flowing === textures.still) return undefined; - const still = textures_info[textures.still] ?? textures_info["engine:missing"]; - const flowing = textures_info[textures.flowing] ?? textures_info["engine:missing"]; + const still = textures_info[textures.still] ?? textures_info["cubi:missing"]; + const flowing = textures_info[textures.flowing] ?? textures_info["cubi:missing"]; return Math.min(1, still.width / flowing.width); } @@ -619,7 +619,7 @@ function fluid_mesh_quad( flush: true, group: flat ? face : UNALIGNED_GROUP, shade: FACE_SHADE[face], - sprite: textures_info[still ? textures.still : textures.flowing] ?? textures_info["engine:missing"], + sprite: textures_info[still ? textures.still : textures.flowing] ?? textures_info["cubi:missing"], light_weights: light_weights(face, positions), tint: quad_tint(block, [still ? "still" : "flowing"]), }; diff --git a/common/block_models.ts b/common/block_models.ts index 962b8a0..3aa2007 100644 --- a/common/block_models.ts +++ b/common/block_models.ts @@ -169,7 +169,7 @@ export interface PlacedModel { collision_shape?: number[][]; } -export const DEFAULT_MODEL = "engine:cube"; +export const DEFAULT_MODEL = "cubi:cube"; const cube_face = (texture: string, cullface: ModelFace): ModelFaceJson => ({ texture, cullface }); @@ -177,8 +177,8 @@ const cube_face = (texture: string, cullface: ModelFace): ModelFaceJson => ({ te export const BUILTIN_MODELS: Record = { // a full block. "textures" can be one texture, { top, bottom, side } or { front, side }. the front is north, like // minecraft's furnace, so a facing state turns it towards whoever placed it - "engine:cube": { - id: "engine:cube", + "cubi:cube": { + id: "cubi:cube", textures: { top: "#side", bottom: "#side", front: "#side" }, elements: [{ from: [0, 0, 0], @@ -194,16 +194,16 @@ export const BUILTIN_MODELS: Record = { }], }, // two crossed planes, like flowers and saplings. uses the "cross" texture - "engine:cross": { - id: "engine:cross", + "cubi:cross": { + id: "cubi:cross", elements: [ cross_plane(45), cross_plane(-45), ], }, // four planes in a # shape, like wheat. uses the "crop" texture - "engine:crop": { - id: "engine:crop", + "cubi:crop": { + id: "cubi:crop", elements: [ { from: [4, 0, 0], to: [4, 16, 16], shade: false, faces: both_ways("west", "east", "#crop") }, { from: [12, 0, 0], to: [12, 16, 16], shade: false, faces: both_ways("west", "east", "#crop") }, @@ -241,10 +241,10 @@ export function resolve_texture(reference: string, textures: BlockTextures | und const name = reference.slice(1); if (typeof textures === "string") return textures; const next = (textures as Record | undefined)?.[name] ?? model?.textures?.[name]; - if (next === undefined) return "engine:missing"; + if (next === undefined) return "cubi:missing"; reference = next; } - return reference.startsWith("#") ? "engine:missing" : reference; + return reference.startsWith("#") ? "cubi:missing" : reference; } // the variables a texture reference goes through before it's a texture id, "#front" on a cube is front then side @@ -358,14 +358,14 @@ export function block_item_texture(block: BlockRegistry): string | undefined { } const textures = block.textures; if (typeof textures === "string") return textures; - return Object.values(textures)[0] ?? "engine:missing"; + return Object.values(textures)[0] ?? "cubi:missing"; } export function cube_face_texture(block: BlockRegistry, face: "top" | "bottom" | "front" | "side") { return resolve_texture(`#${face}`, cube_textures(block), BUILTIN_MODELS[DEFAULT_MODEL]); } -// the block's textures as engine:cube's. a fluid's { still, flowing } are its top and bottom, and its sides, for its +// the block's textures as cubi:cube's. a fluid's { still, flowing } are its top and bottom, and its sides, for its // item and its particles. the chunk mesher draws fluids itself export function cube_textures(block: BlockRegistry): BlockTextures { if (!block.fluid) return block.textures; diff --git a/common/block_rules.ts b/common/block_rules.ts index b7e9ed4..fbc93f3 100644 --- a/common/block_rules.ts +++ b/common/block_rules.ts @@ -203,7 +203,7 @@ export class BlockRules { let neighbor: SharedBlock | undefined; for (const { mod, id: rules_id, rules, params } of this.#of(block)) { if (!rules.on_neighbor_change) continue; - const changed = neighbor ??= { ...from, id: this.get_block(from.x, from.y, from.z) ?? "bworld:air" }; + const changed = neighbor ??= { ...from, id: this.get_block(from.x, from.y, from.z) ?? "cubi:air" }; const at = { x, y, z, id }; this.run(mod, `${rules_id} on_neighbor_change`, () => rules.on_neighbor_change!(at, params, changed)); } diff --git a/common/blocks/crops.ts b/common/blocks/crops.ts deleted file mode 100644 index e14ff6b..0000000 --- a/common/blocks/crops.ts +++ /dev/null @@ -1,148 +0,0 @@ -// SPDX-FileCopyrightText: 2026 Paula Wisnievski -// SPDX-License-Identifier: AGPL-3.0-or-later - -import { EverythingRegistry } from "$/common/everything_registry.ts"; - -interface CropsRegistry { - total_stages: number; - time_to_grow: number[]; - item_drop: string; - sprite_ids: string[]; - regrowable: boolean; -} - -EverythingRegistry.register("crops", "bworld:carrot", { - total_stages: 5, - time_to_grow: [60, 60 * 3, 60 * 3, 60 * 3], - sprite_ids: [ - "bworld:carrot_seeds", - "bworld:carrot_stage_1", - "bworld:carrot_stage_2", - "bworld:carrot_stage_3", - "bworld:carrot_stage_4", - ], - item_drop: "bworld:carrot", - regrowable: false, -}); -EverythingRegistry.register("crops", "bworld:potato", { - total_stages: 5, - time_to_grow: [45, 60 * 2, 60 * 2, 60 * 2], - sprite_ids: [ - "bworld:potato_seeds", - "bworld:potato_stage_1", - "bworld:potato_stage_2", - "bworld:potato_stage_3", - "bworld:potato_stage_4", - ], - item_drop: "bworld:potato", - regrowable: false, -}); -EverythingRegistry.register("crops", "bworld:tomato", { - total_stages: 5, - time_to_grow: [90, 60 * 2, 60 * 2, 60 * 3], - sprite_ids: [ - "bworld:tomato_seeds", - "bworld:tomato_stage_1", - "bworld:tomato_stage_2", - "bworld:tomato_stage_3", - "bworld:tomato_stage_4", - ], - item_drop: "bworld:tomato", - regrowable: true, -}); -EverythingRegistry.register("crops", "bworld:pumpkin", { - total_stages: 5, - time_to_grow: [60 * 2, 60 * 4, 60 * 4, 60 * 4], - sprite_ids: [ - "bworld:pumpkin_seeds", - "bworld:pumpkin_stage_1", - "bworld:pumpkin_stage_2", - "bworld:pumpkin_stage_3", - "bworld:pumpkin_stage_4", - ], - item_drop: "bworld:pumpkin", - regrowable: false, -}); - -interface TileCropData { - current_stage: number; - growth_time: number; -} -/* -function create_crop_tile(crop_id: string) { - const crop_info = EverythingRegistry.get("crops", crop_id); - - return { - has_collision: false, - on_create(_, tile) { - tile.data = { - current_stage: 0, - growth_time: 0, - }; - }, - texture_id(tile) { - return crop_info.sprite_ids[tile.data!.current_stage]; - }, - on_click(world, tile) { - const [player] = world.get_tag("player")!; - const player_inventory = player.get(PlayerComponent)!.player_inventory; - const item = player_inventory.container.get_item(player_inventory.hotbar_selected); - if (!item) { - return; - } - - if (item.type_id === "bworld:pickaxe") { - world.dimension.delete_tile(world, tile); - } - }, - on_interact(world, tile) { - if (tile.data!.current_stage + 1 !== crop_info.total_stages) { - return; - } - const [player] = world.get_tag("player")!; - const player_inventory = player.get(PlayerComponent)!.player_inventory; - player_inventory.container.add_item(new ItemStack(crop_info.item_drop)); - if (crop_info.regrowable) { - tile.data!.current_stage -= 1; - } else { - world.dimension.delete_tile(world, tile); - } - }, - on_second(_, tile, delta) { - const crop = tile.data!; - // finished growing - if (crop.current_stage + 1 === crop_info.total_stages) { - return; - } - - // grow ! - crop.growth_time += delta; - if (crop.growth_time >= crop_info.time_to_grow[crop.current_stage]) { - crop.current_stage += 1; - crop.growth_time = 0; - } - }, - } as BlockRegistry; -} - -EverythingRegistry.register>( - "blocks", - "bworld:tomato_crop", - create_crop_tile("bworld:tomato"), -); -EverythingRegistry.register>( - "blocks", - "bworld:carrot_crop", - create_crop_tile("bworld:carrot"), -); -EverythingRegistry.register>( - "blocks", - "bworld:potato_crop", - create_crop_tile("bworld:potato"), -); -EverythingRegistry.register>( - "blocks", - "bworld:pumpkin_crop", - create_crop_tile("bworld:pumpkin"), -); -*/ diff --git a/common/commands.ts b/common/commands.ts index 1e128d0..b3ccc3f 100644 --- a/common/commands.ts +++ b/common/commands.ts @@ -377,7 +377,7 @@ function registry_id(registry: string, what: string): ArgumentType { suggest(partial) { return EverythingRegistry.entries(registry) .map(([id]) => id) - .filter((id) => id !== "bworld:air" && (id.startsWith(partial) || id.split(":")[1].startsWith(partial))) + .filter((id) => id !== "cubi:air" && (id.startsWith(partial) || id.split(":")[1].startsWith(partial))) .map((id) => ({ text: id })); }, }; diff --git a/common/constants.ts b/common/constants.ts index fe67386..168330f 100644 --- a/common/constants.ts +++ b/common/constants.ts @@ -49,7 +49,7 @@ export const PLAYER_EYE_HEIGHT = 1.69; export const PLAYER_SWIM_HEIGHT = 0.8; export const PLAYER_SWIM_EYE_HEIGHT = 0.6; -// the stages of cracks on a block being broken, 0 to this, each drawn with engine:break_ +// the stages of cracks on a block being broken, 0 to this, each drawn with cubi:break_ export const BREAK_STAGES = 8; // where a block placed against each face of another block goes diff --git a/common/everything_registry.ts b/common/everything_registry.ts index b6c12e7..0e2976a 100644 --- a/common/everything_registry.ts +++ b/common/everything_registry.ts @@ -71,7 +71,7 @@ export class EverythingRegistry { } // one texture for everything, or the model's texture variables: { top, bottom, side } or { front, side } for -// cubes, { crop } for engine:crop and so on +// cubes, { crop } for cubi:crop and so on export type BlockTextures = string | Record; export interface BlockStateDefinition { @@ -106,7 +106,7 @@ export interface BlockRegistry { // what players see, like "Iron Ore". made from the id when not set, see display_name in common/utils.ts name?: string; textures: BlockTextures; - // the block model, engine:cube when not set. see common/block_models.ts + // the block model, cubi:cube when not set. see common/block_models.ts model?: string; // solid when not set. anything else doesn't hide its neighbors' faces render_layer?: RenderLayer; @@ -199,7 +199,7 @@ export function is_fluid_block(block: BlockRegistry | undefined): boolean { // a fluid's textures as the top, bottom and sides of a cube, for its item and its particles export function fluid_textures(textures: BlockTextures): { still: string; flowing: string } { if (typeof textures === "string") return { still: textures, flowing: textures }; - const still = textures.still ?? "engine:missing"; + const still = textures.still ?? "cubi:missing"; return { still, flowing: textures.flowing ?? still }; } diff --git a/common/generation.ts b/common/generation.ts index 334bb79..c4511ff 100644 --- a/common/generation.ts +++ b/common/generation.ts @@ -177,10 +177,10 @@ function generate_features( return undefined; } const nid = blocks[y * CHUNK_AREA + local(x, z, "get_block")] & ID_MASK; - return nid === AIR ? "bworld:air" : ids_by_nid[nid]; + return nid === AIR ? "cubi:air" : ids_by_nid[nid]; }, set_block(x, y, z, id) { - const nid = id === "bworld:air" ? AIR : block_ids[id]; + const nid = id === "cubi:air" ? AIR : block_ids[id]; if (nid === undefined) { throw new Error(`unknown block ${id}`); } diff --git a/common/mod_api/server.ts b/common/mod_api/server.ts index b65fb18..8ddd498 100644 --- a/common/mod_api/server.ts +++ b/common/mod_api/server.ts @@ -326,7 +326,7 @@ export interface ServerWorld { // an item lying still at x y z, which players can pick up after half a second, like a new minecraft ItemEntity spawn_item(x: number, y: number, z: number, item: ItemStack): EntityRef; // the entities whose boxes touch the box between two corners, like minecraft's getEntitiesOfClass. only ones of type - // when given, like "bworld:item" for items lying around. players aren't among them, they're in ctx.players + // when given, like "cubi:item" for items lying around. players aren't among them, they're in ctx.players entities_in(from: Position, to: Position, type?: Id): EntityRef[]; // uses item on face of the block at x y z the way a player holding it would, like a deployer: the block's // on_interact, or the item's on_use, or placing it. a player that isn't anyone does it, standing in the block in @@ -456,7 +456,7 @@ export interface Player { set_worn(key: string, items: ItemStack[]): void; teleport(x: number, y: number, z: number): void; // health and hunger, like minecraft: 20 each, saturation is never above hunger. max_health is the - // bworld:max_health attribute + // cubi:max_health attribute readonly health: number; readonly max_health: number; readonly food: number; @@ -468,7 +468,7 @@ export interface Player { feed(nutrition: number, saturation_modifier: number): void; // tires them out: 4 costs a point of saturation, or of hunger once it's gone add_exhaustion(amount: number): void; - // their stats, like minecraft's attributes: "bworld:attack_damage", "bworld:attack_speed", "bworld:max_health"... + // their stats, like minecraft's attributes: "cubi:attack_damage", "cubi:attack_speed", "cubi:max_health"... // see docs/modding/entities/players.md. modifiers aren't saved, they're gone when the player leaves attribute(id: Id): number; // replaces one with the same id on that attribute diff --git a/common/mod_api/shared.ts b/common/mod_api/shared.ts index 9faf528..fe3853f 100644 --- a/common/mod_api/shared.ts +++ b/common/mod_api/shared.ts @@ -189,7 +189,7 @@ export interface SharedContext { } export interface SharedWorld { - // undefined when the chunk isn't loaded, "bworld:air" for air + // undefined when the chunk isn't loaded, "cubi:air" for air get_block(x: number, y: number, z: number): Id | undefined; get_state(x: number, y: number, z: number, name: string): number | undefined; // changing what a block is tells the blocks beside it, see BlockRules.on_neighbor_change diff --git a/common/mod_check.ts b/common/mod_check.ts index eda2276..594cf07 100644 --- a/common/mod_check.ts +++ b/common/mod_check.ts @@ -134,7 +134,7 @@ export function load_order(mods: LoadedMod[]): LoadedMod[] { // it has none, and an item file without a texture only adds to its block's item export function registered_ids(mods: LoadedMod[]): Record> { const ids: Record> = { - blocks: new Set(["bworld:air"]), + blocks: new Set(["cubi:air"]), items: new Set(), entities: new Set(), biomes: new Set(), @@ -151,7 +151,7 @@ export function registered_ids(mods: LoadedMod[]): Record) { const block_owners = new Map(); const item_owners = new Map(); @@ -240,7 +240,7 @@ export function check_references(mods: LoadedMod[], engine_textures: Iterable, ctx: z.RefinementCtx) problem(["states"], `can't have "${FLUID_LEVEL.name}", a fluid gets that state of its own`); } if (block.waterloggable !== undefined) problem(["waterloggable"], "isn't for fluids"); - } else if (block.parts === undefined && (block.model ?? "engine:cube") === "engine:cube") { + } else if (block.parts === undefined && (block.model ?? "cubi:cube") === "cubi:cube") { if (!cube_textures.safeParse(block.textures).success) { problem(["textures"], "must be a texture id, { top, bottom, side } or { front, side }"); } @@ -484,7 +484,7 @@ const fluid_schema = z.object({ name: text.optional(), // for whatever shows it, like a layer tinted "fluid" on a full container color, - // what a box of it is drawn with, tinted by its color, like neoforge's still texture. engine:missing when not set + // what a box of it is drawn with, tinted by its color, like neoforge's still texture. cubi:missing when not set texture: z.string().optional(), // what 1000 mB of it is worth when sold in a fluid container, like an item's base_sell_value base_sell_value: z.int().min(0).optional(), diff --git a/common/mod_loader.ts b/common/mod_loader.ts index 7557829..ee3040f 100644 --- a/common/mod_loader.ts +++ b/common/mod_loader.ts @@ -111,7 +111,7 @@ export class ModLoadError extends Error { // whether a block, item, entity or biome is registered, for tags. air isn't a registered block, but tags can hold it export function is_registered(registry: TagRegistry, id: string): boolean { - return (registry === "blocks" && id === "bworld:air") || EverythingRegistry.get(registry, id) !== undefined; + return (registry === "blocks" && id === "cubi:air") || EverythingRegistry.get(registry, id) !== undefined; } // registers every mod's blocks, items, entities, effects, fluids, tags and recipes, in the order given (dependencies diff --git a/common/protocol.ts b/common/protocol.ts index 0b65d1a..29cc61e 100644 --- a/common/protocol.ts +++ b/common/protocol.ts @@ -7,11 +7,11 @@ import type { ItemData } from "./inventory.ts"; import type { FluidVariant } from "./mod_api/shared.ts"; import type { ModListing } from "./mod_loader.ts"; -export const AIR_ID = "bworld:air"; +export const AIR_ID = "cubi:air"; // bump when a client and server of different versions can't play together. // the server rejects a different version before the client downloads anything -export const PROTOCOL_VERSION = 25; +export const PROTOCOL_VERSION = 26; export interface PlayerInfo { id: string; diff --git a/common/utils.ts b/common/utils.ts index 5a25f52..f482d52 100644 --- a/common/utils.ts +++ b/common/utils.ts @@ -74,7 +74,7 @@ export function item_texture( item: ItemStack, info = EverythingRegistry.get("items", item.type_id), ): string { - if (!info) return "engine:missing"; + if (!info) return "cubi:missing"; const data = item.data as Record | undefined; for (const [key, texture] of Object.entries(info.data_textures ?? {})) { if (data?.[key]) return texture; @@ -234,7 +234,7 @@ export function can_place( below: string, ): boolean { if (!block) return false; - const into = current?.id ?? "bworld:air"; + const into = current?.id ?? "cubi:air"; const replaceable = !current || current.replaceable === true; const in_ok = block.place_in ? list_matches("blocks", block.place_in, into) : replaceable; // one that's only ever waterlogged goes into a source of its fluid and nothing else diff --git a/docs/modding/blocks/crops.md b/docs/modding/blocks/crops.md index a78a060..cacf935 100644 --- a/docs/modding/blocks/crops.md +++ b/docs/modding/blocks/crops.md @@ -18,7 +18,7 @@ a snowy biome. "format_version": 1, "block": { "id": "bworld:cabbages", - "model": "engine:cross", + "model": "cubi:cross", "textures": { "cross": "bworld:cabbages_stage0" }, "variants": { "age=1": { "textures": { "cross": "bworld:cabbages_stage1" } }, diff --git a/docs/modding/blocks/index.md b/docs/modding/blocks/index.md index aa7ab12..a19d04d 100644 --- a/docs/modding/blocks/index.md +++ b/docs/modding/blocks/index.md @@ -30,21 +30,21 @@ of tier 1 (stone or copper) or better. ### Looks -| Field | Default | Meaning | -| ---------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | required | The block's id. | -| `name` | from the id | What players see. `copper_tools:copper_block` is "Copper Block" when not set. Its item uses it too. | -| `textures` | required | One texture id for every side, `{ "top", "bottom", "side" }`, or `{ "front", "side" }` (optionally with `top` and `bottom`) for a block that faces a way. With another `model`, the model's texture variables. | -| `model` | `engine:cube` | The [block model](../resources/models.md). | -| `variants` | none | Other models, textures or rotations for some [states](states.md). | -| `parts` | none | Models drawn together depending on [states](states.md), like a fence's post and bars. See [Parts](../resources/models.md#parts). | -| `item_model` | none | The model its item is drawn with. See [Item Models](../resources/models.md#item-models). | -| `render_layer` | `solid` | `solid`; `cutout` for texels that are fully opaque or fully clear, like leaves; `translucent` for blended ones, like water and glass. | -| `cull_same` | see meaning | Hide the faces between two of this block. `true` for translucent blocks, `false` otherwise. | -| `alpha` | `1` | Opacity, for translucent blocks. | -| `tint` | none | Draws its textures in a color, see [below](#tinting). | -| `light_emission` | `0` | Light it gives off, 0-15. A torch is 14. | -| `light_opacity` | see meaning | How much light passing through it loses, 0-15. `15` for solid blocks, `0` otherwise. Leaves and water use `1`. | +| Field | Default | Meaning | +| ---------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | required | The block's id. | +| `name` | from the id | What players see. `copper_tools:copper_block` is "Copper Block" when not set. Its item uses it too. | +| `textures` | required | One texture id for every side, `{ "top", "bottom", "side" }`, or `{ "front", "side" }` (optionally with `top` and `bottom`) for a block that faces a way. With another `model`, the model's texture variables. | +| `model` | `cubi:cube` | The [block model](../resources/models.md). | +| `variants` | none | Other models, textures or rotations for some [states](states.md). | +| `parts` | none | Models drawn together depending on [states](states.md), like a fence's post and bars. See [Parts](../resources/models.md#parts). | +| `item_model` | none | The model its item is drawn with. See [Item Models](../resources/models.md#item-models). | +| `render_layer` | `solid` | `solid`; `cutout` for texels that are fully opaque or fully clear, like leaves; `translucent` for blended ones, like water and glass. | +| `cull_same` | see meaning | Hide the faces between two of this block. `true` for translucent blocks, `false` otherwise. | +| `alpha` | `1` | Opacity, for translucent blocks. | +| `tint` | none | Draws its textures in a color, see [below](#tinting). | +| `light_emission` | `0` | Light it gives off, 0-15. A torch is 14. | +| `light_opacity` | see meaning | How much light passing through it loses, 0-15. `15` for solid blocks, `0` otherwise. Leaves and water use `1`. | Only `solid` blocks hide their neighbors' faces. Blocks that aren't full cubes, like plants, should use `cutout`, or there will be holes in the world behind them. diff --git a/docs/modding/blocks/states.md b/docs/modding/blocks/states.md index 614b7e3..14e73f5 100644 --- a/docs/modding/blocks/states.md +++ b/docs/modding/blocks/states.md @@ -53,7 +53,7 @@ a texture per growth stage: "format_version": 1, "block": { "id": "bworld:wheat", - "model": "engine:crop", + "model": "cubi:crop", "textures": { "crop": "bworld:wheat_stage_0" }, "variants": { "age=1": { "textures": { "crop": "bworld:wheat_stage_1" } }, diff --git a/docs/modding/concepts/registries.md b/docs/modding/concepts/registries.md index f5d3161..3da36bf 100644 --- a/docs/modding/concepts/registries.md +++ b/docs/modding/concepts/registries.md @@ -15,10 +15,9 @@ An id looks like `namespace:name`, like `bworld:cabbage`: Two namespaces are reserved: - `bworld` belongs to the base game, `mods/bworld`. -- `engine` belongs to the engine: the missing texture `engine:missing`, the breaking cracks `engine:break_0` to - `engine:break_8`, and the built-in block models `engine:cube`, `engine:cross` and `engine:crop`. - -`bworld:air` is the one exception: it's the engine's empty block, but keeps that id because every save has it. +- `cubi` belongs to the engine: the empty block `cubi:air`, the entity types `cubi:player` and `cubi:item`, the + [attributes](../entities/players.md) like `cubi:max_health`, the missing texture `cubi:missing`, the breaking cracks + `cubi:break_0` to `cubi:break_8`, and the built-in block models `cubi:cube`, `cubi:cross` and `cubi:crop`. [Tags](../resources/tags.md) aren't registered like this: they're lists that every mod can add to, their ids can have folders (`c:ingots/iron`), and the `c` namespace is shared by every mod. diff --git a/docs/modding/entities/effects.md b/docs/modding/entities/effects.md index 6944351..7f5a048 100644 --- a/docs/modding/entities/effects.md +++ b/docs/modding/entities/effects.md @@ -18,7 +18,7 @@ game's effects are defined this way, in `mods/bworld/effects`. "id": "copper_tools:swiftness", "category": "beneficial", "icon": "copper_tools:swiftness", - "modifiers": [{ "attribute": "bworld:movement_speed", "amount": 0.1, "operation": "add_multiplied_total" }] + "modifiers": [{ "attribute": "cubi:movement_speed", "amount": 0.1, "operation": "add_multiplied_total" }] } } ``` diff --git a/docs/modding/entities/index.md b/docs/modding/entities/index.md index c40a0d1..5e477d7 100644 --- a/docs/modding/entities/index.md +++ b/docs/modding/entities/index.md @@ -172,12 +172,12 @@ have a `push` too, see [Players](players.md#pushing). Minecraft's `getEntitiesOfClass`, only the ones of `type` when it's given. Players aren't among them, they're in `ctx.players`. -Items lying around are entities of type `bworld:item`. A machine that works on them, like a press, finds them, changes +Items lying around are entities of type `cubi:item`. A machine that works on them, like a press, finds them, changes them with `set_item`, and adds what it made with `ctx.world.spawn_item`, which lays an item down still where it's put, unlike `drop_item`, which pops it out of a block: ```ts -const [item] = ctx.world.entities_in({ x, y: y - 1, z }, { x: x + 1, y, z: z + 1 }, "bworld:item"); +const [item] = ctx.world.entities_in({ x, y: y - 1, z }, { x: x + 1, y, z: z + 1 }, "cubi:item"); const stack = item?.get_item(); if (stack?.id === "bworld:iron_ingot") { item.set_item(stack.count > 1 ? { ...stack, count: stack.count - 1 } : undefined); diff --git a/docs/modding/entities/players.md b/docs/modding/entities/players.md index 9013bcd..f57564a 100644 --- a/docs/modding/entities/players.md +++ b/docs/modding/entities/players.md @@ -35,7 +35,7 @@ interface Player { teleport(x: number, y: number, z: number): void; readonly health: number; // out of max_health - readonly max_health: number; // 20, or what the bworld:max_health attribute makes it + readonly max_health: number; // 20, or what the cubi:max_health attribute makes it readonly food: number; // hunger, out of 20 readonly saturation: number; // never above food @@ -74,7 +74,7 @@ what a player is looking at, like Minecraft's `getPlayerPOVHitResult`: ```ts const eye = player.eye_position; const look = player.look_direction; -const reach = player.attribute("bworld:block_interaction_range"); +const reach = player.attribute("cubi:block_interaction_range"); const to = { x: eye.x + look.x * reach, y: eye.y + look.y * reach, z: eye.z + look.z * reach }; const hit = ctx.world.raycast(eye, to, { fluids: "source_only" }); ``` @@ -106,17 +106,17 @@ even when their game isn't running, like in a background tab. A player's stats are attributes, like Minecraft's: a base value that modifiers change without touching it. -| Attribute | Base | Meaning | -| --------------------------------- | ---- | -------------------------------------------------------------------------- | -| `bworld:attack_damage` | 1 | How much their hits do. | -| `bworld:attack_speed` | 4 | Full strength attacks a second. Hitting sooner than that does less damage. | -| `bworld:block_interaction_range` | 6 | How far from their eyes they break and use blocks, in blocks. | -| `bworld:entity_interaction_range` | 3 | How far from their eyes they hit entities, in blocks. | +| Attribute | Base | Meaning | +| ------------------------------- | ---- | -------------------------------------------------------------------------- | +| `cubi:attack_damage` | 1 | How much their hits do. | +| `cubi:attack_speed` | 4 | Full strength attacks a second. Hitting sooner than that does less damage. | +| `cubi:block_interaction_range` | 6 | How far from their eyes they break and use blocks, in blocks. | +| `cubi:entity_interaction_range` | 3 | How far from their eyes they hit entities, in blocks. | ```ts -player.add_modifier("bworld:attack_damage", { id: "my_mod:rage", amount: 2, operation: "add_value" }); -player.attribute("bworld:attack_damage"); // 3 -player.remove_modifier("bworld:attack_damage", "my_mod:rage"); +player.add_modifier("cubi:attack_damage", { id: "my_mod:rage", amount: 2, operation: "add_value" }); +player.attribute("cubi:attack_damage"); // 3 +player.remove_modifier("cubi:attack_damage", "my_mod:rage"); ``` The value is the base, plus every `add_value`, plus that times the amount of each `add_multiplied_base`, then times 1 @@ -136,13 +136,13 @@ reaches further gives a modifier while it's held, like Create's extendo grip: ctx.events.after.tick.subscribe(() => { for (const player of ctx.players.all()) { if (player.held_item?.id === "copper_tools:grabber") { - player.add_modifier("bworld:block_interaction_range", { + player.add_modifier("cubi:block_interaction_range", { id: "copper_tools:grabber", amount: 3, operation: "add_value", }); } else { - player.remove_modifier("bworld:block_interaction_range", "copper_tools:grabber"); + player.remove_modifier("cubi:block_interaction_range", "copper_tools:grabber"); } } }); diff --git a/docs/modding/resources/models.md b/docs/modding/resources/models.md index 77a6491..27811bb 100644 --- a/docs/modding/resources/models.md +++ b/docs/modding/resources/models.md @@ -1,15 +1,15 @@ # Block Models -A block's model is its shape: the boxes it's made of and which texture goes on each face. Blocks use `engine:cube` -unless they set `model`. For entity models, see [Entities](../entities/index.md#entity-models). +A block's model is its shape: the boxes it's made of and which texture goes on each face. Blocks use `cubi:cube` unless +they set `model`. For entity models, see [Entities](../entities/index.md#entity-models). ## Built-In Models -| Model | Texture variables | Shape | -| -------------- | --------------------------------------------------------- | ---------------------------------------------- | -| `engine:cube` | one texture, `{ top, bottom, side }` or `{ front, side }` | A full block. | -| `engine:cross` | `cross` | Two crossed planes, like flowers and saplings. | -| `engine:crop` | `crop` | Four planes in a # shape, like wheat. | +| Model | Texture variables | Shape | +| ------------ | --------------------------------------------------------- | ---------------------------------------------- | +| `cubi:cube` | one texture, `{ top, bottom, side }` or `{ front, side }` | A full block. | +| `cubi:cross` | `cross` | Two crossed planes, like flowers and saplings. | +| `cubi:crop` | `crop` | Four planes in a # shape, like wheat. | Blocks that aren't full cubes should use the `cutout` or `translucent` [render layer](../blocks/index.md#looks), since `solid` blocks hide their neighbors' faces. They usually want `"collision": false` too. @@ -24,13 +24,13 @@ Models name their textures with variables, like `#side`, and blocks fill them in ```json { "id": "bworld:sapling", - "model": "engine:cross", + "model": "cubi:cross", "textures": { "cross": "bworld:sapling" } } ``` -For `engine:cube`, one texture id fills every face. `{ "front", "side" }` puts `front` on the north face and `side` on -the rest. It's for blocks that [face a way](../blocks/states.md#facing), and can also set `top` and `bottom`. +For `cubi:cube`, one texture id fills every face. `{ "front", "side" }` puts `front` on the north face and `side` on the +rest. It's for blocks that [face a way](../blocks/states.md#facing), and can also set `top` and `bottom`. ## Custom Models @@ -126,7 +126,7 @@ player is standing in its other half, either. By default it comes from the model: one box per element, turned with the block's `y`. An element turned by its own `rotation` gets the box around it. Elements that are flat planes aren't boxes, so a model made only of planes, like -`engine:cross` and `engine:crop`, gets one box around all of them, which is what players point at to break the plant. +`cubi:cross` and `cubi:crop`, gets one box around all of them, which is what players point at to break the plant. A block can set its own with `shape`, a list of boxes in pixels like `from` and `to` put together, as Minecraft's `Block.box` does. That's for a shape simpler than the model, or one that's different from what's drawn, like a flower @@ -136,7 +136,7 @@ their own, like a crop that's taller the older it is: ```json { "id": "copper_tools:rice", - "model": "engine:crop", + "model": "cubi:crop", "textures": { "crop": "copper_tools:rice_3" }, "collision": false, "states": [{ "name": "age", "bits": 2, "default": 0 }], diff --git a/docs/modding/resources/textures.md b/docs/modding/resources/textures.md index fd28f22..eb5b559 100644 --- a/docs/modding/resources/textures.md +++ b/docs/modding/resources/textures.md @@ -63,15 +63,15 @@ than short ones. ## Missing Textures -A texture id that doesn't exist shows the magenta and black checker, `engine:missing`, and `check-mods` warns about it. -It isn't an error, so a mod still loads while its art is unfinished. +A texture id that doesn't exist shows the magenta and black checker, `cubi:missing`, and `check-mods` warns about it. It +isn't an error, so a mod still loads while its art is unfinished. ## Engine Textures The engine's own textures use the `engine` namespace and come from `assets/`, not from a mod: -- `engine:missing`, the missing texture, -- `engine:break_0` to `engine:break_8`, the cracks drawn on a block being broken. +- `cubi:missing`, the missing texture, +- `cubi:break_0` to `cubi:break_8`, the cracks drawn on a block being broken. ## How Players Get Them diff --git a/docs/modding_plan.md b/docs/modding_plan.md index 5f9b666..53d0380 100644 --- a/docs/modding_plan.md +++ b/docs/modding_plan.md @@ -268,7 +268,7 @@ If the base game can't be written as a mod, the API is missing something, and ot **The engine** keeps what every game built on it needs: rendering, meshing, lighting and the sky; physics, player movement and input; networking, saving, the game server and its loop; registries, the mod loader and the Game API; -containers, slot click rules, screens and the GUI toolkit; entities; chat; world time; `/tps`; `bworld:air`; and the +containers, slot click rules, screens and the GUI toolkit; entities; chat; world time; `/tps`; `cubi:air`; and the engine assets in `assets/`. **`mods/bworld`** has everything else: @@ -358,9 +358,9 @@ features that are code or data (bworld's trees and cacti are code, in its worldg workers (see [Chunk Streaming](#chunk-streaming)). The golden fixture checked every step made the same world block for block, and the server refuses to start without the `bworld:overworld` generator. -**Done when** searching `client/`, `common/` and `server/` for `"bworld:` finds only `bworld:air`, removing -`mods/bworld` gives an engine that starts and says it needs a terrain generator, the base game uses no engine access, -and a world saved before any of this plays exactly the same. +**Done when** searching `client/`, `common/` and `server/` for `"bworld:` finds only `cubi:air`, removing `mods/bworld` +gives an engine that starts and says it needs a terrain generator, the base game uses no engine access, and a world +saved before any of this plays exactly the same. ## Open Questions diff --git a/mods/artifacts/items/feral_claws.json b/mods/artifacts/items/feral_claws.json index a940682..5143bc9 100644 --- a/mods/artifacts/items/feral_claws.json +++ b/mods/artifacts/items/feral_claws.json @@ -11,7 +11,7 @@ }, "components": { "bworld:curio_modifiers": [ - { "attribute": "bworld:attack_speed", "amount": 0.3, "operation": "add_multiplied_base" } + { "attribute": "cubi:attack_speed", "amount": 0.3, "operation": "add_multiplied_base" } ] } } diff --git a/mods/artifacts/items/power_glove.json b/mods/artifacts/items/power_glove.json index a87c694..63e15eb 100644 --- a/mods/artifacts/items/power_glove.json +++ b/mods/artifacts/items/power_glove.json @@ -12,7 +12,7 @@ }, "components": { "bworld:curio_modifiers": [ - { "attribute": "bworld:attack_damage", "amount": 4, "operation": "add_value" } + { "attribute": "cubi:attack_damage", "amount": 4, "operation": "add_value" } ] } } diff --git a/mods/bworld/README.md b/mods/bworld/README.md index 3363d0d..204e493 100644 --- a/mods/bworld/README.md +++ b/mods/bworld/README.md @@ -48,7 +48,7 @@ The Power Glove from Artifacts: ```json "components": { - "bworld:curio_modifiers": [{ "attribute": "bworld:attack_damage", "amount": 4, "operation": "add_value" }] + "bworld:curio_modifiers": [{ "attribute": "cubi:attack_damage", "amount": 4, "operation": "add_value" }] } ``` diff --git a/mods/bworld/blocks/beetroots.json b/mods/bworld/blocks/beetroots.json index cd11cc7..05a649f 100644 --- a/mods/bworld/blocks/beetroots.json +++ b/mods/bworld/blocks/beetroots.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:beetroot_stage_0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/cabbages.json b/mods/bworld/blocks/cabbages.json index edc8295..d9fabc6 100644 --- a/mods/bworld/blocks/cabbages.json +++ b/mods/bworld/blocks/cabbages.json @@ -5,7 +5,7 @@ "textures": { "cross": "bworld:cabbages_stage0" }, - "model": "engine:cross", + "model": "cubi:cross", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/carrots.json b/mods/bworld/blocks/carrots.json index 7da235e..54fefbe 100644 --- a/mods/bworld/blocks/carrots.json +++ b/mods/bworld/blocks/carrots.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:carrot_stage_0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/cotton.json b/mods/bworld/blocks/cotton.json index f1dad4f..8c1f3f5 100644 --- a/mods/bworld/blocks/cotton.json +++ b/mods/bworld/blocks/cotton.json @@ -5,7 +5,7 @@ "textures": { "cross": "bworld:cotton_stage_0" }, - "model": "engine:cross", + "model": "cubi:cross", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/dead_bush.json b/mods/bworld/blocks/dead_bush.json index c747b61..df71f32 100644 --- a/mods/bworld/blocks/dead_bush.json +++ b/mods/bworld/blocks/dead_bush.json @@ -6,7 +6,7 @@ "textures": { "cross": "bworld:dead_bush" }, - "model": "engine:cross", + "model": "cubi:cross", "render_layer": "cutout", "collision": false, "shape": [[2, 0, 2, 14, 13, 14]], diff --git a/mods/bworld/blocks/melon_plant.json b/mods/bworld/blocks/melon_plant.json index 01d8644..703201b 100644 --- a/mods/bworld/blocks/melon_plant.json +++ b/mods/bworld/blocks/melon_plant.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:melon_stage_0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/onions.json b/mods/bworld/blocks/onions.json index 7429335..6fc2fdd 100644 --- a/mods/bworld/blocks/onions.json +++ b/mods/bworld/blocks/onions.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:onions_stage0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/potatoes.json b/mods/bworld/blocks/potatoes.json index 9b44a03..5444562 100644 --- a/mods/bworld/blocks/potatoes.json +++ b/mods/bworld/blocks/potatoes.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:potatoes_stage_0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/pumpkin_plant.json b/mods/bworld/blocks/pumpkin_plant.json index 4b5caa5..4daddd1 100644 --- a/mods/bworld/blocks/pumpkin_plant.json +++ b/mods/bworld/blocks/pumpkin_plant.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:pumpkin_stage_0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/rice.json b/mods/bworld/blocks/rice.json index a875b99..66c1cab 100644 --- a/mods/bworld/blocks/rice.json +++ b/mods/bworld/blocks/rice.json @@ -5,7 +5,7 @@ "textures": { "cross": "bworld:rice_stage0" }, - "model": "engine:cross", + "model": "cubi:cross", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/rice_panicles.json b/mods/bworld/blocks/rice_panicles.json index f029300..dfc3ef9 100644 --- a/mods/bworld/blocks/rice_panicles.json +++ b/mods/bworld/blocks/rice_panicles.json @@ -5,7 +5,7 @@ "textures": { "cross": "bworld:rice_panicles_stage0" }, - "model": "engine:cross", + "model": "cubi:cross", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/strawberries.json b/mods/bworld/blocks/strawberries.json index 05e01a7..b8d2c96 100644 --- a/mods/bworld/blocks/strawberries.json +++ b/mods/bworld/blocks/strawberries.json @@ -5,7 +5,7 @@ "textures": { "cross": "bworld:strawberry_stage_0" }, - "model": "engine:cross", + "model": "cubi:cross", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/sugar_cane.json b/mods/bworld/blocks/sugar_cane.json index 1691c4c..0bbf746 100644 --- a/mods/bworld/blocks/sugar_cane.json +++ b/mods/bworld/blocks/sugar_cane.json @@ -6,7 +6,7 @@ "textures": { "cross": "bworld:sugar_cane_block" }, - "model": "engine:cross", + "model": "cubi:cross", "render_layer": "cutout", "shape": [[1, 0, 1, 15, 16, 15]], "mining": { diff --git a/mods/bworld/blocks/tomatoes.json b/mods/bworld/blocks/tomatoes.json index 1020533..9335c12 100644 --- a/mods/bworld/blocks/tomatoes.json +++ b/mods/bworld/blocks/tomatoes.json @@ -5,7 +5,7 @@ "textures": { "cross": "bworld:budding_tomatoes_stage0" }, - "model": "engine:cross", + "model": "cubi:cross", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/blocks/verdigris_wire.json b/mods/bworld/blocks/verdigris_wire.json index 2e1dc18..f408e34 100644 --- a/mods/bworld/blocks/verdigris_wire.json +++ b/mods/bworld/blocks/verdigris_wire.json @@ -13,7 +13,7 @@ "loot_table": "bworld:blocks/verdigris_wire", "item": false, "place_in": [ - "bworld:air", + "cubi:air", "bworld:verdigris_wire" ], "states": [ diff --git a/mods/bworld/blocks/wheat.json b/mods/bworld/blocks/wheat.json index d0d15b9..152064c 100644 --- a/mods/bworld/blocks/wheat.json +++ b/mods/bworld/blocks/wheat.json @@ -5,7 +5,7 @@ "textures": { "crop": "bworld:wheat_stage_0" }, - "model": "engine:crop", + "model": "cubi:crop", "variants": { "age=0": { "textures": { diff --git a/mods/bworld/effects/slowness.json b/mods/bworld/effects/slowness.json index 1953f14..bf4dda9 100644 --- a/mods/bworld/effects/slowness.json +++ b/mods/bworld/effects/slowness.json @@ -6,7 +6,7 @@ "icon": "bworld:slow", "modifiers": [ { - "attribute": "bworld:movement_speed", + "attribute": "cubi:movement_speed", "amount": -0.15, "operation": "add_multiplied_total" } diff --git a/mods/bworld/effects/speed.json b/mods/bworld/effects/speed.json index a929fce..70d42fd 100644 --- a/mods/bworld/effects/speed.json +++ b/mods/bworld/effects/speed.json @@ -6,7 +6,7 @@ "icon": "bworld:speed", "modifiers": [ { - "attribute": "bworld:movement_speed", + "attribute": "cubi:movement_speed", "amount": 0.2, "operation": "add_multiplied_total" } diff --git a/mods/bworld/items/giant_chestplate.json b/mods/bworld/items/giant_chestplate.json index 80218fc..bd768a2 100644 --- a/mods/bworld/items/giant_chestplate.json +++ b/mods/bworld/items/giant_chestplate.json @@ -7,7 +7,7 @@ "worn": { "model": "bworld:giant_chestplate", "texture": "bworld:giant_chestplate_worn" }, "components": { "bworld:curio_modifiers": [ - { "attribute": "bworld:max_health", "amount": 20, "operation": "add_value" } + { "attribute": "cubi:max_health", "amount": 20, "operation": "add_value" } ], "bworld:curio_unhurt_effect": { "effect": "bworld:regeneration", "amplifier": 2, "after": 200 } } diff --git a/mods/bworld/scripts/server.ts b/mods/bworld/scripts/server.ts index 1785b89..82f42f7 100644 --- a/mods/bworld/scripts/server.ts +++ b/mods/bworld/scripts/server.ts @@ -678,7 +678,7 @@ function register_farming(ctx: ServerContext) { const die = (block: BlockRef, params: CropParams) => { const { x, y, z } = block; if (params.upper && ctx.world.get_block(x, y + 1, z) === params.upper.block) { - ctx.world.set_block(x, y + 1, z, "bworld:air"); + ctx.world.set_block(x, y + 1, z, "cubi:air"); } ctx.world.set_block(x, y, z, DEAD_BUSH); }; @@ -711,11 +711,11 @@ function register_farming(ctx: ServerContext) { const above = ctx.world.get_block(block.x, block.y + 1, block.z); if (!upper || stage < params.stages) { ctx.world.set_state(block.x, block.y, block.z, "age", stage); - if (upper && above === upper.block) ctx.world.set_block(block.x, block.y + 1, block.z, "bworld:air"); + if (upper && above === upper.block) ctx.world.set_block(block.x, block.y + 1, block.z, "cubi:air"); return; } // the top needs room, like farmer's delight's rice - if (above !== upper.block && above !== "bworld:air") { + if (above !== upper.block && above !== "cubi:air") { ctx.world.set_state(block.x, block.y, block.z, "age", params.stages - 1); return; } @@ -770,7 +770,7 @@ function register_farming(ctx: ServerContext) { const leaves = params.leaves; // after it's gone, it's still there while on_break runs ctx.system.run_timeout(() => { - if (ctx.world.get_block(x, y, z) === "bworld:air") ctx.world.set_block(x, y, z, leaves); + if (ctx.world.get_block(x, y, z) === "cubi:air") ctx.world.set_block(x, y, z, leaves); }, 0); } }, @@ -837,7 +837,7 @@ function register_buckets(ctx: ServerContext) { if (ctx.world.get_block(x, y, z) === block.id) { // only a fluid's source fills it, not where it's flowing if ((ctx.world.get_state(x, y, z, "level") ?? 0) !== 0) return false; - ctx.world.set_block(x, y, z, "bworld:air"); + ctx.world.set_block(x, y, z, "cubi:air"); } else { // the fluid in a waterlogged block, like a fence in water, which stays ctx.world.set_state(x, y, z, "waterlogged", 0); @@ -1050,7 +1050,7 @@ interface GrowableBlockParams { function register_growable_block(ctx: ServerContext) { ctx.components.register_block("bworld:growable_block", { on_new_day(block, params, day) { - if (ctx.world.get_block(block.x, block.y + 1, block.z) !== "bworld:air") { + if (ctx.world.get_block(block.x, block.y + 1, block.z) !== "cubi:air") { return; } const should_grow_today = day % params.days === 0; @@ -1083,7 +1083,7 @@ function register_door(ctx: ServerContext) { const is_door = (id: string) => DOOR in ctx.blocks.components(id); ctx.events.before.block_place.subscribe((event) => { const { id, x, y, z } = event.block; - if (is_door(id) && ctx.world.get_block(x, y + 1, z) !== "bworld:air") event.cancel = true; + if (is_door(id) && ctx.world.get_block(x, y + 1, z) !== "cubi:air") event.cancel = true; }); ctx.events.after.block_place.subscribe(({ block: { id, x, y, z } }) => { if (!is_door(id)) return; @@ -1110,7 +1110,7 @@ function register_door(ctx: ServerContext) { const halves = [`${x},${y},${z}`, `${x},${other},${z}`]; for (const half of halves) breaking.add(half); try { - ctx.world.set_block(x, other, z, "bworld:air"); + ctx.world.set_block(x, other, z, "cubi:air"); } finally { for (const half of halves) breaking.delete(half); } diff --git a/mods/bworld/scripts/trees.ts b/mods/bworld/scripts/trees.ts index 223205b..35afd1b 100644 --- a/mods/bworld/scripts/trees.ts +++ b/mods/bworld/scripts/trees.ts @@ -231,7 +231,7 @@ export function register_trees(gen: WorldgenContext) { return; } const current = chunk.get_block(x, y, z); - if (current === "bworld:air" || (block === "log" && LEAVES.has(current!))) chunk.set_block(x, y, z, id); + if (current === "cubi:air" || (block === "log" && LEAVES.has(current!))) chunk.set_block(x, y, z, id); }; for (const site of tree_sites(chunk)) { @@ -242,7 +242,7 @@ export function register_trees(gen: WorldgenContext) { const ground_y = chunk.height_at(site.x, site.z); const ground = chunk.get_block(site.x, ground_y, site.z); const above = chunk.get_block(site.x, ground_y + 1, site.z); - if (!SOIL.has(ground!) || above !== "bworld:air") continue; + if (!SOIL.has(ground!) || above !== "cubi:air") continue; const kind = here.kinds[Math.floor(site.rng.next() * here.kinds.length)] as TreeKind; // big oaks grow oak, every other kind its own wood, unless the biome says diff --git a/mods/bworld/scripts/verdigris/signals.ts b/mods/bworld/scripts/verdigris/signals.ts index e0e91b1..64a376c 100644 --- a/mods/bworld/scripts/verdigris/signals.ts +++ b/mods/bworld/scripts/verdigris/signals.ts @@ -7,7 +7,7 @@ import type { Face, Id } from "bworld/shared"; import { FACES, type FacingParam, front_of, named_sides, OPPOSITE, type SideName, step } from "./sides.ts"; export const WIRE = "bworld:verdigris_wire"; -export const AIR = "bworld:air"; +export const AIR = "cubi:air"; export const MAX_POWER = 15; // a bworld:verdigris_source's params, the block json's: something that gives power out of some of its sides diff --git a/mods/bworld/scripts/worldgen.ts b/mods/bworld/scripts/worldgen.ts index 673568f..1f67a9d 100644 --- a/mods/bworld/scripts/worldgen.ts +++ b/mods/bworld/scripts/worldgen.ts @@ -35,7 +35,7 @@ function cactus(chunk: FeatureChunk) { continue; } for (let y = ground + 1; y <= ground + height; y++) { - if (chunk.get_block(x, y, z) !== "bworld:air") { + if (chunk.get_block(x, y, z) !== "cubi:air") { break; } chunk.set_block(x, y, z, "bworld:cactus"); diff --git a/mods/create/scripts/server.ts b/mods/create/scripts/server.ts index ebb07d6..cf9796e 100644 --- a/mods/create/scripts/server.ts +++ b/mods/create/scripts/server.ts @@ -294,7 +294,7 @@ function register_press(ctx: ServerContext, compacting: ProcessingRecipe[]) { ctx.world.entities_in( { x: block.x + inset, y: block.y - 1 + inset, z: block.z + inset }, { x: block.x + 1 - inset, y: block.y - inset, z: block.z + 1 - inset }, - "bworld:item", + "cubi:item", ).filter((item) => item.on_ground && pressing_for(item.get_item()!.id)); const press = (item: EntityRef) => { diff --git a/mods/recipe_viewer/scripts/item_list.ts b/mods/recipe_viewer/scripts/item_list.ts index aead00b..8eaca72 100644 --- a/mods/recipe_viewer/scripts/item_list.ts +++ b/mods/recipe_viewer/scripts/item_list.ts @@ -99,7 +99,7 @@ export class ItemList { // in the space from left to the window's right edge. returns the hovered item or fluid render(g: Graphics, left: number, open: Open): Entry | undefined { this.#entries ??= [ - ...this.ctx.items.ids().filter((id) => id !== "bworld:air").map((id) => ({ kind: "item" as const, id })), + ...this.ctx.items.ids().filter((id) => id !== "cubi:air").map((id) => ({ kind: "item" as const, id })), ...this.ctx.fluids.ids().map((id) => ({ kind: "fluid" as const, id })), ]; left += GAP; diff --git a/server/game/entity/attributes.ts b/server/game/entity/attributes.ts index 4cf4dbe..fa7afce 100644 --- a/server/game/entity/attributes.ts +++ b/server/game/entity/attributes.ts @@ -22,7 +22,7 @@ export interface AttributeType { } function attribute(id: string, value: number, min: number, max: number): AttributeType { - return { id: `bworld:${id}`, default: value, min, max }; + return { id: `cubi:${id}`, default: value, min, max }; } export const ATTRIBUTES = { diff --git a/server/game/entity/entity.ts b/server/game/entity/entity.ts index 026451a..7198f4a 100644 --- a/server/game/entity/entity.ts +++ b/server/game/entity/entity.ts @@ -130,7 +130,7 @@ export interface SavedEntity { } export abstract class Entity { - // the entity type, like "bworld:item". see entity_types.ts + // the entity type, like "cubi:item". see entity_types.ts abstract readonly type: string; readonly level: EntityLevel; // a UUID, which clients know it by too diff --git a/server/game/entity/item_entity.ts b/server/game/entity/item_entity.ts index c4ca4d7..02befab 100644 --- a/server/game/entity/item_entity.ts +++ b/server/game/entity/item_entity.ts @@ -7,7 +7,7 @@ import { TICK_DELTA } from "$/common/constants.ts"; import { physics } from "$/common/physics.ts"; import { type Attacker, type DamageSource, Entity, finite, type SavedEntity } from "./entity.ts"; -export const ITEM_ENTITY_TYPE = "bworld:item"; +export const ITEM_ENTITY_TYPE = "cubi:item"; // minecraft's item physics, its per tick numbers turned into per second ones where they're speeds export const ITEM_SIZE = 0.25; @@ -61,7 +61,7 @@ export class ItemEntity extends Entity { constructor( level: Entity["level"], - item = new ItemStack("bworld:air", 0), + item = new ItemStack("cubi:air", 0), x = 0, y = 0, z = 0, diff --git a/server/game/game_server.ts b/server/game/game_server.ts index 1bd5725..846580b 100644 --- a/server/game/game_server.ts +++ b/server/game/game_server.ts @@ -1623,7 +1623,7 @@ export class GameServer { // the engine's own commands, registered like mods' so they're in /help and suggested the same way #register_commands() { - const register = (node: CommandNode) => this.mods.register_command("engine", node); + const register = (node: CommandNode) => this.mods.register_command("cubi", node); // TODO: only let operators do this // with data, any json, like { "damage": 10 } on a tool, or a fluid container full of a fluid with its data @@ -2563,7 +2563,7 @@ function death_message(name: string, source: DamageSource) { // the states a block is placed with: its defaults, and a "facing" state turned towards whoever placed it, like // minecraft's getStateForPlacement with getHorizontalDirection().getOpposite(). facing is 0 north, 1 east, 2 south, -// 3 west, and variants turn the model with it (its north side is the front, like engine:cube's). they look along +// 3 west, and variants turn the model with it (its north side is the front, like cubi:cube's). they look along // (-sin yaw, -cos yaw), so the way back to them is (sin yaw, cos yaw) // where a player is now, for everyone else function player_move(player: ServerPlayer): ServerMessage { diff --git a/server/game/mod_runtime.ts b/server/game/mod_runtime.ts index 6461ae5..a82d949 100644 --- a/server/game/mod_runtime.ts +++ b/server/game/mod_runtime.ts @@ -176,7 +176,7 @@ export class ModRuntime { effect_components = new Map(); // every command, the engine's and mods', see common/commands.ts commands = new CommandDispatcher(); - // who registered each command name: "engine" or a mod's id + // who registered each command name: "cubi" or a mod's id command_owners = new Map(); before: Before = { @@ -478,14 +478,14 @@ export class ModRuntime { const existing = this.command_owners.get(node.name); if (existing) { throw new Error( - existing === "engine" + existing === "cubi" ? `/${node.name} belongs to the engine` : `/${node.name} is also registered by ${existing}`, ); } this.commands.register(node); this.command_owners.set(node.name, owner); - if (owner !== "engine") { + if (owner !== "cubi") { const alias = new CommandNode(`${owner}:${node.name}`); alias.children.push(...node.children); alias.command = node.command; diff --git a/server/game/player.ts b/server/game/player.ts index 3afbf95..21d821b 100644 --- a/server/game/player.ts +++ b/server/game/player.ts @@ -51,7 +51,7 @@ const MAX_KNOCKBACK_TICKS = 20; // until they land, so it works even when their client isn't running, like in a background tab. they're kept apart // from the entity manager's entities, clients hear about players through their own messages export class ServerPlayer extends LivingEntity { - readonly type = "bworld:player"; + readonly type = "cubi:player"; readonly conn: number; readonly name: string; diff --git a/server/host.ts b/server/host.ts index f3e9c9b..5be84f0 100644 --- a/server/host.ts +++ b/server/host.ts @@ -333,10 +333,10 @@ async function write_world(dir: string, save: { level: string; chunks: SavedChun Deno.renameSync(`${level}.tmp`, level); } -// the engine's textures, listed by the build next to the client's assets. engine:missing is drawn by code +// the engine's textures, listed by the build next to the client's assets. cubi:missing is drawn by code export function engine_texture_ids(build_dir: string): string[] { const names: string[] = JSON.parse(Deno.readTextFileSync(join(build_dir, ENGINE_TEXTURES_INDEX))); - return ["engine:missing", ...names.map((name) => `engine:${name}`)]; + return ["cubi:missing", ...names.map((name) => `cubi:${name}`)]; } // the client and the engine's assets. pages on other origins load the engine's textures from here too diff --git a/server/load_bmods.ts b/server/load_bmods.ts index 69f0fd1..f03aba1 100644 --- a/server/load_bmods.ts +++ b/server/load_bmods.ts @@ -25,7 +25,7 @@ export class ModsError extends Error { } } -// engine_textures are the engine: texture ids, for checking the textures mods use. config_dir has the server's +// engine_textures are the cubi: texture ids, for checking the textures mods use. config_dir has the server's // .json files that change mods' config. a mod with problems stops the whole server from starting, the game // never runs with some mods missing export async function load_bmods( diff --git a/tests/base_game_test.ts b/tests/base_game_test.ts index efef03f..e21d876 100644 --- a/tests/base_game_test.ts +++ b/tests/base_game_test.ts @@ -75,7 +75,7 @@ Deno.test("a chest keeps items, shows them to everyone, and drops them when brok assertEquals(opened.open_data, { rows: 3 }); assertEquals(opened.slots.length, 27 + 36); // nothing got placed on top - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); move_to_menu(t, opened, coal, 4); assertEquals(menu_items(t.take(1))[4], { id: "bworld:coal", count: 10 }); @@ -213,7 +213,7 @@ Deno.test("bone meal grows wheat until it's fully grown", async () => { for (let i = 0; i < 7; i++) t.send(1, { type: "use_block", x: 1, y: 100, z: 0, face: "top" }); assertEquals(age(), 7); assertEquals(container_items(t.take(1), "inventory")[slot]?.count, 1); - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); }); Deno.test("the last bone meal is used up", async () => { @@ -247,7 +247,7 @@ Deno.test("items are called by their name, or by one made from their id", async assertEquals(display_name("bworld:iron_ingot"), "Iron Ingot"); assertEquals(display_name("bworld:stone_pickaxe"), "Stone Pickaxe"); assertEquals(display_name("bworld:hoed_dirt"), "Hoed Dirt"); - EverythingRegistry.register("items", "test:thing", { texture_id: "engine:missing", name: "A Thing" }); + EverythingRegistry.register("items", "test:thing", { texture_id: "cubi:missing", name: "A Thing" }); assertEquals(display_name("test:thing"), "A Thing"); }); @@ -410,7 +410,7 @@ Deno.test("a bucket picks up a water source but not flowing water, and a water b t.send(1, { type: "use_block", x: 1, y: 100, z: 0, face: "top" }); assertEquals(held(), "bworld:water_bucket"); - assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 100, 0), "cubi:air"); t.send(1, { type: "use_block", x: -2, y: 99, z: 0, face: "top" }); assertEquals(held(), "bworld:bucket"); @@ -432,7 +432,7 @@ Deno.test("only an empty bucket picks up water, and from a stack the water bucke player.inventory.set_item(0, undefined); t.game.give(player, "bworld:bucket", 3); t.send(1, { type: "use_block", x: 1, y: 100, z: 0, face: "top" }); - assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 100, 0), "cubi:air"); assertEquals(slots(), [["bworld:bucket", 2], ["bworld:water_bucket", 1]]); }); @@ -443,7 +443,7 @@ Deno.test("a bucket picks up a lava source too, and a lava bucket puts one back" t.send(1, { type: "use_block", x: 1, y: 100, z: 0, face: "top" }); assertEquals(held(), "bworld:lava_bucket"); - assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 100, 0), "cubi:air"); t.send(1, { type: "use_block", x: -2, y: 99, z: 0, face: "top" }); assertEquals(held(), "bworld:bucket"); diff --git a/tests/block_models_test.ts b/tests/block_models_test.ts index 1959b12..98888db 100644 --- a/tests/block_models_test.ts +++ b/tests/block_models_test.ts @@ -14,7 +14,7 @@ import { import { block_from_json, validate_block } from "$/common/mod_data.ts"; import { set_state_value } from "$/common/utils.ts"; -const cube = BUILTIN_MODELS["engine:cube"]; +const cube = BUILTIN_MODELS["cubi:cube"]; Deno.test("cubes resolve the old texture shapes", () => { assertEquals(resolve_texture("#top", "a:all", cube), "a:all"); @@ -31,7 +31,7 @@ Deno.test("cubes resolve the old texture shapes", () => { "a:side", "a:front", ]); - assertEquals(resolve_texture("#nothing", { crop: "a:crop" }), "engine:missing"); + assertEquals(resolve_texture("#nothing", { crop: "a:crop" }), "cubi:missing"); }); Deno.test("a cube bakes into six full faces that cull against their neighbors", () => { @@ -44,12 +44,12 @@ Deno.test("a cube bakes into six full faces that cull against their neighbors", }); Deno.test("crop and cross models are planes inside the block, seen from both sides", () => { - const crop = bake_model(BUILTIN_MODELS["engine:crop"], { crop: "a:wheat" }); + const crop = bake_model(BUILTIN_MODELS["cubi:crop"], { crop: "a:wheat" }); assertEquals(crop.length, 8); assert(crop.every((q) => !q.flush && q.cull === -1 && !q.shade && q.texture === "a:wheat")); assertEquals(crop[0].positions.filter((_, i) => i % 3 === 0), [0.25, 0.25, 0.25, 0.25]); - const cross = bake_model(BUILTIN_MODELS["engine:cross"], { cross: "a:flower" }); + const cross = bake_model(BUILTIN_MODELS["cubi:cross"], { cross: "a:flower" }); assertEquals(cross.length, 4); // rescaled so the diagonal planes stay as wide as the block, like minecraft's (0.8 to 15.2 pixels) for (const quad of cross) { @@ -99,7 +99,7 @@ Deno.test("an x turn tips a model's top to the north, before its y turn", () => Deno.test("variants pick textures by state", () => { const { block } = block_from_json(JSON.parse(Deno.readTextFileSync("mods/bworld/blocks/wheat.json")).block); assertEquals(block_variant(block, { age: 5 }).textures, { crop: "bworld:wheat_stage_5" }); - assertEquals(block_variant(block, { age: 5 }).model, "engine:crop"); + assertEquals(block_variant(block, { age: 5 }).model, "cubi:crop"); assertEquals(block_variant(block).textures, { crop: "bworld:wheat_stage_0" }); // states live above the numeric id assertEquals(set_state_value(7, block, "age", 3), (3 << 16) | 7); diff --git a/tests/block_shapes_test.ts b/tests/block_shapes_test.ts index 2ae39a6..40a98c7 100644 --- a/tests/block_shapes_test.ts +++ b/tests/block_shapes_test.ts @@ -25,7 +25,7 @@ const slab: ModelJson = { const SLAB: Shape = [[0, 0, 0, 1, 0.5, 1]]; Deno.test("a model's shape is the boxes of its elements", () => { - assertEquals(model_shape(BUILTIN_MODELS["engine:cube"]), FULL_SHAPE); + assertEquals(model_shape(BUILTIN_MODELS["cubi:cube"]), FULL_SHAPE); assertEquals(model_shape(slab), SLAB); const stairs: ModelJson = { id: "test:stairs", @@ -40,8 +40,8 @@ Deno.test("a model's shape is the boxes of its elements", () => { }); Deno.test("models made of planes get one box around them, so plants can still be pointed at", () => { - assertEquals(model_shape(BUILTIN_MODELS["engine:crop"]), [[0, 0, 0, 1, 1, 1]]); - const [cross] = model_shape(BUILTIN_MODELS["engine:cross"]); + assertEquals(model_shape(BUILTIN_MODELS["cubi:crop"]), [[0, 0, 0, 1, 1, 1]]); + const [cross] = model_shape(BUILTIN_MODELS["cubi:cross"]); assertEquals(cross[1], 0); assertEquals(cross[4], 1); assert(cross[0] < 0.1 && cross[3] > 0.9); @@ -60,7 +60,7 @@ Deno.test("a block's shape follows its model, or its own shape in pixels, turned const { block: plant } = block_from_json({ id: "test:plant", textures: { cross: "test:flower" }, - model: "engine:cross", + model: "cubi:cross", collision: false, }); assertEquals(collision_shape_at(plant, 0), EMPTY_SHAPE); @@ -188,7 +188,7 @@ Deno.test("a solid block is drawn in the solid layer and is a whole block to bum assert(!is_solid(block({ render_layer: "translucent" })), "like glass"); assert(!is_solid(block({ collision: false }))); assert(!is_solid(block({ shape: [[0, 0, 0, 16, 8, 16]] })), "like a slab"); - assert(!is_solid(block({ states, variants: { "age=1": { model: "engine:cross" } } })), "not in one of its states"); + assert(!is_solid(block({ states, variants: { "age=1": { model: "cubi:cross" } } })), "not in one of its states"); assert(!is_solid(block({ states, variants: { "age=1": { collision_shape: [[0, 0, 0, 16, 8, 16]] } } }))); assert( is_solid(block({ shape: [[0, 0, 0, 16, 8, 16]], collision_shape: [[0, 0, 0, 16, 16, 16]] })), diff --git a/tests/bmod_test.ts b/tests/bmod_test.ts index 93500cb..59517d3 100644 --- a/tests/bmod_test.ts +++ b/tests/bmod_test.ts @@ -18,7 +18,7 @@ import { decode_level_chunk, type LevelChunk } from "$/common/chunk_streaming.ts import { decode_chunk, encode_chunk } from "$/server/game/saves.ts"; import { list_chunks, read_chunk, write_chunks } from "$/server/regions.ts"; -const ENGINE_TEXTURES = ["engine:missing", ...Array.from({ length: 9 }, (_, i) => `engine:break_${i}`)]; +const ENGINE_TEXTURES = ["cubi:missing", ...Array.from({ length: 9 }, (_, i) => `cubi:break_${i}`)]; // mods/bworld and one made from the template, packed into a folder of .bmod files async function packed_mods() { @@ -214,14 +214,14 @@ const sizes = (entries: [string, number, number][]) => new Map(entries.map(([id, width, height]) => [id, { width, height }])); Deno.test("the atlas lays out same sized textures by id, with the missing texture among them", () => { - const layout = atlas_layout(sizes([["b:two", 16, 16], ["a:one", 16, 16], ["engine:break_0", 16, 16]])); + const layout = atlas_layout(sizes([["b:two", 16, 16], ["a:one", 16, 16], ["cubi:break_0", 16, 16]])); assertEquals(layout.size, 64); // each inside a pixel of border assertEquals(layout.regions, { "a:one": { x: 1, y: 1, width: 16, height: 16 }, "b:two": { x: 19, y: 1, width: 16, height: 16 }, - "engine:break_0": { x: 37, y: 1, width: 16, height: 16 }, - "engine:missing": { x: 1, y: 19, width: 16, height: 16 }, + "cubi:break_0": { x: 37, y: 1, width: 16, height: 16 }, + "cubi:missing": { x: 1, y: 19, width: 16, height: 16 }, }); const many = atlas_layout(sizes(Array.from({ length: 100 }, (_, i) => [`m:t${i}`, 16, 16]))); assertEquals(many.size, 256); diff --git a/tests/commands_test.ts b/tests/commands_test.ts index 5526e06..668cba6 100644 --- a/tests/commands_test.ts +++ b/tests/commands_test.ts @@ -137,7 +137,7 @@ Deno.test("/give suggests item ids as they're typed", async () => { assertEquals(ids("/give ").length, 100); assert(ids("/give bworld:sto").includes("bworld:stone")); assert(ids("/give bworld:cab").includes("bworld:cabbage")); - assert(!ids("/give bworld:a").includes("bworld:air")); + assert(!ids("/give bworld:a").includes("cubi:air")); assertEquals(suggest("/give bworld:tom").suggestions.map((s: { text: string }) => s.text), [ "bworld:tomato", "bworld:tomato_sauce", diff --git a/tests/crabpot_test.ts b/tests/crabpot_test.ts index 4712a49..281fbaf 100644 --- a/tests/crabpot_test.ts +++ b/tests/crabpot_test.ts @@ -35,7 +35,7 @@ Deno.test("a crab pot placed in water holds it, and leaves it behind when broken for (let x = -2; x <= 2; x++) { for (let z = -2; z <= 2; z++) { t.game.set_block(x, 99, z, "bworld:stone"); - t.game.set_block(x, 100, z, "bworld:air"); + t.game.set_block(x, 100, z, "cubi:air"); } } t.game.set_block(0, 100, 0, "bworld:water"); diff --git a/tests/door_test.ts b/tests/door_test.ts index a1646fb..af3a47e 100644 --- a/tests/door_test.ts +++ b/tests/door_test.ts @@ -19,7 +19,7 @@ async function setup() { for (let x = -3; x <= 3; x++) { for (let z = -3; z <= 3; z++) { t.game.set_block(x, 99, z, "bworld:stone"); - for (let y = 100; y < 103; y++) t.game.set_block(x, y, z, "bworld:air"); + for (let y = 100; y < 103; y++) t.game.set_block(x, y, z, "cubi:air"); } } t.send(1, { type: "move", x: 0.5, y: 100, z: 3.5, yaw: 0, pitch: 0 }); @@ -57,7 +57,7 @@ Deno.test("a door isn't placed without room for its upper half", async () => { const { t, held } = await setup(); t.game.set_block(0, 101, 0, "bworld:stone"); t.send(1, { type: "use_block", x: 0, y: 99, z: 0, face: "top", hit: [0.5, 1, 0.5] }); - assertEquals(t.game.world.get_block_id(0, 100, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(0, 100, 0), "cubi:air"); assertEquals(held(), 64); }); @@ -74,7 +74,7 @@ Deno.test("right clicking either half opens and closes both, and the door turns // swung against the west side, its hinge on alice's left assertEquals(shape(), [[0, 0, 0, 3 / 16, 1, 1]]); // nothing placed in the doorway - assertEquals(t.game.world.get_block_id(0, 102, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(0, 102, 0), "cubi:air"); t.send(1, { type: "use_block", x: 0, y: 100, z: 0, face: "west", hit: [0, 0.5, 0.5] }); assertEquals([states(0, 100, 0).open, states(0, 101, 0).open], [0, 0]); @@ -84,13 +84,13 @@ Deno.test("breaking either half breaks the whole door, which drops one door", as const { t, dropped } = await setup(); t.send(1, { type: "use_block", x: 0, y: 99, z: 0, face: "top", hit: [0.5, 1, 0.5] }); t.send(1, { type: "break_block", x: 0, y: 101, z: 0 }); - assertEquals(t.game.world.get_block_id(0, 100, 0), "bworld:air"); - assertEquals(t.game.world.get_block_id(0, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(0, 100, 0), "cubi:air"); + assertEquals(t.game.world.get_block_id(0, 101, 0), "cubi:air"); assertEquals(dropped(), ["bworld:oak_door 1"]); t.send(1, { type: "use_block", x: 1, y: 99, z: 0, face: "top", hit: [0.5, 1, 0.5] }); t.send(1, { type: "break_block", x: 1, y: 100, z: 0 }); - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); assertEquals(dropped(), ["bworld:oak_door 1", "bworld:oak_door 1"]); }); diff --git a/tests/entity_light_test.ts b/tests/entity_light_test.ts index bdbf89c..6d4961c 100644 --- a/tests/entity_light_test.ts +++ b/tests/entity_light_test.ts @@ -17,7 +17,7 @@ async function mesh_light() { type: "init", blocks_registry: JSON.parse(JSON.stringify(blocks)), models: {}, - textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } }, + textures_info: { "cubi:missing": { x: 0, y: 0, width: 16, height: 16 } }, image: { width: 1024, height: 1024 }, visuals: [], }); diff --git a/tests/farming_test.ts b/tests/farming_test.ts index dd3a82f..3b1010c 100644 --- a/tests/farming_test.ts +++ b/tests/farming_test.ts @@ -53,7 +53,7 @@ Deno.test("hoe, fill the can, plant, water, and the crop grows the next morning" // seeds only go on farmland t.hold("bworld:wheat_seeds"); t.use(0, 100, 1); - assertEquals(t.game.world.get_block_id(0, 101, 1), "bworld:air"); + assertEquals(t.game.world.get_block_id(0, 101, 1), "cubi:air"); t.use(1, 100, 0); assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:wheat"); @@ -107,7 +107,7 @@ Deno.test("digging up the farmland pops the crop off with its drops", async () = t.game.set_block(1, 100, 0, "bworld:hoed_dirt"); t.game.set_block(1, 101, 0, "bworld:wheat"); t.send(1, { type: "break_block", x: 1, y: 100, z: 0 }); - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); const ids = t.game.item_entities().map((e) => e.item.type_id).sort(); assertEquals(ids, ["bworld:dirt", "bworld:wheat_seeds"]); }); @@ -182,7 +182,7 @@ Deno.test("potatoes and carrots are planted on farmland, and eaten anywhere else assertEquals(t.game.players()[0].vitals.food, 10, "planted, not eaten"); // on stone it can't be planted, so it's eaten t.use(0, 99, 1); - assertEquals(t.game.world.get_block_id(0, 100, 1), "bworld:air"); + assertEquals(t.game.world.get_block_id(0, 100, 1), "cubi:air"); assertEquals(t.game.players()[0].vitals.food, 11); }); @@ -220,14 +220,14 @@ Deno.test("rice is planted in water, grows panicles on top without watering, and // not on land t.hold("bworld:rice"); t.use(2, 100, 0); - assertEquals(t.game.world.get_block_id(2, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(2, 101, 0), "cubi:air"); // into the water, standing on the dirt under it t.use(1, 100, 0); assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:rice"); for (let day = 0; day < 3; day++) t.next_morning(); assertEquals(t.state(1, 100, 0, "age"), 3); - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); for (let day = 0; day < 3; day++) t.next_morning(); assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:rice_panicles"); assertEquals(t.state(1, 101, 0, "age"), 3, "fully grown after 6 days"); @@ -241,7 +241,7 @@ Deno.test("rice is planted in water, grows panicles on top without watering, and const dropped = t.game.item_entities().map((e) => e.item.type_id).sort(); assertEquals(dropped, ["bworld:rice", "bworld:rice_panicle"]); assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:water"); - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); }); Deno.test("a crop dies into a dead bush the first morning out of its seasons", async () => { @@ -272,7 +272,7 @@ Deno.test("a two block crop dies whole, its top going without dropping anything" t.game.tick(); t.game.tick(); assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:dead_bush"); - assertEquals(t.game.world.get_block_id(1, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 101, 0), "cubi:air"); assertEquals(t.game.item_entities(), []); }); @@ -329,7 +329,7 @@ Deno.test("blocks without data run on_new_day near players, once a morning", asy t.game.world.remove_tile(0, 101, 0); t.next_morning(); assertEquals(t.game.world.get_block_id(0, 102, 0), "bworld:cactus", "grew a block"); - assertEquals(t.game.world.get_block_id(0, 103, 0), "bworld:air", "the new block waits for tomorrow"); + assertEquals(t.game.world.get_block_id(0, 103, 0), "cubi:air", "the new block waits for tomorrow"); // far from every player, in a chunk that isn't kept, nothing runs const far = 16 * 40; @@ -337,7 +337,7 @@ Deno.test("blocks without data run on_new_day near players, once a morning", asy t.game.set_block(far, 101, 0, "bworld:cactus"); t.game.world.remove_tile(far, 101, 0); t.next_morning(); - assertEquals(t.game.world.get_block_id(far, 102, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(far, 102, 0), "cubi:air"); }); Deno.test("a cactus grows a block a day until it's 4 tall", async () => { @@ -346,5 +346,5 @@ Deno.test("a cactus grows a block a day until it's 4 tall", async () => { t.game.set_block(0, 101, 0, "bworld:cactus"); for (let day = 0; day < 6; day++) t.next_morning(); const column = [101, 102, 103, 104, 105].map((y) => t.game.world.get_block_id(0, y, 0)); - assertEquals(column, ["bworld:cactus", "bworld:cactus", "bworld:cactus", "bworld:cactus", "bworld:air"]); + assertEquals(column, ["bworld:cactus", "bworld:cactus", "bworld:cactus", "bworld:cactus", "cubi:air"]); }); diff --git a/tests/fence_test.ts b/tests/fence_test.ts index 0c4a779..46a1940 100644 --- a/tests/fence_test.ts +++ b/tests/fence_test.ts @@ -18,7 +18,7 @@ const Y = 100; async function setup() { const { game } = await test_game("mods"); for (let x = -1; x <= 5; x++) { - for (let z = -1; z <= 1; z++) game.set_block(x, Y, z, "bworld:air"); + for (let z = -1; z <= 1; z++) game.set_block(x, Y, z, "cubi:air"); } const sides = (x: number, z: number) => { const info = game.world.get_block_info(x, Y, z)!; @@ -38,7 +38,7 @@ Deno.test("fences join the fences beside them, and let go when one is broken", a assertEquals(sides(1, 0), ["east", "west"]); assertEquals(sides(2, 0), ["west"]); - game.set_block(1, Y, 0, "bworld:air"); + game.set_block(1, Y, 0, "cubi:air"); assertEquals(sides(0, 0), []); assertEquals(sides(2, 0), []); }); diff --git a/tests/fixtures/worldgen_golden.json b/tests/fixtures/worldgen_golden.json index 52605f1..1b71c5a 100644 --- a/tests/fixtures/worldgen_golden.json +++ b/tests/fixtures/worldgen_golden.json @@ -1,776 +1,776 @@ { "golden-1": { "0,0": { - "raw": "50f6234a3e7305987bb4ffede2527473f93540f721b2418ccb2a76bb791bbac6", - "final": "47765f0ec84a92c2dfb9f8149191f9a5cb6b48431d72ea3f56b7e2c0ed498cfc" + "raw": "0050319e18bab0da0b431efa8596316df7aa73e1033f5584ec8109c72681037b", + "final": "0b0ef21452cb49e8703dc327075248f49cf42cf61024659a2080b2750e581b03" }, "0,1": { - "raw": "11495239ef917c013bd93ed11f3bdea797f7d357121431fdc5d798002cd06891", - "final": "c0b8ecd0490881c2112d2973ec946c36c54311ea174a775f55fa039d74ed70c7" + "raw": "c9fb244d2355f37421c2573d5f102a37d13b6a2b13fbf19ca455ce147dc1a030", + "final": "d284a7d6cba54f0ba3809000f98787f37af22d78acc8b481e21b7ce95fe55703" }, "0,2": { - "raw": "c378f55d2025f4adde7d05434067a9e9063590466a41b61b79372f57979e8d24", - "final": "61377eae0ba99c86c2065d1d48f9f3a2bb54bc1d971897514a50abec4f55cc16" + "raw": "3e66eb12534f9cbc5498629e0da2123ec50d89c6318c39c91a680f4c58fb4e66", + "final": "d2e2e533261610c4a6d836693d3c465c2370aef249cd8230694e01176b06363a" }, "0,3": { - "raw": "36d6bcb7c9bba7c4b2ca12751552469fa658ecce45a47982f1cb86153a799cf5", - "final": "545316bdb12c39b07b1b5fbf2f2b6316a8c5ee0527255e400b3a3f54ca5c4741" + "raw": "7bc3b875aeac3303d564f82d88eb7bff2e1d3fdc6545b444a5414ff8c2f5ce56", + "final": "68d66e30aaef4d094a126ef61771a856736209bb3ec85dbd650dc63ed5287db2" }, "1,0": { - "raw": "d9d647e56221a1fe25180d1226bd2106b486deb5d0768918a5eed7d56e9a99db", - "final": "396eae9951a647e59a90d3cbaf4d5fda12a064f228b0c8bf8097fe0df4940d8f" + "raw": "e279365ab70e833cc9192d4d3ddc981740a0e26e5bd0d53abf4613d0f468d65d", + "final": "77fe0b85696162a725005785454f17562002bd2fecd405a508cdcbcb44fd3500" }, "1,1": { - "raw": "c109f3e0a6e735a9f83236ab39b8684f2b1613320164c8cfe2cad678d7268928", - "final": "dd7b83d77b276fc1561ec4732fa2f7ff3b9859c473f45b19794e8a6149800af0" + "raw": "e54bc0981ae995b0b1039ee9b3b13dd098b603eece263ad2385085f7f08c4b8b", + "final": "96350982b56782a4798451b18b506ffa63a15c54e365d669d27bc67ce9c0c35b" }, "1,2": { - "raw": "4f3b7c2cdaa05a4ab3283c20d4a2cd494c417efa1b8eb39cd55fe37228668622", - "final": "09c08f674f9a37cb4090273fe75ed716450e99ffc025b8c3b22b6b4e678cbeee" + "raw": "97070ec18d56ae1f6163975b60a9fd5c2ba6bf13572c0ce67b620c92d765c30d", + "final": "6c001e9c503cf0a12f412cd44694724630f90b84a9abfed40ffd7cc663b3b959" }, "1,3": { - "raw": "d72737b3db1eaf78124c571431e8d3e78330d8ae3807d6e43d666a1bd4228244", - "final": "57d1c4bb50727a9891432473f4543b49cbd7f307c2dd75e5b6d3483e764642d1" + "raw": "267e47ebd6c6262f7468ddc5f68595fec8c3d83afa04e7de8fda71b70316e670", + "final": "21a24d803407aa9ed3573ba0a43c759c16da1b5e270951e692855cbd455d524e" }, "2,0": { - "raw": "8f1fed09f88750536c22f3294ec2fd1feb60902ce3973b761932313e7fed0c5e", - "final": "cb0a993b74f76ff8715665845a7875256caa18dcde1bd3bef95c88fc01f2eec7" + "raw": "71a6c3de89f6aba0f088f8422985a492b1228fcdf640ad3de33e09a7197ee194", + "final": "c9f4bce8c7a7ae26e68555f6f41852d36fa62573bfb9f84d43b64035cb60aa42" }, "2,1": { - "raw": "fe6b2e587ec3310b4cbf5c605c8dc4ac632b2e9fb1e1042d7334fc8c4de0c464", - "final": "bf1216f502c3fe6e3bbbd137439b121f2f389ea2ec516ad3138eea3730f83427" + "raw": "9d517948425e9cdf3d4cec45cc67a88af1e9d0a0076cd082826ab8824a593653", + "final": "e26b8ffb8433926ef9ca65f5004fd2958a869fc4014e42deffa403cf327e6d45" }, "2,2": { - "raw": "ad1827b7f2b79c736b497c68b2650cc6f266dfc5c743ee37e01401c6f105cf2b", - "final": "8d290e016bad9d88da244dd50b18ba7ff4abe428d2228111f58b88e11d46f704" + "raw": "10c3d11cd84ffdca42c50aa66f6eee06804afce81d39b5997da293b036d7109f", + "final": "56d7140c100cba8a31607c848f8a76739f5be4826fce74618da0d590fba8470c" }, "2,3": { - "raw": "f99dfa8bbc5c27921c49b82298a1a2ab071e258cfe725d1c8eaf817600ac0ee2", - "final": "3a89770184b4e9ea69e9f383f481aee4785dbcd083e76daab6c32499619c64f5" + "raw": "7f3e55072f0d442f92a9bc1278c628106ea94c26a2c03aea5bf485e9c4e84d3e", + "final": "4a383b1127ae5b99b2612187f45e69d398de7eb5e6bc69c89711382f2b3ef547" }, "3,0": { - "raw": "ac558f988187654e2724cc2ae80109f3e377a8c0418161a4a524e4fde6e06b58", - "final": "5db70cbf74c6d1a947af77bc9d0f21363f07bd9030e0cfa277913f3aff91772f" + "raw": "b25120caea47d9b3b16932d644220b94327c689be901362b323d5cfb7039aa41", + "final": "c44de1d52a868b5e44936e445373a0ab3bae2efb0357ebe1f944127508ee4fe6" }, "3,1": { - "raw": "feaf1b7679442765b05cf0d6e4627d80c67acd05aed4ce561b32c3d2f97a3d8b", - "final": "4b8f398628179da4ab0a7e6a5b5d2053805455e244507d85cfc3bebf46daca6d" + "raw": "94d7c7d6c0e319c9ac1df7eed8b809002fbfd6d9fd4d9ca21396e2d817dcbaec", + "final": "b0c3ba55cf3196c0552125167a0e6556c9e7feb7a4a49e33135e026fcbc5d6c7" }, "3,2": { - "raw": "914cb3be33728803a0d320b8a0108bce55a39deffe87607b2db79296d9c7fbc6", - "final": "114713db29cadffa960ded6f1f28f59090b406442ce2763149c032b401df698d" + "raw": "b2ef6697e9e52e58c6977b0982e37a34ada09c8acbd1a14796f19bf0a2200517", + "final": "c7e82e45d0cca1d7ccb40eb0b645124b2a2b4975de576b6e9e7bf3d27be45bf3" }, "3,3": { - "raw": "c04f6adcb34634b50086ffb5efc340623c4c5b7eabc86f7874c646e41c839c04", - "final": "f878d370bb4f4d8a10df4b198c49860541a2e13882210910ab2707f54764db37" + "raw": "6f4e5882423bd7ea2a05d64dd29c0881af87494d25c6e1c0fc104f63a0d89274", + "final": "3d89cc28dfa0b12328a97a728c7558a22cf20a387f2ec40d1eee8e0d49da3a98" }, "40,-25": { - "raw": "428772c96c327906afc3f00cb42dcf89e412dfa88de0f485fd6ae03228db60a6", - "final": "9143badaf720c80adeb875855f285154e335c7e01deb8d961810926aac6df53c" + "raw": "9cb3020fd7a28b70714918f42a47b1300f3e04e8a385d5f89eb4fbf956e77b76", + "final": "c6ffffc66404bba05639a085b60d15442231ed62e4621ce3f9fa162183bed531" }, "40,-24": { - "raw": "4f5cb091d5a87d076b0979796700ac1a2c23fe989cbf2d4653d02e0ab28921d7", - "final": "f3e900958a065624e9ac12882d72e7096f8a4470dc56aee1d90cbf3616a317d1" + "raw": "bd557240859ed12579e7777a7aa2c27459af50cf08d4ef8cc481ec9b2c7942d5", + "final": "69ac78fb70ad103e5831d6becb74b86dad58752bace3c815577e974fa25a13d3" }, "40,-23": { - "raw": "5d52f008e5e68a6a06fc75adfd8428eba360dc0233a5a548ad385d95e0922dd1", - "final": "4cf978f02f253eb2a2ddeb3b0ce0f91f46d2fb4c6b273daf3fd1fce6d9948740" + "raw": "6c4c142c5f57346b8c84a55e01c752edd71085ed32b4eee2a81e8d2445248535", + "final": "aca5b1923e7a9f47af035e47b46ef7f11022ae8737757e09a897ce44f9ee3346" }, "40,-22": { - "raw": "a2fee0e24023c54518006b5678f1b84f384280081694066cb187403f4f0802a9", - "final": "1e252fb118daa668653c768bef780ba947dae852b10058f923a10b468149296f" + "raw": "f8ec46b9f4dbb930f51f22d8d775722ccf350d0fb27e4f4f4f2d40c483087296", + "final": "811c6281b3780362b014e5b7393eb895b3f2863432361e9ca7b76895056b61e2" }, "41,-25": { - "raw": "c1593b68d562a7f3a80dde1b531114d59b7394d33940e14001a2d130b708b68f", - "final": "f45801ca380efbc583f917e823800e5aa32de6f70a0364cbdeaff0bc5d398cbe" + "raw": "21103d574a42ea87d09f2c780fc097253ec9e96803f3fe8f74bcc6df2f5eda56", + "final": "4a983d2e5745ff205bf04fd0b58a46d8667c6048cff0ffd69a4b784ac0281d3c" }, "41,-24": { - "raw": "0f2b570c6df40ef73320672cc6ec16bd8f587a7d632cb886dcd9dcd58cb5d9f1", - "final": "a782ab1dfa37e565d38f4b768285d86b634cde00bccbda8a91babcb1f0e57d1b" + "raw": "f2282bf0eb4699912ae5e18c624bd8db54dcb451033cb4e1a4cfacf35621ab17", + "final": "c48d9c9653355ca4584f050551df08e467482f8d08ee968eae4f660c88e6577c" }, "41,-23": { - "raw": "e6a66e0205471f89e3981ad6fa7d41de39f3cd3473857f10e503dc653a635958", - "final": "5ffaa7b232b568a75b54270e634a40eb87bc5232b22f19a537aabbe07175f569" + "raw": "6e7c7f5e270aac4163929d1d3cc87c7a3754893a8f2f5336a3e9f2c564a27b33", + "final": "791ee8132b0c8e16b372e42d4efe21640f00b5566bbfecf5dcfd4b4f1323875c" }, "41,-22": { - "raw": "e77576762099c1e08d55c1cadf90439db45a92965d7bc7c782b44d6001b70f24", - "final": "9b51aa12d63585e51feef45b6c2633e8078c825b5994fc05cea8fcf68124478e" + "raw": "eb6d0225bdc6b1966f2cfbbf098fc68849078116621d94175c6ae3189d82fc59", + "final": "ed113fd92175ae3f45c7eb177106ae34fdf0515850ffdd1d8e0c8b544f1a772d" }, "42,-25": { - "raw": "0be79c33490235e128aabbd9a69d972393ed9061c058ebe3efa98bb6ac0a551e", - "final": "72f4bdc271d0a8c2ab9fa6a71edb43cb0173b4de620b70f21cdd6d10216ebb56" + "raw": "3c5d5facf3fa53eba6805dca42424110ababf9375af68a122ce39a9f3334b9fa", + "final": "27d46fbe6fd2a69596da51fc143833e67a246f107f61488d37aee9ebb405e41f" }, "42,-24": { - "raw": "80f5fa17bbbf0c1f545e3c7a48bd8a7cd0d8a8268a9df08e5200516101f0329d", - "final": "a4dabbcf30b88b70a3ff348d332ac1a11fe18eeb400b973d895761e55ad82587" + "raw": "f00d40aea913e892d7926b81ceecb15491ee53caed6db7843054ea06cfefe24a", + "final": "0ccec3d797eb6651db3402ecdd2369ce53af8c7c735a9fc58a1d16afb43d90f9" }, "42,-23": { - "raw": "de82f0bda7c4d56d00f5d10b3d7b7d8909719d4758152a423e9e3fedbee7ba73", - "final": "6f6fa61c25a6ec10b4be2f58659c5f73fa4fc2e787febd143a83a023d2390f70" + "raw": "9b8b147387624d3705e5cf447fdfb51cab50c8fdf618992ba4e935dfbd3163f5", + "final": "892c1440557ee8743fced1b64f44fbe6cbbb3f918b2d220a713ad5a6daf006a4" }, "42,-22": { - "raw": "34ea67251b45daa687cdc2d1011a492887bdd8d59ce16fa79450451f701ed9e1", - "final": "f5d33c7e0f4f89bd3b6be922d54d67cc1bceb20677410af37b0ab1f4bda6b9da" + "raw": "05f51dc8eb028a22571ebfa8d571a575074602fdd4634f5b705610615fc2c7c4", + "final": "6c51dbd26aaa9584c1cbe1481b63848ce4f7fb43fbc1c1b806a2441f620f5e80" }, "43,-25": { - "raw": "d164a67be965393e140df685ea27e51a7d4f171801f6f8e39aa0a88ccba4b256", - "final": "243eadcc7a8272c7c355f33d587cca6c069f289a5fd42c9797ce4d682f7cac54" + "raw": "6e1b8aeddd9c0e8222b44ae4de151825ac8fdfb96587925f4de753d389860772", + "final": "ddb6ac9f22155fdcc68c95037dca584070f5cbe07a3bed05710d1db64b27c8e1" }, "43,-24": { - "raw": "346a10c6417b4b62912e8f7b5d5be6bf1e63aa814992120f3eb0d0909df2d100", - "final": "c726abc1534fc9e499d0d518ccf130a8bc1f3d809aa5172c51f1b333c584bb09" + "raw": "58b904389715bbbf6987d065c1f692f23133408f31af13b6ef945887819763e7", + "final": "8cdba0d93061910e04e00702a16fc9f36bb91f69acbbcf2eaa5b6987ed6ab6ae" }, "43,-23": { - "raw": "8b155b187dcf5509945920f4db9e6db1a20f533063e68270ddbc2d13a100b92d", - "final": "4235d3de249dd9bd4318561f549f0bd071e11d441d19206c0e9646bce6c0c19b" + "raw": "95e89d9fe5af34b50d8aed3bf6c835998b09f800c1a42369539a49dec3ef4427", + "final": "25cec145bf07dc889122ac1d23d312053ca3dbe54bcc152b609492926c919952" }, "43,-22": { - "raw": "c47a9b5a284be993b25d2be54749fd51265d38e79fc5c9a2afc2cbea52bed242", - "final": "f0c671ba764dec4b173ba13c9c8c24a167a1c0a9f436f73ef759563f8236d8e4" + "raw": "dd438f20fd31c5d77887dafe37880e8eebbbede5f8333707dca045d59108eae6", + "final": "8dae1952359beb84dcb2f54ba1c9c10948c5300535691e810104be12fa65aa8d" }, "-120,85": { - "raw": "687619ab413c5335aa01309accacad5bcacee68e19cdb0a6e2f160699e9a1516", - "final": "3696e303d034f0ade0b32983e84a0f4fd9f8a77ac47e8a3a43484864a465b087" + "raw": "e7b8c7fb0067df26b3b5cb699c7bd4cf54c9918822113ab63c282692b32a189a", + "final": "2d7f1089f2a91338954dd6d0c586e69169c4dff4083319f177a88b38412c5173" }, "-120,86": { - "raw": "ac9d9880daedbca1efaae658731835ab92690f2b3644b8f30f7ef8fa9a1c88ed", - "final": "a70f3dd9ba40800851498734717eed08c84f8d05fe8a2c53b16d8c6a87fd1529" + "raw": "a5395740b774f55baff201f60841c185b1a71bbb43d423343dc653854b1971d5", + "final": "4e4f103493ed204c65702de1ab3c7a0e8997180033d9d4dedb752aedc9f9cf81" }, "-120,87": { - "raw": "2ff8d83867460984667a1f2049a6dc971d8bcc76cb8045b97f8053cf52a44fe5", - "final": "7f90c791025b06ec5a2dc41a80318cd38d6244c6f283d933ec3e02159aa50b2b" + "raw": "0cd4789bd22addc29e8bd07eddbaaa899705f40f521766fd2b465fe58d92c7e1", + "final": "f44eac029a9365a84fef6516ccaab3bd0de9c12704723f15f81a01a2d78cd74d" }, "-120,88": { - "raw": "5a8426f29062133e1b27fa2b13d85ab796cc34ec435096d4b1835c15aee64f02", - "final": "25702c739063f872da66ee870814a74cfbee85a16bc8d525d2f781b9b2746253" + "raw": "49dbda10e7613ffbc9c035202c76e59b4e5076fd85f0b3fd77c2ebcf521e7c07", + "final": "647c2b419fd8387ab9692272d986f14a9354292282016c1863b665b620ed905d" }, "-119,85": { - "raw": "6d1e29bb272ef9b14590c2d389a8120cd4e2be87d4bb9c869fb3cb84a69b2a8d", - "final": "1aa5bcded4e7c1b18ff6ac5ef1a4c2bf87a27cccadd7658eb46df82d5867146b" + "raw": "2e601c7582b27fbb7043d28ec979dcf249705a3b6bb2ce03b125442b1905ff26", + "final": "ab8eeca2d9793edcc6535f1c92c56c05dea6c4352ddb391eef8017c6e6ec02b5" }, "-119,86": { - "raw": "f510754a1db66b82b3dcb481e3ea58b2c8874d5ed133c6027c4fb345e6ebf887", - "final": "e77ccd114796948a46d131479cd661b274cabe3d83e49981f7dd20fb75da2fcc" + "raw": "8809a433dc1d00ec4f704c2842c1b09fa24b152892912241046dc364ac539f11", + "final": "dc7c6b84ccb46fc7682455bde8b311ed8e414e1bf1d779c49dece0c3da0ef670" }, "-119,87": { - "raw": "9482f5deae5e90307a4e83bd0474a3586fdeeaceccca2ca59a07c13385954557", - "final": "95797b8dd9b8f19681d56dc668b38ec3a63b709ca165b8fc09c4c9f1183f07cb" + "raw": "63953aee3935c08173c4205ec66e6319556c1381109d84164d24ac0975368266", + "final": "d11bc1a4fa9136aa7f10d1a65f5d40575a9077b7e41def48bfd78e0e062006d0" }, "-119,88": { - "raw": "1174680ba312edd491affb3e7437524dd291c718510bbb76c9f73c5495e7d6f9", - "final": "bf02432c68e56aa10b8764113d64fae299ba61c127a56c2370ffe30cd9c0a18d" + "raw": "cee2a3fa3a11eaf339d6d8739eb594aa8787d1f5887ff0f7bdc02232e3f3ee07", + "final": "c37bfc707433457ce81d5c80e9fc76e08dd8da8d8d6c92ba5720fea51969a030" }, "-118,85": { - "raw": "41709e54051d26dcb8b821ef276dc4e4c1f769912b08d94cc0375e57afe67232", - "final": "7ccd677ff822a06f371af530f58f6e192107a8c9a6eee62e257d2150264c6d37" + "raw": "3eaad7724b1963271fcc12df40f0792a4567f1c2d4b6edb482f754668598d445", + "final": "3b0cfbf89bfa90c7ae58515d4838139d4a954bfe4db146e8ccd06e4752cc3cdb" }, "-118,86": { - "raw": "2bf1ff84123de6e827fb8128f351c4443344b322a62d6186bde80b4f466f2bfa", - "final": "268954cfc6ca502bd572e4388846179617656f4aa157b056f34c2c2e9e1a2ad2" + "raw": "b8e2999201fc9d0407438035c5243affe75865ab6706fae91e35a175498f11ab", + "final": "c9a1bbf7cf71d6730720de39da8ef040f8fa71bd9497e50f594ca72f287ffe79" }, "-118,87": { - "raw": "93f0320236f004c78b78e04bbb72d1ff0da4b25f28fb5d7bdb2f2666ebda1a33", - "final": "ffd16c010bcc05dc9684187753dfe5ac1ecafe022ffe8eeb6d8b6eddfaf57068" + "raw": "015df9ac38bc82e7c5c6cd235f7a061fb54f28608d30927855d28fba9281700c", + "final": "447f261e9359cb5aca8ddd58a973892ebbb9034d77910d8f2dd43f131a4d2ba7" }, "-118,88": { - "raw": "f576cc90ff15c3bf124445af59584f51469d9536dbf1a189719945db65a7d319", - "final": "d2ea1612837f7b49ef8d3d32701923602273fb1684a328d4097bf216de1d40a3" + "raw": "49e2a123c5469df94e26e09374b5c142b2033c911f4ac682b473693cb016ccd3", + "final": "dac2944cb434f8abc09706af4aaa7d7052c9b1bb84006bb7977e032016e8718b" }, "-117,85": { - "raw": "046a912b641c597349028f05eb6ca9da0a1acbb78b503ad0863b3ccffede9555", - "final": "ad003ae93d1bdb21acc6e220260780a629299ebd2d71dc2a0419f755047bc778" + "raw": "d71fda90ccc2b4e224725513b78beb9f05059f1802e64a81769d4a2c2420a948", + "final": "d7ff3e6a88d83a021f6c3c373dd5c1101b8cbfd534dec86c176d97bd9373433e" }, "-117,86": { - "raw": "c99262beaa002801960114d9573f5641a90d61dadcc426e4dfc185c81c3792e1", - "final": "ce543835af8a79ae21624bc4fab2f22c99f66d7d2e238c810dae2e08415067e1" + "raw": "e0564480d70fca9d6dcbaa6dfeab1f618a78301bc8e85673f07739c6b2653e1d", + "final": "703e63c571b1e69c84ee16fe2544c52100c0ae89db11dfba05240e79d70f62f9" }, "-117,87": { - "raw": "cb8f69caf8a3c5b9e1c248bdf12bb277556d74a6d00e83bb67b47185afa1c8f3", - "final": "e549c3ef1876928bd477314d6c8f1203ab5eedce0ed81d41e8df1f7ec6efd728" + "raw": "a63dbcc83df3af54be5c96fa972d1eb1ce03525f46b29efa6b0929d651203a79", + "final": "cb2d2d6ff65fe5ab75417a1c092ff8347baeeb91ce2e21e7939aad4fedd2ea52" }, "-117,88": { - "raw": "7f23ebe9da308e76239b0ac654f0517011658b6733414789d4095cb4d47b9f7b", - "final": "9ee53941c1f384048b637343a55d2b7ccad432eae40a42fc549a04355ebd44c8" + "raw": "1afadc0afd5c1db0fada12253e201088714b58109fda8c5b0cf2eb83f0d7c0cb", + "final": "c55dda78cfafa0bf533357c028a98430c78850d669ddc9052549e0265efc5713" }, "300,300": { - "raw": "c038191b4feef8f480367c7b6eb29e008308b6167978c702aadc5066fb207428", - "final": "b1a8a0a3e39b84ee58a6d0d8802d25c4d5efc0fd5ea01e35ac9e395fa6e0e260" + "raw": "a04dc06545600012a89c63466a8e52af85e43743d3ea4bcd2e78f220d967d729", + "final": "20063fdee67dfc3453d993989086f9d552ce5da56887bbef2e25728c9cfb19cf" }, "300,301": { - "raw": "49b367510c8b716e2d49862783a1d6f0e847bdd877f980d5aa54c06ff3e793b9", - "final": "5441c4af4be46e1f037ceb02c7daccfea31f776506682c5f7b22c39395675448" + "raw": "7f5d68dfa98e577f5e444c970b4763b1d0186851233ff65f6364e5f0c4ae19d2", + "final": "3d63b187cc5226ad3e5b099200dc2fb7e52d9bd7bb7918f830ea0660ec17ecea" }, "300,302": { - "raw": "d9965aedfd1eb6842d7c4a8bccef9184136a64e09d6a275bb4e580d4845bc5dd", - "final": "505825580afa0c37a6eec2279572a1c07b23c934d22bb93d715f5bac28dc6453" + "raw": "a5ff7c0112df9b661c220b95d376378254ae897e74fb580b171f19e3b838de84", + "final": "5f0535a16454378ef6eecc22fe3ebeec94b0a92fd3053bbdad389a84475d3c5b" }, "300,303": { - "raw": "eb2c5b78713e17a1ce282692ef6c7c14f6df36f7d0cd4cb264cd521ad88267d0", - "final": "577935d6065989543c6c3a549fbff692c41f7555ead662d39094633a7aa99748" + "raw": "48893cd002764fea51c97aa4b9aa1218f0daaa2ae5020c4590d62ca897093949", + "final": "e2b0984d8cdac238ce9ff9848ed9226839ea5f1974a5aa7daeea96ae07a7992c" }, "301,300": { - "raw": "8849ce55844c792af74df0bf792bbfcd958bcee3c14020573937b24ece70130f", - "final": "e765cae955a8d6160d303703fdfa6e99be67f1a8d2f5220c4e10aee283fb480f" + "raw": "1352b08fbc5a2d9b2ee81c09f70f07cebbb60a7bf77908fd8c93f0a4c3c579e1", + "final": "4c634aa19097455dd1682ebdd35b2db1a4692218de008295b7ce90366113237f" }, "301,301": { - "raw": "40835b3b8252a0933adcfe7e586b68353d125ebf4bdaedadaef323df45ab0f90", - "final": "397f8d637bf9624007dc12479456e20034ad87efe62c4a0158fb7ac8b32bbdad" + "raw": "516f757c30be2210fc190951d8b9c4397e1c7d881cc4dab2259f713d40235619", + "final": "c2c71b483df39d11f211918aee8b9dae3c9fee9a85c6d4650a2c53b066de1826" }, "301,302": { - "raw": "6fbe66bee98938a634482cdb230eba80aa4f10411ece766dbc4f9562d19017a1", - "final": "a576f2a575cdafd7aacf07f8cb7da57531cedd5fc0ef4f6ab9f3d38b34960eec" + "raw": "27d9413e9e621f1127ccbdb77a0d325080933af601a27bca605349bb09a65ccc", + "final": "5868025d326b055cf26134b5fa2d496af3c18c2da7f9db65a571a4a5b333d9ec" }, "301,303": { - "raw": "aaaea877117b85a2cafc7149f869c430eabba55a778d04984b8dd73b3555f9bd", - "final": "b6fdbca73127b3a3110ce114dde9d82e89a4cdd9e73276a0cf99300f84f31fa0" + "raw": "ba5305514718d04145b6011d278f4807f5ea1cd1275fc5d90d134bf52412e6bd", + "final": "dad3426df3bf7841e10a84d97a391604b90646037ee4d20cd729d6e14b740a15" }, "302,300": { - "raw": "a424dc2d9d5e0dd3e7a20e67b3ff76534b4d1ced047871b561fb544989d72685", - "final": "dbe2a33c1aeac01c7aee182e69b8d714396844c913518925cef11b9d1ab6e113" + "raw": "60b97265883a17f915dae09d3af5ab60c5ac6f25e3949d6c7cb225e7c427e4f0", + "final": "66e006982f2c5b1119e80c3e150c4b9fdb0a3ed7b13a611f9ae5d88b72eaa76c" }, "302,301": { - "raw": "37e63b1ea57cdd34e1a864ce2b9ce217431e22f8f36a5e5d636a60b793e56809", - "final": "4a34914dee6e8443091c86671542d3df5e0f205c7b418e209c654c270bbe684b" + "raw": "dc774e8b125adc0776ac1e799220637c68d762cbd81b349672674f71aa6f2099", + "final": "546c31ab0c6c14af30a023f1fb27918222485b893729cf63d379a0bc6dc1aaee" }, "302,302": { - "raw": "82fc4d28bf7ed9a7c62c9170186c93cdb3928a4a3d8149ee103373a77b6a0c91", - "final": "484cd45f5929d344d48b708c05cd11f372e688841672eec928914bde385ec73f" + "raw": "a05c5e90fb398e3b84a43e642973c86139aab51eb1621e5a17d891a31a5b220f", + "final": "7eb6cf2ab6f28016b1b44ad2c73c246ec6d84677141c1d02b4fb51a4c27a0557" }, "302,303": { - "raw": "89f9ca39527441d0a83b98c39d074fa5abae19022c6cff7ab89ff0dfe4f3c465", - "final": "bb014ca14570aa09b0b4d1e0563db68a130de4cbc05d3cdb4a2b23031b3a6958" + "raw": "9186204505ed2d7696b0fc371a8a8f2a3e6a4acc8797248c3f8667d953e8de8a", + "final": "723a1e9ed5c40d9cbbbb2d8bd40d3c1edbdc3292df477a721d091d0b9426d184" }, "303,300": { - "raw": "8699e9b54604a6af7dd0fd1411a6e540a9e21458415918b5b5227df97b04f719", - "final": "17078d7378205a422c94d95530e9bbc59a0ef9430945b18fa504553b5fac7064" + "raw": "411a005295a2e128ed7f4b1d9b01044c2c7a40c0cb1c9d30403a23f6edec15d0", + "final": "bf5af7118862d21f82ff8f515076b014ad6aadc74f2422a46dbf52792350804a" }, "303,301": { - "raw": "67fce067042ed14db0c5014b14d1d32e040c6d1c63297bff9d315ec59c8158be", - "final": "cd966475590a7eaece825ec5d637251198f9ae66e91c62ea7dfb223735c362be" + "raw": "e0f2fcacc5c84a88aa1cd3a4eb9023d80e3ed0286162b00691cae035b7440591", + "final": "34a4b9b3b38681b7000ec40a095bb4f2b94e4aa9d760f47512dc5c532f9544e7" }, "303,302": { - "raw": "58ecce699054060e972025898716def57999f12656d0bc8e28c215ef52458ed9", - "final": "239113cf9bb3fee65740f5a46c5fe97e2ac96b9fb15383b04ca4201af70cf068" + "raw": "83e284a2ce79fb5d596f330cabebd396dcef0453834c6bc355e0b3205ef7fe48", + "final": "5a8986631943af74082b30bf2bffb295f4525ba2d574b0c9457c781c1c60b6ce" }, "303,303": { - "raw": "7594b5728ba250882f2917f0ccd814ccca73b31408e176ea3e6e15f971286996", - "final": "79913652535779f6bff28dab71f437fd348833222e9663023a06380b903eb2fa" + "raw": "203504f82cbaa459a96659ed2f5fce301df8f7ce96eb40e6215868708fe722a1", + "final": "1650dad186af998ba8fe266b4639d5cb1150cb9e78f87142946ac0523082d94a" } }, "golden-2": { "0,0": { - "raw": "6c98fab4a414bf5df6e2e2dd39f3d1733ac6874ccbfd4be90ca249bc3218aefa", - "final": "701958a90dce11087c12e68505fb46c36a0e9e1c27c38967b7e896e369832b33" + "raw": "2045a3da1d4625429f6c1b2f28b1764b43cb2d57da9f51caa3f6883fb7d273a2", + "final": "66786dd866a318763979d11a450f1b3c6e04513bebfdc41ac644b373a68c81e6" }, "0,1": { - "raw": "219715c291fca574e34f30cd6b06f75aca358bafbb01080a39d8927c2bf2271c", - "final": "c807ffdc85e8fb58efb95ace30a88dbb20553db595672a9a8d18186d418da5e1" + "raw": "733291f6ba22fef06878423c081061f0bd5c45c043f471b0ff33c3f642f62506", + "final": "235a3aecb50b668f6da2df27cfa6b8020a46c24c7a9edfd714e0b8896af0460d" }, "0,2": { - "raw": "2c9dbd8e10da3b0d6fb86e00528f9c478b6844143e359ad7d4c6d5375bdf272c", - "final": "339f77f652e50161d11294907c1ec27d4c1bb4f22fda7b24e78554e61456afde" + "raw": "bf914939fc46b60825183555f7a3ac0b56556887e6dd9e64b99c7249853d8623", + "final": "89c2064b068154dc23fdfb2ad8370e8978be413d4d8e19a4edd655adb213e0c1" }, "0,3": { - "raw": "0fb069041618baeb66cc530c3472052b338493c4a5474311a1cdad7fa783c40d", - "final": "6914f7def09a601a537db789f4136089181bbc8ff250dcb6163dae0a4581e7d1" + "raw": "8d9ce515b202bd7882c22440f3672765d826a53baa8fcfdd2a11163276857d18", + "final": "ceecb440066d606e3339caef29b5232634f36bbd49300b64e2c41e7589776c1e" }, "1,0": { - "raw": "1939f3342474a6c7d883239afa6c7ae49653845c187a5b504a4fbd64861ec753", - "final": "87aaec7011ba05218cc872e39237259d4a6a1e86a56083804b1dfe40f1526c85" + "raw": "3fd787fae9de936c99055b7422c53418bb66e945cb975b946dd160df560ce877", + "final": "b81c0b6830b3d882efff5ccbb1df8a847b5634c188f3eba51d1e84003137aa22" }, "1,1": { - "raw": "4dd91fe20b81859b6f8eaf4da19390e1c2be3e21af76aa32257fc46bc2c9cacc", - "final": "32940b1d5e6e4e33925d3ceecf1287465ad30271862b4c027e9669cadcfa5e76" + "raw": "8a3ffd31a135b707259713078bd1161d1bf648e2297ee7c91f2d965210af66c5", + "final": "887813fe3912eb5250014e1655a16b0249dd7640f8c1d9147d09ea3a4129b08d" }, "1,2": { - "raw": "82d206fc7323567b473507c1fb34d8c573c87682f72b2612870f5fe6d9a6f9fa", - "final": "2e2ba8495ce02835d7c552a380f4f4122c50278299afeacac90b719a8a0eeecf" + "raw": "24c909ed8f5f97a3b602d34b34c372d5053cb25230585878a3f97af0dc844d20", + "final": "7a2846db9b9a349cf6c208ba272aaec8108c3abe11914402aea99d70b3e58288" }, "1,3": { - "raw": "01ee2cefe633af1d41e31f3b6cf79e2596e3580a35130a0615d12fc9991cdc3b", - "final": "a0250f7b1b886ac7475a265d3268b53355c48f0f4c7f2587273a4b6fca907a88" + "raw": "e92f86616cd6429aa4334e681a622557b30462d48a43a483cbe3c277f07b6aeb", + "final": "69bffa5bc304bbe51573019b50c6517f3f1f9c0b123b1a33cfc1c5d3981a23a9" }, "2,0": { - "raw": "3978c891d3d02aaccd2529ee2ebc3e11fdb73088d5fd08b2db86d8d67ce4b114", - "final": "5a3d744298fcd4b090a814c031b9d7377f6b10f6b23d908bd78833bc83c3f4b3" + "raw": "a1e9c0d84ac25559b799c753f450e881782fa964e3ae4bef042ce2820c4087c7", + "final": "7279ee8b62086e3588c7ef3433c8072b013fac9930bdb0ba82196996d9165a69" }, "2,1": { - "raw": "8a66748859a7e072f4dc93f86b224927b25bf831316d656d9a14f8c61ba2dd52", - "final": "70df611cde086c1e69ff04b88e04f12ffae38f79f972d392493acb2ddd52119a" + "raw": "1dd1bf5ca6ac8b4d67f5961af893193bd94c309798cb33c03819ce898a249464", + "final": "5642808c3caa6b84949bd316eaeb8de152436e3ba908a560a6718bb77ed26b6c" }, "2,2": { - "raw": "ef7f6a6180e4503d3b3086d5f15d7d6704ea9035cc51f738ace8e625f535f059", - "final": "c166adf32476a92f56288a814a77e7eafef5fedb20629d2ce959ed2e5ca034cc" + "raw": "32507b2cac6d5dd64231805f86d34efe7c1485a0a45de2590631a154a2530361", + "final": "1c25adc7cc73d1d0a62201291380edd72a63c950739d2cfef1487d0b3aa31ad9" }, "2,3": { - "raw": "89a0833153062cad17bd6b22732b2cddfbbce03aeba9a8908956d2b8b5aad65a", - "final": "3e794e8467ba6304fb758e3c533b3f332c3ae8bfaa5143dc9917e65bca8e3418" + "raw": "6030269e4d161c31c8fcb4954e072efcd4557211b3187e64313bdd4146287986", + "final": "482534af563a46ce6ba1b75cff2ca2ee67d55ffd35f9bc0a6f63f5adf40f8870" }, "3,0": { - "raw": "7eb4d6542680dafff0ec2e40b95b0d9aca84001e88dc6046c9af3a432cdaf63e", - "final": "3b4141b967480c25100e88cc8520ed16581aa70305f82752a5f51eab6a6bd815" + "raw": "85d06d12ed57b378f652288603716592ac04910b926534d2aa284936830aa33c", + "final": "a602dbfd40b4226d08cdd9c8d8c9456dac5bec63c791491f9019bfba4c9c1fc4" }, "3,1": { - "raw": "29d3069945c4ecf166ae3ac24d3b24a643e8553e4a3fd60770d6507b1eb1743d", - "final": "39f7fd38555c3566991e013f11f898ceb46ab7eef83232cd3b3e4d5d80475ac9" + "raw": "51398a379d597fb2c6324006478d025176124aa6e145688ad906866453a117c0", + "final": "937f591a0947625c3c5dfdcc0555a090735edabad0460d0f02b01e0df80b24ea" }, "3,2": { - "raw": "8d74b037a92de46ce538f287677cb551fbdeacafb571d28e9e26307646dbf38f", - "final": "667538dfce562cfe456a268b89c4b94469a7fd52841c7bbdf94165f5f764242b" + "raw": "0d77fcdf9180e6fbb37435020a88f3d9d2ff132aca788110572f4b8f9d35a582", + "final": "f3b4010cdce3f7cb8d691dc173c62ff021678f91bf8b09aff030211204327197" }, "3,3": { - "raw": "47e4b0b29d1c2eda1499b8df8822da03a589e6a2504e5063aedb0a4179b4867e", - "final": "a028f7bb2da57c5533116df43335ec49b0a2c8323ce8b14b9c11ab348a91845b" + "raw": "a7c6d8cb72f8b3960050d7772399dc3ec1ce89963e15504fb67db41a4c37bc53", + "final": "12a54a52c2d1bcebb5d1e86a9b8a8565e284a571ae4fe7d977533422c0ad6584" }, "40,-25": { - "raw": "42974232ba928fbf26dab51a977b99127995af1dcb42f9a5c1324fa56082e215", - "final": "53c69a8c890089906064e62bdc864e6c9b598a62f12285eaca2f02aef8a8b84a" + "raw": "1e9e9e8907be556ac0172a4d2d3f20481957895018eee5baa4379d17b0dc538e", + "final": "72548fa4f0ef681ecad434c5ae95aa76b57f887f64714286769d01cab968d4c4" }, "40,-24": { - "raw": "36cd64557a1a0f952763596c433cc442768c816c059d306d36a46c977e8c014d", - "final": "32743c1c5fa5364371090330111750403eae88bfd896510a412a13d242854711" + "raw": "a73a6855ad5b638544e43127f566d5381bbf7e9cc0265150606eb11ff05d03f5", + "final": "5f7b6ff1a16bef171d23bf4ad9c6a61e0d8249a7df46c4d1badabb6524c9dd5f" }, "40,-23": { - "raw": "057dd90da0462710da2c92c2a9ae261084c6326f2b98d408854a712590bf9add", - "final": "bbad6390911e011c5f58fd45ea5e82006ea6460033e16f3c9e46361fc2dd0c22" + "raw": "04442f4f77a342a00976d463a32c197f10441e464816a1fe752d99642beb1654", + "final": "1df61f3cb5a0c9ff80c42318670f903019a325f3d6a7cd84f27555f9ba28f14a" }, "40,-22": { - "raw": "38093066f7e429b789cd25128f98174cef3308fdc65c71916dde1d700bf1ec37", - "final": "cc4302c48e8f45c5c12be2df3f67b747bffa87784de1d37b787bf6b7841d31c5" + "raw": "26fb33c2bf23324724ffc6f28859720bf221756d3e80a6b800b544c439a42839", + "final": "04a1d40648ab7f244b2f9e59a2f87afeec019d17c971008b25e70c572cf87511" }, "41,-25": { - "raw": "9baa554b578d5af12422acd5abc8dc4b575392998338395dbf3459f9a33f243d", - "final": "3b49f4aea79ffaca7cd3bb38d84a6bce80ad79a842bd4c0003847fddd072aa79" + "raw": "f2a93afde48134bc78d4b5a13e8b91466ac813c0600cad506318dc61044ea072", + "final": "286fbe15d9fd76339dd4d72aed029a2aae4942f61f0605364365ce85d178e8ab" }, "41,-24": { - "raw": "55f30480c1c59e27a380ff307fdc10cf5f357f1a5d90aadf323c62dfa168f28a", - "final": "5eb707a3782ccc9948d2cce5e7f0a39199fb56617f5930024e9a88bd7170c0e3" + "raw": "daa2fe1e0fcd588e0076785140a6d2b1ec9c9de606334c09491ff830ac0bed5d", + "final": "1d48d7f19990ded2894bcae57d957a90995cf0af481fec1e15f2d2e54992b82e" }, "41,-23": { - "raw": "8348910a9c7b0a68400b7d9344e3fc3af2733011ced7ff2f78c61d1cc64e4c53", - "final": "5b2b5813e46d0b7e31c4193fc491b0cb3cf3f393d418d463624f5daba1ef0c6b" + "raw": "cc23d7c84a182b0c38b5a62102fa2f74d56daad765b7dc5b3699e0d437172770", + "final": "a398f4e28d34a5ac757fd4522602c0cb275307d51c3285214f9cade53bfae552" }, "41,-22": { - "raw": "08474702e9654c25ef2132577d9e8687adb96b1a049619ab157b4bd2db3bbe60", - "final": "dd75ca6906dfa157a32ee18902fe297d093b9d83324778b1d67c09afd950addf" + "raw": "c67aaafacd0aeaebac8ea98a8fdb49554ee206bad1cdc7fba0e8b26b1b268c82", + "final": "3faa1d8cc779bd6d6c2c70c4ef545e6fae4262cb5f6489d927a8f6bb32614228" }, "42,-25": { - "raw": "58444838c35dc0b7e150bda738acd7f9afe9a87d824560220d891e13f29c4cec", - "final": "e1724d810dabbe9c5623b2753ea85ba2e234be78b4be21e22a6b5b2e6b776b85" + "raw": "0c73daefb8806c10d22f6831fc40d4f604e49070d689c48b8a1841b31d58ece6", + "final": "e2f3a75692c4c87bab8b85982a1f0b5d82a4c1d44b2b686d7a5e040c8999fe5c" }, "42,-24": { - "raw": "b133167d42235fd4dca224ed14b5a6b6ab33529371bca360acc51a874e4b387d", - "final": "e2cce88190892c3006025a85f3093d3f15f2c74b9f2a9f0c5ea167e485a0897d" + "raw": "b83a2683cf7af1706a3ff1378b7a3b330db4a3619ac0cbc97ea5a4319099a5af", + "final": "541b4fb9f844bd7203695926dcf83d7e912cdd391189f76934c4d8a1c6214965" }, "42,-23": { - "raw": "9b7c4e672aa7e6ded678d08d0348ae8bd22bf7d050ea10b4092923435dd684fb", - "final": "a516544bd256ef56797898135fc184069f98d53c23d9544e4e1c6658d535b7f2" + "raw": "4d350bfc06ddeb23c092fc6d3c5d82f6da1441400ac8932a302db92f079714ac", + "final": "5ee6f7e2850757392ebd60f15c188c88368b21b06396023127eee475ac32dacf" }, "42,-22": { - "raw": "f99fe959c799ad59c6d77b345e6e6d405694c4d42a3e963f30a6989e085087c9", - "final": "e3a83bab8af4cf449feb2b475afcd425dfd006f6f294a684d05b88560d2735aa" + "raw": "40f02e54c3bf277468d209f5e07e7f75760bff7c8bebd0258f33139f933d4570", + "final": "0f24b967b4bd78d1b9b841f5da0dd8e73875187679201c997190c14044e3d6e4" }, "43,-25": { - "raw": "b89c10fbf1dfc8138c531c4438ac2766f3824c40edc3b450a8946420baf3245c", - "final": "bec3218f22ae962cb0047352c92ce88d0f7974977c19d65a6c99fe8849f0ad2b" + "raw": "4f6049cd2e75fdde273867bf4570826dcee6b787b6f38387d88e60f07fe050be", + "final": "86ecf7f4ad084cb9869a4f38d0cb243c71c081d8bd1e9289535b114f96696b01" }, "43,-24": { - "raw": "724218b4a2772c673e0a2830d51674d1e5f8eb074662d09da6b27e2ff0cd4b2c", - "final": "37ee3c48e4a6de429d4a710fd93871c0e66ae3ed9e7e11d927c12a79bf4d6e30" + "raw": "e07e40815fe8a9545749f07335e733193bcec785732d3d91a854b72b139754f1", + "final": "108b670518f84f4e357d99e7a15fda8f1b663b7db84b697e4f39fc7756242a9a" }, "43,-23": { - "raw": "3b39f68dcb023206946fb5e11c3d41515eebe719d2ebbb1e458cfd2b9053e121", - "final": "96bc5a9719691989b7ebd4aa604de84515909a47c63548fe731a8f84e469bebe" + "raw": "9bd18cd1fdfa6d5d41a87e5435c3196742298eabae7b2e49119cbda651fa5c8f", + "final": "1544a1eef7bce25defa3c25c46207c3c123ae26676bd8783e46b6c77a9f925ff" }, "43,-22": { - "raw": "2f920acc5bb512949c973ee5b665ac7245673f684b3302eb08149ed7dced339d", - "final": "7541182a2e4cb54b2a473ae448b73c43600ccc1331e62db418843ad15f8bf4b8" + "raw": "d1d5a4a661404fb3c93101961edb8b65a7d871b2518b853f3a2e3d1091614f9c", + "final": "8ed0a8f9ea12fc4ead62230fb229f5cd58a61bea10ca7fb6fc1f173b44ec59f6" }, "-120,85": { - "raw": "527f6a4c17e2f346ff37c85438dc027d1e8e4ad83b85c00f609350cb9e82ce35", - "final": "426e1a65105d3ace0bbd7c4db00c9cc40f4cfaf93c36b43e8864a23dfad2639d" + "raw": "ade81544c86952df0833a1efdce0c3ef31d3295230bf0a3a49cbb69bd28e658d", + "final": "b14845add964433a391ef69d4034ef3f068c7b6811cb49c4b1bbba14a7a40d14" }, "-120,86": { - "raw": "6ce32745de356811cdf67e509f50e0a1ad9337295fe894792f905d394ef1a080", - "final": "8ef1002a4aa2e3014409a79c208926175ad7c5c6314b9e364c562c70886429e1" + "raw": "7870ebad3dfd6ef0fffa2391320394dd426a1fe939f250af83019ecf931b1649", + "final": "41e7223f675f9ba1ac8cd087a90750e5c6d2b408cd07905686619ab07da43958" }, "-120,87": { - "raw": "3a43d703e3cfa2bc1e398f864660c0d9e22ee06922fd1b8ff4e6895e52b6893f", - "final": "a77d3a434d3cfc262578f9c89aaa952b27c7c666fd4ef9d712b6c283dd911e09" + "raw": "14fb96ae0d7871996502e155e2517ca8a2428b711f1e31001a2abe55b68bc895", + "final": "030ab5410e988100dff3462370ffd7d8a6de43b3b5e9f668e3cd3636d5c84ac9" }, "-120,88": { - "raw": "1e3ed6d5d7d2f1eb500d935bc3dff6abd1145628be74db46b1c86c85f6c3add5", - "final": "a6bab870bcb8f688cf151f2f29365f0d53b518cc72d254cd1d15a2e1da5e639b" + "raw": "a1af67324bea16be209dad3094b3a0fce19e13b416ac6377f55468a47c8897e9", + "final": "3036ba64117a36f6187574fa97b1752bd667d46d8330f0f3746e5e09b09b5783" }, "-119,85": { - "raw": "4559d482ce9f59d19db02955730c9b4aa7866cc6fdd17c1f4535126110eea0c7", - "final": "85384353a4705c631074a8ba51255bb463c83700d4234fab6ba37978eb374e47" + "raw": "024df08b2a06c0d6b778d8ec80f10cad6ca5aaf692f53803e266ab4446ebcbb1", + "final": "bcef9c9dcc5546376fb054f99e663bd1c470e4f57a17dea0a36d7f3c4b69f602" }, "-119,86": { - "raw": "0f2da55459139370ee361ce1476d3cc8ec43f7de6c5651ec6c52194ab2f3ef29", - "final": "7a13b5ce5070b1f636d23b488d236e35755dbbf033ca04100a4ca97462554fd9" + "raw": "65453a285869976f49b10894c5021c15a8aeb5b25727fafc6e83c4c1e7f65730", + "final": "627d5e225ff9bbe2736c57dc8d2365d10ea843b4afc158afb105152525896c31" }, "-119,87": { - "raw": "c59cbc7c2703a3d79cf83913378526797e327279d4304fd6ff290a57f4b9f16e", - "final": "1edcbaf72eddfd513a1c43defadf5b4120baacc30e8fcb8f58aefca180624a22" + "raw": "26c202940bba5722ad207891a5ab29a5489610b7c39bdff0fba716f7a1660c76", + "final": "287f0ae669b1f340f25a4c565bdaa878f8ac1be4ebc027ad175743f1b935dcb5" }, "-119,88": { - "raw": "8c4d21b443770857f447d0a8cd6b7ccd7879f6565ff3cdc6f4ca84a1527e38ba", - "final": "3b29eb392b55d95dfa865dcf0c4b74ec9e58c6e9e94e0bc432b3bbc7518c9d03" + "raw": "afcb9dde21d31a0a36f6581786b1d4a691a01d12a1683cd051742dccccb161cc", + "final": "6d9ff3b46bf46d904c712c92e510b6b0b1b426329f01262c17b57516fc88a891" }, "-118,85": { - "raw": "23e4f4f0bbc03f71223c449ea3bb031df03087b78fada6442986296767977681", - "final": "00ab2e9f5246884919de863d5fba84195b6650564fc0c351b2d0a225b96a0709" + "raw": "72582c0cfa4e7b9d649c7d1d2f1326f242e6455e3ed326a613af6cc87c8ee75f", + "final": "3122a035acf34e3988c37a3c429c13504a9bf39c3284e82efd73dacb09936437" }, "-118,86": { - "raw": "bf7c1074dba5cba3e38a94aa08c6a8e857621398e1d884ffaec7a25b95250f0d", - "final": "820937116473671a23ed6d3a9d706a9424bf978521edfb251aec49301b37f475" + "raw": "78e3771139c8993c7bfc132dc27981ec504edc1ad687ce0cafbf5fb3da0550d8", + "final": "d896ff7e3f222e2d83ff4b6d98f3d8745644d212cb7d5cd5cd438c8178b9787e" }, "-118,87": { - "raw": "ba0c7b3570fa0dbc4b2309dd001ac9491235852784d626a79e8fb6c6d2c205f2", - "final": "33755be7bba13e3da66ae424eeccb47f9f929f9bd8348839155bbc089856bd31" + "raw": "e597c9860a1bf007694257cb4c79a926931c0d87f68bf190b79463dc5ea55a78", + "final": "48244b04e6e07bdca0aa24d3f876b4c73a047df9153c51e4b2712bb612121710" }, "-118,88": { - "raw": "754a0d77456c6da96c9766ea81b2b68cc12bffb5416ba44d34aff46d05a6be06", - "final": "da8ba424f2ee959504735d54194bb1d01c52e67d99aeb788d8f0342d0af58ade" + "raw": "276f51362837065b77cbacf5c62bf1553fffdc100417f180cc15ef90ca07f30f", + "final": "b3f0324e100fba78ebccda9049196efa58e6db04ee5c512acc1e3467a72fe7fd" }, "-117,85": { - "raw": "aeb6bb98df98576160ef817288471547fc6ce9001b0a0686116c8e7a4cae27b0", - "final": "a7006e784339b9e2515ac802daaff53d9292a99d3f0913d8d4e87e16d20ac402" + "raw": "18cd6ceb8ae35691061f43051d30c80b3b1c2dfceeaf5e6f914351f5c29c66c6", + "final": "deee05372f34724312275bfd57a317df519d0e5c6c363ee081da95d3b9500d7b" }, "-117,86": { - "raw": "6cbf037b1dc57c0d20d5ee55c6cd603729f24e3e6d49436be38264005bee5f56", - "final": "57896362601388296a06ca5cac7fb708b8250ad47b3475276de8d5d5ca0d375b" + "raw": "0a137c17b733752817a091420bce299231f7dff7ceceabb6fdea3480678219dc", + "final": "4c7d6da99caac4f28d5c864508e41b059ec83ffd42f5a145cdf5e696fbae8afd" }, "-117,87": { - "raw": "dcefa4f6726b7ca48a61261885924fb5864490572c0cbdff298338c02e5403f1", - "final": "297972cd8ba2670535280bed09f02030ee51a768ad8e41349fdc44700dd9a172" + "raw": "61f6450e1bc8950ca5665b5d2e6bbab9028a9f8ffaae19a0030d9fb7dcbc7332", + "final": "fa3c353b58b94673818865e83e37dcc9ef570406a7dfde510a62b119ef05a8ce" }, "-117,88": { - "raw": "439c4d3c2f3c9039b4659ac2d1e0c9055db1e53326f8057c971c0e546a3169bc", - "final": "1dfa7fba328d57da47608230f12ba8d54502ebdc8370db0c0f808068694487ff" + "raw": "29ff226818802e75936b6d202d436cb1b8a18cbe39a3def552855a071517b364", + "final": "3dd9267fe4b0402865e18cb996e6801098a1038eebc64ca0728961b7658f82fc" }, "300,300": { - "raw": "42eac0534f09f907fc11edc839a73f017e02f6e7594f20957b3fddee9cf7fe4c", - "final": "740c7315499a004f6c1f0fbf56cc72938d69b9593c5cb70d848c52b629ddf23c" + "raw": "4c69e51a5b0ea8de035e848521bbe58f606630c7dc077b3aa1e136739ae30ec8", + "final": "f1e1ddfebf21af21dcfccf19b05b22350ba619a13ab122e94be3d409ee56c5ab" }, "300,301": { - "raw": "66a2a42e5cd3281d2b190a26316281745eb42346354c832dedc7634b9fb5bc30", - "final": "ed04b0aa21b6431d59dabfc64d4479c3cdc89b1600460b45064a76d2c1846f80" + "raw": "fff7b37b5ef13bf458a32e89be90f5ea38ef389a549d7530a894f88cd3d0a829", + "final": "5d9ab1f4d5e37dbfd6fcc23b937d19dae8c93cd3e975c8541b72bdda6ceb3059" }, "300,302": { - "raw": "763dd9e658e523601f3093876f2523bbdd140ff3dbfb0604406fe7c588b8fee7", - "final": "e666c9297ac49d02667bfcc9a9b5e93ca069c1d10a4b30d07b6f34aff184e8db" + "raw": "3276b55f496708e0a92cfaeb236227c23ba6751928c11230553cf993e01e49a5", + "final": "65e0ccd2655905409d3f69c67a8450a4cb330e265465882c8cd850a083ad317f" }, "300,303": { - "raw": "f16b2eca091784e32242aae4e6a12740dc67a86f7289a12bd1b39d023af3462f", - "final": "beeb758428cc04c7a43aa5ee6a2c30ea68142a6f158758a2dc9ccc7236260c40" + "raw": "4d2b1f2ff7b898968766291c3717698c604fa93ba225c4348d88fa0eacf0c3df", + "final": "bfa87ea2037aba0cf07352e66da83d679a54882c38929b51260e51a27e85983f" }, "301,300": { - "raw": "4a757a76f9e2820bde810c6aa1aca0e2a75d342e9a3c10f24a62110224791ece", - "final": "81b9693875b6bf900838593859ba8cfc43698545ccad3464726f29a1ff55ad78" + "raw": "51692d4d0caf65780c9666d2e47c72d1f7d52c47b6640c38d1ce661a29805867", + "final": "ad77b52c5466f11e9362e9af5a308a48e99193aee85079a816aa826948c94fe2" }, "301,301": { - "raw": "5d31b1320b4890607c51d5e6df27df952420d73021388d02335a245a547c0bea", - "final": "d96fa7b88a3f4e1c2778506a395400278622bf233eacabdc5a54b8fa135a9ebb" + "raw": "30b99d948b2a616d7318a04f02966ccfddd38ad1e03f5ec83a69aac925e85d3d", + "final": "50b9b74b5c00121853717c6e311b2114fa632b3bb55ba2e599a6c43e149e294b" }, "301,302": { - "raw": "9413cac50cf67b589400cc21d0d69ac0717a49243710d81ec367b3851c46e55e", - "final": "af01dd84c65b93e146c23d17468f07cb1d3ad3750dd7d1c10fb86157292cac78" + "raw": "f69f8efae19365f742cbfc12369169a87395c019cd879756fe869ca8e398f76b", + "final": "cbf762a50d7748fedc6340bf7904d98bd1ba89f2d4f430f9eed6a1371e89445e" }, "301,303": { - "raw": "743b1573a5e9ff49ace1dde5dc057434c9be6d735ec2057747d4456fcc38b537", - "final": "c3293527e6f98abae0bfbe0fa1937f303490baf37b6b855fc77d9b0d885eed2e" + "raw": "722409833ce76339c1f12b4a25725f032da019ec04161dace54ebb7aad83106f", + "final": "0a4f6f52cd71b1acef4ee63ba0bcfb51b7d174c11426bd9d6922bad6c873480a" }, "302,300": { - "raw": "1c541ea64f48e9e9d5df744c02500c9d7f79995f47f88240fc12be5d196cb653", - "final": "044984c52dfb49dea8deb2ef7c19d28cee5b7497e68db8d3b875ffcb9c779633" + "raw": "303adce8265626e96c6a36a4b964afcaba5738c9e93f5cd4e518489944eb05ee", + "final": "c833d56ba1c926ffb8dcaba80345f256660be9714b0064ba28d7a181b918de90" }, "302,301": { - "raw": "ff4254e428a7c24d75a4f8bb475708d9104f8bdc5dc74864ca9ec6a79bd5c0d0", - "final": "f4d99e47c490e9e294f15e20f9c3df3d5ce349d5c6e516e5e51fdc0685d98b25" + "raw": "b23adb08c21d00884ed24410f3a8824bec50c8a9fef8ba1ed0645aa1255ec997", + "final": "a40040e390e23cc0e417bbda42b4bf9ff67a7e3fbf3c4e026d25ba932fc9b168" }, "302,302": { - "raw": "4b915389f283bcabb1d941c0511ba529294dc1f7a2ec571cac72af548b20075e", - "final": "90204746c0b847dafd66b82e816e02227af1b629bdad1c612fb435fb055ec023" + "raw": "56c65493c22ff28a84478f0c0228b06745fbe5a461a7cc6b4541d4b4a25c51b1", + "final": "df542bdfd277d17e6007ff9e0a6528bddbd185356b4056114baab461ee4d758d" }, "302,303": { - "raw": "1ebb384620d3303d395d313061160ceaed2957549a3c38177946da03418b6ece", - "final": "b7e43fe2378ed046f8f73ad7158c1cb3d033efbf8a913dc05da92f02edca028c" + "raw": "9a83ee95260178d40dbd0291681af0153c0b2c27943e29aaf60a0c2934e26348", + "final": "91736715bcb9e8bdfa5abf759a7e4f93f43a0f959d3bc6b56d3845cb8a99e14c" }, "303,300": { - "raw": "65ac95396a2cdac42015c376228134460a3849f89d34e33580765778efbf3e7a", - "final": "71ce3d70b026f6a44698e139bcab99f4f736989a29635d8870578dcd89005d72" + "raw": "d12b6cfb42a246c30ab969842b2f196e546d77c6d7d5e77c87a500cdd632214c", + "final": "374be10350af6d537da782616d4a577ee4c5fcf775f69e88480220b4cf06eba6" }, "303,301": { - "raw": "b0e421a4c02fc158941e0b6579c8b3fa29f7fa5a083b9ca0c3261da84e126392", - "final": "3709c1a33bcb7ddaad0c5b58284b90432101e36b2599e4991c8743f03728cf33" + "raw": "f349a026958db97b868c51117e7b4220409c70c4813c879324a2cc639917f957", + "final": "2b58455bc9526daac3d50458ec9f69edeefcafdaa77d55ab671fe4f1c5fd3a77" }, "303,302": { - "raw": "67a5f0fbe4131fb541593d9cd79fba0d4d42fc0b9c96ce05164b601634528e76", - "final": "10560283382471c6a2ec1951440a1f52d3f5e5095b57f1b3ee3c0e202c0d9471" + "raw": "dc0f3b1acf82f5780fc974246e8518215e37623488afc034864a9e073c202d6c", + "final": "b570fabbf6af2a629a85638f80dd4256cffce8c6f2c50f126790821780cd15cd" }, "303,303": { - "raw": "1c901d3bb20263c3677c449ead6184900a24009f306535a9504a03e26af04436", - "final": "ddb70ef2d518bd1a8917ee3e9ec415228731cdc395314a5316429d7adfc5a2ad" + "raw": "dc10e69dd176546ee945ce4f008da847e3164cd6606ac773a6d4057f77e634bc", + "final": "4cea92b33bb2ba693e84d9705dd5c024b1b5fdac8bf45f29447bac3bcbd74db8" } }, "golden-3": { "0,0": { - "raw": "5bccde7053e6a5b241cac33d0b62baddefbcf968ec35be9a6ba64e85356b65cb", - "final": "2d853fcfbda2a0b810131cfc4c366a8e3eb76d6934acff0e0b7ce5cc8b5acda1" + "raw": "8183833de61c4291ad0d066a2c2e9be563efefea17d281c0475575b288c2457a", + "final": "3d3e2909a22371619225143699f165a76169e02bd6c89d1ffc62204f141be44e" }, "0,1": { - "raw": "0e429cf40034be4a565e5a9c65a7c14214197f7e18fd286f8087e8d29dd8f635", - "final": "d1bb288eeb23cd8a512f4121e394c96bb7c5966b76906e8e8d4f3fd0233c8e40" + "raw": "ac33332fb7e7855d5c67d58c13e6decf90fc7f4d9586589c27dfff40b8b5c1b9", + "final": "920fb1d4a6c12db0e481852601f9c68a56d38ca0e56e5bdaad841a6de2ece6e8" }, "0,2": { - "raw": "75cae4f0c2299fafca5aa2cccad81f16ce4f5789ac4a1bffcc0ff07b1f4fa474", - "final": "5cc65c53688b5f0907f168cdd3fa51883a9d3bd69859c88aa5e0f8f9eb1e69dd" + "raw": "3384aa0239f03ab794d148a703695422b6367fd9e012221337980a9bcaa2be7b", + "final": "3d0949d41642e6f4c6e2b59146973c2aca4899abbeaafb5a46d90097cc7e3e0b" }, "0,3": { - "raw": "57bb3d607e6bfc90a6c8d9f3ec6ee4a0456474e03521b27d302fbe513e119b51", - "final": "84d98f9e058a2ac8e8f2fc8f6c8de8f9c39b79292de0297e5a5fe751351b89ba" + "raw": "5e01eedfafd2b692fc8a0d40fef004de1d05bf2cb92c3711f0e854a94848af6d", + "final": "dd1db51b1d84dbc9b96646fb25215852d0afc9f5deb37a62fd4ef93c8e209316" }, "1,0": { - "raw": "1c01b8180066f0943052acbf2687f8ee97140e889f6d1cbabe4c0812afb35872", - "final": "e3cf708e491327b17a596c5482094576f8a9d562d2a380a58f3aedfbe44d29d6" + "raw": "8760cd264534c089dbdd82306c0688ac387b3ee8ee84fb651c16dbcdc427c737", + "final": "1abd076fd924b044d4d5d9de185e02f51031e40f00769389edca9b31a9032d2a" }, "1,1": { - "raw": "8406d371e96573b833aebadbd0c60dbddd5667d4948d31df279567d9ad5620c2", - "final": "0b2f1a8902ca87369881324af54d9596ffb0842d6f39d8391712d489804d8195" + "raw": "d6d1eb7380195eb5ffe552df4a525487980bdf82e6ba8fd2d3801200cce79bc4", + "final": "148b392743ec6be5d5a928d42c76e88902c2d3bcad38c75090db21ec74a920ae" }, "1,2": { - "raw": "9b6dcc101f4ccead0be4ceda5cc7f49b90b1d6f0617185eef7efc3edf67c07c6", - "final": "eba1ae9415cffae1c5c73719375967699ec87a49ac7979b4888bd635c2f3f99c" + "raw": "053f03257ba57c736b632a2bfc33bc803c9e307e50f5b142f9ead72fd7c729a7", + "final": "0576ae3f10be8890494796ad5a69b9137b4d2415760ebae61129384e8bbf87aa" }, "1,3": { - "raw": "5ffb0fbeebc014939dfa2aade520b59ab979edf8271a4a647235cf7ab9e9950e", - "final": "b08e52ceea04fb224ef36880537eef293c45772a4504131fe47b1c0bca246706" + "raw": "6a512a3efd579c8b96f30cd92e058d7374479d42df5c7814537d48f164cd68d1", + "final": "f1f9c9b3defdfc5a27779d63d8970db9e230bd81b4a822d0ca5baca2768f004d" }, "2,0": { - "raw": "a917d4095433c6ba4431d231afcdc9b00014b41664bbe74aee02d1f42ffc8cee", - "final": "ca9a3378e84691270892da52459b79c4b943e5475d5fbace8430717e9e3a62ee" + "raw": "c38571bcf41cf816c782756d83bd3695ec49807ac158517f68e557dde6c269f9", + "final": "e577b62d1aa55a12b2740bbf06ddd1c33df90a25932d05478bfed2e0ccd55f98" }, "2,1": { - "raw": "1ef3343a6cfb6dc4cb7cb2d29b88ab65d20ada8a8a4b25bfeb1678e68579eaf0", - "final": "29020d37b879a37465c61bcf7db5f6d655996570f9c5d40bba37d8aaea4a7fcc" + "raw": "c81fbd21b5c643c8812cc3e35c51e6190f4dfccbbcc3b31616883bf7b3ba18e9", + "final": "424f45fdcd4f1a4dbfd6c65e52433d493d6fd5a35aad4b01c179601e2846e9c3" }, "2,2": { - "raw": "416773a14a9b992401b0c3fd31112178238ab148a70ac002e0a4a8b538afd90b", - "final": "20ddf785095aee41a06f420cc04c403a374690a62760141a99249a76ff1c792b" + "raw": "7ae89459f7460c67a79e9001f131f15a4a5a5cb2ed2a2d8fbad95237d57cfeda", + "final": "57e4b5737c4e6980f7f69d760011d44dbac72a6391bd6102684e3de815818662" }, "2,3": { - "raw": "9837900907282e516ccf259985ba88d185634555627c2548266f24f783dcf2c5", - "final": "81ca9c5857321ce2cb2ca96ba11a7bd83e0be59fb25de2d00bc6d43169f357a2" + "raw": "2358ebf28dee8b1b0cf55374792248af5bf97389f41d8c9dfbf5ed4d13e895fe", + "final": "0b1758261f792a9be71a0ff6e36023d758a75b57ef4d5dd0580d343fb40aee5f" }, "3,0": { - "raw": "b6219d591edf80359691665eb067b90d62c30854aa0ba2f845f31d5fa0c3962e", - "final": "db1377290370ca326599aaa2d9890cd848f6e5eab3d91321b054e3ca0c8ca0be" + "raw": "f2ba17dbc662ed5ad75ce6f6ef1a52c9a0e32f72dadfc44d04503b8ff9222c43", + "final": "b43159291ead3c068ae6ceea66484626d439dd05294d111bc92a6f9c0af3721d" }, "3,1": { - "raw": "2d56f03eee0407e2dddc8959b40af8e63cdeb8d4ffd0330a677268287d5bf2ef", - "final": "d60f215dc88b34636177d9dd6c1b7d1990f7f4b879d9e8d41056cc2b0cb136c5" + "raw": "e3ec91ecd76c5646332b454dade48524dfe6c12b062b274088c219207c91bdce", + "final": "c26162de9fdc12a8f4b88122a76f8ecb956ce1a320abdd47e299b8c6babd7b79" }, "3,2": { - "raw": "3ab1c10fd131b5343a1bb1fb8a164fb45c2f2578a737b86d590f8aaf817cfe7d", - "final": "e13fe7a602175e48f7449b6c6e2419d6bbd5903445c3e1870ee034a619ff2dc6" + "raw": "5e5738f841bd80f8508943840940119fe3f2650d1c9b82b689cb9dae627358a6", + "final": "3648e95cefb6c6b584a782241621b1333bb081b382348e58a75641034f43e057" }, "3,3": { - "raw": "a1dd3e8278ca2e0fe29943d01d0bb3978fd026fabc2be83e4caebcc66592ae7a", - "final": "0a464bacf8a4dcfd5dff8759ca8a6174c761f9d028937594120bd9458e5375eb" + "raw": "f2c0c67118148fc32884b40d0817cd93e4520c1608879f70002740d37d64f9e6", + "final": "6143c649a83b5491a9e25e0233dc8ad8852f62c671cee3c6eb8adfba6e0ca6a3" }, "40,-25": { - "raw": "61cfcad89c8eb4e4494d4d2c9c58747ebfc29a0bde33f359b36baf807bef3ca0", - "final": "a4adb1d698fa8c8883e76aa57e744f5ade29ceda5771ceadbdfd16a124a769c3" + "raw": "7fc49aca6ea08c8cb464ed855cd4aaa74354a5b1bb866f31f274e88a7756bb65", + "final": "1b7ae70707f0a39dd9cfd3ddcd9164c6094bc15e9793c402c4e8eb5a6a46b50e" }, "40,-24": { - "raw": "d9b5f4c5191aab1054ff4d01002b2ad9e6f143522e25db545fbac6ddad4f2c3c", - "final": "24418b0f94599dd2fe6dde7de9c55ecaf9e81bdba425e7339fffceff5901dd50" + "raw": "223511d2ee62408dc7c4655fb13a3b5a91fcb2355f9a61cd003ead87d4979ef4", + "final": "170547fa61f8d3db21e16fc6f06e61bf56dc21c65fad770e0329a9603694995e" }, "40,-23": { - "raw": "ba7f8b2abeb1ac139aaae532995e047d1aa7ea4d3fe77442e9a5fae6648d05b6", - "final": "6b11f5169808e24ed3fb2a5e0ed015e0a47c6180b2134861af50942bf82c93f2" + "raw": "e2e2e3f95089fa2f45bf8994572accc81d9358bd7a2d5466815a15de676cef23", + "final": "7aa87b0da3cb9385b915e549b3be015579aa9a59e04c3acde00fa6c757ebd462" }, "40,-22": { - "raw": "19ce3eadbf70c4d10affb68a22545f1a6b04c136a762ffa8f51573d96603dd8f", - "final": "f930b2dbef191b25b4538e2b750ab20574aa4834c7edf170612e05cf512be02b" + "raw": "09f86f58c15150b2f37beac43ca1c00d3f87127539344fbb12f38f83808fa048", + "final": "62084843a80ab2540dd7020f0deed39a76ccf089987161613b3e3301d4eda0a6" }, "41,-25": { - "raw": "67f489a3255b5416e3595e0be3424fe885e920988526ed23a4128abbf8ba743f", - "final": "768f6deba865e3a14091efe61ddd92246b206b9ff75751c71682e82bc55dcd87" + "raw": "cbfa4019bef6d0cd7c112d3234809ad6db2921704699aac3e12ef9698aa6d31e", + "final": "deeadc2885ac2ace236e77ef9fdd9a518bf2175d66109dfe98926903d0460925" }, "41,-24": { - "raw": "9e68a39b7ef5730eb8d080a8bd3738dbe858076c1cf90b5724854007a27afb62", - "final": "ca38d28d682f2157f673931d743f85568aca0e1bcaadd24d99bd901da743c0fc" + "raw": "6a8046d059095a5f9558bfbd1683af8319e331740dacb45478fabb2ced83c039", + "final": "548065d99290293a977150f6a186b9a45e1db66b7c976372aa565c756afcddc4" }, "41,-23": { - "raw": "cf4cf2c7838fbdffd76891f014ff30e0caefa2ea32cf2ef6437052d744ab6301", - "final": "6a279f9c266934141ff0a2973765fd535236dcc0ea4f2f0bd1e6952fd865c088" + "raw": "e1b5db3ab15a0d78c53067e33bb5b5edb9d1c124ed804daaff24851de045bd9b", + "final": "c995a6438a4e2e979a702cee994dabdc749e4b7ad43da1e6fb0f49fbdadafdb2" }, "41,-22": { - "raw": "6f928794cbb7969925a763418b1f16d600efa237f874ee70b7e1ba5ba8224307", - "final": "c5f2190fd456cf91e648396cc7c88ada5031110b9f3d97b6d75b9e40373fa76b" + "raw": "a6c7b33e31f7c03bf11d37b0c07056b849a90d09e575f961ed2d78f216a68e84", + "final": "d78148d2732e732d27cb784153fc13a9a9df6b1d568f392e40321f020f8a8f1d" }, "42,-25": { - "raw": "886492fec10c04ccd6a442b7e97732c05dfe2867979ce96b11408e1ade1dbc89", - "final": "01d7cbaf96e644a158419bfbdeec96786170a1b183bb3396e03490731842569f" + "raw": "f967ba949d5b7ccbce31476ed0d4f60cd98cb307a0c9e0d656009c7ed517d775", + "final": "df17b86d72be32c7838602335d55e62eab658d8597a17ad509be8555784d31b1" }, "42,-24": { - "raw": "66ae27d4b2e2a4a6a4711086a38b9fedd0a50ca45f740cab1253207ab5f10f3c", - "final": "6acb17e70dafe666e93d285da5cdf269f545aaca653c5589aa7aa9179ca3dffc" + "raw": "90bb4b5fc43101c2f93af777efd0f9c4deddbee19fb5a697aeb6f0e6367e5bbd", + "final": "42230b4b4b76d5592a4eb88dc02c95d5acda69ee8dfbf0a96e6c60de4d38d862" }, "42,-23": { - "raw": "5451e3fa769df465b64d54755b60c49680a336be09fd75b57987a94b201a2c90", - "final": "8e9c9f819b2580d8502d8b8bd82c15d45506cc292a09d6b6806809b1aef7b9ab" + "raw": "83781c1f8620bd86ca0a3987075f1bb773fc2442dbb0b72d01cb5fb56b48b1ee", + "final": "b12ca2f5cfb5a8b85919cdb9c9a8364a66c342beb28d95d42f43bd86db3ffe49" }, "42,-22": { - "raw": "610a14f154bbc3995d021d0f4e624f1f7e9451dd26710018a36c9c89be0826ab", - "final": "4de9d34ea20b482b61c0878389c79959c352403360c77602ab7861cba311629b" + "raw": "17ea2c185b217a98e4e6d0e6fd104b451ddfdaf3e492a196e82da7c7a146436c", + "final": "270ebf560f2873b1b02c0a03497d9df53f4a55586fd6328cfc04b31cd3e15420" }, "43,-25": { - "raw": "0031d54abda12b7df1d27fb578d81427af5773f0b568bdc97f99259348ab9f53", - "final": "cc8dc242a8136955813e931bb65dd4cb83083be37c15c82926a905fe9c13dc18" + "raw": "7fb798afcf61de75d93528fdaf4645a3b4afefef7b9b94eda0cde4a9eb234557", + "final": "ac55d25abb9f938015d2613a7cfdc194f715802e773a3cd492a808c8dce96c5a" }, "43,-24": { - "raw": "cbfb0001ba87b46af006dc6197d29ae900c0c5b88374960d4d6055c796e0269e", - "final": "6fae154055ece67bb115e2ff5fe043195398c11f20664abf0f7f2ab533c53eae" + "raw": "03c26885a57dc2aaa704fbb0b03bbdaf6cbc8feef2e032733ed435d287ef5912", + "final": "5877107c8aad59b8cdd6eae7d047b4e75a5891682bab8941af6b8cb28e5c596b" }, "43,-23": { - "raw": "deca0c1efb1d10b317e140d3af400561e121c471d2fc21d6f6586df192558d26", - "final": "07ea46c93948488865e52a4bdfa125790fda686d57d3d1511a0c0dc3c5fbd27b" + "raw": "1801f52355dfb555777bd3e4948a327b4761217e2942bc3bd6327af64078fd8d", + "final": "9edac4eab7f1259b79174857a442588f79ae052e55bdbab827b186f420bb6145" }, "43,-22": { - "raw": "977b3b9845d20db17f95aa9d6041e72227eaeb03e293fa6990b897c3d8c796ce", - "final": "602eac336eb569bd7d5042f2325e482ea357ab334b6f3c1b6c51a779e9b8c26b" + "raw": "550314e5e7ff8c4d4d31fe7c34a7e2de36b4f022ae33e718fccefbb2e17fb17a", + "final": "2d7fe949eaff4f61ecd9ad3e2421419b9b40f34a2c41c85ce82f75af72b8f670" }, "-120,85": { - "raw": "cff65cb5a86c8935806c8134d04f67ef07657a924f8db55794739eee9934e130", - "final": "781f65888e23fd47978b0944ecca2f3bd92b5ca54baa7e82c508996f2a94b90c" + "raw": "fc327efa40107f49bd86a9b4dbcbe84074012009f2fa34fd1377777368aaea70", + "final": "c957cc88a4b30b2ac1527be642a20a76f3ffd0ce126618d07c9779db4ea0bbee" }, "-120,86": { - "raw": "b5f113fa46efe77371de3c7de001ed44748b0b4aa96bb8c719888c64b9522797", - "final": "925bacd57fcb369f44a6923f07c1a835979493fcf38c9b8b5fc39a398de255c2" + "raw": "847a8d6bb682e7d0e6699aec2de9a416b89c11597b937aa969cf3efe8c2f0903", + "final": "0a8c14d93a3df4f97124eac296601a43c4cd995440059866ac5b83024ed2a18a" }, "-120,87": { - "raw": "7a7184af6a94973acc29a97898c5091857598317cbf619b6629ae87e023471cd", - "final": "8d7f28aa6aa7226a51c4c9f04564cbf5c40acc542d323197994b7e27555a06d5" + "raw": "86743bd89f5f05a0a86a2bae86dee2778e7374c7244c604be505e014b87f0a54", + "final": "5bedda0c9c865f40f7edea9f594d6980f961b9c5dc7e6b0096fae21f8a4f19b3" }, "-120,88": { - "raw": "6a774ee91faeff51204762dbe407d6acca617d24b23f7405bdec7f89787dc1c5", - "final": "e3fa0e5d1f824b6d5255c9a64cb2e703936dd5ee9714d1ca8f122bb5e648289e" + "raw": "e97ccc04cdd29c04e3ba4026f29fd53f9477663e5f9a6beb6865284ba2e03e42", + "final": "4f22261b7059ce5449516405a3c5e04e9c4374d796c97679bb6a8e70e703eb9a" }, "-119,85": { - "raw": "1a031427d6e99a444a57bbecd4c96e27ae98a327e9bf4d56857f4073b3f21daf", - "final": "1db122c5da0e1bda1750a6126f1faf7ef1513877a82ba300773ac93a2ba2b548" + "raw": "a871ee41529e03b8c9b0fca3860d510b90a3ca20a1e5ca5ebbaf32bbac4b3162", + "final": "51b69b6d2fa2354fcb4664195fd2035efb58daad905aad7ee4a682533f2a2fb7" }, "-119,86": { - "raw": "1cc413d4504a7b30dbed20580be4c52595c4caf92efc2347d451a261ccef4224", - "final": "89d8a4c5b19cfe1c837bf39fa5a5b02b7e648c196f1778a5414bff1a46b261aa" + "raw": "13e060626eae190344cef57594155a79e21c1713b0fb4ec8eef46a2885ac4431", + "final": "e360a76acf8d7f7eff221296a73e208ca710a4fa8fb28865bcef7e61575ab39a" }, "-119,87": { - "raw": "2c266aceebd82d95c00e024a3ad388c6711f01f3193c3e4897015c8776721c63", - "final": "24870402ccf56a208219fd9402bbef65b9c980024dae7c177a85fb9437b35361" + "raw": "75f74d00ccd561ddcc20ef5db952f1713fb5addd0d278f59372d45907d316126", + "final": "b16ec89903023a865562441145bc7755cd8cba87a2d6f019fad80863007babec" }, "-119,88": { - "raw": "3619c376eb0d049a2ac785837f9b289fb23f9321fe72ca0a393e24749c8e7eb3", - "final": "26c31db9bff25677ede4a1122551bc151e2ebd697929958f4bf85655ff563535" + "raw": "7ed3eda70ef24051ec144d42a4566d126af5a0c4e566d49d28cd87cb087d202f", + "final": "b909a3a3e45d68e061e89edac894288e58c5b0c84d1bb8f8c3f34d70b767ad50" }, "-118,85": { - "raw": "d7574b3d171e5b201aa4b8285bee98bb01ebe6b92497204454216f8c0e52fc63", - "final": "903dcb0895d860f7be76e9376f70465b0723d776408ab8301c133614195b8f32" + "raw": "ffcc18d5cf8447177a9cc233b66e12741e8fa2ffe583d1f89770c95e940fdc3b", + "final": "be19ac69ef2ee9b3b804b3309e6b142145568cd7c80fa27d90fc8711ffa64eb3" }, "-118,86": { - "raw": "04cf920d922c20656cbcbe4b6828c4b03cd43f8199f73bd7d1ca68038d1b49a0", - "final": "a22ecaa80a9fdbad7571d61ac3eb9f1b82ca820d29996ee93cd9b7dac41f33ca" + "raw": "1fca6535389b2540ad639314daa059cbc91054ece17c88754252d41f39ce03a5", + "final": "f1483947d369af8b738206d36496a07177cebb45262680980bc35b2d12c5ac6a" }, "-118,87": { - "raw": "638b13be863b350d8b645e166e656e5bb76058dde2712b6fdeca17b157fcc69f", - "final": "4f405f485e46e066d39b5beb16710a32006208ab569c4ae984208c66c263f179" + "raw": "e02bc258c80bbe4daeb61760c92adb5b3b1e6155fde7f97ce8170354300dd003", + "final": "52fc55909c5c77fe383e43d29e9c6795a0bbdfeb0b70301f7bcf10e5c8f9c1b3" }, "-118,88": { - "raw": "72b7217a5c4060c7dd41cdd129128765dcbfce7c9c0b2fd3c5c0da2a7af86782", - "final": "2c622f238f65d17956bab01007016bf02de313652153e7cd0a518bf0780aab9b" + "raw": "31cca105575be87d28662c539791de3d29194df0d9d456e634c3d997a81763bd", + "final": "03e48e5c6211ab2932748edaa1e5c418a44b7311d41f80b17a2bdea3bd62c2d3" }, "-117,85": { - "raw": "312dddb7b01aa01983974bf944d161b046b206c294a2e017677ef68323cec08d", - "final": "7b3d03fb3d1778c41b69ad791e653ac8a88ab39ee1ae5bf50f19c9fc33fc30bc" + "raw": "d7c6bf3e25e86ca89107583384f4a9d6423887e59ec397a7715165c5324f19d2", + "final": "2ecb696f17cf889b1dc60fb67b14b3bb0f63245edef213547338dfebff37691f" }, "-117,86": { - "raw": "3880a2188682294ae172d3cf7cb8bd5f0b8784c0fd80cf56600d28e5c97c14b3", - "final": "5f2a2e679c750a3f71c60bc998d391a4c1212b203be1bc9bdf192096538623bd" + "raw": "a78b38416b39796cff8013a4dfaa9ca4ea448c929fbfa758d6881da5f11c2ef0", + "final": "5c038521b3a362a86f4be727ab15e8dfcf819ed3a8ee44fbc2c7c258f6616d03" }, "-117,87": { - "raw": "a5158c16b04f13e8f093255390d5e0ed582aea8e6ed9f765a5072cae62aeee81", - "final": "9247731da5c83ca717304e44570e2e07547c5cecea56cd7e46905969c231a870" + "raw": "cea615db53029d38ab09dcb6d0bee3bb29484450d23cfd6d0e359df32b867fec", + "final": "7c069b2c0dc0d54863c31400ada79fa419d7fb53234a1544e34d37bbfeeb319d" }, "-117,88": { - "raw": "522749c7339f8089fae61b983e8e9fd5642d0b91f7a5e31691c5cf6fb9586c3f", - "final": "d065373172e4292751f431f2600b7f0611761aa73ed0bfd521e5caa0166fe14a" + "raw": "0ab69a3b8894e4e3363722536646c88b5c009420964a82c83e63b74514d8c7e9", + "final": "f2d1f5487005f23698b75234db29a41c4054a40cfbea70df6b6a9b9766942e53" }, "300,300": { - "raw": "87fe72597d67a430a4525b50890c6af2aae5597a6ab2c01f9a4c2548190d33a5", - "final": "123252a17fc2083a434491ca5cecc041f4ae15200a8b82d8235aa35fcf811ef2" + "raw": "9792f0ebc462a7ad3fdb369bbdafa707b28d98da63a983343d045414fee5474d", + "final": "3baa132f98980ea555c314a2525f864c5f805c54eae3783eb30f816ead247db9" }, "300,301": { - "raw": "36f15723384699409739347dacd02bbb667bf87c61e48533b0c57c99b73d1903", - "final": "01b0eaa9af3d7f582684a12fb387d9b2d0547d6b1dccf23b70099765b23e7471" + "raw": "23fede39701da777edade8a6aeb7234ff80ee3ce57a84b79a9e4d15aeda6e0ed", + "final": "01ca2c44b5e21925b83d572b02f14348f62932fdfd5e5ea94f1bba7ed89f274d" }, "300,302": { - "raw": "77f679177577559f639eaeedf2b078afda1965e0aaf5fec9fe9e4a0986104452", - "final": "c26826167722704e50758fd37a7becd0c46044754a44ef09464b51333110c09d" + "raw": "74f02a229dd7932caf6c75a65f8f3da9527cb9f5dcfd4ff1c5b1203d1e6652b1", + "final": "3f670804a942c0bb15d35dc97c91df02e941ca37c982a0495f4d7f28a55d4b9d" }, "300,303": { - "raw": "c5f5664a8359ed9e57914543647e82d3b49c25aa6573e11ae5aaf71fb4e0e85d", - "final": "ae534c1ff7282d04c7d603228e345c090332511ec50398dea2bbe46bf1d8b28c" + "raw": "a24c8a2b3ee26dbf4ad8999f0c840a6b48c89f4be9726e5499557a274f91e481", + "final": "5ae0de6b30d987b2a8730cdb89744453f5a55ff8d67e96563cb88b90241bd0e8" }, "301,300": { - "raw": "47f0282780802dac604aabdc3be16e8190c2b52e09555e6f357d163c0d244b2e", - "final": "c08ff7b0d423879a6aa9d528a21c200a06f68c810af929a922ae48f1a505da7b" + "raw": "ccba360b5b11fea6a409de0518b74601f00750fbac1ba630d26105de5553b75a", + "final": "ebc2218bef34a096e554cbe650ef21597ea19de0af7300c9fa0451d5763227ab" }, "301,301": { - "raw": "672cb1460bbb5251d6889a074b7be14f96cd3f0664b0af033bec3bfcc98af249", - "final": "2faeafc34feca21f30a6e350b4eccaae02993393879c6a9dab35b751b625b982" + "raw": "8dade339ce0434b369287a9d5a7382b476899959f3fcf78ceab0eecbe233933c", + "final": "507c8cc5e119ebef60a535e994126694efeba64f1caf9bb0a4cc3022c1a5afd0" }, "301,302": { - "raw": "5ac64159ebb27987c2d6e82106b58227175bfd50e8686431911033837451988a", - "final": "a98379b4c9358bdd99595bab33aac67bcfebf7b4ec366a41b79073f5a95bacf8" + "raw": "c04b78fbbd8b6eb5a95165c802d4729c48e6502b05d9d68bfab5ff0c83650c54", + "final": "963c733a812ffccd3c42bb8e481444ca55a7bab5181c0313c6bd57573158b96b" }, "301,303": { - "raw": "ee0df3723d7a5bf478af6c7b659350834eea0ff4c29c8c0125ba4d9c57ea99b2", - "final": "b43c4dda889b5adb89876c0e0d62eccd3a397d251b30d4398de9953954fd590e" + "raw": "239866f8152eb73640ad04d1b71cee25c14b1e1c2dee2d7a4b1244b80ff20310", + "final": "6e7d5d964ed72eabec3448e11a3ae5f4a6b856f9102a84904de6a2458122a7ca" }, "302,300": { - "raw": "ed6ffff35d32c3f87713e493cc74aa0644e6176bafec74eb190cc27bb14a278c", - "final": "df4c4a39e2289af0d70e57e7dfe749b8264985dd79ac3cd36e6da26a4f909d48" + "raw": "d1c678ce547c163c0c5981978be80d1a7dd42206b04e60303088a0033ee37165", + "final": "3fedf199c26d102d3cde2bd2f53dc2dafba42e387fb2d2154c3a8cdc72db9648" }, "302,301": { - "raw": "0df195232bd6d7b4448ac1ac31447c08a3967b39bf35dfe12eff369e6f115625", - "final": "2ed0bc74f2a34d65c0a5053b6b9e74468a5a211d69284a04a0d3803bfb8cb764" + "raw": "625367502315ce85f55bb9700c4c72066b7b52221d1d1f43e4f050571a421b85", + "final": "ba5936713bcdb3e9fee943270f997fbe3b0a926512ee8b89cd6538e12903efe4" }, "302,302": { - "raw": "1d644103175576a66d9fca75af941b2baa8b51bac36227f2ef462ca30b57ad52", - "final": "603eeafa9be02297ba53c2c85b3398794c4a1d4612439494c774c98382c89dd5" + "raw": "810dd36d2827f8ceeebab27aba39d17f2d70dfaa462cf3687e15fe2b920b0e21", + "final": "934a49cf80bb8e5ce77617bb7f7c76361bd8599106cd2170ca4fcd1d22212e96" }, "302,303": { - "raw": "c9555754d543c45e1a68263a11045d27dca8a385ea849b5131c5e68fa79e62ac", - "final": "d7bd67f851caa513aa9d0f09ecdd770d6a8f4f149adcf14d5d14b2038c3fc32d" + "raw": "3657ba9bbfc44db05989dc90d192ed9852665d01d165f017e99feaa24a4b0a03", + "final": "61c6a8164c82e06d5add48199bd279f0a63d418de0006465b038826feb421bb2" }, "303,300": { - "raw": "a96978ca8ff9c585a74fb4b3645667bae1b5613685b2e4d684186820e33c3a79", - "final": "4b5c2898448abeed8f95c510e180e2465bc0b83fad8b9107d45f33ee17f32148" + "raw": "0fe2fe74203118121bd1733a836b6c124f3f728b099fb961599a4f52a271451b", + "final": "966a5ad938c169b7355854794021dbe3bf2a17d76d235eff7876c0095e8d5748" }, "303,301": { - "raw": "3feabec66634c7902363a3d0129dcbf727154565116f4abd53307c1965594c07", - "final": "5b99a29fdb1653797b8f46d75d4137f719f4e78ee6e035ca3ecb21cf5ce6efde" + "raw": "b15f59b403a021264407470b7034afeb8427e4e9c54d38ea06b269211e0fff9e", + "final": "b17d901c1bbef7e25f2be1dad5e0afea42c12390be7a1cd8cac6c7c37fb978d1" }, "303,302": { - "raw": "e33b76a25030f9a4a9184cea088a53160adaf1151489e6c3a9887db2191da3ba", - "final": "146772c72279e2dedd56750e40fa3ba3a5494223fc3c2b78a9082ab499a89581" + "raw": "c5b91c2840518e895c98b3fae50b8b9279968bd1e4f9f8c9b239b4a972860674", + "final": "cc325698d4b0ce76734b9de08108aaf8222cff053921bafdb29e3a0551bd39b3" }, "303,303": { - "raw": "4a62faf7318b09c0c1f61eccabb64460fd5895e0a101a98d562bfc3a5fc0b45d", - "final": "d26132ed24a8bca1a6602c868cf56e9ca2017bc833529e3ab6958ba3881eb57a" + "raw": "e537876d5131360e0273e89d870ad0326a6d8bd6e1c004e968deb998e0ff776b", + "final": "9f0ba21532485693a6de42cc2257d7fb3d2f4750f971691dd614f6214f895627" } } } diff --git a/tests/fluid_container_test.ts b/tests/fluid_container_test.ts index 7d00ecc..e7533d6 100644 --- a/tests/fluid_container_test.ts +++ b/tests/fluid_container_test.ts @@ -31,15 +31,15 @@ async function setup() { format_version: 1, item: { id: JAR, - texture: "engine:missing", + texture: "cubi:missing", max_stack: 16, fluid_container: { capacity: 250, full_max_stack: 4 }, - layers: [{ texture: "engine:break_0", tint: "fluid" }, { texture: "engine:break_1", tint: "#ff0000" }], + layers: [{ texture: "cubi:break_0", tint: "fluid" }, { texture: "cubi:break_1", tint: "#ff0000" }], }, }); write("items/flask.json", { format_version: 1, - item: { id: FLASK, texture: "engine:missing", base_sell_value: 2, fluid_container: { capacity: 1000 } }, + item: { id: FLASK, texture: "cubi:missing", base_sell_value: 2, fluid_container: { capacity: 1000 } }, }); const t = await test_game(dir); Deno.removeSync(dir, { recursive: true }); @@ -69,9 +69,9 @@ Deno.test("a layer tinted fluid is drawn in the fluid's color while there's one, stack.data = data; return item_layers(stack); }; - const red = { texture: "engine:break_1", color: [1, 0, 0] }; + const red = { texture: "cubi:break_1", color: [1, 0, 0] }; assertEquals(jar(), [red]); - assertEquals(jar(FULL), [{ texture: "engine:break_0", color: [0xa0 / 255, 0x52 / 255, 0x2d / 255] }, red]); + assertEquals(jar(FULL), [{ texture: "cubi:break_0", color: [0xa0 / 255, 0x52 / 255, 0x2d / 255] }, red]); }); Deno.test("a full fluid container sells for its own value and its fluid's, rounded up", async () => { diff --git a/tests/fluid_flow_test.ts b/tests/fluid_flow_test.ts index ddbc64e..0b38b2a 100644 --- a/tests/fluid_flow_test.ts +++ b/tests/fluid_flow_test.ts @@ -107,7 +107,7 @@ Deno.test("taking the source away drains what flowed from it", async () => { ticks(game, 60); assertEquals(level(game, 5, Y, 0), 5); - game.set_block(0, Y, 0, "bworld:air"); + game.set_block(0, Y, 0, "cubi:air"); ticks(game, 200); for (let x = -8; x <= 8; x++) { for (let z = -8; z <= 8; z++) assertEquals(level(game, x, Y, z), undefined, `at ${x}, ${z}`); @@ -130,8 +130,8 @@ Deno.test("two sources beside a spot on solid ground make it a source, like infi assertEquals(level(game, 0, Y, 0), 0); // and stays one with the others gone - game.set_block(-1, Y, 0, "bworld:air"); - game.set_block(1, Y, 0, "bworld:air"); + game.set_block(-1, Y, 0, "cubi:air"); + game.set_block(1, Y, 0, "cubi:air"); ticks(game, 20); assertEquals(level(game, 0, Y, 0), 0); }); diff --git a/tests/fluid_handler_test.ts b/tests/fluid_handler_test.ts index b9582fe..f2b8658 100644 --- a/tests/fluid_handler_test.ts +++ b/tests/fluid_handler_test.ts @@ -54,7 +54,7 @@ async function setup() { write("fluids/honey.json", { format_version: 1, fluid: { id: HONEY.id, color: "#e0a030" } }); write("items/jar.json", { format_version: 1, - item: { id: JAR, texture: "engine:missing", fluid_container: { capacity: 250 } }, + item: { id: JAR, texture: "cubi:missing", fluid_container: { capacity: 250 } }, }); write("blocks/tank.json", { format_version: 1, diff --git a/tests/fluid_registry_test.ts b/tests/fluid_registry_test.ts index 39d131d..2a1606a 100644 --- a/tests/fluid_registry_test.ts +++ b/tests/fluid_registry_test.ts @@ -33,7 +33,7 @@ function fluid_mod(dir: string, fluids: Record, shared_script?: write("scripts/shared.ts", shared_script); write("items/maple.json", { format_version: 1, - item: { id: "testfluids:maple", texture: "engine:missing", name: "Sugar Maple" }, + item: { id: "testfluids:maple", texture: "cubi:missing", name: "Sugar Maple" }, }); } } diff --git a/tests/fluid_test.ts b/tests/fluid_test.ts index ebfa7b7..ddbae54 100644 --- a/tests/fluid_test.ts +++ b/tests/fluid_test.ts @@ -68,7 +68,7 @@ Deno.test("check-mods catches fluids that can't work", () => { assertEquals(problems({ textures: { top: "a:b" } }), [ "textures must be a texture id or { still, flowing } for a fluid", ]); - assertEquals(problems({ model: "engine:cross" }), ["model isn't for fluids, the engine draws them"]); + assertEquals(problems({ model: "cubi:cross" }), ["model isn't for fluids, the engine draws them"]); assertEquals(problems({ states: [{ name: "level", bits: 2, default: 0 }] }), [ `states can't have "level", a fluid gets that state of its own`, ]); @@ -175,7 +175,7 @@ async function mesh(blocks: [number, number, number, string, number?][]) { // with the registry's gaps, like the client sends it blocks_registry: registry.map((block) => JSON.parse(JSON.stringify(block))), models: {}, - textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } }, + textures_info: { "cubi:missing": { x: 0, y: 0, width: 16, height: 16 } }, image: { width: 1024, height: 1024 }, visuals: [], }); diff --git a/tests/importer_test.ts b/tests/importer_test.ts index a1bc880..950256c 100644 --- a/tests/importer_test.ts +++ b/tests/importer_test.ts @@ -482,7 +482,7 @@ function gears_mod(): string { Deno.writeTextFileSync(`${mod}/${path}`, JSON.stringify(json)); }; write("manifest.json", { format_version: 1, id: "gears", name: "Gears", version: "1.0.0" }); - write("blocks/gear.json", { format_version: 1, block: { id: "gears:gear", textures: "engine:missing" } }); + write("blocks/gear.json", { format_version: 1, block: { id: "gears:gear", textures: "cubi:missing" } }); write("tags/items/gears/teeth.json", { format_version: 1, tag: { values: ["gears:gear"] } }); return mod; } diff --git a/tests/item_entity_test.ts b/tests/item_entity_test.ts index 73cfbe9..17260f3 100644 --- a/tests/item_entity_test.ts +++ b/tests/item_entity_test.ts @@ -125,7 +125,7 @@ Deno.test("items fall into water, float back up and bob at its surface", async ( for (let z = -3; z <= 3; z++) { for (let y = 99; y <= 103; y++) { const inside = x >= 4 && x <= 8 && z >= -2 && z <= 2 && y >= 100; - game.set_block(x, y, z, inside ? (y <= 102 ? "bworld:water" : "bworld:air") : "bworld:stone"); + game.set_block(x, y, z, inside ? (y <= 102 ? "bworld:water" : "cubi:air") : "bworld:stone"); } } } diff --git a/tests/juice_test.ts b/tests/juice_test.ts index 7a40988..0a3f53d 100644 --- a/tests/juice_test.ts +++ b/tests/juice_test.ts @@ -40,11 +40,11 @@ async function setup(recipes: Record = {}) { format_version: 1, item: { id: CLOUDBERRY, - texture: "engine:missing", + texture: "cubi:missing", components: { "bworld:juiceable": { juice: 100, color: "#e0a030" } }, }, }); - write("items/pebble.json", { format_version: 1, item: { id: PEBBLE, texture: "engine:missing" } }); + write("items/pebble.json", { format_version: 1, item: { id: PEBBLE, texture: "cubi:missing" } }); for (const [name, recipe] of Object.entries(recipes)) write(`recipes/${name}`, { format_version: 1, recipe }); try { const t = await test_game(dir); diff --git a/tests/loot_test.ts b/tests/loot_test.ts index 1bea4a1..7227f22 100644 --- a/tests/loot_test.ts +++ b/tests/loot_test.ts @@ -292,7 +292,7 @@ Deno.test("a broken block drops from its loot table, with the tool it was broken t.game.set_block(1, 100, 0, "testloot:ore"); t.send(1, { type: "break_block", x: 1, y: 100, z: 0 }); // broken by hand, it gives nothing - assertEquals(t.game.world.get_block_id(1, 100, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(1, 100, 0), "cubi:air"); assertEquals(dropped(), []); t.send(1, { type: "chat", text: "/give bworld:iron_pickaxe" }); diff --git a/tests/machines_test.ts b/tests/machines_test.ts index 97b0a4c..175eb99 100644 --- a/tests/machines_test.ts +++ b/tests/machines_test.ts @@ -89,7 +89,7 @@ Deno.test("items lying in a box are found, changed and taken away", async () => game.tick(); assertEquals(iron.position, { x: 0.5, y: 100, z: 0.5 }); - const found = ctx.world.entities_in({ x: 0, y: 99.5, z: 0 }, { x: 1, y: 101, z: 1 }, "bworld:item"); + const found = ctx.world.entities_in({ x: 0, y: 99.5, z: 0 }, { x: 1, y: 101, z: 1 }, "cubi:item"); assertEquals(found.map((entity) => entity.get_item()), [{ id: "bworld:iron_ingot", count: 3 }]); assertEquals(ctx.world.entities_in({ x: 0, y: 99.5, z: 0 }, { x: 1, y: 101, z: 1 }, "bworld:chicken"), []); diff --git a/tests/mod_entity_test.ts b/tests/mod_entity_test.ts index 237eba9..b507577 100644 --- a/tests/mod_entity_test.ts +++ b/tests/mod_entity_test.ts @@ -86,8 +86,8 @@ Deno.test("/summon spawns a mod's entity where the player is", async () => { // animals don't despawn assertEquals(chicken.remove_when_far_away(1000), false); - send(1, { type: "chat", text: "/summon bworld:item" }); - assertStringIncludes(take(1).find((m) => m.type === "chat").text, "There's no entity bworld:item"); + send(1, { type: "chat", text: "/summon cubi:item" }); + assertStringIncludes(take(1).find((m) => m.type === "chat").text, "There's no entity cubi:item"); }); Deno.test("solid blocks can't be placed where a mob or player is", async () => { @@ -104,7 +104,7 @@ Deno.test("solid blocks can't be placed where a mob or player is", async () => { chicken.set_position(2.1, 101, 1.5); game.entities.add_entity(chicken); send(1, { type: "use_block", x: 1, y: 100, z: 1, face: "top" }); - assertEquals(game.world.get_block_id(1, 101, 1), "bworld:air"); + assertEquals(game.world.get_block_id(1, 101, 1), "cubi:air"); chicken.set_position(2.5, 101, 1.5); send(1, { type: "use_block", x: 1, y: 100, z: 1, face: "top" }); @@ -113,5 +113,5 @@ Deno.test("solid blocks can't be placed where a mob or player is", async () => { // nor where a player is, the one placing it included game.set_block(3, 100, 3, "bworld:stone"); send(1, { type: "use_block", x: 3, y: 100, z: 3, face: "top" }); - assertEquals(game.world.get_block_id(3, 101, 3), "bworld:air"); + assertEquals(game.world.get_block_id(3, 101, 3), "cubi:air"); }); diff --git a/tests/mod_loading_test.ts b/tests/mod_loading_test.ts index ade8a8b..0bfb810 100644 --- a/tests/mod_loading_test.ts +++ b/tests/mod_loading_test.ts @@ -112,7 +112,7 @@ Deno.test("a mod made from the template loads and runs", async () => { for (let i = 0; i < 3 * 20; i++) game.tick(); send(1, { type: "use_block", x: 1, y: y + 1, z: 1, face: "top" }); assert(take(1).some((m) => m.text === "You found the example block! It's been here for 3 seconds.")); - assertEquals(game.world.get_block_id(1, y + 2, 1), "bworld:air"); + assertEquals(game.world.get_block_id(1, y + 2, 1), "cubi:air"); // the shaped recipe: 4 example items in a square send(1, { type: "chat", text: "/give copper_tools:example_item 4" }); diff --git a/tests/mod_tools_test.ts b/tests/mod_tools_test.ts index db9fcb0..f2276fe 100644 --- a/tests/mod_tools_test.ts +++ b/tests/mod_tools_test.ts @@ -63,7 +63,7 @@ Deno.test("new-mod rejects bad and reserved ids", () => { const dir = temp_mods_dir(); assertThrows(() => create_mod("Has Spaces", "x", dir)); assertThrows(() => create_mod("bworld", "x", dir)); - assertThrows(() => create_mod("engine", "x", dir)); + assertThrows(() => create_mod("cubi", "x", dir)); create_mod("once", "x", dir); assertThrows(() => create_mod("once", "x", dir)); Deno.removeSync(dir, { recursive: true }); diff --git a/tests/model_parents_test.ts b/tests/model_parents_test.ts index 6223167..8ba26a9 100644 --- a/tests/model_parents_test.ts +++ b/tests/model_parents_test.ts @@ -43,11 +43,11 @@ Deno.test("a parent can be another mod's model or a built-in one", () => { const earlier: Record = { "base:slab": { id: "base:slab", elements: [BOX] } }; const { models, problems } = resolve_models([ { id: "a:slab", parent: "base:slab", textures: { top: "a:top" } }, - { id: "a:cross", parent: "engine:cross" }, + { id: "a:cross", parent: "cubi:cross" }, ], (id) => BUILTIN_MODELS[id] ?? earlier[id]); assertEquals(problems, []); assertEquals(models[0].elements, [BOX]); - assertEquals(models[1].elements, BUILTIN_MODELS["engine:cross"].elements); + assertEquals(models[1].elements, BUILTIN_MODELS["cubi:cross"].elements); }); Deno.test("a missing parent and parents that loop are problems, and the models still resolve", () => { diff --git a/tests/natural_spawn_test.ts b/tests/natural_spawn_test.ts index fc3c578..1a40454 100644 --- a/tests/natural_spawn_test.ts +++ b/tests/natural_spawn_test.ts @@ -32,7 +32,7 @@ async function setup(roof = "bworld:stone") { for (let x = x0; x < x0 + CHUNK_SIZE; x++) { for (let z = x0; z < x0 + CHUNK_SIZE; z++) { for (let y = 0; y < FLOOR; y++) world.set_block(x, y, z, "bworld:stone"); - for (let y = ROOF + 1; y < CHUNK_HEIGHT; y++) world.set_block(x, y, z, "bworld:air"); + for (let y = ROOF + 1; y < CHUNK_HEIGHT; y++) world.set_block(x, y, z, "cubi:air"); } } for (let x = x0 - 1; x <= x0 + CHUNK_SIZE; x++) { @@ -40,7 +40,7 @@ async function setup(roof = "bworld:stone") { const wall = x < x0 || z < x0 || x >= x0 + CHUNK_SIZE || z >= x0 + CHUNK_SIZE; world.set_block(x, FLOOR, z, "bworld:stone"); world.set_block(x, ROOF, z, wall ? "bworld:stone" : roof); - for (let y = FLOOR + 1; y < ROOF; y++) world.set_block(x, y, z, wall ? "bworld:stone" : "bworld:air"); + for (let y = FLOOR + 1; y < ROOF; y++) world.set_block(x, y, z, wall ? "bworld:stone" : "cubi:air"); } } // only the rotwalker, so what else the undergarden spawns doesn't change what can spawn here @@ -76,7 +76,7 @@ function try_spawning(game: Awaited>["game"], tries: nu Deno.test("the server's light is the same as what clients work out", async () => { const { world, x0 } = await setup(); world.set_block(x0 + 3, FLOOR + 1, x0 + 3, "bworld:light"); - world.set_block(x0 + 12, ROOF, x0 + 12, "bworld:air"); + world.set_block(x0 + 12, ROOF, x0 + 12, "cubi:air"); const blocks = EverythingRegistry.get_registry("blocks"); const opacity = new Uint8Array(REGION_VOID + 1); diff --git a/tests/neighbor_hooks_test.ts b/tests/neighbor_hooks_test.ts index fa9d932..582f7e5 100644 --- a/tests/neighbor_hooks_test.ts +++ b/tests/neighbor_hooks_test.ts @@ -29,7 +29,7 @@ export function setup(ctx: ServerContext) { // hangs from the block above and falls when it's gone, which only a server handler can do ctx.components.register_block("testmod:lantern", { on_neighbor_change(block) { - if (ctx.world.get_block(block.x, block.y + 1, block.z) === "bworld:air") { + if (ctx.world.get_block(block.x, block.y + 1, block.z) === "cubi:air") { ctx.world.break_block(block.x, block.y, block.z); } }, @@ -196,7 +196,7 @@ Deno.test("a script can tell any block of a change, and one told in on_break hea // right away, when nothing else is changing command("/tell 2 100 0 2 100 5"); - assertEquals(log(), [["neighbor", "2 100 0", "bworld:air", "2 100 5", 1]]); + assertEquals(log(), [["neighbor", "2 100 0", "cubi:air", "2 100 5", 1]]); cleanup(); }); diff --git a/tests/player_actions_test.ts b/tests/player_actions_test.ts index 584ffa7..20c01fa 100644 --- a/tests/player_actions_test.ts +++ b/tests/player_actions_test.ts @@ -114,7 +114,7 @@ Deno.test("sneaking with an item places it against a block that does something w hold("testmod:pillar"); send(1, { type: "use_block", x: 1, y: 99, z: 1, face: "top" }); assertEquals(log()["interact"], [false]); - assertEquals(game.world.get_block_id(1, 100, 1), "bworld:air"); + assertEquals(game.world.get_block_id(1, 100, 1), "cubi:air"); // the box isn't used, and the pillar's placement knows they were sneaking move(true); @@ -195,6 +195,6 @@ Deno.test("how far players reach is an attribute, which their client is sent", a const sent = take(1).filter((m) => m.type === "attributes").at(-1); assertEquals([sent.block_interaction_range, sent.entity_interaction_range], [9, 3]); send(1, { type: "break_block", x: 0, y: 99, z: 9 }); - assertEquals(game.world.get_block_id(0, 99, 9), "bworld:air"); + assertEquals(game.world.get_block_id(0, 99, 9), "cubi:air"); cleanup(); }); diff --git a/tests/recipe_viewer_test.ts b/tests/recipe_viewer_test.ts index 301572c..f992671 100644 --- a/tests/recipe_viewer_test.ts +++ b/tests/recipe_viewer_test.ts @@ -120,7 +120,7 @@ Deno.test("recipes are found by category in jei's order, and a catalyst's uses a furnace_uses.find(([type]) => type === "bworld:fuel")?.[1], all.filter((r) => r.type === "bworld:fuel"), ); - assertEquals(index.find(item("bworld:air"), "recipes"), []); + assertEquals(index.find(item("cubi:air"), "recipes"), []); }); Deno.test("clicking a fish shows when and where it bites, and the fishing rod's uses are every fish", async () => { diff --git a/tests/script_recipes_test.ts b/tests/script_recipes_test.ts index 488ee46..b7a7065 100644 --- a/tests/script_recipes_test.ts +++ b/tests/script_recipes_test.ts @@ -65,7 +65,7 @@ function recipe_mod(shared_extra = "", recipes: Record = {}) { const item = (id: string, components?: unknown) => write(`items/${id}.json`, { format_version: 1, - item: { id: `testrecipes:${id}`, texture: "engine:missing", ...(components ? { components } : {}) }, + item: { id: `testrecipes:${id}`, texture: "cubi:missing", ...(components ? { components } : {}) }, }); item("gravel", { "testrecipes:siftable": { into: "testrecipes:flint" } }); item("sand"); diff --git a/tests/server_scripts_test.ts b/tests/server_scripts_test.ts index dae37ad..fe7fff3 100644 --- a/tests/server_scripts_test.ts +++ b/tests/server_scripts_test.ts @@ -271,7 +271,7 @@ Deno.test("hitting a block runs on_click, using an item runs on_use instead of p // on a block: used, not placed (even though it can place stone) send(1, { type: "use_block", x: 1, y: 99, z: 1, face: "top" }); assertEquals(log()["use"]?.length, 2); - assertEquals(game.world.get_block_id(1, 100, 1), "bworld:air"); + assertEquals(game.world.get_block_id(1, 100, 1), "cubi:air"); Deno.removeSync(dir, { recursive: true }); }); @@ -343,7 +343,7 @@ Deno.test("ctx.blocks.solid says which blocks are solid, air isn't, and unknown }; assertEquals(solid("bworld:stone"), "solid true"); assertEquals(solid("testmod:lamp"), "solid true"); - assertEquals(solid("bworld:air"), "solid false"); + assertEquals(solid("cubi:air"), "solid false"); assertEquals(solid("nobody:block"), "error unknown block nobody:block"); Deno.removeSync(dir, { recursive: true }); }); diff --git a/tests/terrain_culling_test.ts b/tests/terrain_culling_test.ts index a00a3e3..a92e85e 100644 --- a/tests/terrain_culling_test.ts +++ b/tests/terrain_culling_test.ts @@ -56,7 +56,7 @@ async function mesh_chunks(radius: number) { type: "init", blocks_registry: JSON.parse(JSON.stringify(blocks)), models: {}, - textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } }, + textures_info: { "cubi:missing": { x: 0, y: 0, width: 16, height: 16 } }, image: { width: 1024, height: 1024 }, visuals: [], }); diff --git a/tests/tint_test.ts b/tests/tint_test.ts index ebb94b6..960d8a5 100644 --- a/tests/tint_test.ts +++ b/tests/tint_test.ts @@ -24,7 +24,7 @@ async function mesh_block(id: string, x: number, middle: Colors, west: Colors | type: "init", blocks_registry: JSON.parse(JSON.stringify(blocks)), models: {}, - textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } }, + textures_info: { "cubi:missing": { x: 0, y: 0, width: 16, height: 16 } }, image: { width: 1024, height: 1024 }, visuals: [], }); diff --git a/tests/trapdoor_test.ts b/tests/trapdoor_test.ts index c4b4e97..b5adac2 100644 --- a/tests/trapdoor_test.ts +++ b/tests/trapdoor_test.ts @@ -18,7 +18,7 @@ async function setup() { for (let x = -3; x <= 3; x++) { for (let z = -3; z <= 3; z++) { t.game.set_block(x, 99, z, "bworld:stone"); - for (let y = 100; y < 103; y++) t.game.set_block(x, y, z, "bworld:air"); + for (let y = 100; y < 103; y++) t.game.set_block(x, y, z, "cubi:air"); } } t.send(1, { type: "move", x: 0.5, y: 100, z: 3.5, yaw: 0, pitch: 0 }); @@ -66,7 +66,7 @@ Deno.test("right clicking a trapdoor opens and closes it, and what it's shaped l assertEquals(shape(), [[0, 0, 0, 1, 1, 3 / 16]]); assertEquals(collision_shape_at(info, t.game.world.get_block_value(0, 100, 0)), shape()); // still one trapdoor in the world, none placed on top of it - assertEquals(t.game.world.get_block_id(0, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(0, 101, 0), "cubi:air"); t.send(1, { type: "use_block", x: 0, y: 100, z: 0, face: "south", hit: [0.5, 0.5, 3 / 16] }); assertEquals(states(0, 100, 0).open, 0); diff --git a/tests/visuals_test.ts b/tests/visuals_test.ts index e1eb578..c384829 100644 --- a/tests/visuals_test.ts +++ b/tests/visuals_test.ts @@ -59,9 +59,9 @@ function write_testmod(dir: string, client_script?: string) { format_version: 1, item: { id: "testmod:jar", - texture: "engine:missing", + texture: "cubi:missing", fluid_container: { capacity: 250 }, - layers: [{ texture: "engine:break_0", tint: "fluid" }], + layers: [{ texture: "cubi:break_0", tint: "fluid" }], }, }); if (client_script) Deno.writeTextFileSync(`${mod}/scripts/client.ts`, client_script); @@ -89,7 +89,7 @@ Deno.test("the chunk mesher lists the blocks with visuals, and leaves out models type: "init", blocks_registry: JSON.parse(JSON.stringify(EverythingRegistry.get_registry("blocks"))), models: Object.fromEntries(EverythingRegistry.entries("models")), - textures_info: { "engine:missing": { x: 0, y: 0, width: 16, height: 16 } }, + textures_info: { "cubi:missing": { x: 0, y: 0, width: 16, height: 16 } }, image: { width: 1024, height: 1024 }, visuals: [[nid("bworld:stone"), true], [nid("bworld:cobblestone"), false]], }); diff --git a/tests/waterlog_test.ts b/tests/waterlog_test.ts index 227490b..8f76a83 100644 --- a/tests/waterlog_test.ts +++ b/tests/waterlog_test.ts @@ -54,7 +54,7 @@ Deno.test("a water bucket fills a fence and a bucket empties it, the fence stays assertEquals(waterlogged(t.game, 2, 100, 0), 1); assertEquals(held(), "bworld:bucket"); // nothing went on top of it - assertEquals(t.game.world.get_block_id(2, 101, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(2, 101, 0), "cubi:air"); t.send(1, { type: "use_block", x: 2, y: 100, z: 0, face: "top", hit: [0.5, 1, 0.5] }); assertEquals(held(), "bworld:water_bucket"); @@ -88,7 +88,7 @@ Deno.test("rice is only planted in a water source, holds it, and leaves it behin t.send(1, { type: "use_block", x: -2, y: 100, z: 0, face: "top", hit: [0.5, 1, 0.5] }); assertEquals(t.game.world.get_block_id(-2, 100, 0), "bworld:water"); t.send(1, { type: "use_block", x: 4, y: 99, z: 0, face: "top", hit: [0.5, 1, 0.5] }); - assertEquals(t.game.world.get_block_id(4, 100, 0), "bworld:air"); + assertEquals(t.game.world.get_block_id(4, 100, 0), "cubi:air"); t.send(1, { type: "use_block", x: 2, y: 100, z: 0, face: "top", hit: [0.5, 1, 0.5] }); assertEquals(t.game.world.get_block_id(2, 100, 0), "bworld:rice"); diff --git a/tests/worldgen_test.ts b/tests/worldgen_test.ts index 8fa61ca..da9d877 100644 --- a/tests/worldgen_test.ts +++ b/tests/worldgen_test.ts @@ -38,8 +38,8 @@ Deno.test("new players spawn on dry land, all in the same place", async () => { const joined = join(1, "alice"); const { x, y, z } = joined.spawn; const ground = game.world.get_block_id(Math.floor(x), y - 1, Math.floor(z)); - assert(ground !== "bworld:air" && ground !== "bworld:water", `spawned on ${ground}`); - assertEquals(game.world.get_block_id(Math.floor(x), y, Math.floor(z)), "bworld:air"); + assert(ground !== "cubi:air" && ground !== "bworld:water", `spawned on ${ground}`); + assertEquals(game.world.get_block_id(Math.floor(x), y, Math.floor(z)), "cubi:air"); assert(y > SEA_LEVEL, "above the sea"); // the same place for the next new player diff --git a/tests/worm_bin_test.ts b/tests/worm_bin_test.ts index 395b336..64f7be6 100644 --- a/tests/worm_bin_test.ts +++ b/tests/worm_bin_test.ts @@ -127,5 +127,5 @@ Deno.test("breaking a worm bin drops it, its input and what it made", async () = t.send(1, { type: "break_block", x: 0, y: 100, z: 0 }); const dropped = t.game.item_entities().map((e) => `${e.item.type_id} ${e.item.amount}`).sort(); assertEquals(dropped, ["bworld:worm_bin 1", "bworld:worms 1", "bworld:worms 5"]); - assert(t.game.world.get_block_id(0, 100, 0) === "bworld:air"); + assert(t.game.world.get_block_id(0, 100, 0) === "cubi:air"); }); diff --git a/tools/check_mods.ts b/tools/check_mods.ts index fc58b28..f47ee78 100644 --- a/tools/check_mods.ts +++ b/tools/check_mods.ts @@ -40,14 +40,14 @@ import { dirname } from "@std/path"; export { load_order, type LoadedMod, type ModReport }; -// the engine's own textures, named engine: +// the engine's own textures, named cubi: export const ENGINE_TEXTURE_DIR = "assets/sprites/textures"; -// engine:missing is drawn by code, the rest are files +// cubi:missing is drawn by code, the rest are files export function engine_texture_ids(): string[] { return [ - "engine:missing", - ...walk(ENGINE_TEXTURE_DIR, ".png").map((file) => `engine:${file.replace(/\.png$/, "")}`), + "cubi:missing", + ...walk(ENGINE_TEXTURE_DIR, ".png").map((file) => `cubi:${file.replace(/\.png$/, "")}`), ]; } @@ -115,8 +115,8 @@ function load_mod(mods_dir: string, id: string): LoadedMod { for (const problem of validate_manifest(manifest, id)) error(`manifest.json: ${problem}`); mod.manifest = manifest as Record; } - if (id === "engine") { - error(`"engine" is reserved for the engine itself`); + if (id === "cubi") { + error(`"cubi" is reserved for the engine itself`); } const scripts = (mod.manifest?.scripts ?? {}) as Record;