mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
adds the thing (#10837)
thing thing Co-authored-by: SergeyMeyer <sergeymeyershapiro@gmasil.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user