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
+1 -1
View File
@@ -153,7 +153,7 @@
/obj/item/reagent_containers/spray/mister/doMove(atom/destination)
if(destination && (destination != tank.loc || !ismob(destination)))
if (loc != tank)
to_chat(tank.loc, "<span class = 'notice'>The mister snaps back onto the watertank.</span>")
to_chat(tank.loc, span_notice("The mister snaps back onto the watertank."))
destination = tank
..()
+5 -5
View File
@@ -576,7 +576,7 @@
if(!degree || get_trait(TRAIT_IMMUTABLE) > 0) return
source_turf.visible_message("<b>\The [display_name]</b> quivers!")
source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " quivers!"))
//This looks like shit, but it's a lot easier to read/change this way.
var/total_mutations = rand(1,1+degree)
@@ -613,7 +613,7 @@
if(prob(degree*5))
set_trait(TRAIT_CARNIVOROUS, get_trait(TRAIT_CARNIVOROUS)+rand(-degree,degree),2, 0)
if(get_trait(TRAIT_CARNIVOROUS))
source_turf.visible_message("<b>\The [display_name]</b> shudders hungrily.")
source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " shudders hungrily."))
if(6)
set_trait(TRAIT_WEED_TOLERANCE, get_trait(TRAIT_WEED_TOLERANCE)+(rand(-2,2)*degree),10, 0)
if(prob(degree*5))
@@ -634,7 +634,7 @@
set_trait(TRAIT_POTENCY, get_trait(TRAIT_POTENCY)+(rand(-20,20)*degree),200, 0)
if(prob(degree*5))
set_trait(TRAIT_SPREAD, get_trait(TRAIT_SPREAD)+rand(-1,1),2, 0)
source_turf.visible_message("<b>\The [display_name]</b> spasms visibly, shifting in the tray.")
source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " spasms visibly, shifting in the tray."))
if(prob(degree*3))
set_trait(TRAIT_SPORING, !get_trait(TRAIT_SPORING))
if(9)
@@ -652,10 +652,10 @@
if(prob(degree*2))
set_trait(TRAIT_BIOLUM, !get_trait(TRAIT_BIOLUM))
if(get_trait(TRAIT_BIOLUM))
source_turf.visible_message("<b>\The [display_name]</b> begins to glow!")
source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " begins to glow!"))
if(prob(degree*2))
set_trait(TRAIT_BIOLUM_COLOUR,get_random_colour(0,75,190))
source_turf.visible_message("<span class='notice'>\The [display_name]'s glow </span><font color='[get_trait(TRAIT_BIOLUM_COLOUR)]'>changes colour</font>!")
source_turf.visible_message(span_notice("\The [display_name]'s glow") + " <font color='[get_trait(TRAIT_BIOLUM_COLOUR)]'>changes colour</font>!")
else
source_turf.visible_message(span_notice("\The [display_name]'s glow dims..."))
if(11)
+3 -3
View File
@@ -4,7 +4,7 @@
return src
var/datum/seed/S = diverge() //Let's not modify all of the seeds.
T.visible_message("<b>\The [S.display_name]</b> quivers!") //Mimicks the normal mutation.
T.visible_message(span_infoplain(span_bold("\The [S.display_name]") + " quivers!")) //Mimicks the normal mutation.
G.mutate(S, T)
return S
@@ -97,7 +97,7 @@
T.visible_message(span_notice("\The [S.display_name] begins to glow!"))
if(prob(50))
S.set_trait(TRAIT_BIOLUM_COLOUR,get_random_colour(0,75,190))
T.visible_message("<span class='notice'>\The [S.display_name]'s glow </span><font color='[S.get_trait(TRAIT_BIOLUM_COLOUR)]'>changes colour</font>!")
T.visible_message(span_notice("\The [S.display_name]'s glow") + " <font color='[S.get_trait(TRAIT_BIOLUM_COLOUR)]'>changes colour</font>!")
else
T.visible_message(span_notice("\The [S.display_name]'s glow dims..."))
if(prob(60))
@@ -126,7 +126,7 @@
S.set_trait(TRAIT_MATURATION, S.get_trait(TRAIT_MATURATION)+rand(-1,1),30,0)
if(prob(55))
S.set_trait(TRAIT_SPREAD, S.get_trait(TRAIT_SPREAD)+rand(-1,1),2,0)
T.visible_message("<b>\The [S.display_name]</b> spasms visibly, shifting in the tray.")
T.visible_message(span_infoplain(span_bold("\The [S.display_name]") + " spasms visibly, shifting in the tray."))
/decl/plantgene/fruit/mutate(var/datum/seed/S)
if(prob(65))
+4 -4
View File
@@ -389,7 +389,7 @@
/obj/machinery/seed_storage/attackby(var/obj/item/O as obj, var/mob/user as mob)
if (istype(O, /obj/item/seeds) && !lockdown)
add(O)
user.visible_message("<span class ='filter_notice'>[user] puts \the [O.name] into \the [src].</span>", "<span class ='filter_notice'>You put \the [O] into \the [src].</span>")
user.visible_message(span_filter_notice("[user] puts \the [O.name] into \the [src]."), span_filter_notice("You put \the [O] into \the [src]."))
return
else if (istype(O, /obj/item/storage/bag/plants) && !lockdown)
var/obj/item/storage/P = O
@@ -398,17 +398,17 @@
++loaded
add(G)
if (loaded)
user.visible_message("<span class ='filter_notice'>[user] puts the seeds from \the [O.name] into \the [src].</span>", "<span class ='filter_notice'>You put the seeds from \the [O.name] into \the [src].</span>")
user.visible_message(span_filter_notice("[user] puts the seeds from \the [O.name] into \the [src]."), span_filter_notice("You put the seeds from \the [O.name] into \the [src]."))
else
to_chat(user, span_notice("There are no seeds in \the [O.name]."))
return
else if(O.has_tool_quality(TOOL_WRENCH))
playsound(src, O.usesound, 50, 1)
anchored = !anchored
to_chat(user, "<span class ='filter_notice'>You [anchored ? "wrench" : "unwrench"] \the [src].</span>")
to_chat(user, span_filter_notice("You [anchored ? "wrench" : "unwrench"] \the [src]."))
else if(O.has_tool_quality(TOOL_SCREWDRIVER))
panel_open = !panel_open
to_chat(user, "<span class ='filter_notice'>You [panel_open ? "open" : "close"] the maintenance panel.</span>")
to_chat(user, span_filter_notice("You [panel_open ? "open" : "close"] the maintenance panel."))
playsound(src, O.usesound, 50, 1)
cut_overlays()
if(panel_open)
@@ -66,12 +66,12 @@
for(var/mob/living/L as anything in buckled_mobs)
if(!(user in buckled_mobs))
L.visible_message(\
"<b>\The [user]</b> frees \the [L] from \the [src].",\
"<b>\The [user]</b> frees you from \the [src].",\
span_infoplain(span_bold("\The [user]") + " frees \the [L] from \the [src]."),\
span_infoplain(span_bold("\The [user]") + " frees you from \the [src]."),\
span_warning("You hear shredding and ripping."))
else
L.visible_message(\
"<b>\The [L]</b> struggles free of \the [src].",\
span_infoplain(span_bold("\The [L]") + " struggles free of \the [src]."),\
span_notice("You untangle \the [src] from around yourself."),\
span_warning("You hear shredding and ripping."))
unbuckle()
+8 -8
View File
@@ -166,13 +166,13 @@
if(weedlevel > 0)
nymph.reagents.add_reagent("glucose", weedlevel)
weedlevel = 0
nymph.visible_message(span_notice("<b>[nymph]</b> begins rooting through [src], ripping out weeds and eating them noisily."),span_notice("You begin rooting through [src], ripping out weeds and eating them noisily."))
nymph.visible_message(span_notice(span_bold("[nymph]") + " begins rooting through [src], ripping out weeds and eating them noisily."),span_notice("You begin rooting through [src], ripping out weeds and eating them noisily."))
else if(nymph.nutrition > 100 && nutrilevel < 10)
nymph.nutrition -= ((10-nutrilevel)*5)
nutrilevel = 10
nymph.visible_message(span_notice("<b>[nymph]</b> secretes a trickle of green liquid, refilling [src]."),span_notice("You secrete a trickle of green liquid, refilling [src]."))
nymph.visible_message(span_notice(span_bold("[nymph]") + " secretes a trickle of green liquid, refilling [src]."),span_notice("You secrete a trickle of green liquid, refilling [src]."))
else
nymph.visible_message(span_notice("<b>[nymph]</b> rolls around in [src] for a bit."),span_notice("You roll around in [src] for a bit."))
nymph.visible_message(span_notice(span_bold("[nymph]") + " rolls around in [src] for a bit."),span_notice("You roll around in [src] for a bit."))
return
/obj/machinery/portable_atmospherics/hydroponics/Initialize()
@@ -480,7 +480,7 @@
weedlevel = 0
update_icon()
visible_message(span_danger("The <span class='notice'>[previous_plant]</span> has suddenly mutated into <span class='notice'>[seed.display_name]!</span>"))
visible_message(span_danger("The " + span_notice("[previous_plant]") + " has suddenly mutated into " + span_notice("[seed.display_name]") + "!"))
return
@@ -648,13 +648,13 @@
if(seed)
if(weedlevel >= 5)
. += "It is <span class='danger'>infested with weeds</span>!"
. += "It is " + span_danger("infested with weeds") + "!"
if(pestlevel >= 5)
. += "It is <span class='danger'>infested with tiny worms</span>!"
. += "It is " + span_danger("infested with tiny worms") + "!"
if(dead)
. += "It has <span class='danger'>a dead plant</span>!"
. += "It has " + span_danger("a dead plant") + "!"
else if(health <= (seed.get_trait(TRAIT_ENDURANCE)/ 2))
. += "It has <span class='danger'>an unhealthy plant</span>!"
. += "It has " + span_danger("an unhealthy plant") + "!"
if(frozen == 1)
. += span_notice("It is cryogenically frozen.")
if(mechanical)
@@ -20,7 +20,7 @@
/obj/item/plantspray/pests
name = "pest-spray"
desc = "It's some pest eliminator spray! <I>Do not inhale!</I>"
desc = "It's some pest eliminator spray! " + span_italics("Do not inhale!")
icon_state = "pestspray"
pest_kill_str = 6