1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-07-18 16:30:31 +02:00

Change weather to be outside only, add underground skybox, add hud overlays

This commit is contained in:
Till Affeldt
2020-04-16 08:04:06 +02:00
parent 1e1126abcd
commit bac1618a3c
15 changed files with 71 additions and 19 deletions

View File

@ -2,15 +2,17 @@ local name = "regional_weather:ambient"
local CLOUD_SPEED = 1.8
local conditions = {}
local conditions = {
min_light = 15
}
local function generate_effects(params)
local override = {}
override["climate_api:clouds"] = {
--[[override["climate_api:clouds"] = {
size = climate_api.utility.rangelim(params.humidity / 100, 0.25, 0.98),
speed = vector.multiply(params.wind, CLOUD_SPEED)
}
}]]
local movement = params.player:get_player_velocity()
local movement_direction