Compare commits

...

1 Commits

Author SHA1 Message Date
04ee2b972e _ 2022-08-13 10:54:14 +02:00
5 changed files with 1 additions and 14 deletions

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

@ -1,6 +0,0 @@
# 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).

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB