Customize clouds: Lower height, thinner, fly to -X

This commit is contained in:
Wuzzy 2017-06-05 23:35:45 +02:00
parent d497205c98
commit 1320af31fc
2 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,3 @@
mcl_init mcl_init
mcl_util
lightning? lightning?

View File

@ -216,6 +216,9 @@ local initsky = function(player)
if (skycolor.active) then if (skycolor.active) then
skycolor.force_update = true skycolor.force_update = true
end end
-- MC-style clouds: Layer 127, thickness 4, fly to the “West”
player:set_clouds({height=mcl_util.layer_to_y(127), speed={x=-2, y=0}, thickness=4})
end end
minetest.register_on_joinplayer(initsky) minetest.register_on_joinplayer(initsky)