aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/soundstuff/init.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/soundstuff/init.lua
parentb3ace8f19746b53f839e7b0bdff0843c83866f64 (diff)
downloadhax-minetest-server-9faeca329039f33f7e2af99eb021cea5b18beceb.tar.gz
hax-minetest-server-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/soundstuff/init.lua')
-rw-r--r--games/devtest/mods/soundstuff/init.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/devtest/mods/soundstuff/init.lua b/games/devtest/mods/soundstuff/init.lua
index 22012ba14..40ad8f562 100644
--- a/games/devtest/mods/soundstuff/init.lua
+++ b/games/devtest/mods/soundstuff/init.lua
@@ -107,7 +107,8 @@ minetest.register_node("soundstuff:footstep_climbable", {
minetest.register_craftitem("soundstuff:eat", {
- description = "Eat Sound Item",
+ description = "Eat Sound Item".."\n"..
+ "Makes a sound when 'eaten' (with punch key)",
inventory_image = "soundstuff_eat.png",
on_use = minetest.item_eat(0),
sound = {
@@ -116,7 +117,9 @@ minetest.register_craftitem("soundstuff:eat", {
})
minetest.register_tool("soundstuff:breaks", {
- description = "Break Sound Tool",
+ description = "Break Sound Tool".."\n"..
+ "Digs cracky=3 and more".."\n"..
+ "Makes a sound when it breaks",
inventory_image = "soundstuff_node_dug.png",
sound = {
breaks = { name = "soundstuff_mono", gain = 1.0 },