run_obj_armor copypaste removal part 2 (#46752)

* Removes outdated copypaste run_obj_armor behavior

Also removes some random behavior on camera and APCs that not only did not work but was added with zero justification in a refactor. No changes for players.

* screwdriver to wirecutters

forgot about this

* checks for broken
This commit is contained in:
subject217
2019-10-03 02:23:35 -07:00
committed by Rob Bailey
parent ff2a66f726
commit ee94180e6f
6 changed files with 12 additions and 28 deletions

View File

@@ -7,11 +7,7 @@
max_integrity = 500
armor = list("melee" = 30, "bullet" = 50, "laser" = 50, "energy" = 100, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 80, "acid" = 80)
var/tamperproof = 0
/obj/structure/closet/crate/secure/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
if(damage_flag == "melee" && damage_amount < 25)
return 0
. = ..()
damage_deflection = 25
/obj/structure/closet/crate/secure/update_icon()
..()