Health and hunger system

This commit is contained in:
2026-09-26 21:07:36 -03:00
parent 0fa6ec4ed3
commit 8d9c85d379
18 changed files with 662 additions and 8 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ const inventory_of = (messages: Msg[]) =>
Deno.test("the base game loads from mods/bworld", async () => {
const { game } = await test_game("mods");
assertEquals(EverythingRegistry.entries("blocks").length, 21);
// 15 items plus the item forms of the 18 blocks that have one
assertEquals(EverythingRegistry.entries("items").length, 33);
// 17 items plus the item forms of the 18 blocks that have one
assertEquals(EverythingRegistry.entries("items").length, 35);
assertEquals(game.recipes.shaped.length, 5);
assertEquals(game.recipes.furnace.size, 6);
assertEquals(game.recipes.fuel.size, 2);