More Revenant Tweaks (#11146)

This commit is contained in:
Geeves
2021-02-11 22:27:48 +01:00
committed by GitHub
parent e84e55bcc4
commit 01bb640e14
15 changed files with 138 additions and 50 deletions
@@ -65,6 +65,9 @@
return
if (O.iswrench())
if(use_check(user, USE_DISALLOW_SPECIALS))
to_chat(user, SPAN_WARNING("A strange force prevents you from doing this.")) //there is no way to justify this icly
return
if(can_tamper && user.a_intent == I_HURT)
user.visible_message("<span class='warning'>\The [user] wrenches \the [src]'s faucet [is_leaking ? "closed" : "open"].</span>","<span class='warning'>You wrench \the [src]'s faucet [is_leaking ? "closed" : "open"]</span>")
is_leaking = !is_leaking