From 483c1be14ef7cd95d671c741c0dfacc4ef2e3d3c Mon Sep 17 00:00:00 2001 From: kilbith Date: Sun, 27 Sep 2015 12:00:24 +0200 Subject: [PATCH] Drop a bunch of redundant nodes --- aliases.lua | 4 +++ crafts.lua | 34 ----------------------- nodes.lua | 44 ------------------------------ textures/xdecor_cardbox_sides.png | Bin 122 -> 0 bytes textures/xdecor_cardbox_top.png | Bin 133 -> 0 bytes textures/xdecor_chandelier.png | Bin 332 -> 0 bytes textures/xdecor_plant_pot.png | Bin 198 -> 0 bytes textures/xdecor_stereo_back.png | Bin 146 -> 0 bytes textures/xdecor_stereo_bottom.png | Bin 154 -> 0 bytes textures/xdecor_stereo_front.png | Bin 167 -> 0 bytes textures/xdecor_stereo_left.png | Bin 107 -> 0 bytes textures/xdecor_stereo_top.png | Bin 99 -> 0 bytes 12 files changed, 4 insertions(+), 78 deletions(-) delete mode 100644 textures/xdecor_cardbox_sides.png delete mode 100644 textures/xdecor_cardbox_top.png delete mode 100644 textures/xdecor_chandelier.png delete mode 100644 textures/xdecor_plant_pot.png delete mode 100644 textures/xdecor_stereo_back.png delete mode 100644 textures/xdecor_stereo_bottom.png delete mode 100644 textures/xdecor_stereo_front.png delete mode 100644 textures/xdecor_stereo_left.png delete mode 100644 textures/xdecor_stereo_top.png diff --git a/aliases.lua b/aliases.lua index 4a65dc3..d6d9bf0 100644 --- a/aliases.lua +++ b/aliases.lua @@ -1,3 +1,7 @@ minetest.register_alias("xdecor:fence_wrought_iron", "default:fence_wood") minetest.register_alias("xdecor:metal_cabinet", "xdecor:cabinet") minetest.register_alias("xdecor:trash_can", "xdecor:chair") +minetest.register_alias("xdecor:plant_pot", "default:dirt") +minetest.register_alias("xdecor:chandelier", "xdecor:candle") +minetest.register_alias("xdecor:cardboard_box", "xdecor:cabinet_half") +minetest.register_alias("xdecor:stereo", "xdecor:television") diff --git a/crafts.lua b/crafts.lua index 1465a8b..9675eda 100644 --- a/crafts.lua +++ b/crafts.lua @@ -46,14 +46,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = "xdecor:cardboard_box", - recipe = { - {"default:paper", "default:paper", "default:paper"}, - {"default:paper", "default:paper", "default:paper"} - } -}) - minetest.register_craft({ output = "xdecor:cauldron", recipe = { @@ -71,14 +63,6 @@ minetest.register_craft({ {"group:stick", "", "group:stick"} } }) - -minetest.register_craft({ - output = "xdecor:chandelier", - recipe = { - {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}, - {"default:torch", "default:torch", "default:torch"} - } -}) minetest.register_craft({ output = "xdecor:coalstone_tile 4", @@ -264,15 +248,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = "xdecor:plant_pot", - recipe = { - {"default:clay_brick", "default:dirt", "default:clay_brick"}, - {"default:clay_brick", "default:dirt", "default:clay_brick"}, - {"default:clay_brick", "default:clay_brick", "default:clay_brick"} - } -}) - minetest.register_craft({ output = "xdecor:prison_door", recipe = { @@ -318,15 +293,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = "xdecor:stereo", - recipe = { - {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}, - {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}, - {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"} - } -}) - minetest.register_craft({ output = "xdecor:stone_tile 2", recipe = { diff --git a/nodes.lua b/nodes.lua index e92dbfc..052992f 100644 --- a/nodes.lua +++ b/nodes.lua @@ -87,18 +87,6 @@ xdecor.register("candle", { } }) -xdecor.register("cardboard_box", { - description = "Cardboard Box", - inventory = {size=8}, - infotext = "Cardboard Box", - groups = {snappy=3, flammable=3}, - tiles = {"xdecor_cardbox_top.png", "xdecor_cardbox_top.png", - "xdecor_cardbox_sides.png"}, - node_box = { - type = "fixed", fixed = {{-0.3125, -0.5, -0.3125, 0.3125, 0, 0.3125}} - } -}) - xdecor.register("cauldron", { description = "Cauldron", groups = {cracky=2}, @@ -162,17 +150,6 @@ xdecor.register("chair", { } }) -xdecor.register("chandelier", { - description = "Chandelier", - drawtype = "plantlike", - walkable = false, - inventory_image = "xdecor_chandelier.png", - tiles = {"xdecor_chandelier.png"}, - groups = {dig_immediate=3}, - light_source = 14, - selection_box = xdecor.nodebox.slab_y(0.5, 0.5) -}) - xdecor.register("cobweb", { description = "Cobweb", drawtype = "plantlike", @@ -428,17 +405,6 @@ xdecor.register("painting", { groups = {dig_immediate=3, flammable=3, attached_node=1} }) -xdecor.register("plant_pot", { - description = "Plant Pot", - drawtype = "plantlike", - inventory_image = "xdecor_plant_pot.png", - wield_image = "xdecor_plant_pot.png", - groups = {snappy=3}, - tiles = {"xdecor_plant_pot.png"}, - sounds = default.node_sound_stone_defaults() -}) - - for _, b in pairs({{"cactus", "cactus"}, {"moon", "stone"}}) do xdecor.register(b[1].."brick", { drawtype = "normal", @@ -481,16 +447,6 @@ xpanes.register_pane("rust_bar", { } }) -xdecor.register("stereo", { - description = "Stereo", - groups = {snappy=3}, - tiles = { - "xdecor_stereo_top.png", "xdecor_stereo_bottom.png", - "xdecor_stereo_left.png^[transformFX", "xdecor_stereo_left.png", - "xdecor_stereo_back.png", "xdecor_stereo_front.png" - } -}) - xdecor.register("stonepath", { description = "Garden Stone Path", tiles = {"default_stone.png"}, diff --git a/textures/xdecor_cardbox_sides.png b/textures/xdecor_cardbox_sides.png deleted file mode 100644 index 514ff132187325545ecc6ab3532ac5e9494fb45a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 122 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9JOMr-u0VQDw%7KF`BRdeF1TG< z1>`f91o;IsI6S+N2IR}q49p^1n#V;B>|RvAu(Wfc=A Q0o5^hy85}Sb4q9e0I*sgu>b%7 diff --git a/textures/xdecor_cardbox_top.png b/textures/xdecor_cardbox_top.png deleted file mode 100644 index 973714697d95ca6361c9f60ba2729294cd676c96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 133 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHV5AX?b1=3T~Jho5FU(=S-8)v^* zfj15)#8?vK7tG-B>_!@pqvGk}7{YNq`2c$aODhknYy*#*fHQ-3Gv|?j2ICJJZW0~r a3=H{=tf~_}_Dut-XYh3Ob6Mw<&;$S}vm&wp diff --git a/textures/xdecor_chandelier.png b/textures/xdecor_chandelier.png deleted file mode 100644 index b54d3fe43adf6833a4c2abfa4a3d226952b2d538..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 332 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbK}et=JiE0DI)mpRqUIHknZ(L`}Z zxkq}C;k;mm|2G(xL^A&ef$8(>18S1&d~DVJ_cNGli65|C{|+`ICX5=^zGp9yqMliZ7(7@j~g7xwDT@jR0^FqX`TF*2m_bk z#HVdM9!c^0=LfMl=VY~PO6U+NVsn=15^UwlR3R`njxgN@xNA$b3YJ diff --git a/textures/xdecor_stereo_back.png b/textures/xdecor_stereo_back.png deleted file mode 100644 index 2d2715f5982b863ea5f52f4e6ebded7592890ed9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPE^4e$wZ^|Do$mzU?|VGBEIeHtLpZJ{3$!q?F|rvXqzDukBqSsxF&Qxl2`I5~akbqLb(VAx qYHf7hDCE;SiRq3W>x?8tRR*5x?3`uZn@+I>`7{YNqS)hf9jgieDAw__L_2NPfHYcuw1_lN}X=!XmA|fI)X3TiN yvqNN+o^q;zbBAMNr=#Er0hUe;8W|#<6I(V(Q0&=A1G@WPt&0ZU4hCD2p`Pgg&e IbxsLQ0P&b9bpQYW diff --git a/textures/xdecor_stereo_left.png b/textures/xdecor_stereo_left.png deleted file mode 100644 index 129f47373d4ffaba8f185af808df35c14abf16b0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 107 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9oB=)|uExg3^78U}dV0U((xQQa zvYsxEAsp9}Iarz4`uW)0R1P&VdNimg=&(3OFfkls<>GyN*r^<-kipZ{&t;ucLK6Td C4Hn)2 diff --git a/textures/xdecor_stereo_top.png b/textures/xdecor_stereo_top.png deleted file mode 100644 index e2e58c88cdb795e9ab71fc7f6122588cd579a927..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 99 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;TYyi9YhYlYfq}uvX8w0T5eZKh v#}JO|$v^(jU)VS?F;s(v@n(fUfFXnP37*!!5z>o+Y8X6S{an^LB{Ts5^C}r7