aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/experimental/lighting.lua
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest/mods/experimental/lighting.lua')
-rw-r--r--games/devtest/mods/experimental/lighting.lua8
1 files changed, 0 insertions, 8 deletions
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