Update doc modpack (1.2.2)

This commit is contained in:
Wuzzy 2018-03-27 15:08:31 +02:00
parent ed63c32f07
commit 2606c264b9
11 changed files with 23 additions and 23 deletions

View file

@ -1,5 +1,5 @@
# Lookup Tool [`doc_identifier`]
Version: 1.2.1
Version: 1.2.2
## Description
The lookup tool is an useful little helper which can be used to quickly learn

View file

@ -36,7 +36,7 @@ doc_identifier.identify = function(itemstack, user, pointed_thing)
mod = string.sub(param,1,colon-1)
end
end
message = S("Error: This node, item or object is undefined. This is always an error.\nThis can happen for the following reasons:\n• The mod which is required for it is not enabled\n• The author of the subgame or a mod has made a mistake")
message = S("Error: This node, item or object is undefined. This is always an error.\nThis can happen for the following reasons:\n• The mod which is required for it is not enabled\n• The author of the game or a mod has made a mistake")
message = message .. "\n\n"
if mod ~= nil then
@ -152,7 +152,7 @@ function doc_identifier.liquid_mode(itemstack, user, pointed_thing)
-- Use pointed node's on_rightclick function first, if present
if pointed_thing.type == "node" then
local node = minetest.get_node(pointed_thing.under)
if user and not user:get_player_control().sneak then
if user and not user:get_player_control().sneak then
if minetest.registered_nodes[node.name] and minetest.registered_nodes[node.name].on_rightclick then
return minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under, node, user, itemstack) or itemstack
end
@ -190,19 +190,19 @@ minetest.register_tool("doc_identifier:identifier_liquid", {
on_secondary_use = doc_identifier.solid_mode,
})
-- TODO: These crafting recipes are temporary. Add a different way to obtain the lookup tool
--- TODO: These crafting recipes are temporary. Add a different way to obtain the lookup tool
minetest.register_craft({
output = "doc_identifier:identifier_solid",
recipe = { {"group:stick", "group:stick" },
{"", "group:stick"},
{"group:stick", ""} }
})
if minetest.get_modpath("mcl_core") ~= nil then
minetest.register_craft({
output = "doc_identifier:identifier_solid",
recipe = { {"mcl_core:stick", "mcl_core:stick" },
{"", "mcl_core:stick"},
{"mcl_core:stick", ""} }
})
minetest.register_craft({
output = "doc_identifier:identifier_solid",
recipe = { { "mcl_core:glass" },
{ "mcl_core:stick" } }
{ "group:stick" } }
})
end

View file

@ -1,4 +1,4 @@
Error: This node, item or object is undefined. This is always an error.\nThis can happen for the following reasons:\n• The mod which is required for it is not enabled\n• The author of the subgame or a mod has made a mistake = Fehler: Dieser Node, Gegenstand oder dieses Objekt ist nicht definiert.\nDas ist immer ein Fehler.\nDies kann aus folgenden Gründen passieren:\n• Die Mod, die dafür benötigt wird, ist nicht aktiv\n• Der Subgame-Autor oder ein Mod-Autor machte einen Fehler
Error: This node, item or object is undefined. This is always an error.\nThis can happen for the following reasons:\n• The mod which is required for it is not enabled\n• The author of the game or a mod has made a mistake = Fehler: Dieser Node, Gegenstand oder dieses Objekt ist nicht definiert.\nDas ist immer ein Fehler.\nDies kann aus folgenden Gründen passieren:\n• Die Mod, die dafür benötigt wird, ist nicht aktiv\n• Der Spiel-Autor oder ein Mod-Autor machte einen Fehler
It appears to originate from the mod “%s”, which is enabled. = Es scheint von der Mod »%s« zu stammen. Sie ist aktiv.
It appears to originate from the mod “%s”, which is not enabled! = Es scheint von der Mod »%s« zu stammen. Sie ist nicht aktiv!
Its identifier is “%s”. = Der Identifkator ist »%s«.

View file

@ -1,4 +1,4 @@
Error: This node, item or object is undefined. This is always an error.\\nThis can happen for the following reasons:\\n• The mod which is required for it is not enabled\\n• The author of the subgame or a mod has made a mistake =
Error: This node, item or object is undefined. This is always an error.\\nThis can happen for the following reasons:\\n• The mod which is required for it is not enabled\\n• The author of the game or a mod has made a mistake =
It appears to originate from the mod “%s”, which is enabled. =
It appears to originate from the mod “%s”, which is not enabled! =
Its identifier is “%s”. =

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 429 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 414 B

Before After
Before After