Fishing !

This commit is contained in:
2026-09-28 13:33:40 -03:00
parent 2488c6f8dc
commit 84a622c3f1
27 changed files with 367 additions and 21 deletions
+6 -6
View File
@@ -27,12 +27,12 @@ Deno.test("the base game loads from mods/bworld", async () => {
const bworld = (entries: [string, unknown][]) => entries.filter(([id]) => id.startsWith("bworld:")).length;
// 7 kinds of log, planks and leaves
assertEquals(bworld(EverythingRegistry.entries("blocks")), 42);
// 33 items (20 of them tools) plus the item forms of the 37 blocks that have one
assertEquals(bworld(EverythingRegistry.entries("items")), 70);
// bworld's 15 (4 wood tools, 7 planks), the cooking pot and stove are farmersdelight's
assertEquals(game.recipes.shaped.length, 17);
// every log smelts and burns
assertEquals(game.recipes.furnace.size, 12);
// 38 items (20 of them tools) plus the item forms of the 37 blocks that have one
assertEquals(bworld(EverythingRegistry.entries("items")), 75);
// bworld's 16 (4 wood tools, 7 planks, the fishing rod), the cooking pot and stove are farmersdelight's
assertEquals(game.recipes.shaped.length, 18);
// every log and fish smelts, every log burns
assertEquals(game.recipes.furnace.size, 14);
assertEquals(game.recipes.fuel.size, 8);
assertEquals(EverythingRegistry.get<BlockRegistry>("blocks", "bworld:water")?.replaceable, true);
// still has its code until it's a component