mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Merge pull request 'More Sky Improvements' (#3391) from more_sky_improvements into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3391 Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
This commit is contained in:
commit
d454697953
2 changed files with 17 additions and 3 deletions
|
@ -11,16 +11,22 @@ function mcl_weather.set_sky_box_clear(player, sky, fog)
|
|||
local sc = {
|
||||
day_sky = "#7BA4FF",
|
||||
day_horizon = "#C0D8FF",
|
||||
dawn_sky = "#B4BAFA",
|
||||
dawn_horizon = "#BAC1F0",
|
||||
dawn_sky = "#7BA4FF",
|
||||
dawn_horizon = "#C0D8FF",
|
||||
night_sky = "#000000",
|
||||
night_horizon = "#4A6790",
|
||||
indoors = "#C0D8FF",
|
||||
fog_sun_tint = "#ff5f33",
|
||||
fog_moon_tint = nil,
|
||||
fog_tint_type = "custom"
|
||||
}
|
||||
if sky then
|
||||
sc.day_sky = sky
|
||||
sc.dawn_sky = sky
|
||||
end
|
||||
if fog then
|
||||
sc.day_horizon = fog
|
||||
sc.dawn_horizon = fog
|
||||
end
|
||||
player:set_sky({
|
||||
type = "regular",
|
||||
|
@ -128,8 +134,12 @@ mcl_weather.skycolor = {
|
|||
dawn_horizon = water_color,
|
||||
night_sky = water_color,
|
||||
night_horizon = water_color,
|
||||
indoors = water_color,
|
||||
fog_sun_tint = water_color,
|
||||
fog_moon_tint = water_color,
|
||||
fog_tint_type = "custom"
|
||||
},
|
||||
clouds = true,
|
||||
clouds = false,
|
||||
})
|
||||
end
|
||||
if dim == "overworld" then
|
||||
|
@ -258,6 +268,10 @@ mcl_weather.skycolor = {
|
|||
dawn_horizon = biomefog,
|
||||
night_sky = biomefog,
|
||||
night_horizon = biomefog,
|
||||
indoors = biomefog,
|
||||
fog_sun_tint = biomefog,
|
||||
fog_moon_tint = biomefog,
|
||||
fog_tint_type = "custom"
|
||||
},
|
||||
clouds = false,
|
||||
})
|
||||
|
|
BIN
textures/sunrisebg.png
Normal file
BIN
textures/sunrisebg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 106 B |
Loading…
Reference in a new issue