Allow specifying NPC targetable status in tests

This commit is contained in:
2026-05-11 21:24:09 +02:00
parent b87a58b3c9
commit 05bc58f0d3

View File

@@ -34,6 +34,7 @@ function createNpc(
actorId: overrides.actorId ?? "",
name: overrides.name,
visible: overrides.visible ?? true,
targetable: overrides.targetable ?? false,
position: overrides.position ?? { x: 0, y: 0, z: 0 },
yawDegrees: overrides.yawDegrees ?? 0,
scale: overrides.scale ?? { x: 1, y: 1, z: 1 },