World.module
This package holds more than this page lists. See all of its files in its world.
README.md
World
Runtime of the shared world scene (scenes.world), started from its entrypoint.luau with
World.start(). On every peer it waits for the townKit town, registers its activity spots with
townsfolkKit, seats Mira at the guild desk, builds the three dungeons (game.arpg.Dungeons) and places
the portals between each town road and its dungeon. It moves the local player through a portal they
walk into, and on the host it wakes a dungeon's monsters the first time a player walks in.
API: start(), teleport(pos), on(event, fn) with events ready, travel {portal, label},
dungeonWoke {id}; ROADS maps dungeon id to the town road anchor its portal stands on.