mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Weather Warnings (#19934)
* Atmospheric probes will now relay changes in weather when deployed. Analog radios can be tuned into the weather broadcast and receive it, provided they're in the same sector / connected z-levels. * Fixed weather transitions to rainy / icy weather not working. * Changed rainy / icy weather to have a blue color, reducing eye strain.   
This commit is contained in:
@@ -38,8 +38,10 @@ SUBSYSTEM_DEF(weather)
|
||||
if(WS)
|
||||
unregister_weather_system(WS)
|
||||
qdel(WS)
|
||||
//Create the new weather system and let it register itself
|
||||
new /obj/abstract/weather_system(locate(1, 1, text2num(topmost_level)), topmost_level, initial_state)
|
||||
|
||||
// Create the new weather system and let it register itself
|
||||
var/obj/abstract/weather_system/new_weather_system = new /obj/abstract/weather_system(locate(1, 1, text2num(topmost_level)), topmost_level, initial_state)
|
||||
return new_weather_system
|
||||
|
||||
///Registers a given weather system obj for getting updates by SSweather.
|
||||
/datum/controller/subsystem/weather/proc/register_weather_system(var/obj/abstract/weather_system/WS)
|
||||
|
||||
Reference in New Issue
Block a user