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
@@ -77,7 +77,7 @@
return TRUE // Good to go.
// Handles damage checks
/obj/item/weapon/computer_hardware/proc/take_damage(damage_amount)
/obj/item/weapon/computer_hardware/take_damage(damage_amount)
obj_integrity = max(obj_integrity - damage_amount, 0)
/obj/item/weapon/computer_hardware/examine(var/mob/user)