From f3b198e49008ea3aba568974c8f423fdc801d4a2 Mon Sep 17 00:00:00 2001 From: x2048 Date: Fri, 24 Mar 2023 12:34:21 +0100 Subject: 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) --- doc/lua_api.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/lua_api.txt') 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. -- cgit v1.2.3