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:
parent
b3ace8f197
commit
9faeca3290
12 changed files with 147 additions and 60 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue