From 4c0441527f8340c1e23c178cbb44e10d87e67cef Mon Sep 17 00:00:00 2001 From: kilbith Date: Tue, 1 Sep 2015 13:55:11 +0200 Subject: [PATCH] Drop wrought iron fence and metal cabinet (with aliases) --- aliases.lua | 2 ++ init.lua | 1 + nodes.lua | 23 ----------------------- textures/xdecor_metal_cabinet_front.png | Bin 216 -> 0 bytes textures/xdecor_metal_cabinet_sides.png | Bin 128 -> 0 bytes textures/xdecor_wrought_iron.png | Bin 229 -> 0 bytes 6 files changed, 3 insertions(+), 23 deletions(-) create mode 100644 aliases.lua delete mode 100644 textures/xdecor_metal_cabinet_front.png delete mode 100644 textures/xdecor_metal_cabinet_sides.png delete mode 100644 textures/xdecor_wrought_iron.png diff --git a/aliases.lua b/aliases.lua new file mode 100644 index 0000000..fdc5d1d --- /dev/null +++ b/aliases.lua @@ -0,0 +1,2 @@ +minetest.register_alias("xdecor:fence_wrought_iron", "default:fence_wood") +minetest.register_alias("xdecor:metal_cabinet", "xdecor:cabinet") diff --git a/init.lua b/init.lua index b4af0a9..1f703e2 100644 --- a/init.lua +++ b/init.lua @@ -3,6 +3,7 @@ local modpath = minetest.get_modpath("xdecor") dofile(modpath.."/handlers/nodeboxes.lua") dofile(modpath.."/handlers/registration.lua") +dofile(modpath.."/aliases.lua") dofile(modpath.."/crafts.lua") dofile(modpath.."/enchanting.lua") dofile(modpath.."/hive.lua") diff --git a/nodes.lua b/nodes.lua index 35ddc6e..cd279d4 100644 --- a/nodes.lua +++ b/nodes.lua @@ -294,17 +294,6 @@ minetest.register_on_joinplayer(function(player) inv:set_size("enderchest", 8*4) end) -xdecor.register("fence_wrought_iron", { - description = "Wrought Iron Fence", - drawtype = "fencelike", - groups = {cracky=2}, - tiles = {"xdecor_wrought_iron.png"}, - selection_box = { - type = "fixed", fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7} - }, - inventory_image = "default_fence_overlay.png^xdecor_wrought_iron.png^default_fence_overlay.png^[makealpha:255,126,126" -}) - xdecor.register("fire", { description = "Fancy Fire", drawtype = "plantlike", @@ -449,18 +438,6 @@ xdecor.register("plant_pot", { sounds = default.node_sound_stone_defaults() }) -xdecor.register("metal_cabinet", { - description = "Metal Cabinet", - inventory = {size=24}, - groups = {snappy=3}, - infotext = "Metal Cabinet", - tiles = { - "xdecor_metal_cabinet_sides.png", "xdecor_metal_cabinet_sides.png", - "xdecor_metal_cabinet_sides.png", "xdecor_metal_cabinet_sides.png", - "xdecor_metal_cabinet_sides.png", "xdecor_metal_cabinet_front.png" - } -}) - xdecor.register("moonbrick", { drawtype = "normal", description = "Moon Brick", diff --git a/textures/xdecor_metal_cabinet_front.png b/textures/xdecor_metal_cabinet_front.png deleted file mode 100644 index ba0cd9f00b7b332da97d19c4d7b4a46ea7e0a95d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAn3BBRT^Rni_n+Ah4nJ za0`PlBg3pY5H=O_WNwyZ2Bs(`PaSzg)%)|977~7m!31^Yj)saIl%anH|C`9 zr>-qO{rHttQjg2J5kB~f#0Fty}RSq@7}#Dsp7=O$KD2VUm{Q3tN)|OA~s>c zjrwSN2U8#6!Ut!Y9pigG{C#p7PdRD%^dauIl$ks!z#q*vDtO!3S900VG!PC{x JWt~$(69CBLPALEY diff --git a/textures/xdecor_metal_cabinet_sides.png b/textures/xdecor_metal_cabinet_sides.png deleted file mode 100644 index 7609c3caa87ca8afab4cdf5a14efae1bfb49b8dd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 128 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAI14-?iy0WWg+Z8+Vb&Z8pdfpR zr>`sfeKu}31@?*wyFGwH@}4e^ArhC9b5gTJ^+<6c)I$ztaD0e0stRl9ohf@ diff --git a/textures/xdecor_wrought_iron.png b/textures/xdecor_wrought_iron.png deleted file mode 100644 index ac63b7c37b77c90c6d8310bb1676188db4e29818..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 229 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHF3h)VWbucr~P?EDY(lOK1G}2Pj zQ&$f2^YC`G(NR?l_Hyxab#SpZb+@x{vorT&p1u&MtIX5IF@)o~=$Vb2ha4CjF7}I= zZQP+W!DtS5$32#=3Ew)bS?(M-