]> git.lizzy.rs Git - xdecor.git/commitdiff
Drop the crate (texture is too ugly)
authorJean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Sun, 14 Feb 2016 11:08:11 +0000 (12:08 +0100)
committerJean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Sun, 14 Feb 2016 11:08:11 +0000 (12:08 +0100)
nodes.lua
recipes.lua
textures/xdecor_crate.png [deleted file]
worktable.lua

index 7cbaec18f61750b4f370efa23b47dc3170cd5e82..b9b93f0f85187d57c3cad2e85c3cbcfc4e9dcf20 100644 (file)
--- 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",
index b4bc5fabd6844c3fbb0106741eefa6d746589de1..8da6fcce764dd07a0d61571bd130eb5e70b4a03d 100644 (file)
@@ -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 (file)
index a2f82e1..0000000
Binary files a/textures/xdecor_crate.png and /dev/null differ
index 25cb8cb256a4e1acfb67b97a819c41f9383eec93..4217dfa60ffc3c17133047341a7aa9ba3a8bd116 100644 (file)
@@ -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