summaryrefslogtreecommitdiff
path: root/games/devtest/mods/testpathfinder/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/testpathfinder/init.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/testpathfinder/init.lua')
-rw-r--r--games/devtest/mods/testpathfinder/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/devtest/mods/testpathfinder/init.lua b/games/devtest/mods/testpathfinder/init.lua
index f94848236..67748afca 100644
--- a/games/devtest/mods/testpathfinder/init.lua
+++ b/games/devtest/mods/testpathfinder/init.lua
@@ -121,7 +121,11 @@ end
-- Sneak+punch: Select pathfinding algorithm
-- Place: Select destination node
minetest.register_tool("testpathfinder:testpathfinder", {
- description = S("Pathfinder Tester"),
+ description = S("Pathfinder Tester") .."\n"..
+ S("Finds path between 2 points") .."\n"..
+ S("Place on node: Select destination") .."\n"..
+ S("Punch: Find path from here") .."\n"..
+ S("Sneak+Punch: Change algorithm"),
inventory_image = "testpathfinder_testpathfinder.png",
groups = { testtool = 1, disable_repair = 1 },
on_use = find_path_or_set_algorithm,