You no longer weld damaged plating on harm intent (#19916)

This commit is contained in:
Coolrune206
2022-12-17 17:14:56 +00:00
committed by GitHub
parent c96d14cea2
commit b5a260005c
@@ -117,6 +117,8 @@
. = TRUE
if(!I.tool_use_check(user, 0))
return
if(user.a_intent == INTENT_HARM) // no repairing on harm intent, so you can use the welder in a fight near damaged paneling without welding your eyes out
return
if(unfastened)
to_chat(user, "<span class='warning'>You start removing [src], exposing space after you're done!</span>")
if(!I.use_tool(src, user, 50, volume = I.tool_volume * 2)) //extra loud to let people know something's going down