stamina damage logging (#21576)

* stamina damage logging

* use a gun

* bam
This commit is contained in:
GDN
2023-07-17 09:21:28 -05:00
committed by GitHub
parent fb0dc75943
commit 6ffbe49973
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -177,9 +177,12 @@
reagent_note += num2text(R.volume) + ") "
additional_log_text = "[additional_log_text] (containing [reagent_note])"
var/were_affects_applied = L.apply_effects(stun, weaken, knockdown, paralyze, irradiate, slur, stutter, eyeblur, drowsy, blocked, stamina, jitter)
if(!log_override && firer && !alwayslog)
add_attack_logs(firer, L, "Shot with a [type][additional_log_text]")
return L.apply_effects(stun, weaken, knockdown, paralyze, irradiate, slur, stutter, eyeblur, drowsy, blocked, stamina, jitter)
return were_affects_applied
/obj/item/projectile/proc/get_splatter_blockage(turf/step_over, atom/target, splatter_dir, target_loca) //Check whether the place we want to splatter blood is blocked (i.e. by windows).
var/turf/step_cardinal = !(splatter_dir in list(NORTH, SOUTH, EAST, WEST)) ? get_step(target_loca, get_cardinal_dir(target_loca, step_over)) : null