Would you like some defines in these trying times?

This commit is contained in:
SandPoot
2022-03-23 12:10:02 -03:00
parent d8f656ecf1
commit 189716314f
281 changed files with 725 additions and 725 deletions
@@ -2,9 +2,9 @@
. = ..()
var/component_probability = min(50, max(damage_amount*0.1, 1 - obj_integrity/max_integrity))
switch(damage_flag)
if("bullet")
if(BULLET)
component_probability = damage_amount * 0.5
if("laser")
if(LASER)
component_probability = damage_amount * 0.66
if(component_probability)
for(var/I in all_components)