Rename all "liquid" mentions to "fluid"
This commit is contained in:
@@ -74,11 +74,11 @@ Deno.test("which way water flows, from where it's higher to where it's lower", a
|
||||
const { game, ctx } = await setup();
|
||||
game.set_block(0, 100, 0, "bworld:water");
|
||||
for (let i = 0; i < 40; i++) game.tick();
|
||||
assertEquals(ctx.world.liquid_flow(2, 100, 0), { x: 1, y: 0, z: 0 });
|
||||
assertEquals(ctx.world.liquid_flow(0, 100, -2), { x: 0, y: 0, z: -1 });
|
||||
assertEquals(ctx.world.fluid_flow(2, 100, 0), { x: 1, y: 0, z: 0 });
|
||||
assertEquals(ctx.world.fluid_flow(0, 100, -2), { x: 0, y: 0, z: -1 });
|
||||
// a source with water all around is still, and so is air
|
||||
assertEquals(ctx.world.liquid_flow(0, 100, 0), { x: 0, y: 0, z: 0 });
|
||||
assertEquals(ctx.world.liquid_flow(0, 102, 0), { x: 0, y: 0, z: 0 });
|
||||
assertEquals(ctx.world.fluid_flow(0, 100, 0), { x: 0, y: 0, z: 0 });
|
||||
assertEquals(ctx.world.fluid_flow(0, 102, 0), { x: 0, y: 0, z: 0 });
|
||||
});
|
||||
|
||||
Deno.test("items lying in a box are found, changed and taken away", async () => {
|
||||
|
||||
Reference in New Issue
Block a user