mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
stamina damage logging (#21576)
* stamina damage logging * use a gun * bam
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user