mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Customize clouds: Lower height, thinner, fly to -X
This commit is contained in:
parent
d497205c98
commit
1320af31fc
2 changed files with 4 additions and 0 deletions
|
@ -1,2 +1,3 @@
|
||||||
mcl_init
|
mcl_init
|
||||||
|
mcl_util
|
||||||
lightning?
|
lightning?
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue