diff --git a/integrations/epic_skybox.lua b/integrations/epic_skybox.lua index fbd6100..dc2dff8 100644 --- a/integrations/epic_skybox.lua +++ b/integrations/epic_skybox.lua @@ -7,6 +7,11 @@ area_effects.register_hook({ if data and data.skybox then for _, skyboxdef in ipairs(epic_skybox.list) do if skyboxdef.name == data.skybox then + minetest.log( + "action", + "[area_effects] setting skybox " .. skyboxdef.name .. + " for player" .. player:get_player_name() + ) epic_skybox.set_skybox(player, skyboxdef) break end @@ -17,6 +22,11 @@ area_effects.register_hook({ leave = function(player, id) local data = area_effects.get(id) if data and data.skybox then + minetest.log( + "action", + "[area_effects] clearing skybox " .. + " for player" .. player:get_player_name() + ) epic_skybox.set_skybox(player, {}) end end diff --git a/integrations/no_clouds.lua b/integrations/no_clouds.lua index 1195ea7..e03def9 100644 --- a/integrations/no_clouds.lua +++ b/integrations/no_clouds.lua @@ -5,6 +5,11 @@ area_effects.register_hook({ enter = function(player, id) local data = area_effects.get(id) if data and data.no_clouds then + minetest.log( + "action", + "[area_effects] setting no_clouds" .. + " for player" .. player:get_player_name() + ) player:set_clouds({density=0,speed=0}) end end, @@ -12,6 +17,11 @@ area_effects.register_hook({ leave = function(player, id) local data = area_effects.get(id) if data and data.no_clouds then + minetest.log( + "action", + "[area_effects] setting clouds" .. + " for player" .. player:get_player_name() + ) player:set_clouds({ thickness=16, color={r=243, g=214, b=255, a=229},