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

View File

@@ -24,7 +24,7 @@
if(manifest)
tear_manifest(user)
user.visible_message("[user] pries \the [src] open.", \
user.visible_message("<span class='notice'>[user] pries \the [src] open.</span>", \
"<span class='notice'>You pry open \the [src].</span>", \
"<span class='italics'>You hear splitting wood.</span>")
playsound(src.loc, 'sound/weapons/slashmiss.ogg', 75, 1)
@@ -44,4 +44,4 @@
else
to_chat(user, "<span class='warning'>You need a crowbar to pry this open!</span>")
return FALSE //Just stop. Do nothing. Don't turn into an invisible sprite. Don't open like a locker.
//The large crate has no non-attack interactions other than the crowbar, anyway.
//The large crate has no non-attack interactions other than the crowbar, anyway.