Commit Graph

2 Commits

Author SHA1 Message Date
Wuzzy
9113538142
DevTest: Formspec tests, children getter, better lighttool (#10918) 2021-03-16 18:37:24 +01:00
HybridDog
2f4037752b
Add minetest.get_artificial_light and minetest.get_natural_light (#5680)
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).

Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-06 20:49:46 +02:00