forked from VoxeLibre/VoxeLibre
Customize clouds: Lower height, thinner, fly to -X
This commit is contained in:
parent
d497205c98
commit
1320af31fc
|
@ -1,2 +1,3 @@
|
|||
mcl_init
|
||||
mcl_util
|
||||
lightning?
|
||||
|
|
|
@ -216,6 +216,9 @@ local initsky = function(player)
|
|||
if (skycolor.active) then
|
||||
skycolor.force_update = true
|
||||
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
|
||||
|
||||
minetest.register_on_joinplayer(initsky)
|
||||
|
|
Loading…
Reference in New Issue