mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 09:32:21 +00:00
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:
@@ -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()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user