Adds deconstruction and unanchoring to sheetifier (#50014)

* notsosheetynowareya

* notsorequiringanchorageonbeingbuiltnowareya

* howdidiforgetthat

* Update code/game/machinery/sheetifier.dm

Co-Authored-By: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
Capsandi
2020-03-23 09:07:49 -03:00
committed by GitHub
co-authored by Rohesie
parent af1777d7de
commit c04affe83c
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -42,3 +42,13 @@
update_icon()
var/datum/component/material_container/materials = GetComponent(/datum/component/material_container)
materials.retrieve_all() //Returns all as sheets
/obj/machinery/sheetifier/attackby(obj/item/I, mob/user, params)
if(default_unfasten_wrench(user, I))
return
if(default_deconstruction_screwdriver(user, I))
update_icon()
return
if(default_deconstruction_crowbar(I))
return
return ..()
@@ -1180,6 +1180,7 @@
req_components = list(
/obj/item/stock_parts/manipulator = 2,
/obj/item/stock_parts/matter_bin = 2)
needs_anchored = FALSE
/obj/item/circuitboard/machine/abductor
name = "alien board (Report This)"