adds the thing (#10837)

thing thing

Co-authored-by: SergeyMeyer <sergeymeyershapiro@gmasil.com>
This commit is contained in:
SergeyMeyer
2021-01-09 14:32:58 -05:00
committed by GitHub
parent 7e1a716ab5
commit ae0e96c24a

View File

@@ -71,6 +71,10 @@
if(force && HAS_TRAIT(user, TRAIT_PACIFISM))
to_chat(user, "<span class='warning'>You don't want to harm other living beings!</span>")
return
if((item_flags & SURGICAL_TOOL) && (user.a_intent != INTENT_HARM)) // checks for if harm intent with surgery tool
to_chat(user, "<span class='warning'>You aren't doing surgery!</span>") //yells at you
return
if(!force)
playsound(loc, 'sound/weapons/tap.ogg', get_clamped_volume(), 1, -1)