aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2023-03-24 12:34:21 +0100
committerGitHub <noreply@github.com>2023-03-24 12:34:21 +0100
commitf3b198e49008ea3aba568974c8f423fdc801d4a2 (patch)
tree8eca17900d17554aa8d43a62a9448a50fd3e3c19 /doc/lua_api.txt
parent9af587c54ebacd6708cc57902278c30556b6aaa0 (diff)
downloadminetest-f3b198e49008ea3aba568974c8f423fdc801d4a2.tar.xz
Return shadow_sky_body_orbit_tilt setting
Used as a default value when the game does not change the value via API (e.g. legacy server)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a427854c9..fdc8e77d8 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -7416,8 +7416,10 @@ child will follow movement and rotation of that bone.
* `sky_parameters` is a table with the following optional fields:
* `base_color`: ColorSpec, changes fog in "skybox" and "plain".
(default: `#ffffff`)
- * `body_orbit_tilt`: Float, angle of sun/moon orbit in degrees, relative to Y axis.
- Valid range [-60.0,60.0] (default: 0.0)
+ * `body_orbit_tilt`: Float, rotation angle of sun/moon orbit in degrees.
+ By default, orbit is controlled by a client-side setting, and this field is not set.
+ After a value is assigned, it can only be changed to another float value.
+ Valid range [-60.0,60.0] (default: not set)
* `type`: Available types:
* `"regular"`: Uses 0 textures, `base_color` ignored
* `"skybox"`: Uses 6 textures, `base_color` used as fog.