Update protolathe.dm

This commit is contained in:
Sharkmare
2023-03-01 21:33:05 +01:00
committed by GitHub
parent 0166543817
commit 9adfdd2b0d

View File

@@ -120,6 +120,11 @@
icon_state = "[icon_state]_work"
/obj/machinery/r_n_d/protolathe/attackby(var/obj/item/O as obj, var/mob/user as mob)
//CHOMPADDITION Locked lathes are hard coded
if(LAZYLEN(LockedDesigns))
to_chat(user, "<span class='notice'>\The [src] is can not be deconstructed.</span>")
return 1
//CHOMPADDITION Locked lathes are hard coded
if(busy)
to_chat(user, "<span class='notice'>\The [src] is busy. Please wait for completion of previous operation.</span>")
return 1