Rename engine to cubi
This commit is contained in:
@@ -107,7 +107,7 @@ Deno.test("taking the source away drains what flowed from it", async () => {
|
||||
ticks(game, 60);
|
||||
assertEquals(level(game, 5, Y, 0), 5);
|
||||
|
||||
game.set_block(0, Y, 0, "bworld:air");
|
||||
game.set_block(0, Y, 0, "cubi:air");
|
||||
ticks(game, 200);
|
||||
for (let x = -8; x <= 8; x++) {
|
||||
for (let z = -8; z <= 8; z++) assertEquals(level(game, x, Y, z), undefined, `at ${x}, ${z}`);
|
||||
@@ -130,8 +130,8 @@ Deno.test("two sources beside a spot on solid ground make it a source, like infi
|
||||
assertEquals(level(game, 0, Y, 0), 0);
|
||||
|
||||
// and stays one with the others gone
|
||||
game.set_block(-1, Y, 0, "bworld:air");
|
||||
game.set_block(1, Y, 0, "bworld:air");
|
||||
game.set_block(-1, Y, 0, "cubi:air");
|
||||
game.set_block(1, Y, 0, "cubi:air");
|
||||
ticks(game, 20);
|
||||
assertEquals(level(game, 0, Y, 0), 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user