Log inGet started
World

Lantern Stair: Japanese Mountain Shrine Kit

README.md

showcase.layoutPicker

The Lantern Stair showcase's layout picker. The showcase scene's entrypoint.luau calls install() on load: a panel at the bottom left lists the kit's eight layouts (grandStair, hillside, festivalStair, cliffZigzag, gorgeFalls, templeApproach, forestPath, ruinedShrine) and three light moods, and keys 1-8 pick a layout too. Picking one sets the shrine's layout field, so the shrine rebuilds as that layout in about two seconds. The showcase shrine is not synced, so each visitor browses on their own.

pick(id) and mood(id) do the same from code; install() returns a function that removes the panel and the key listener.

This module belongs to the showcase world, not to the lanternStair package: in your own world the layout is the one field layout = "festivalStair" on your LanternStair component.