Function of rooms
rooms.create
Creates an isolated room with its own chunks, players and effects; spawn_point defaults to (0.5, 65, 0.5), generate fills each chunk.
rooms.create(opts: { spawn_point: Vec3?, generate: ((chunk: Chunk) -> ())? }) → RoomParameters
Returns
RoomUsed in
`rooms.create` makes a world with its own chunks, players and effects:Guide: Parkour, a room eachlocal room = rooms.create{Guide: Parkour, a room each`rooms.create` gives a player their own world, with own chunks, players andA world per playerlocal mine = rooms.create{A world per player- The first six belong to the main room. `rooms.create{}` gives another roomAPI basics- On a `mode: lite` world and in a room made by `rooms.create`, the rule isBlocks and terrain`game` describes this room's game version. `rooms.create` inherits theGame data`rooms.create`. It is on on a `mode: full` world and afterGame data