mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
filter improvements and oldchat colours
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//Health bars in the game window would be pretty challenging and I don't know how to do that, so I thought this would be a good alternative
|
||||
|
||||
/mob/living/proc/chat_healthbar(var/mob/living/reciever, override = FALSE)
|
||||
/mob/living/proc/chat_healthbar(var/mob/living/reciever, onExamine = FALSE, override = FALSE)
|
||||
if(!reciever) //No one to send it to, don't bother
|
||||
return
|
||||
if(!reciever.client) //No one is home, don't bother
|
||||
@@ -87,9 +87,12 @@
|
||||
else if(ourpercent > 0)
|
||||
ourbar = span_red("[ourbar] - [ourbelly.digest_mode]ing")
|
||||
else
|
||||
ourbar = "<span class='vdanger'>[ourbar] - [ourbelly.digest_mode]ing</span>"
|
||||
ourbar = span_red("<b>[ourbar] - [ourbelly.digest_mode]ing</b>")
|
||||
|
||||
to_chat(reciever,"<span class='vnotice'>[ourbar]</span>")
|
||||
if(onExamine)
|
||||
to_chat(reciever,"<span class='notice'>[ourbar]</span>")
|
||||
else
|
||||
to_chat(reciever,"<span class='vnotice'>[ourbar]</span>")
|
||||
|
||||
/mob/living/verb/print_healthbars()
|
||||
set name = "Print Prey Healthbars"
|
||||
@@ -104,10 +107,10 @@
|
||||
if(!isliving(thing))
|
||||
continue
|
||||
if(!belly_announce)
|
||||
to_chat(src, "<span class='vnotice'>[b.digest_mode] - Within [b.name]:</span>") //We only want to announce the belly if we found something
|
||||
to_chat(src, "<span class='notice'>[b.digest_mode] - Within [b.name]:</span>") //We only want to announce the belly if we found something
|
||||
belly_announce = TRUE
|
||||
var/mob/living/ourmob = thing
|
||||
ourmob.chat_healthbar(src, TRUE)
|
||||
ourmob.chat_healthbar(src, TRUE, TRUE)
|
||||
nuffin = FALSE
|
||||
if(nuffin)
|
||||
to_chat(src, "<span class='vwarning'>There are no mobs within any of your bellies to print health bars for.</span>")
|
||||
to_chat(src, "<span class='warning'>There are no mobs within any of your bellies to print health bars for.</span>")
|
||||
|
||||
@@ -631,7 +631,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
|
||||
to_chat(user, jointext(results, "<br>"))
|
||||
if(isliving(target))
|
||||
var/mob/living/ourtarget = target
|
||||
ourtarget.chat_healthbar(user)
|
||||
ourtarget.chat_healthbar(user, TRUE)
|
||||
return TRUE
|
||||
|
||||
if("Use Hand")
|
||||
@@ -744,7 +744,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono",
|
||||
to_chat(user, jointext(results, "<br>"))
|
||||
if(isliving(target))
|
||||
var/mob/living/ourtarget = target
|
||||
ourtarget.chat_healthbar(user)
|
||||
ourtarget.chat_healthbar(user, TRUE)
|
||||
return TRUE
|
||||
|
||||
if("Eject")
|
||||
|
||||
@@ -78,7 +78,7 @@ em {font-style: normal;font-weight: bold;}
|
||||
/* Miscellaneous */
|
||||
.name {font-weight: bold;}
|
||||
.say {}
|
||||
.alert {color: #ff0000;}
|
||||
.alert, .valert {color: #ff0000;}
|
||||
h1.alert, h2.alert {color: #000000;}
|
||||
.ghostalert {color: #5c00e6; font-style: italic; font-weight: bold;}
|
||||
|
||||
@@ -96,11 +96,11 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.passive {color: #660000;}
|
||||
|
||||
.critical {color: #ff0000; font-weight: bold; font-size: 150%;}
|
||||
.danger {color: #ff0000; font-weight: bold;}
|
||||
.warning {color: #ff0000; font-style: italic;}
|
||||
.danger, .vdanger {color: #ff0000; font-weight: bold;}
|
||||
.warning, .vwarning {color: #ff0000; font-style: italic;}
|
||||
.rose {color: #ff5050;}
|
||||
.info {color: #0000CC;}
|
||||
.notice {color: #000099;}
|
||||
.notice, .vnotice {color: #000099;}
|
||||
.alium {color: #00ff00;}
|
||||
.cult {color: #800080; font-weight: bold; font-style: italic;}
|
||||
|
||||
@@ -116,7 +116,7 @@ h1.alert, h2.alert {color: #000000;}
|
||||
.skrellfar {color: #70FCFF;}
|
||||
.soghun {color: #50BA6C;}
|
||||
.solcom {color: #22228B;}
|
||||
.changeling {color: #800080;font-style: italic;}
|
||||
.changeling, .psay, .pemote {color: #800080;font-style: italic;}
|
||||
.sergal {color: #0077FF;}
|
||||
.birdsongc {color: #CC9900;}
|
||||
.vulpkanin {color: #B97A57;}
|
||||
|
||||
Reference in New Issue
Block a user