Customize clouds: Lower height, thinner, fly to -X
This commit is contained in:
parent
d497205c98
commit
1320af31fc
|
@ -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 New Issue
Block a user