})
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()
-})
+minetest.register_alias("xdecor:crate", "default:chess")
xdecor.register("cushion", {
description = "Cushion",
}
})
-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 = {
on_receive_fields = worktable.fields,
on_metadata_inventory_put = worktable.on_put,
on_metadata_inventory_take = worktable.on_take,
- on_metadata_inventory_move = worktable.on_move,
allow_metadata_inventory_put = worktable.put,
allow_metadata_inventory_take = worktable.take,
allow_metadata_inventory_move = worktable.move