mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-27 23:28:10 +01:00
Nerfs wind
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user