Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

5 changed files with 14 additions and 1 deletions

2
README.md Normal file

@ -0,0 +1,2 @@
# enable_shadows
Since recent versions of Minetest 5.6.0-dev the dynamic shadow feature has been disabled by default, being required to enable by the game or modset you're using. This is a small mod that is compatible with any game and that can reenable shadows and control its intensity per-world.

@ -13,7 +13,6 @@ end)
core.register_chatcommand("shadow_intensity", {
params = "<shadow_intensity>",
privs = {server = true},
description = S("Set shadow intensity for the current world."),
func = function(name, param)
local new_intensity

@ -0,0 +1,6 @@
# textdomain: enable_shadows
Set shadow intensity for the current world.=Ställ in skuggintensitet för nuvarande värld.
Invalid intensity.=Ogiltig intensitet
Set intensity to @1.=Ställde intensiteten till @1.
Set intensity to default value (@1).=Ställde intensiteten till standardvärde (@1).

6
locale/template.txt Normal file

@ -0,0 +1,6 @@
# textdomain: enable_shadows
Set shadow intensity for the current world.=
Invalid intensity.=
Set intensity to @1.=
Set intensity to default value (@1).=

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB