Fixes some pacifism oversights (#52820)

This commit is contained in:
ArcaneDefence
2020-08-10 11:24:25 -06:00
committed by GitHub
parent 3fb6f5ebd1
commit 1d8af989ad
6 changed files with 51 additions and 34 deletions
@@ -1181,6 +1181,9 @@
var/turf/T = get_turf(target)
if(!T || timer > world.time)
return
if(HAS_TRAIT(user, TRAIT_PACIFISM))
to_chat(user, "<span class='warning'>You can't bring yourself to fire \the [src]! You don't want to risk harming anyone...</span>")
return
calculate_anger_mod(user)
timer = world.time + CLICK_CD_MELEE //by default, melee attacks only cause melee blasts, and have an accordingly short cooldown
if(proximity_flag)