Jester time
This commit is contained in:
@@ -3,7 +3,17 @@ import type { ServerContext } from "cubi/server";
|
||||
import { DOOR, FACILITY_DOOR } from "./shared.ts";
|
||||
import { Alea } from "@paulaboks/rng";
|
||||
import { register_coilhead, register_coilhead_animator } from "./coilhead.ts";
|
||||
import { DOORWAY, MAIN_TILE, type Marker, type PlacedTile, plan_interior, tile_type, TILES } from "./interior.ts";
|
||||
import { register_jester, register_jester_animator } from "./jester.ts";
|
||||
import {
|
||||
DOORWAY,
|
||||
MAIN_TILE,
|
||||
type Marker,
|
||||
type PlacedTile,
|
||||
plan_interior,
|
||||
SURFACE_Y,
|
||||
tile_type,
|
||||
TILES,
|
||||
} from "./interior.ts";
|
||||
|
||||
export { shared } from "./shared.ts";
|
||||
|
||||
@@ -15,11 +25,13 @@ export function server(ctx: ServerContext) {
|
||||
register_death(ctx);
|
||||
register_commands(ctx);
|
||||
register_coilhead(ctx);
|
||||
register_jester(ctx);
|
||||
}
|
||||
|
||||
export function client(ctx: ClientContext) {
|
||||
register_hud(ctx);
|
||||
register_coilhead_animator(ctx);
|
||||
register_jester_animator(ctx);
|
||||
}
|
||||
|
||||
// a small 5x5 ring in the middle of the screen to aim with, its corners and middle left empty, in gui pixels
|
||||
@@ -142,7 +154,7 @@ function clear_map(ctx: ServerContext) {
|
||||
function place_surface(ctx: ServerContext) {
|
||||
ctx.schematics.place(
|
||||
"dangerous_business:assurance",
|
||||
{ position: { x: -80, y: 150, z: -80 } },
|
||||
{ position: { x: -80, y: SURFACE_Y, z: -80 } },
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user