By default the "light_source" value from node definition is used but lower by 2. This way the placing torches is not obsolete because of brighter.
Examle: Torch with placed value 13 does shine with 11 if wielded or dropped.
Does work in "air" nodes only, that means shining does not work on ladders, snow, slabs and other nearly empty or airlike nodes.
In addition further items could get or redefined the light value by:
Code: Select all
As external usable API functions exists to be able to use the shining in other mods, see end of README.md file on github and throwing commit for example.