From fcd9d457abe10a07f9fd20567226ca982f8d7e7d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 30 Sep 2012 18:09:54 -0400 Subject: [PATCH] continued to tune fence textures and shapes. --- fences.lua | 100 +++++++++++++----- textures/homedecor_fence_barbed_wire.png | Bin 512 -> 522 bytes textures/homedecor_fence_picket.png | Bin 1768 -> 1768 bytes textures/homedecor_fence_picket_backside.png | Bin 0 -> 1575 bytes textures/homedecor_fence_picket_white.png | Bin 1203 -> 1251 bytes .../homedecor_fence_picket_white_backside.png | Bin 0 -> 1050 bytes textures/homedecor_fence_privacy_backside.png | Bin 0 -> 614 bytes textures/homedecor_fence_privacy_front.png | Bin 0 -> 580 bytes textures/homedecor_fence_privacy_sides.png | Bin 0 -> 342 bytes textures/homedecor_fence_privacy_tb.png | Bin 0 -> 308 bytes 10 files changed, 73 insertions(+), 27 deletions(-) create mode 100644 textures/homedecor_fence_picket_backside.png create mode 100644 textures/homedecor_fence_picket_white_backside.png create mode 100644 textures/homedecor_fence_privacy_backside.png create mode 100644 textures/homedecor_fence_privacy_front.png create mode 100644 textures/homedecor_fence_privacy_sides.png create mode 100644 textures/homedecor_fence_privacy_tb.png diff --git a/fences.lua b/fences.lua index c979a5d7..593ad111 100644 --- a/fences.lua +++ b/fences.lua @@ -35,9 +35,16 @@ minetest.register_node("homedecor:fence_wrought_iron", { }) minetest.register_node("homedecor:fence_picket", { - drawtype = "signlike", + drawtype = "nodebox", description = "Unpainted Picket Fence", - tiles = {"homedecor_fence_picket.png"}, + tiles = { + "homedecor_fence_picket.png", + "homedecor_fence_picket.png", + "homedecor_fence_picket.png", + "homedecor_fence_picket.png", + "homedecor_fence_picket_backside.png", + "homedecor_fence_picket.png" + }, inventory_image = "homedecor_fence_picket.png", wield_image = "homedecor_fence_picket.png", paramtype = "light", @@ -45,16 +52,28 @@ minetest.register_node("homedecor:fence_picket", { groups = {snappy=3}, sounds = default.node_sound_wood_defaults(), walkable = true, - paramtype2 = 'wallmounted', - selection_box = { - type = "wallmounted", - }, + paramtype2 = "facedir", + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, 0.4, 0.5, 0.5, 0.5 } + }, + node_box = { + type = "fixed", + fixed = { -0.5, -0.5, 0.495, 0.5, 0.5, 0.495 } + }, }) minetest.register_node("homedecor:fence_picket_white", { - drawtype = "signlike", + drawtype = "nodebox", description = "White Picket Fence", - tiles = {"homedecor_fence_picket_white.png"}, + tiles = { + "homedecor_fence_picket_white.png", + "homedecor_fence_picket_white.png", + "homedecor_fence_picket_white.png", + "homedecor_fence_picket_white.png", + "homedecor_fence_picket_white_backside.png", + "homedecor_fence_picket_white.png" + }, inventory_image = "homedecor_fence_picket_white.png", wield_image = "homedecor_fence_picket_white.png", paramtype = "light", @@ -62,43 +81,70 @@ minetest.register_node("homedecor:fence_picket_white", { groups = {snappy=3}, sounds = default.node_sound_wood_defaults(), walkable = true, - paramtype2 = 'wallmounted', - selection_box = { - type = "wallmounted", - }, + paramtype2 = "facedir", + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, 0.4, 0.5, 0.5, 0.5 } + }, + node_box = { + type = "fixed", + fixed = { -0.5, -0.5, 0.495, 0.5, 0.5, 0.495 } + }, }) minetest.register_node("homedecor:fence_privacy", { - drawtype = "signlike", + drawtype = "nodebox", description = "Wooden Privacy Fence", - tiles = {"homedecor_fence_privacy.png"}, - inventory_image = "homedecor_fence_privacy.png", - wield_image = "homedecor_fence_privacy.png", + tiles = { + "homedecor_fence_privacy_tb.png", + "homedecor_fence_privacy_tb.png", + "homedecor_fence_privacy_sides.png", + "homedecor_fence_privacy_sides.png", + "homedecor_fence_privacy_backside.png", + "homedecor_fence_privacy_front.png" + }, paramtype = "light", is_ground_content = true, groups = {snappy=3}, sounds = default.node_sound_wood_defaults(), walkable = true, - paramtype2 = 'wallmounted', - selection_box = { - type = "wallmounted", - }, + paramtype2 = "facedir", + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, 5/16, 0.5, 0.5, 8/16 } + }, + node_box = { + type = "fixed", + fixed = { + { -8/16, -8/16, 5/16, -5/16, 8/16, 7/16 }, -- left part + { -4/16, -8/16, 5/16, 3/16, 8/16, 7/16 }, -- middle part + { 4/16, -8/16, 5/16, 8/16, 8/16, 7/16 }, -- right part + { -8/16, -2/16, 7/16, 8/16, 2/16, 8/16 }, -- connecting rung + } + }, }) minetest.register_node("homedecor:fence_barbed_wire", { - drawtype = "signlike", + drawtype = "nodebox", description = "Barbed Wire Fence", tiles = {"homedecor_fence_barbed_wire.png"}, - inventory_image = "homedecor_fence_barbed_wire.png", - wield_image = "homedecor_fence_barbed_wire.png", paramtype = "light", is_ground_content = true, groups = {snappy=3}, sounds = default.node_sound_wood_defaults(), walkable = true, - paramtype2 = 'wallmounted', - selection_box = { - type = "wallmounted", - }, + paramtype2 = "facedir", + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, 0.375, 0.5, 0.5, 0.5 } + }, + node_box = { + type = "fixed", + fixed = { + { -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 }, -- left post + { 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, -- right post + { -6/16, -8/16, 7/16, 6/16, 8/16, 7/16 } -- the wire + } + }, }) diff --git a/textures/homedecor_fence_barbed_wire.png b/textures/homedecor_fence_barbed_wire.png index be1ff1b5eb6ee6ee387137522001e4d747f6517f..ae649533503305bb8852e73e1c4423b09620af4b 100644 GIT binary patch delta 466 zcmV;@0WJQ31d0TZLVp$rD`+s7qW}N_sYygZR5;6>l09o$VHk$5=Y7xV@gydLZl%Z7 zzhDJpbqRJ9x)fS!3U-r1x3ohkbPR=(tz9~X;1*KhfJ;H=h?@mL*SJaiI3G`c!|Ao( z*Kl#m=Qk&MbbQE%@4tl%T=ZIM1dMBiBvrDK?)T&jI8RQ_2!DbAE(Z*UL%qMhC!f#b z`#z0EL$0r{wNxsxUawg!7IZot84LzGo6U&--XfRppKH)~$9lb{P$GXf8hm_J)BJ&hNuwCgNahAcz_l)B z7e~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7J9V`h0`Th}zL0PI{B20Md8_c~M?b*z>nA+%>?;EBqi;T)|9r=} zc1_3*pLy()ynD9ci7∓Qx%EJbY7m^dpaORILG&aL22;+Plev%2e4?UwCS;>8;@hV*S5V<>Y(&I9f#}J4T_^*bUayD_3}vqv zRh95W1vXRg$c={>R;&F6eJ-ulj&8B`Tz0*WM>!(M+SWw7k~pXDUw-EYiU=UYR?j2%ZRDA=A4nKfIB&kwbGEa?W*MVs0^% literal 0 HcmV?d00001 diff --git a/textures/homedecor_fence_picket_white.png b/textures/homedecor_fence_picket_white.png index 97a40816561cbe8f9243bbf504c89459c1db61b9..0752ed9682d30db344666790835cade5a93ab877 100644 GIT binary patch delta 1201 zcmV;i1Wx<23F8TnLVp$mF?Oc75&!@Mf=NU{R9M4}SJ7_rJPbWa(+Ik1XxeVr#a>|V z|1Q%6HwaNCfhJg6+B8l6i_KmV%Koo63{uDT@v(gd1W(g6{&YHd+;~1dKK$3$*Uj^$ zY5eEs=bz_I(?sVoeMu>G%N|;5{NMAJ{nWz&R8{4jbFkK8Du2t(X5+QikW!+ms;l$W zYQ?|pcDt){`pr2P*>eEidvslQGlM+OVT^$>2IDwho!{NveP1Xggb-KfZQG)*Ye*S` zE+~7Y6pEriUDy1%TrT``vEm7mEb| zz!(E5CEB*da(}rL5&(u_;ET($yjd^j96Pbr^6y!ev16qazr$Guh@?D{WO%t;qJv== zqVLvP5C^Qa$nzXw`J|LE#=tp;wrwL@?>&q$zfOZPNQ#gkq8GvpQ+7}B=G1K3*Xh+SA?iDTKh= z+nbl?^BKc1z*@_-Yugr5N?a}%E=^k7`FxJP@6mM~thH=U$mMyCuIn(4Bi~O?UDp7B zaU3Cq5Xkd9B1cga5JEr*0j)L0apW2j{Np&ndk^Ov`o8Dv2&J@zl~T+NDv|dd>TozP zd{hQF$P6Z@Fmp8G$m6G{51!()_krQih!k4Ge6IB6h*-(h0`!>N#ao2!Xa{3 zbHF*rJxtEiaZ4ExL23A;#4^TUHk;jS;j%2FfP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dJSf-VmzOmODxHG39Z^)>Ljp+wC?z zJUmp(%QQ`k8`a$2lx0#b8fC0gN|_z!+|{75*5Y(JRXJ1UR*Vsc!y(@(IRgN{0DU@5 Uq2$v&+5i9m07*qoM6N<$f@vw|Gynhq literal 0 HcmV?d00001 diff --git a/textures/homedecor_fence_privacy_backside.png b/textures/homedecor_fence_privacy_backside.png new file mode 100644 index 0000000000000000000000000000000000000000..12b9574af5da87c06b091aa88975506488590508 GIT binary patch literal 614 zcmV-s0-61ZP)Duy`!O?T zHwh#fOPdseogjjZSc;wEeOP)Uc3zAKR(4uhi-IQ6#K>m%oSFB-BK^a!dFaEt*R7T> zpS}vy7W2K6yN8EIiwzsg`RUo&kNN1hd_Ud1eDUP()%Et@B{PAQ0i>rHR{Q(YBmlrg zwRuu0!hmNsMO*K4Q4s?J50k8`io?!6spd?{pfd|>>W>JNP zStLjZ8N##{xQ$^+Z{NHUu%}nm8ycz;eCmMMX*jvG?8Fmr|OD092>RBN3*5E-nQCwxAT%>){?K z%7Iws05(JbAcd<|x2{hg-9Ns4>*M>+6tczq;Ni)^!C`H3d2w}qdiML*e0*p6_Veob zv&W+^o84gZu!wN<9v)#901)WIO4V?9W+o`T)JEAkGc(f$ZaQVA%(;7O(-^%p2@3?Y z=x*+j;98WyRHzmP;5O!AM3iAj9*ak!RvJAQOXAAAdFkc=m~Sp;r^J;TlXKiTI@rK1DuXaE2J07*qoM6N<$g8f+z AI{*Lx literal 0 HcmV?d00001 diff --git a/textures/homedecor_fence_privacy_front.png b/textures/homedecor_fence_privacy_front.png new file mode 100644 index 0000000000000000000000000000000000000000..08040950111e1588d802ac689545531c883a671d GIT binary patch literal 580 zcmV-K0=xZ*P)ha*V^TC=3M4`>6hZFalgBfum8 zbyb1yTXRzrfdVXZUhCYR_8}!|Bmszt3Qf@5bgkN-_Irn!u3}t>S?AA377QXHYRIIB zjBNmLC|0sW05mgT0T2*cHkznal$m6)cW>^xf*ET!mK;byf z^Ga3KYvnx8q_k$LFlg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