summaryrefslogtreecommitdiff
path: root/games/devtest/mods/testtools/light.lua
Commit message (Collapse)AuthorAge
* Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog2020-10-06
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>