feat: build deterministic freeway and Lumbridge EV v2
This commit is contained in:
+4
-2
@@ -52,7 +52,7 @@ import type {
|
||||
VehicleActionSnapshot,
|
||||
VehicleControllerState,
|
||||
} from "../transport/vehicleController.ts";
|
||||
import { createBridges, createRoads } from "./structures.ts";
|
||||
import { createBridges, createFreewayWorld, createRoads } from "./structures.ts";
|
||||
import { createShorePlates, createTerrain, createWater, paletteFor } from "./terrain.ts";
|
||||
import type {
|
||||
Chapter,
|
||||
@@ -355,7 +355,9 @@ export async function createScene(
|
||||
scene.add(createWater(world));
|
||||
scene.add(createShorePlates(world));
|
||||
scene.add(createTerrain(world));
|
||||
scene.add(createRoads(world));
|
||||
scene.add(options.roadTraffic
|
||||
? createFreewayWorld(world, options.roadTraffic.pack)
|
||||
: createRoads(world));
|
||||
const buildingReservations: BuildingReservation[] = [];
|
||||
for (const marker of options.markers ?? []) {
|
||||
const glyph = marker.glyph;
|
||||
|
||||
Reference in New Issue
Block a user