mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Devtest: Extend tooltips of many items and tools (#10312)
Also show error message when using tools wrong
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user