core.plugins.weed.entities.cityrp_uvlight.init
Name: "init.lua". Product: "CityRP 2 (Roleplay)". Purpose: Ultraviolet light Author: Faustie
- ServerENT:Combust()Source ☍
-
Replaces the overheated light with a fire entity and removes it.
- ServerENT:CoolTick()Source ☍
-
Bleeds heat back off a degree at a time while the light is off, removing the timer once fully cool.
- ServerENT:HeatTick()Source ☍
-
Builds heat while the light is on and, once hot, gives an escalating chance of catching fire. Runs once a minute. Heat climb is ~20% slower than legacy so lights stay safe longer before the danger / combust window.
- ServerENT:NotifyHeatTo(ply)Source ☍
-
Tells a player how hot the lamp currently feels (Shift+Use check).
Parameters
- plyPlayer