mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-27 18:42:44 +00:00
[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:
@@ -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)
|
||||
|
||||
@@ -268,7 +268,7 @@ var/datum/planet/virgo3b/planet_virgo3b = 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 = 25,
|
||||
@@ -301,7 +301,7 @@ var/datum/planet/virgo3b/planet_virgo3b = 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)
|
||||
@@ -315,7 +315,7 @@ var/datum/planet/virgo3b/planet_virgo3b = 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
|
||||
@@ -354,7 +354,7 @@ var/datum/planet/virgo3b/planet_virgo3b = 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
|
||||
|
||||
|
||||
@@ -380,7 +380,7 @@ var/datum/planet/virgo3b/planet_virgo3b = 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,
|
||||
@@ -412,7 +412,7 @@ var/datum/planet/virgo3b/planet_virgo3b = 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)
|
||||
@@ -625,4 +625,3 @@ var/datum/planet/virgo3b/planet_virgo3b = null
|
||||
"Suddenly, colorful confetti starts raining from the sky."
|
||||
)
|
||||
imminent_transition_message = "A rain is starting... A rain of confetti...?"
|
||||
|
||||
|
||||
@@ -258,7 +258,7 @@ var/datum/planet/virgo3c/planet_virgo3c = 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.")
|
||||
outdoor_sounds_type = /datum/looping_sound/weather/rain
|
||||
indoor_sounds_type = /datum/looping_sound/weather/rain/indoors
|
||||
|
||||
@@ -290,7 +290,7 @@ var/datum/planet/virgo3c/planet_virgo3c = 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)
|
||||
@@ -306,7 +306,7 @@ var/datum/planet/virgo3c/planet_virgo3c = 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 = 1 MINUTE
|
||||
@@ -344,7 +344,7 @@ var/datum/planet/virgo3c/planet_virgo3c = 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
|
||||
|
||||
|
||||
@@ -372,7 +372,7 @@ var/datum/planet/virgo3c/planet_virgo3c = 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_FOG = 5,
|
||||
@@ -402,7 +402,7 @@ var/datum/planet/virgo3c/planet_virgo3c = 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)
|
||||
@@ -527,7 +527,7 @@ var/datum/planet/virgo3c/planet_virgo3c = null
|
||||
continue //Don't murder the wildlife, they live here it's fine
|
||||
|
||||
L.inflict_heat_damage(1)
|
||||
to_chat(L, "<span class='warning'>Smoldering ash singes you!</span>")
|
||||
to_chat(L, span_warning("Smoldering ash singes you!"))
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -251,7 +251,7 @@ var/datum/planet/virgo4/planet_virgo4 = 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 = 25,
|
||||
@@ -280,7 +280,7 @@ var/datum/planet/virgo4/planet_virgo4 = 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)
|
||||
@@ -294,7 +294,7 @@ var/datum/planet/virgo4/planet_virgo4 = 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
|
||||
@@ -330,7 +330,7 @@ var/datum/planet/virgo4/planet_virgo4 = 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
|
||||
|
||||
|
||||
@@ -356,7 +356,7 @@ var/datum/planet/virgo4/planet_virgo4 = 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_HAIL = 10,
|
||||
@@ -386,7 +386,7 @@ var/datum/planet/virgo4/planet_virgo4 = 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)
|
||||
@@ -611,4 +611,4 @@ var/datum/planet/virgo4/planet_virgo4 = null
|
||||
RCon = TRUE
|
||||
input_level = input_level_max
|
||||
output_level = output_level_max
|
||||
input_attempt = TRUE
|
||||
input_attempt = TRUE
|
||||
|
||||
Reference in New Issue
Block a user