mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Update protolathe.dm
This commit is contained in:
@@ -120,15 +120,10 @@
|
|||||||
icon_state = "[icon_state]_work"
|
icon_state = "[icon_state]_work"
|
||||||
|
|
||||||
/obj/machinery/r_n_d/protolathe/attackby(var/obj/item/O as obj, var/mob/user as mob)
|
/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)
|
if(busy)
|
||||||
to_chat(user, "<span class='notice'>\The [src] is busy. Please wait for completion of previous operation.</span>")
|
to_chat(user, "<span class='notice'>\The [src] is busy. Please wait for completion of previous operation.</span>")
|
||||||
return 1
|
return 1
|
||||||
if(default_deconstruction_screwdriver(user, O))
|
if(!LAZYLEN(LockedDesigns) && default_deconstruction_screwdriver(user, O))//CHOMPADDITION Locked lathes are hard coded
|
||||||
if(linked_console)
|
if(linked_console)
|
||||||
linked_console.linked_lathe = null
|
linked_console.linked_lathe = null
|
||||||
linked_console = null
|
linked_console = null
|
||||||
|
|||||||
Reference in New Issue
Block a user