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
@@ -219,7 +219,7 @@
W.time_inflicted = world.time
//Note: external organs have their own version of this proc
/obj/item/organ/proc/take_damage(amount, silent = 0)
/obj/item/organ/take_damage(amount, silent = 0)
if(tough)
return
if(status & ORGAN_ROBOT)