moves var/can_deconstruct to obj level

moves proc/deconstruct() and proc/take_damage() to obj level, moves a few obj damage procs in with it to new obj_defense.dm
moves plastic flaps to new plasticflaps.dm
This commit is contained in:
uraniummeltdown
2017-12-26 18:16:42 +05:00
parent d8001c1a6c
commit 73d7af2675
20 changed files with 229 additions and 211 deletions
+1 -1
View File
@@ -495,7 +495,7 @@
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 5
/obj/structure/fans/proc/deconstruct()
/obj/structure/fans/deconstruct()
if(buildstacktype)
new buildstacktype(loc, buildstackamount)
qdel(src)