mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Makes abductor Optables not deconstructable.
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user