diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-09-04 20:50:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 20:50:03 +0200 |
commit | 9faeca329039f33f7e2af99eb021cea5b18beceb (patch) | |
tree | 8f49a7e581457bfff9086e2597df18b649760057 /games/devtest/mods/experimental | |
parent | b3ace8f19746b53f839e7b0bdff0843c83866f64 (diff) | |
download | minetest-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/experimental')
-rw-r--r-- | games/devtest/mods/experimental/items.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/devtest/mods/experimental/items.lua b/games/devtest/mods/experimental/items.lua index 51b063ba2..94be71cf7 100644 --- a/games/devtest/mods/experimental/items.lua +++ b/games/devtest/mods/experimental/items.lua @@ -44,7 +44,8 @@ minetest.register_node("experimental:callback_node", { }) minetest.register_tool("experimental:privatizer", { - description = "Node Meta Privatizer", + description = "Node Meta Privatizer".."\n".. + "Punch: Marks 'infotext' and 'formspec' meta fields of chest as private", inventory_image = "experimental_tester_tool_1.png", groups = { testtool = 1, disable_repair = 1 }, on_use = function(itemstack, user, pointed_thing) @@ -67,7 +68,8 @@ minetest.register_tool("experimental:privatizer", { }) minetest.register_tool("experimental:particle_spawner", { - description = "Particle Spawner", + description = "Particle Spawner".."\n".. + "Punch: Spawn random test particle", inventory_image = "experimental_tester_tool_1.png^[invert:g", groups = { testtool = 1, disable_repair = 1 }, on_use = function(itemstack, user, pointed_thing) |