mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Fixes messages for tank inlet wrenching (#10468)
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
if(is_open_container())
|
||||
RG.standard_pour_into(user,src)
|
||||
else
|
||||
to_chat(user,"<span class='notice'>The top cap is wrenched on tight!</span>")
|
||||
to_chat(user,"<span class='notice'>The inlet cap on \the [src] is wrenched on tight!</span>")
|
||||
return
|
||||
|
||||
if (O.iswrench())
|
||||
@@ -72,10 +72,10 @@
|
||||
START_PROCESSING(SSprocessing,src)
|
||||
|
||||
else if(accept_any_reagent)
|
||||
var/is_closed = flags & OPENCONTAINER
|
||||
var/verb01 = is_closed ? "unwrenches" : "wrenches"
|
||||
var/verb02 = (is_closed ? "open" : "shut")
|
||||
user.visible_message("<span class='notice'>[user] [verb01] the top cap [verb02] from \the [src].</span>", "<span class='notice'>You [verb01] the top cap [verb02] from \the [src].</span>")
|
||||
if(flags & OPENCONTAINER)
|
||||
user.visible_message(SPAN_NOTICE("[user] wrenches the inlet cap on \the [src] shut."), SPAN_NOTICE("You wrench the inlet cap back on \the [src]."))
|
||||
else
|
||||
user.visible_message(SPAN_NOTICE("[user] unwrenches the inlet cap from \the [src]."), SPAN_NOTICE("You unwrench the inlet cap from \the [src]."))
|
||||
flags ^= OPENCONTAINER
|
||||
return
|
||||
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
author: Amunak
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Fixes messages for water tank wrenching/unwrenching - they were flipped and gramatically dubious."
|
||||
Reference in New Issue
Block a user