Merge pull request #13614 from Cameron653/LIGHT_ASH_STORM

Adds a 'safe' ash storm variant.
This commit is contained in:
Casey
2022-08-31 03:36:29 -04:00
committed by CHOMPStation2
parent 2123838942
commit 0516ac6a7b
5 changed files with 107 additions and 36 deletions

View File

@@ -11,6 +11,7 @@
#define WEATHER_BLOOD_MOON "blood moon" // For admin fun or cult later on.
#define WEATHER_EMBERFALL "emberfall" // More adminbuse, from TG. Harmless.
#define WEATHER_ASH_STORM "ash storm" // Ripped from TG, like the above. Less harmless.
#define WEATHER_ASH_STORM_SAFE "light ash storm" //Safe version of the ash storm. Dimmer.
#define WEATHER_FALLOUT "fallout" // Modified emberfall, actually harmful. Admin only.
#define MOON_PHASE_NEW_MOON "new moon"

View File

@@ -110,6 +110,7 @@ var/datum/planet/virgo3b/planet_virgo3b = null
WEATHER_BLOOD_MOON = new /datum/weather/virgo3b/blood_moon(),
WEATHER_EMBERFALL = new /datum/weather/virgo3b/emberfall(),
WEATHER_ASH_STORM = new /datum/weather/virgo3b/ash_storm(),
WEATHER_ASH_STORM_SAFE = new /datum/weather/virgo3b/ash_storm_safe(),
WEATHER_FALLOUT = new /datum/weather/virgo3b/fallout()
)
roundstart_weather_chances = list(
@@ -479,6 +480,27 @@ var/datum/planet/virgo3b/planet_virgo3b = null
L.inflict_heat_damage(rand(1, 3))
/datum/weather/virgo3b/ash_storm_safe
name = "light ash storm"
icon_state = "ashfall_moderate"
light_modifier = 0.1
light_color = "#FF0000"
temp_high = 323.15 // 50c
temp_low = 313.15 // 40c
wind_high = 6
wind_low = 3
flight_failure_modifier = 50
transition_chances = list(
WEATHER_ASH_STORM_SAFE = 100
)
observed_message = "All that can be seen is black smoldering ash."
transition_messages = list(
"Smoldering clouds of scorching ash billow down around you!"
)
// Lets recycle.
outdoor_sounds_type = /datum/looping_sound/weather/outside_blizzard
indoor_sounds_type = /datum/looping_sound/weather/inside_blizzard
// Totally radical.
/datum/weather/virgo3b/fallout

View File

@@ -130,6 +130,7 @@ var/datum/planet/virgo3c/planet_virgo3c = null
WEATHER_BLOOD_MOON = new /datum/weather/virgo3c/blood_moon(),
WEATHER_EMBERFALL = new /datum/weather/virgo3c/emberfall(),
WEATHER_ASH_STORM = new /datum/weather/virgo3c/ash_storm(),
WEATHER_ASH_STORM_SAFE = new /datum/weather/virgo3c/ash_storm_safe(),
WEATHER_FALLOUT = new /datum/weather/virgo3c/fallout()
)
roundstart_weather_chances = list(
@@ -475,6 +476,30 @@ var/datum/planet/virgo3c/planet_virgo3c = null
L.inflict_heat_damage(1)
to_chat(L, "<span class='warning'>Smoldering ash singes you!</span>")
//A non-lethal variant of the ash_storm. Stays on indefinitely.
/datum/weather/virgo3c/ash_storm_safe
name = "light ash storm"
icon_state = "ashfall_moderate"
light_modifier = 0.1
light_color = "#FF0000"
temp_high = 313.15 // 40c
temp_low = 303.15 // 30c
wind_high = 6
wind_low = 3
flight_failure_modifier = 50
transition_chances = list(
WEATHER_ASH_STORM_SAFE = 100
)
observed_message = "All that can be seen is black smoldering ash."
transition_messages = list(
"Smoldering clouds of scorching ash billow down around you!"
)
// Lets recycle.
outdoor_sounds_type = /datum/looping_sound/weather/outside_blizzard
indoor_sounds_type = /datum/looping_sound/weather/inside_blizzard
// Totally radical.
/datum/weather/virgo3c/fallout
name = "fallout"

View File

@@ -109,6 +109,7 @@ var/datum/planet/virgo4/planet_virgo4 = null
WEATHER_BLOOD_MOON = new /datum/weather/virgo4/blood_moon(),
WEATHER_EMBERFALL = new /datum/weather/virgo4/emberfall(),
WEATHER_ASH_STORM = new /datum/weather/virgo4/ash_storm(),
WEATHER_ASH_STORM_SAFE = new /datum/weather/virgo4/ash_storm_safe(),
WEATHER_FALLOUT = new /datum/weather/virgo4/fallout()
)
roundstart_weather_chances = list(
@@ -452,6 +453,28 @@ var/datum/planet/virgo4/planet_virgo4 = null
L.inflict_heat_damage(rand(1, 3))
//A non-lethal variant of the ash_storm. Stays on indefinitely.
/datum/weather/virgo4/ash_storm_safe
name = "light ash storm"
icon_state = "ashfall_moderate"
light_modifier = 0.1
light_color = "#FF0000"
temp_high = 323.15 // 50c
temp_low = 313.15 // 40c
wind_high = 6
wind_low = 3
flight_failure_modifier = 50
transition_chances = list(
WEATHER_ASH_STORM_SAFE = 100
)
observed_message = "All that can be seen is black smoldering ash."
transition_messages = list(
"Smoldering clouds of scorching ash billow down around you!"
)
// Lets recycle.
outdoor_sounds_type = /datum/looping_sound/weather/outside_blizzard
indoor_sounds_type = /datum/looping_sound/weather/inside_blizzard
// Totally radical.
/datum/weather/virgo4/fallout

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 36 KiB