Log inGet started
Package

PropGallery.component

This package holds more than this page lists. See all of its files in its world.

README.md

PropGallery (component)

Lays out sengokuProps kinds in a grid: one row per kind (chosen by categories or kinds), one column per look (or per variant with variant = 0), each cell a SengokuProp, with Text3D labels. Fields: categories, kinds, variant, looks, detail, collide, labels. Everything it spawns is temporary and rebuilt on every machine. Needs nothing else on the entity.

The demo scene can't be saved. PropGallery.scene tries to bake its whole grid into a saved scene, and even one category exceeds the engine's manifest size limit for a scene build. Add the component directly to an entity in any scene instead (as the scene's own build.luau does); it builds its grid live and needs nothing saved. Example:

local e = entity.spawn("gallery", { temporary = true })
e.component.add("sengokuProps.PropGallery", { categories = "building", labels = true })