aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes/light.lua
diff options
context:
space:
mode:
authorWuzzy <Wuzzy@disroot.org>2022-10-09 14:05:22 +0200
committerGitHub <noreply@github.com>2022-10-09 08:05:22 -0400
commitc1c68775b25314b566a2aae9a304d1b470f5794d (patch)
tree127bdadf77939c194d1ec01696a9a0440f769a7b /games/devtest/mods/testnodes/light.lua
parent804a31818907e737a1ec727580d5822532ff3e6b (diff)
downloadminetest-c1c68775b25314b566a2aae9a304d1b470f5794d.tar.xz
DevTest: Explain purpose of most items in tooltips (#12833)
Diffstat (limited to 'games/devtest/mods/testnodes/light.lua')
-rw-r--r--games/devtest/mods/testnodes/light.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/devtest/mods/testnodes/light.lua b/games/devtest/mods/testnodes/light.lua
index 8ab4416d9..48fb9a893 100644
--- a/games/devtest/mods/testnodes/light.lua
+++ b/games/devtest/mods/testnodes/light.lua
@@ -4,7 +4,7 @@ local S = minetest.get_translator("testnodes")
-- All possible light levels
for i=1, minetest.LIGHT_MAX do
- minetest.register_node("testnodes:light"..i, {
+ minetest.register_node("testnodes:light"..string.format("%02d", i), {
description = S("Light Source (@1)", i),
paramtype = "light",
light_source = i,