Adds notice-span to visible_messages with no spans (#46044)

About The Pull Request

Adds 'notice' span class to all visible_messages which had no span class, making all those black messages blue.
Why It's Good For The Game

This should help differentiate action-messages from talking-messages in the chat. More actions will be blue, thus black talking-messages should pop out more.
This commit is contained in:
kingofkosmos
2019-08-26 11:50:00 +03:00
committed by oranges
parent e23c2c03c6
commit df1fecc58c
211 changed files with 990 additions and 1013 deletions
@@ -128,9 +128,9 @@
CRASH("Var computer is null!")
return 1
if(!hard_drive)
computer.visible_message("\The [computer] shows an \"I/O Error - Hard drive connection error\" warning.")
computer.visible_message("<span class='warning'>\The [computer] shows an \"I/O Error - Hard drive connection error\" warning.</span>")
else // In 99.9% cases this will mean our HDD is full
computer.visible_message("\The [computer] shows an \"I/O Error - Hard drive may be full. Please free some space and try again. Required space: [logfile.size]GQ\" warning.")
computer.visible_message("<span class='warning'>\The [computer] shows an \"I/O Error - Hard drive may be full. Please free some space and try again. Required space: [logfile.size]GQ\" warning.</span>")
if("PRG_renamechannel")
. = 1
if(!operator_mode || !channel)
@@ -221,4 +221,4 @@
)))
data["all_channels"] = all_channels
return data
return data