Instruction for how to right a vending machine (#21182)

* Instruction for how to right a vending machine

* Instruction for righting vendor when not adjacent
This commit is contained in:
Evаn Summers
2023-06-05 12:05:33 +01:00
committed by GitHub
parent 7b7a005232
commit 9d7ea4c5a8
+2 -3
View File
@@ -205,8 +205,7 @@
. = ..()
if(tilted)
. += "<span class='warning'>It's been tipped over and won't be usable unless it's righted.</span>"
if(Adjacent(user))
. += "<span class='notice'>You can <b>Alt-Click</b> it to right it.</span>"
. += "<span class='notice'>You can <b>Alt-Click</b> it to right it when adjacent.</span>"
if(aggressive)
. += "<span class='warning'>Its product lights seem to be blinking ominously...</span>"
@@ -606,7 +605,7 @@
return
if(tilted)
to_chat(user, "<span class='warning'>[src] is tipped over and non-functional! You'll need to right it first.</span>")
to_chat(user, "<span class='warning'>[src] is tipped over and non-functional! <b>Alt-Click</b> to right it first.</span>")
return
if(seconds_electrified != 0 && shock(user, 100))