Saltar al contenido principal

Dungeon Room Config

Dungeon Room Config

Persistable configuration for a set of dungeon rooms and their associated spawn point.

Campos

CampoTipoPredeterminadoDescripción
roomsList<Ref<DungeonRoomEntry>>emptyList of rooms included in this configuration
spawnPointWorldLocation—Spawn point for this configuration
WorldLocation (6)
CampoTipoPredeterminadoDescripción
worldString——
xInt0—
yInt0—
zInt0—
yawFloat0—
pitchFloat0—

How to use it​

Groups the rooms of a dungeon and holds its spawn point. Stand where players should arrive and use the spawnPoint content editor: it captures your world, block coordinates and view direction. When a Dungeon Instance lists several configurations, one is chosen at random for each run.

Players always arrive in the world of the run: only the coordinates and the direction of spawnPoint are used, shifted into the slot of the run in SHARED_WORLD_SLOTS mode. A generated dungeon has no room config: its spawn is the SPAWN marker of the start room.