From 1320af31fc43cb4a74bd2f0956213f420fe7f0a4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 5 Jun 2017 23:35:45 +0200 Subject: [PATCH] Customize clouds: Lower height, thinner, fly to -X --- mods/ENVIRONMENT/weather_pack/depends.txt | 1 + mods/ENVIRONMENT/weather_pack/skycolor.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mods/ENVIRONMENT/weather_pack/depends.txt b/mods/ENVIRONMENT/weather_pack/depends.txt index cdd7ddcc1..47f1b63e9 100644 --- a/mods/ENVIRONMENT/weather_pack/depends.txt +++ b/mods/ENVIRONMENT/weather_pack/depends.txt @@ -1,2 +1,3 @@ mcl_init +mcl_util lightning? diff --git a/mods/ENVIRONMENT/weather_pack/skycolor.lua b/mods/ENVIRONMENT/weather_pack/skycolor.lua index 7c54dfb04..d927b45a1 100644 --- a/mods/ENVIRONMENT/weather_pack/skycolor.lua +++ b/mods/ENVIRONMENT/weather_pack/skycolor.lua @@ -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)