From ffdbc8bffd5564487f7eeb7b0a65418ecf74989a Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 14 Feb 2016 12:08:11 +0100 Subject: [PATCH] Drop the crate (texture is too ugly) --- nodes.lua | 9 +-------- recipes.lua | 9 --------- textures/xdecor_crate.png | Bin 381 -> 0 bytes worktable.lua | 1 - 4 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 textures/xdecor_crate.png diff --git a/nodes.lua b/nodes.lua index 7cbaec1..b9b93f0 100644 --- a/nodes.lua +++ b/nodes.lua @@ -184,14 +184,7 @@ for _, c in pairs({"red"}) do -- Add more curtains colors simply here. }) 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", diff --git a/recipes.lua b/recipes.lua index b4bc5fa..8da6fcc 100644 --- a/recipes.lua +++ b/recipes.lua @@ -96,15 +96,6 @@ 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 = { diff --git a/textures/xdecor_crate.png b/textures/xdecor_crate.png deleted file mode 100644 index a2f82e12ee533f3ca396a9362d7905a65aecc363..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 381 zcmV-@0fPRCP)FuKle>3qoOM#W*?+T304Ld^Ty z6aHPZhy`#N5)lC83?k&bBlIbG1;AtgSpEI@nofkf)`ukXvN9Q~!nchBkVF7DX2m6u zG0Dq=4@pAIzM*+pNhfIAF*|0ZDY|R@BobooW4iMW0O^DxsS_&gJ|+b)87fBAiE=7! zH4H%V!BV01F=@(zRu!!+bTRWAU2Tj`w67hPWz>Yfv@7%;x{vAgu|}6Qlng|$n!Rg% zKT7=GoD|_AKSBV^%WCyKOdGnSRL*ff`c4=00000NkvXXu0mjfM`M=1 diff --git a/worktable.lua b/worktable.lua index 25cb8cb..4217dfa 100644 --- a/worktable.lua +++ b/worktable.lua @@ -339,7 +339,6 @@ xdecor.register("worktable", { 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