[MIRROR] Deconstruct ore silo (#375)

* deconstruct silo (#52923)

* Deconstruct ore silo

Co-authored-by: NightRed <nightred@gmail.com>
This commit is contained in:
SkyratBot
2020-08-17 23:32:48 +02:00
committed by GitHub
co-authored by NightRed
parent 376c580f19
commit 2e5de54f90
+10
View File
@@ -68,8 +68,18 @@ GLOBAL_LIST_EMPTY(silo_access_logs)
return TRUE
/obj/machinery/ore_silo/attackby(obj/item/W, mob/user, params)
if(default_deconstruction_screwdriver(user, icon_state, icon_state, W))
updateUsrDialog()
return
if(default_deconstruction_crowbar(W))
return
if(!powered())
return ..()
if (istype(W, /obj/item/stack))
return remote_attackby(src, user, W)
return ..()
/obj/machinery/ore_silo/ui_interact(mob/user)