Rotbeast and muncher
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
import { LightRegion, REGION_LAYER, REGION_SIZE, REGION_VOID } from "$/client/workers/lighting.ts";
|
||||
import { create_entity } from "$/server/game/entity/entity_types.ts";
|
||||
import { Mob } from "$/server/game/entity/mob.ts";
|
||||
import { NaturalSpawner } from "$/server/game/natural_spawner.ts";
|
||||
import { test_game } from "./helpers.ts";
|
||||
|
||||
// chunk 6, 6: a closed stone room with its floor at y 60 and its roof at y 64, and alice standing 40 blocks away
|
||||
@@ -31,6 +32,8 @@ async function setup(roof = "bworld:stone") {
|
||||
for (let y = FLOOR + 1; y < ROOF; y++) world.set_block(x, y, z, wall ? "bworld:stone" : "bworld:air");
|
||||
}
|
||||
}
|
||||
// only the rotwalker, so what else the undergarden spawns doesn't change what can spawn here
|
||||
t.game.spawner = new NaturalSpawner(t.game.spawner.spawns.filter((s) => s.entity === "undergarden:rotwalker"));
|
||||
t.join(1, "alice");
|
||||
const alice = t.game.players()[0];
|
||||
world.set_block(x0 + 48, FLOOR, x0 + 8, "bworld:stone");
|
||||
|
||||
Reference in New Issue
Block a user