Work around dynamic shadows (MT5.5+)

- Disable them by default in SP
- Set time of day to midnight and lock it there
This commit is contained in:
Aaron Suen 2021-06-20 10:42:53 -04:00
parent a722bd8a9f
commit 2e55976a72
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1,2 @@
movement_liquid_sink = 0
movement_liquid_sink = 0
enable_dynamic_shadows = false

View File

@ -7,6 +7,9 @@ local math_ceil, math_floor, math_log, string_gsub
nodecore.amcoremod()
minetest.settings:set("time_speed", 0)
minetest.set_timeofday(0)
local basetextures = {}
for i = 1, 6 do
basetextures[i] = "nc_player_sky_box" .. i .. ".png"