mirror of
https://github.com/minetest-mods/technic.git
synced 2025-01-03 03:07:36 +01:00
Remove default bronze recipe.
This commit is contained in:
parent
f64956be4d
commit
5ed47abee6
@ -167,3 +167,24 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("technic:nothing", {
|
||||||
|
description = "",
|
||||||
|
inventory_image = "blank.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "technic:nothing",
|
||||||
|
recipe = {
|
||||||
|
{"default:copper_ingot", "default:steel_ingot"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if minetest.register_craft_predict then
|
||||||
|
minetest.register_craft_predict(function(itemstack, player, old_craft_grid, craft_inv)
|
||||||
|
if itemstack:get_name() == "technic:nothing" then
|
||||||
|
return ItemStack("")
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user