mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-28 17:46:28 -04:00
shadowninja update
This commit is contained in:
parent
5bf25d25ef
commit
c7860e7acc
1 changed files with 3 additions and 3 deletions
|
@ -85,12 +85,12 @@ farming.register_hoe = function(name, def)
|
|||
-- Register its recipe
|
||||
if def.material == nil then
|
||||
minetest.register_craft({
|
||||
output = name:gsub(":", "", 1),
|
||||
output = name:sub(2),
|
||||
recipe = def.recipe
|
||||
})
|
||||
else
|
||||
minetest.register_craft({
|
||||
output = name:gsub(":", "", 1),
|
||||
output = name:sub(2),
|
||||
recipe = {
|
||||
{def.material, def.material, ""},
|
||||
{"", "group:stick", ""},
|
||||
|
@ -99,7 +99,7 @@ farming.register_hoe = function(name, def)
|
|||
})
|
||||
-- Reverse Recipe
|
||||
minetest.register_craft({
|
||||
output = name:gsub(":", "", 1),
|
||||
output = name:sub(2),
|
||||
recipe = {
|
||||
{"", def.material, def.material},
|
||||
{"", "group:stick", ""},
|
||||
|
|
Loading…
Add table
Reference in a new issue