aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testtools/light.lua
AgeCommit message (Collapse)Author
2020-10-06Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog
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>