mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
[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:
co-authored by
Heroman3003
CHOMPStation2
parent
04c8ecc4ec
commit
857f496bed
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user