1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Devtest: Extend tooltips of many items and tools (#10312)

Also show error message when using tools wrong
This commit is contained in:
Wuzzy 2020-09-04 20:50:03 +02:00 committed by GitHub
parent b3ace8f197
commit 9faeca3290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 147 additions and 60 deletions

View file

@ -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,