ProductionBuilding.component
README.md
ProductionBuilding (productionKit)
One production building placed by a scene. Production.building{ kind = "sawmill", look = "rustic", position = { 0, 0, 10 } } in a scene's build.luau puts it on an entity, or add it to any entity by hand. Fields: buildingId (what its progress is kept under; keep it stable), kind (farm, lumberMill, mine, sawmill, smelter, bakery, market, house, warehouse, barracks, powerPlant, researchLab, or your own), look (rustic or scifi), display (ring, badge, float, minimal, none), town, label, height. Every machine registers it with productionKit, which draws its look and the display above it; the works' machine runs it. Changing kind, look or display is the only change needed to switch it.