mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-10 02:00:27 +01:00
Make arrows craftable again
This commit is contained in:
parent
541f102b15
commit
5f94a6b27d
4
init.lua
4
init.lua
@ -276,13 +276,13 @@ function throwing.register_arrow(name, def)
|
|||||||
|
|
||||||
if def.itemcraft then
|
if def.itemcraft then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = throwing.modname..":"..name.." "..tostring(def.craft_quantity or 1),
|
output = name.." "..tostring(def.craft_quantity or 1),
|
||||||
recipe = {
|
recipe = {
|
||||||
{def.itemcraft, "default:stick", "default:stick"}
|
{def.itemcraft, "default:stick", "default:stick"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = throwing.modname..":"..name.." "..tostring(def.craft_quantity or 1),
|
output = name.." "..tostring(def.craft_quantity or 1),
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "default:stick", "default:stick", def.itemcraft}
|
{ "default:stick", "default:stick", def.itemcraft}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user