summaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes/light.lua
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-09-04 20:50:03 +0200
committerGitHub <noreply@github.com>2020-09-04 20:50:03 +0200
commit9faeca329039f33f7e2af99eb021cea5b18beceb (patch)
tree8f49a7e581457bfff9086e2597df18b649760057 /games/devtest/mods/testnodes/light.lua
parentb3ace8f19746b53f839e7b0bdff0843c83866f64 (diff)
downloadminetest-9faeca329039f33f7e2af99eb021cea5b18beceb.tar.gz
minetest-9faeca329039f33f7e2af99eb021cea5b18beceb.tar.bz2
minetest-9faeca329039f33f7e2af99eb021cea5b18beceb.zip
Devtest: Extend tooltips of many items and tools (#10312)
Also show error message when using tools wrong
Diffstat (limited to 'games/devtest/mods/testnodes/light.lua')
-rw-r--r--games/devtest/mods/testnodes/light.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/devtest/mods/testnodes/light.lua b/games/devtest/mods/testnodes/light.lua
index 94409e83f..8ab4416d9 100644
--- a/games/devtest/mods/testnodes/light.lua
+++ b/games/devtest/mods/testnodes/light.lua
@@ -22,7 +22,8 @@ end
-- Lets light through, but not sunlight, leading to a
-- reduction in light level when light passes through
minetest.register_node("testnodes:sunlight_filter", {
- description = S("Sunlight Filter"),
+ description = S("Sunlight Filter") .."\n"..
+ S("Lets light through, but weakens sunlight"),
paramtype = "light",
@@ -35,7 +36,8 @@ minetest.register_node("testnodes:sunlight_filter", {
-- Lets light and sunlight through without obstruction
minetest.register_node("testnodes:sunlight_propagator", {
- description = S("Sunlight Propagator"),
+ description = S("Sunlight Propagator") .."\n"..
+ S("Lets all light through"),
paramtype = "light",
sunlight_propagates = true,