[Ready]Adds the Pax reagent, small tweaks to pacifism

This commit is contained in:
XDTM
2017-12-29 09:37:10 +01:00
committed by CitadelStationBot
parent 96543b5e63
commit d8943d6a1e
5 changed files with 38 additions and 0 deletions
+7
View File
@@ -58,8 +58,15 @@
SendSignal(COMSIG_ITEM_ATTACK, M, user)
if(flags_1 & NOBLUDGEON_1)
return
<<<<<<< HEAD
if(user.disabilities & PACIFISM)
=======
if(force && user.has_disability(DISABILITY_PACIFISM))
to_chat(user, "<span class='warning'>You don't want to harm other living beings!</span>")
>>>>>>> 5d761c5... [Ready]Adds the Pax reagent, small tweaks to pacifism (#33663)
return
if(!force)
playsound(loc, 'sound/weapons/tap.ogg', get_clamped_volume(), 1, -1)
else if(hitsound)