Files
CHOMPStation2/code/modules/power/lighting_ch.dm
CHOMPStation2StaffMirrorBot 3cfc33bfde [MIRROR] ports a bunch of grep checks from TG (#10361)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-03-12 11:09:38 +01:00

14 lines
245 B
Plaintext

/obj/machinery/light/attackby(obj/item/W, mob/user)
//Light painter code
if(istype(W, /obj/item/lightpainter))
var/obj/item/lightpainter/LP = W
if(isliving(user))
var/mob/living/U = user
LP.ColorLight(src, U)
return
. = ..()