Log inGet started
Package

TorchStand.component

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

README.md

horrorKit.TorchStand

A light pickup and style switcher. Put it on any entity (a pedestal, a shelf, a hook on the wall): it adds an interactKit prompt, and the player who uses it gets that flashlightKit style in their hand, restored, charged to charge and switched on (switchOn). Only that player's light changes. It needs the player to carry a flashlightKit.Torch (the HorrorDirector gives every player one).

local stand = entity.spawn("lanternHook")
stand.position = vector.create(2, 1.1, 4)
stand.component.add("horrorKit.TorchStand", { style = "lantern" })

Fields: style, label (empty: "Take the oil lantern"), switchOn, charge, range, promptHeight. Event: took { style }. The showcase room and the kit gallery use it for their light pedestals.