Would you like some defines in these trying times?
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
integrity_failure = 0.17
|
||||
damage_deflection = 10
|
||||
resistance_flags = FIRE_PROOF
|
||||
armor = list("melee" = 40, "bullet" = 40, "laser" = 40, "energy" = 100, "bomb" = 30, "bio" = 100, "rad" = 100, "fire" = 90, "acid" = 50)
|
||||
armor = list(MELEE = 40, BULLET = 40, LASER = 40, ENERGY = 100, BOMB = 30, BIO = 100, RAD = 100, FIRE = 90, ACID = 50)
|
||||
req_access = list(ACCESS_ENGINE_EQUIP)
|
||||
interaction_flags_machine = INTERACT_MACHINE_WIRES_IF_OPEN | INTERACT_MACHINE_ALLOW_SILICON | INTERACT_MACHINE_OPEN_SILICON
|
||||
|
||||
@@ -852,7 +852,7 @@
|
||||
set_nightshift(!nightshift_lights)
|
||||
|
||||
/obj/machinery/power/apc/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
|
||||
if(damage_flag == "melee" && damage_amount < 10 && (!(stat & BROKEN) || malfai))
|
||||
if(damage_flag == MELEE && damage_amount < 10 && (!(stat & BROKEN) || malfai))
|
||||
return 0
|
||||
. = ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user