Makes abductor Optables not deconstructable.

This commit is contained in:
Firecage
2015-11-10 17:21:12 +02:00
parent b2937bf315
commit 618e54087d
2 changed files with 4 additions and 0 deletions
@@ -579,6 +579,7 @@ Congratulations! You are now trained for xenobiology research!"}
icon_state = "bed"
can_buckle = 1
buckle_lying = 1
deconstructable = 0
/obj/structure/bed/abductor
name = "resting contraption"
@@ -28,6 +28,7 @@
var/buildstackamount = 1
var/framestackamount = 2
var/mob/tableclimber
var/deconstructable = 1
smooth = SMOOTH_TRUE
canSmoothWith = list(/obj/structure/table, /obj/structure/table/reinforced)
@@ -203,6 +204,8 @@
#define TBL_DECONSTRUCT 3
/obj/structure/table/proc/table_destroy(destroy_type, mob/user)
if(!deconstructable)
return
if(destroy_type == TBL_DESTROY)
for(var/i = 1, i <= framestackamount, i++)