Material Deconstruction (#9377)

This commit is contained in:
Geeves
2020-08-25 11:52:35 +02:00
committed by GitHub
parent 800637c28b
commit 052b65ae0d
32 changed files with 167 additions and 121 deletions

View File

@@ -6,6 +6,7 @@
density = 1
w_class = 5
layer = OBJ_LAYER - 0.01
build_amt = 2
var/icon_closed = "closed"
var/icon_opened = "open"
var/welded_overlay_state = "welded"
@@ -277,7 +278,6 @@
to_chat(user, "<span class='notice'>You need more welding fuel to complete this task.</span>")
return
else
new /obj/item/stack/material/steel(loc)
user.visible_message(
"<span class='notice'>[src] has been cut apart by [user] with [WT].</span>",
"<span class='notice'>You cut apart [src] with [WT].</span>"
@@ -285,7 +285,7 @@
if(linked_teleporter)
linked_teleporter.forceMove(get_turf(src))
linked_teleporter = null
qdel(src)
dismantle()
return
if(istype(W, /obj/item/storage/laundry_basket) && W.contents.len)
var/obj/item/storage/laundry_basket/LB = W

View File

@@ -4,6 +4,7 @@
icon_state = "coffin"
icon_closed = "coffin"
icon_opened = "coffin_open"
build_amt = 5
/obj/structure/closet/coffin/attackby(obj/item/W as obj, mob/user as mob)
if(opened)

View File

@@ -8,7 +8,7 @@
icon_opened = "crateopen"
icon_closed = "crate"
climbable = 1
// mouse_drag_pointer = MOUSE_ACTIVE_POINTER //???
build_amt = 10
var/rigged = 0
var/tablestatus = 0
pass_flags = PASSTABLE