mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
13 lines
244 B
Plaintext
13 lines
244 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
|
|
|
|
. = ..() |