Merge pull request 'Put back default sky and fog color.' (#3201) from fix_v6_sky_color into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3201
Reviewed-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
This commit is contained in:
FossFanatic 2022-12-29 07:59:28 +00:00
commit ab1cfde34d

View file

@ -9,8 +9,8 @@ function mcl_weather.set_sky_box_clear(player, sky, fog)
local pos = player:get_pos() local pos = player:get_pos()
if minetest.get_item_group(minetest.get_node(vector.new(pos.x,pos.y+1.5,pos.z)).name, "water") ~= 0 then return end if minetest.get_item_group(minetest.get_node(vector.new(pos.x,pos.y+1.5,pos.z)).name, "water") ~= 0 then return end
local sc = { local sc = {
day_sky = "#0000FF", -- Pure blue to make debugging this stuff easier. Not visible during normal gameplay. day_sky = "#7BA4FF",
day_horizon = "#FF0000", -- Pure red to make debugging this stuff easier. Not visible during normal gameplay. day_horizon = "#C0D8FF",
dawn_sky = "#B4BAFA", dawn_sky = "#B4BAFA",
dawn_horizon = "#BAC1F0", dawn_horizon = "#BAC1F0",
night_sky = "#000000", night_sky = "#000000",