mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-21 14:45:21 -04:00
Add hud overlay effect, increase global tick cycle, improve skybox and sound effects
This commit is contained in:
parent
f42f8481da
commit
7f8f1a77f2
11 changed files with 110 additions and 73 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue