mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
14 lines
245 B
Plaintext
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
|
|
|
|
. = ..()
|