[MIRROR] Adds fake weather options to fake sun (#6849)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2023-08-22 09:01:02 +02:00
committed by GitHub
co-authored by Heroman3003 CHOMPStation2
parent 04c8ecc4ec
commit 857f496bed
9 changed files with 21 additions and 13 deletions
-1
View File
@@ -613,7 +613,6 @@ var/datum/planet/virgo3b/planet_virgo3b = null
/datum/weather/virgo3b/confetti
name = "confetti"
icon = 'icons/effects/weather_vr.dmi'
icon_state = "confetti"
transition_chances = list(
-1
View File
@@ -617,7 +617,6 @@ var/datum/planet/virgo3c/planet_virgo3c = null
/datum/weather/virgo3c/confetti
name = "confetti"
icon = 'icons/effects/weather_vr.dmi'
icon_state = "confetti"
transition_chances = list(
-1
View File
@@ -588,7 +588,6 @@ var/datum/planet/virgo4/planet_virgo4 = null
/datum/weather/virgo4/confetti
name = "confetti"
icon = 'icons/effects/weather_vr.dmi'
icon_state = "confetti"
transition_chances = list(
+3
View File
@@ -15,6 +15,8 @@
var/atom/movable/weather_visuals/visuals = null
var/atom/movable/weather_visuals/special/special_visuals = null
var/firework_override = FALSE
/datum/weather_holder/New(var/source)
..()
our_planet = source
@@ -134,6 +136,7 @@
/datum/weather_holder/proc/update_icon_effects()
visuals.icon_state = current_weather.icon_state
visuals.icon = current_weather.icon
/datum/weather_holder/proc/update_temperature()
temperature = LERP(current_weather.temp_low, current_weather.temp_high, our_planet.sun_position)
-7
View File
@@ -1,7 +0,0 @@
/datum/weather_holder
var/firework_override = FALSE
/datum/weather_holder/update_icon_effects()
..()
if(current_weather.icon)
visuals.icon = current_weather.icon