Nerfs wind

This commit is contained in:
atermonera
2023-02-04 23:41:24 -08:00
parent 0784e40a1e
commit 51fe482224
3 changed files with 4 additions and 4 deletions
@@ -152,7 +152,7 @@
if(WH && WH.wind_speed) // Is there any wind?
// With the wind.
if(direct & WH.wind_dir)
. = max(. - WH.wind_speed, -1) // Wind speedup is capped to prevent supersonic speeds from a storm.
. = max(. - WH.wind_speed, -0.5) // Wind speedup is capped to prevent supersonic speeds from a storm.
// Against it.
else if(direct & reverse_dir[WH.wind_dir])
. += WH.wind_speed
+1 -1
View File
@@ -275,7 +275,7 @@ var/global/datum/planet/sif/planet_sif = null
/datum/weather/sif/rain
name = "rain"
icon_state = "rain"
wind_high = 2
wind_high = 1
wind_low = 0
light_modifier = 0.5
effect_message = "<span class='warning'>Rain falls on you.</span>"
+2 -2
View File
@@ -109,7 +109,7 @@
our_planet.needs_work |= PLANET_PROCESS_TEMP
/datum/weather_holder/proc/update_wind()
var/new_wind_speed = rand(current_weather.wind_low, current_weather.wind_high)
var/new_wind_speed = round(rand() * (current_weather.wind_high - current_weather.wind_low) + current_weather.wind_low, 0.5)
if(!new_wind_speed)
wind_speed = 0
wind_dir = 0
@@ -257,4 +257,4 @@
// This is for special effects for specific types of weather, such as lightning flashes in a storm.
// It's a seperate object to allow the use of flick().
/atom/movable/weather_visuals/special
plane = PLANE_LIGHTING_ABOVE
plane = PLANE_LIGHTING_ABOVE