Move hay bale to mcl_farming

This commit is contained in:
Wuzzy 2017-02-16 21:44:53 +01:00
parent 8aff6fdbb5
commit 5827b15ec5
6 changed files with 35 additions and 35 deletions

View file

@ -408,22 +408,6 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = 'mcl_core:haybale',
recipe = {
{'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'},
{'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'},
{'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'},
}
})
minetest.register_craft({
output = 'mcl_farming:wheat_item 9',
recipe = {
{'mcl_core:haybale'},
}
})
minetest.register_craft({ minetest.register_craft({
output = 'mcl_core:coalblock', output = 'mcl_core:coalblock',
recipe = { recipe = {

View file

@ -441,18 +441,6 @@ minetest.register_node("mcl_core:brick_block", {
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
}) })
minetest.register_node("mcl_core:haybale", {
description = "Hay Bale",
tiles = {"default_hayblock_top.png", "default_hayblock_top.png", "default_hayblock_side.png"},
is_ground_content = false,
stack_max = 64,
paramtype2 = "facedir",
is_ground_content = false,
on_place = mcl_util.rotate_axis,
groups = {oddly_breakable_by_hand=3,flammable=2, building_block=1},
sounds = mcl_sounds.node_sound_leaves_defaults(),
})
minetest.register_node("mcl_core:bone_block", { minetest.register_node("mcl_core:bone_block", {
description = "Bone Block", description = "Bone Block",
tiles = {"mcl_core_bone_block_top.png", "mcl_core_bone_block_top.png", "mcl_core_bone_block_side.png"}, tiles = {"mcl_core_bone_block_top.png", "mcl_core_bone_block_top.png", "mcl_core_bone_block_side.png"},

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -162,3 +162,31 @@ minetest.register_craftitem("mcl_farming:bread", {
on_secondary_use = minetest.item_eat(5), on_secondary_use = minetest.item_eat(5),
}) })
minetest.register_node("mcl_farming:hay_block", {
description = "Hay Bale",
tiles = {"mcl_farming_hayblock_top.png", "mcl_farming_hayblock_top.png", "mcl_farming_hayblock_side.png"},
is_ground_content = false,
stack_max = 64,
paramtype2 = "facedir",
is_ground_content = false,
on_place = mcl_util.rotate_axis,
groups = {oddly_breakable_by_hand=3,flammable=2, building_block=1},
sounds = mcl_sounds.node_sound_leaves_defaults(),
})
minetest.register_craft({
output = 'mcl_farming:hay_block',
recipe = {
{'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'},
{'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'},
{'mcl_farming:wheat_item', 'mcl_farming:wheat_item', 'mcl_farming:wheat_item'},
}
})
minetest.register_craft({
output = 'mcl_farming:wheat_item 9',
recipe = {
{'mcl_farming:hay_block'},
}
})

View file

@ -14,9 +14,9 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "mcl_sponges:sponge", output = "mcl_sponges:sponge",
recipe = { recipe = {
{ "mcl_core:haybale", "mcl_core:haybale", "mcl_core:haybale" }, { "mcl_farming:hay_block", "mcl_farming:hay_block", "mcl_farming:hay_block" },
{ "mcl_core:haybale", "mcl_core:emerald", "mcl_core:haybale" }, { "mcl_farming:hay_block", "mcl_core:emerald", "mcl_farming:hay_block" },
{ "mcl_core:haybale", "mcl_core:haybale", "mcl_core:haybale" }, { "mcl_farming:hay_block", "mcl_farming:hay_block", "mcl_farming:hay_block" },
} }
}) })
@ -174,15 +174,15 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "mcl_farming:beetroot_seeds", output = "mcl_farming:beetroot_seeds",
recipe = { recipe = {
{"mcl_core:haybale","mcl_farming:wheat_seeds"}, {"mcl_farming:hay_block","mcl_farming:wheat_seeds"},
{"mcl_farming:wheat_seeds","mcl_core:haybale"}, {"mcl_farming:wheat_seeds","mcl_farming:hay_block"},
}, },
}) })
minetest.register_craft({ minetest.register_craft({
output = "mcl_farming:beetroot_seeds", output = "mcl_farming:beetroot_seeds",
recipe = { recipe = {
{"mcl_farming:wheat_seeds","mcl_core:haybale"}, {"mcl_farming:wheat_seeds","mcl_farming:hay_block"},
{"mcl_core:haybale","mcl_farming:wheat_seeds"}, {"mcl_farming:hay_block","mcl_farming:wheat_seeds"},
}, },
}) })
minetest.register_craft({ minetest.register_craft({