This commit is contained in:
Bruno Rybársky 2022-08-13 10:54:14 +02:00
parent c8c53ddda1
commit 04ee2b972e
5 changed files with 1 additions and 14 deletions

View File

@ -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.

View File

@ -13,6 +13,7 @@ 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

View File

@ -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).

View File

@ -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