20 lines
586 B
Lua
20 lines
586 B
Lua
local S = minetest.get_translator(minetest.get_current_modname())
|
|
|
|
minetest.register_node("bale:bale", {
|
|
description = S("Bale"),
|
|
tiles = {"bale_bale.png"},
|
|
is_ground_content = false,
|
|
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
|
|
flammable = 3, feeder = 1},
|
|
sounds = default.node_sound_defaults(),
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'bale:bale',
|
|
recipe = {
|
|
{'farming:wheat', 'farming:wheat', 'farming:wheat'},
|
|
{'farming:wheat', 'farming:string', 'farming:wheat'},
|
|
{'farming:wheat', 'farming:wheat', 'farming:wheat'},
|
|
}
|
|
})
|