Replaces info class with notice and purges info (#26421)

This commit is contained in:
Burzah
2024-08-13 09:46:58 +00:00
committed by GitHub
parent 4d87562d25
commit c434f08f4f
101 changed files with 231 additions and 239 deletions
@@ -140,7 +140,7 @@
. = ..()
. += "Its speaker is turned [silenced ? "off" : "on"]."
var/list/msg = list("<span class='info'>")
var/list/msg = list("<span class='notice'>")
if(brainmob && brainmob.key)
switch(brainmob.stat)
@@ -337,9 +337,9 @@
status_list += "<span class='danger'>You are bleeding!</span>"
if(staminaloss)
if(staminaloss > 30)
status_list += "<span class='info'>You're completely exhausted.</span>"
status_list += "<span class='notice'>You're completely exhausted.</span>"
else
status_list += "<span class='info'>You feel fatigued.</span>"
status_list += "<span class='notice'>You feel fatigued.</span>"
to_chat(src, chat_box_examine(status_list.Join("\n")))
+2 -2
View File
@@ -114,9 +114,9 @@
skipface |= wear_mask.flags_inv & HIDEFACE
skipeyes |= wear_mask.flags_inv & HIDEEYES
var/msg = "<span class='info'>This is "
var/msg = "<span class='notice'>This is "
if(HAS_TRAIT(src, TRAIT_I_WANT_BRAINS))
msg = "<span class='info'>This is the <span class='warning'>shambling corpse</span> of "
msg = "<span class='notice'>This is the <span class='warning'>shambling corpse</span> of "
msg += "<em>[name]</em>"
+4 -4
View File
@@ -54,7 +54,7 @@
var/mob/living/carbon/receiver = locateUID(receiver_UID)
var/mob/living/carbon/giver = attached_effect.owner
var/obj/item/I = locateUID(item_UID)
to_chat(giver, "<span class='info'>You decide against giving [I] to [receiver].</span>")
to_chat(giver, "<span class='notice'>You decide against giving [I] to [receiver].</span>")
to_chat(receiver, "<span class='warning'>[giver] seems to have given up on giving you [I].</span>")
receiver.clear_alert("take item [item_UID]") // This cancels *everything* related to the giving/item offering.
@@ -71,7 +71,7 @@
/datum/click_intercept/give/New(client/C)
..()
holder.mouse_pointer_icon = 'icons/mouse_icons/give_item.dmi'
to_chat(holder, "<span class='info'>You can now left click on someone to give them your held item.</span>")
to_chat(holder, "<span class='notice'>You can now left click on someone to give them your held item.</span>")
RegisterSignal(holder.mob.get_active_hand(), list(COMSIG_PARENT_QDELETING, COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED), PROC_REF(signal_qdel))
RegisterSignal(holder.mob, list(SIGNAL_ADDTRAIT(TRAIT_HANDS_BLOCKED), COMSIG_CARBON_SWAP_HANDS), PROC_REF(signal_qdel))
@@ -79,7 +79,7 @@
/datum/click_intercept/give/Destroy(force = FALSE, ...)
holder.mouse_pointer_icon = initial(holder.mouse_pointer_icon)
if(!item_offered)
to_chat(holder.mob, "<span class='info'>You're no longer trying to give someone your held item.</span>")
to_chat(holder.mob, "<span class='notice'>You're no longer trying to give someone your held item.</span>")
return ..()
@@ -101,7 +101,7 @@
// Otherwise, throwing a new "take item" alert would override any current one also named "take item".
receiver.throw_alert("take item [I.UID()]", /atom/movable/screen/alert/take_item, alert_args = list(user, receiver, I))
item_offered = TRUE // TRUE so we don't give them the default chat message in Destroy.
to_chat(user, "<span class='info'>You offer [I] to [receiver].</span>")
to_chat(user, "<span class='notice'>You offer [I] to [receiver].</span>")
qdel(src)
@@ -1,6 +1,6 @@
/mob/living/silicon/ai/examine(mob/user)
. = ..()
var/msg = "<span class='info'>"
var/msg = "<span class='notice'>"
if(src.stat == DEAD)
msg += "<span class='deadsay'>It appears to be powered-down.</span>\n"
else
+1 -1
View File
@@ -366,7 +366,7 @@
/mob/living/silicon/pai/examine(mob/user)
. = ..()
var/msg = "<span class='info'>"
var/msg = "<span class='notice'>"
switch(stat)
if(CONSCIOUS)
@@ -1,7 +1,7 @@
/mob/living/silicon/robot/examine(mob/user)
. = ..()
var/msg = "<span class='info'>"
var/msg = "<span class='notice'>"
if(module)
msg += "It has loaded a [module.name].\n"
var/obj/act_module = get_active_hand()
@@ -271,7 +271,7 @@
if(stat == DEAD)
if(++final_bites >= total_final_bites)
visible_message("<span class='danger'>[L] finished eating [src], there's nothing left!</span>")
to_chat(L, "<span class='info'>Whoa, that last bite tasted weird.</span>")
to_chat(L, "<span class='notice'>Whoa, that last bite tasted weird.</span>")
L.reagents.add_reagent("teslium", 5)
qdel(src)
@@ -39,9 +39,9 @@
/mob/living/simple_animal/hostile/mushroom/examine(mob/user)
. = ..()
if(health >= maxHealth)
. += "<span class='info'>It looks healthy.</span>"
. += "<span class='notice'>It looks healthy.</span>"
else
. += "<span class='info'>It looks like it's been roughed up.</span>"
. += "<span class='notice'>It looks like it's been roughed up.</span>"
/mob/living/simple_animal/hostile/mushroom/Life(seconds, times_fired)
..()
@@ -390,7 +390,7 @@
/mob/living/simple_animal/slime/examine(mob/user)
. = ..()
. += "<span class='info'>This is [bicon(src)] \a <EM>[src]</EM>!"
. += "<span class='notice'>This is [bicon(src)] \a <EM>[src]</EM>!"
if(stat == DEAD)
. += "<span class='deadsay'>It is limp and unresponsive.</span>"
else
+1 -1
View File
@@ -981,7 +981,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
var/obj/vent_found = pick(found_vents)
var/mob/living/simple_animal/mouse/host = new(vent_found.loc)
host.ckey = src.ckey
to_chat(host, "<span class='info'>You are now a mouse, a small and fragile creature capable of scurrying through vents and under doors. Be careful who you reveal yourself to, for that will decide whether you receive cheese or death.</span>")
to_chat(host, "<span class='notice'>You are now a mouse, a small and fragile creature capable of scurrying through vents and under doors. Be careful who you reveal yourself to, for that will decide whether you receive cheese or death.</span>")
host.forceMove(vent_found)
host.add_ventcrawl(vent_found)
return TRUE