Add doc aliases

This commit is contained in:
Wuzzy 2016-08-15 19:46:27 +02:00
parent 6b00a8dd70
commit 51733ec835

View File

@ -114,7 +114,7 @@ minetest.register_tool("doc_identifier:identifier_liquid", {
description = "Lookup tool",
tool_capabilities = {},
range = 10,
groups = { not_in_creative_inventory = 1 },
groups = { not_in_creative_inventory = 1, not_in_doc = 1 },
wield_image = "doc_identifier_identifier_liquid.png",
inventory_image = "doc_identifier_identifier_liquid.png",
liquids_pointable = true,
@ -145,3 +145,4 @@ doc.sub.items.set_items_longdesc(
{ ["doc_identifier:identifier_solid"] = "This useful little helper can be used to quickly learn more about about one's closer environment. It identifies and analyzes blocks, items and other things and it shows extensive information about the thing on which it is used." })
doc.sub.items.set_items_usagehelp(
{ ["doc_identifier:identifier_solid"] = "Punch any block, item or other thing about you wish to learn more about. This will open up the Documentation System entry of this particular item. The tool comes in two modes which are changed by a rightclick. In liquid mode (blue) this tool points to liquids as well while in solid mode (red) this is not the case. Liquid mode is required if you want to identify a liquid." })
doc.add_entry_alias("tools", "doc_identifier:identifier_solid", "doc_identifier:identifier_liquid")