From 1348d9aaf834faa613bf3efe3a9d8fee758e85d0 Mon Sep 17 00:00:00 2001 From: x2048 Date: Thu, 7 Apr 2022 21:55:19 +0200 Subject: Enable shadows by default in devtest (#12157) * Move all shadow control to util_commands * Shadows are now controlled with /set_shadow Co-authored-by: sfan5 --- games/devtest/mods/experimental/lighting.lua | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 games/devtest/mods/experimental/lighting.lua (limited to 'games/devtest/mods/experimental/lighting.lua') diff --git a/games/devtest/mods/experimental/lighting.lua b/games/devtest/mods/experimental/lighting.lua deleted file mode 100644 index 2b350550f..000000000 --- a/games/devtest/mods/experimental/lighting.lua +++ /dev/null @@ -1,8 +0,0 @@ -core.register_chatcommand("set_lighting", { - params = "shadow_intensity", - description = "Set lighting parameters.", - func = function(player_name, param) - local shadow_intensity = tonumber(param) - minetest.get_player_by_name(player_name):set_lighting({shadows = { intensity = shadow_intensity} }) - end -}) \ No newline at end of file -- cgit v1.2.3