Adds OpenDream as a CI lint (#21099)

* Initial Commit

* Makes the CI work (maybe)

* Of course CI has a hissy fit

* Actually fixes the codebase

* Oops 1

* Tweaks

* oops
This commit is contained in:
AffectedArc07
2023-07-18 20:50:31 -05:00
committed by GitHub
parent e1f530f20e
commit 8d7e066471
31 changed files with 116 additions and 66 deletions
+2 -5
View File
@@ -23,11 +23,8 @@
/obj/proc/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir, armour_penetration_flat = 0, armour_penetration_percentage = 0)
if(damage_flag == MELEE && damage_amount < damage_deflection)
return 0
switch(damage_type)
if(BRUTE)
if(BURN)
else
return 0
if(damage_type != BRUTE && damage_type != BURN)
return 0
var/armor_protection = 0
if(damage_flag)
armor_protection = armor.getRating(damage_flag)