Add the oak_ on the oak blocks

This commit is contained in:
2026-10-03 18:56:44 -03:00
parent 41fa75e864
commit cb7d655f0c
26 changed files with 40 additions and 44 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ Deno.test("recipes that take planks take any kind, even mixed, but nothing else"
update_crafting_result(grid, game.recipes.shaped);
return grid.get_item(CRAFTING_RESULT_SLOT);
};
assertEquals(craft("bworld:planks", "bworld:planks")?.type_id, "bworld:stick");
assertEquals(craft("bworld:oak_planks", "bworld:oak_planks")?.type_id, "bworld:stick");
assertEquals(craft("bworld:birch_planks", "bworld:cherry_planks")?.type_id, "bworld:stick");
assertEquals(craft("bworld:birch_planks", "bworld:stone"), undefined);
@@ -27,7 +27,7 @@ Deno.test("recipes that take planks take any kind, even mixed, but nothing else"
assertEquals(grid.get_item(CRAFTING_RESULT_SLOT)?.type_id, "bworld:dark_oak_planks");
// every log burns and smelts
for (const log of ["bworld:log", "bworld:spruce_log", "bworld:cherry_log"]) {
for (const log of ["bworld:oak_log", "bworld:spruce_log", "bworld:cherry_log"]) {
assert(game.recipes.fuel.has(log), log);
assert(game.recipes.furnace.has(log), log);
}
@@ -37,7 +37,7 @@ Deno.test("trees grow the wood of their kind and biome", async () => {
const { game } = await test_game("mods");
const ids = game.world.block_ids;
const woods: Record<string, string> = {
"bworld:log": "oak",
"bworld:oak_log": "oak",
"bworld:spruce_log": "spruce",
"bworld:birch_log": "birch",
"bworld:jungle_log": "jungle",