New modding system
This commit is contained in:
@@ -30,7 +30,7 @@ Deno.test("welcome lists what to download, and nothing happens until ready", asy
|
||||
const [welcome] = take(2);
|
||||
assertEquals(welcome.type, "welcome");
|
||||
assertEquals(welcome.mods.map((m: { id: string }) => m.id), ["bworld"]);
|
||||
assert(welcome.atlas.png && welcome.atlas.sha256);
|
||||
assert(welcome.mods.every((m: { sha256: string; file: string }) => m.sha256 && m.file));
|
||||
assert(!("players" in welcome) && !("changes" in welcome), "welcome shouldn't have world state");
|
||||
|
||||
// not in the world yet: others don't hear about bob, and bob can't act
|
||||
|
||||
Reference in New Issue
Block a user