Always drop netherrack and make bread MC like
parent
b6c687873f
commit
22fd84c7d5
|
@ -352,30 +352,16 @@ minetest.register_craftitem("farming:wheat", {
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("farming:flour", {
|
|
||||||
description = "Flour",
|
|
||||||
inventory_image = "farming_flour.png",
|
|
||||||
stack_max = 64,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("farming:bread", {
|
minetest.register_craftitem("farming:bread", {
|
||||||
description = "Bread",
|
description = "Bread",
|
||||||
inventory_image = "farming_bread.png",
|
inventory_image = "farming_bread.png",
|
||||||
stack_max = 64,
|
stack_max = 1,
|
||||||
on_use = minetest.item_eat(4),
|
on_use = minetest.item_eat(5),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
|
||||||
output = "farming:flour",
|
|
||||||
recipe = {"farming:wheat", "farming:wheat", "farming:wheat", "farming:wheat"}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "cooking",
|
|
||||||
cooktime = 15,
|
|
||||||
output = "farming:bread",
|
output = "farming:bread",
|
||||||
recipe = "farming:flour"
|
recipe = {"farming:wheat", "farming:wheat", "farming:wheat"},
|
||||||
})
|
})
|
||||||
|
|
||||||
for i=1,8 do
|
for i=1,8 do
|
||||||
|
|
|
@ -320,13 +320,6 @@ minetest.register_node("nether:rack", {
|
||||||
description = "Netherrack",
|
description = "Netherrack",
|
||||||
tiles = {"nether_rack.png"},
|
tiles = {"nether_rack.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
drop = {
|
|
||||||
max_items = 1,
|
|
||||||
items = {{
|
|
||||||
rarity = 3,
|
|
||||||
items = {"nether:rack"},
|
|
||||||
}}
|
|
||||||
},
|
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = {cracky=default.dig.netherrack},
|
groups = {cracky=default.dig.netherrack},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
|
Loading…
Reference in New Issue