diff --git a/client/about.ts b/client/about.ts deleted file mode 100644 index 13f595c..0000000 --- a/client/about.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { marked } from "marked"; -import { AssetManager } from "./assets.ts"; - -export async function open_about() { - const popup = self.open( - "", - "popupWindow", - "width=500,height=400", - ); - - if (!popup) { - alert("oh no"); - return; - } - - popup.document.body.innerHTML = await marked.parse(AssetManager.instance.get("bworld:assets_text")); - popup.document.head.innerHTML = ``; -} diff --git a/tests/mod_loading_test.ts b/tests/mod_loading_test.ts index cf4e9c6..24bd2d3 100644 --- a/tests/mod_loading_test.ts +++ b/tests/mod_loading_test.ts @@ -23,7 +23,7 @@ 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, 18); + assertEquals(EverythingRegistry.entries("blocks").length, 19); // 11 items plus the item forms of the 16 blocks that have one assertEquals(EverythingRegistry.entries("items").length, 27); assertEquals(game.recipes.shaped.length, 5);