_
This commit is contained in:
parent
c8c53ddda1
commit
04ee2b972e
@ -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.
|
|
1
init.lua
1
init.lua
@ -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).=
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Loading…
Reference in New Issue
Block a user