talk tool for animals now depends only on mobs_redo craftitems and textures

This commit is contained in:
Sokomine 2023-09-10 22:11:30 +02:00
parent b3c06c988d
commit 0450857a76

View File

@ -48,7 +48,7 @@ if(minetest.get_modpath("mobs_animal")) then
-- As a workaround, you need to wield this tool and punch or right-click them with it.
minetest.register_craftitem("npc_talk:talk_tool", {
description = "Punch a suitable animal (white or red sheep, cow) with this tool to talk to it",
inventory_image = "default_book.png^mobs_magic_lasso.png",
inventory_image = "mobs_magic_lasso.png^mobs_shears.png",
groups = {book = 1},
on_use = npc_talk.talk_tool,
on_place = npc_talk.talk_tool,
@ -58,8 +58,8 @@ if(minetest.get_modpath("mobs_animal")) then
minetest.register_craft({
output = "npc_talk:talk_tool",
recipe = {
{"mobs:shears"},
{"mobs:lasso"},
{"default:book"},
},
})
end