In converting some things from show_message to visible_message, people forgot that the 2nd argument is not range. But is instead, either blind message or user message. So I fixed it. Also added some high lighting and user messages.
This commit is contained in:
Erki
2018-07-21 14:07:12 +02:00
committed by Werner
parent 1bd59b6532
commit 3d848e7cee
21 changed files with 95 additions and 91 deletions
+1 -1
View File
@@ -192,7 +192,7 @@
return
if(prob(50))
src.visible_message("<span class='notice'>You hear something squeezing through the ventilation ducts.</span>",2)
visible_message("<span class='notice'>You hear something squeezing through the ventilation ducts.</span>", range = 2)
sleep(travel_time)
if(!exit_vent || exit_vent.welded)
+3 -3
View File
@@ -334,7 +334,7 @@
var/mob/living/L = G.affecting
visible_message("[user] starts putting [L] into the pod bed.", 3)
user.visible_message("<span class='notice'>[user] starts putting [L] into [src].</span>", "<span class='notice'>You start putting [L] into [src].</span>", range = 3)
if (do_mob(user, L, 30, needhand = 0))
var/bucklestatus = L.bucklecheck(user)
@@ -378,9 +378,9 @@
return
if(H == user)
visible_message("[user] starts climbing into the pod bed.", 3)
user.visible_message("<span class='notice'>[user] starts climbing into [src].</span>", "<span class='notice'>You start climbing into [src].</span>", range = 3)
else
visible_message("[user] starts putting [H.name] into the pod bed.", 3)
user.visible_message("<span class='notice'>[user] starts putting [H] into [src].</span>", "<span class='notice'>You start putting [H] into [src].</span>", range = 3)
if (do_mob(user, H, 30, needhand = 0))
if (bucklestatus == 2)