[MIRROR] refactors most spans (#9139)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

View File

@@ -285,7 +285,7 @@ var/datum/planet/sif/planet_sif = null
wind_high = 2
wind_low = 1
light_modifier = 0.5
effect_message = "<span class='warning'>Rain falls on you.</span>"
effect_message = span_warning("Rain falls on you.")
transition_chances = list(
WEATHER_OVERCAST = 20,
@@ -317,7 +317,7 @@ var/datum/planet/sif/planet_sif = null
if(istype(U) && U.open)
if(show_message)
to_chat(L, "<span class='notice'>Rain patters softly onto your umbrella.</span>")
to_chat(L, span_notice("Rain patters softly onto your umbrella."))
continue
L.water_act(1)
@@ -333,7 +333,7 @@ var/datum/planet/sif/planet_sif = null
wind_low = 2
light_modifier = 0.3
flight_failure_modifier = 10
effect_message = "<span class='warning'>Rain falls on you, drenching you in water.</span>"
effect_message = span_warning("Rain falls on you, drenching you in water.")
var/next_lightning_strike = 0 // world.time when lightning will strike.
var/min_lightning_cooldown = 5 SECONDS
@@ -371,7 +371,7 @@ var/datum/planet/sif/planet_sif = null
if(istype(U) && U.open)
if(show_message)
to_chat(L, "<span class='notice'>Rain showers loudly onto your umbrella!</span>")
to_chat(L, span_notice("Rain showers loudly onto your umbrella!"))
continue
@@ -399,7 +399,7 @@ var/datum/planet/sif/planet_sif = null
flight_failure_modifier = 15
timer_low_bound = 2
timer_high_bound = 5
effect_message = "<span class='warning'>The hail smacks into you!</span>"
effect_message = span_warning("The hail smacks into you!")
transition_chances = list(
WEATHER_RAIN = 45,
@@ -429,7 +429,7 @@ var/datum/planet/sif/planet_sif = null
if(istype(U) && U.open)
if(show_message)
to_chat(H, "<span class='notice'>Hail patters onto your umbrella.</span>")
to_chat(H, span_notice("Hail patters onto your umbrella."))
continue
var/target_zone = pick(BP_ALL)