Add crate

This commit is contained in:
jp 2015-11-20 11:59:21 +01:00
parent 668105a501
commit 507d4cdff1
3 changed files with 18 additions and 0 deletions

View File

@ -80,6 +80,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "xdecor:crate",
recipe = {
{"group:wood", "group:wood", "group:stick"},
{"group:wood", "group:stick", "group:wood"},
{"group:stick", "group:wood", "group:wood"}
}
})
minetest.register_craft({
output = "xdecor:mossycobble_wall_ln 6",
recipe = {

View File

@ -266,6 +266,15 @@ for _, c in pairs(colors) do
})
end
xdecor.register("crate", {
description = "Crate",
inventory = {size=24},
infotext = "Crate",
tiles = {"xdecor_crate.png"},
groups = {choppy=2, oddly_breakable_by_hand=1, flammable=3},
sounds = default.node_sound_wood_defaults()
})
xdecor.register("cushion", {
description = "Cushion",
tiles = {"xdecor_cushion.png"},

BIN
textures/xdecor_crate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B