next set of spans (#16434)

* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
This commit is contained in:
Kashargul
2024-10-16 23:37:27 +02:00
committed by GitHub
parent 6275972fef
commit b594520a74
604 changed files with 2801 additions and 2638 deletions
@@ -74,7 +74,7 @@
var/contained = reagentlist()
add_attack_logs(user,target,"Splashed with [src.name] containing [contained]")
user.visible_message(span_danger("[target] has been splashed with something by [user]!"), "<span class = 'notice'>You splash the solution onto [target].</span>")
user.visible_message(span_danger("[target] has been splashed with something by [user]!"), span_notice("You splash the solution onto [target]."))
reagents.splash(target, reagents.total_volume)
return 1
@@ -95,16 +95,16 @@
return
/obj/item/reagent_containers/borghypo/attack_self(mob/user as mob) //Change the mode
var/t = "<span class='infoplain'>"
var/t
for(var/i = 1 to reagent_ids.len)
if(t)
t += ", "
if(mode == i)
t += "<b>[reagent_names[i]]</b>"
t += span_bold("[reagent_names[i]]")
else
t += "<a href='?src=\ref[src];reagent=[reagent_ids[i]]'>[reagent_names[i]]</a>"
t = "Available reagents: [t].</span>"
to_chat(user,t)
t = "Available reagents: [t]."
to_chat(user,span_infoplain(t))
return
@@ -75,10 +75,10 @@
/obj/item/reagent_containers/glass/attack_self()
..()
if(is_open_container())
to_chat(usr, "<span class = 'notice'>You put the lid on \the [src].</span>")
to_chat(usr, span_notice("You put the lid on \the [src]."))
flags ^= OPENCONTAINER
else
to_chat(usr, "<span class = 'notice'>You take the lid off \the [src].</span>")
to_chat(usr, span_notice("You take the lid off \the [src]."))
flags |= OPENCONTAINER
update_icon()
@@ -138,11 +138,11 @@
/obj/item/reagent_containers/spray/pepper/attack_self(var/mob/user)
safety = !safety
to_chat(usr, "<span class = 'notice'>You switch the safety [safety ? "on" : "off"].</span>")
to_chat(usr, span_notice("You switch the safety [safety ? "on" : "off"]."))
/obj/item/reagent_containers/spray/pepper/Spray_at(atom/A as mob|obj)
if(safety)
to_chat(usr, "<span class = 'warning'>The safety is on!</span>")
to_chat(usr, span_warning("The safety is on!"))
return
. = ..()
@@ -121,7 +121,7 @@
return
if(T.isSynthetic())
to_chat(user, "<span class = 'warning'>You can't draw blood from a synthetic!</span>")
to_chat(user, span_warning("You can't draw blood from a synthetic!"))
return
if(drawing)
@@ -276,7 +276,7 @@
if (target != user && H.getarmor(target_zone, "melee") > 5 && prob(50))
for(var/mob/O in viewers(world.view, user))
O.show_message(span_red(text("<B>[user] tries to stab [target] in \the [hit_area] with [src.name], but the attack is deflected by armor!</B>")), 1)
O.show_message(span_bolddanger("[user] tries to stab [target] in \the [hit_area] with [src.name], but the attack is deflected by armor!"), 1)
user.remove_from_mob(src)
qdel(src)