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 15:07:12 +03:00
committed by Werner
parent 1bd59b6532
commit 3d848e7cee
21 changed files with 95 additions and 91 deletions

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)