Add hud overlay effect, increase global tick cycle, improve skybox and sound effects

This commit is contained in:
Till Affeldt
2020-04-16 08:05:16 +02:00
parent f42f8481da
commit 7f8f1a77f2
11 changed files with 110 additions and 73 deletions

View File

@ -15,6 +15,7 @@ function trigger.get_player_environment(player)
env.humidity = climate_api.environment.get_humidity(ppos)
env.time = minetest.get_timeofday()
env.date = minetest.get_day_count()
env.light = minetest.get_node_light(vector.add(ppos, vector.new({x=0,y=1.5,z=0})), 0.5)
return env
end