mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-04 23:03:51 +01:00
Adjust crafting of lookup tool
This commit is contained in:
parent
2be856f3d1
commit
14d7a65eb8
@ -1,5 +1,5 @@
|
|||||||
doc
|
doc
|
||||||
doc_items
|
doc_items
|
||||||
doc_basics?
|
doc_basics?
|
||||||
default?
|
mcl_core?
|
||||||
intllib?
|
intllib?
|
||||||
|
@ -170,18 +170,19 @@ minetest.register_tool("doc_identifier:identifier_liquid", {
|
|||||||
on_secondary_use = doc_identifier.solid_mode,
|
on_secondary_use = doc_identifier.solid_mode,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
-- TODO: These crafting recipes are temporary. Add a different way to obtain the lookup tool
|
||||||
output = "doc_identifier:identifier_solid",
|
if minetest.get_modpath("mcl_core") ~= nil then
|
||||||
recipe = { {"group:stick", "group:stick" },
|
|
||||||
{"", "group:stick"},
|
|
||||||
{"group:stick", ""} }
|
|
||||||
})
|
|
||||||
|
|
||||||
if minetest.get_modpath("default") ~= nil then
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "doc_identifier:identifier_solid",
|
output = "doc_identifier:identifier_solid",
|
||||||
recipe = { { "default:glass" },
|
recipe = { {"mcl_core:stick", "mcl_core:stick" },
|
||||||
{ "group:stick" } }
|
{"", "mcl_core:stick"},
|
||||||
|
{"mcl_core:stick", ""} }
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "doc_identifier:identifier_solid",
|
||||||
|
recipe = { { "mcl_core:glass" },
|
||||||
|
{ "mcl_core:stick" } }
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user