From 3fe5271fdfebc6e6ac618bf8dac2b97ca138c329 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 1 Mar 2017 17:26:33 +0100 Subject: [PATCH] Add basic cauldron --- mods/ITEMS/mcl_cauldrons/depends.txt | 1 + mods/ITEMS/mcl_cauldrons/init.lua | 45 ++++++++++++++++++ mods/ITEMS/mcl_cauldrons/mod.conf | 1 + .../textures/mcl_cauldrons_cauldron.png | Bin 0 -> 563 bytes .../mcl_cauldrons_cauldron_bottom.png | Bin 0 -> 428 bytes .../textures/mcl_cauldrons_cauldron_inner.png | Bin 0 -> 620 bytes .../textures/mcl_cauldrons_cauldron_side.png | Bin 0 -> 989 bytes .../textures/mcl_cauldrons_cauldron_top.png | Bin 0 -> 601 bytes 8 files changed, 47 insertions(+) create mode 100644 mods/ITEMS/mcl_cauldrons/depends.txt create mode 100644 mods/ITEMS/mcl_cauldrons/init.lua create mode 100644 mods/ITEMS/mcl_cauldrons/mod.conf create mode 100644 mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png create mode 100644 mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_bottom.png create mode 100644 mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_inner.png create mode 100644 mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_side.png create mode 100644 mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png diff --git a/mods/ITEMS/mcl_cauldrons/depends.txt b/mods/ITEMS/mcl_cauldrons/depends.txt new file mode 100644 index 0000000000..3d96266de1 --- /dev/null +++ b/mods/ITEMS/mcl_cauldrons/depends.txt @@ -0,0 +1 @@ +mcl_sounds diff --git a/mods/ITEMS/mcl_cauldrons/init.lua b/mods/ITEMS/mcl_cauldrons/init.lua new file mode 100644 index 0000000000..c41674ec9c --- /dev/null +++ b/mods/ITEMS/mcl_cauldrons/init.lua @@ -0,0 +1,45 @@ +minetest.register_node("mcl_cauldrons:cauldron", { + description = "Cauldron", + wield_image = "mcl_cauldrons_cauldron.png", + inventory_image = "mcl_cauldrons_cauldron.png", + drawtype = "nodebox", + paramtype = "light", + sunlight_propagates = true, + groups = {pickaxey=1}, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.1875, -0.5, -0.375, 0.5, 0.5}, -- Left wall + {0.375, -0.1875, -0.5, 0.5, 0.5, 0.5}, -- Right wall + {-0.375, -0.1875, 0.375, 0.375, 0.5, 0.5}, -- Back wall + {-0.375, -0.1875, -0.5, 0.375, 0.5, -0.375}, -- Front wall + {-0.5, -0.3125, -0.5, 0.5, -0.1875, 0.5}, -- Floor + {-0.5, -0.5, -0.5, -0.375, -0.3125, -0.25}, -- Left front foot, part 1 + {-0.375, -0.5, -0.5, -0.25, -0.3125, -0.375}, -- Left front foot, part 2 + {-0.5, -0.5, 0.25, -0.375, -0.3125, 0.5}, -- Left back foot, part 1 + {-0.375, -0.5, 0.375, -0.25, -0.3125, 0.5}, -- Left back foot, part 2 + {0.375, -0.5, 0.25, 0.5, -0.3125, 0.5}, -- Right back foot, part 1 + {0.25, -0.5, 0.375, 0.375, -0.3125, 0.5}, -- Right back foot, part 2 + {0.375, -0.5, -0.5, 0.5, -0.3125, -0.25}, -- Right front foot, part 1 + {0.25, -0.5, -0.5, 0.375, -0.3125, -0.375}, -- Right front foot, part 2 + } + }, + selection_box = { type = "regular" }, + tiles = { + "mcl_cauldrons_cauldron_inner.png^mcl_cauldrons_cauldron_top.png", + "mcl_cauldrons_cauldron_inner.png^mcl_cauldrons_cauldron_bottom.png", + "mcl_cauldrons_cauldron_side.png" + }, + sounds = mcl_sounds.node_sound_metal_defaults(), + _mcl_hardness = 2, + _mcl_blast_resistance = 10, +}) + +minetest.register_craft({ + output = "mcl_cauldrons:cauldron", + recipe = { + { "mcl_core:iron_ingot", "", "mcl_core:iron_ingot" }, + { "mcl_core:iron_ingot", "", "mcl_core:iron_ingot" }, + { "mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot" }, + } +}) diff --git a/mods/ITEMS/mcl_cauldrons/mod.conf b/mods/ITEMS/mcl_cauldrons/mod.conf new file mode 100644 index 0000000000..1bedf9d731 --- /dev/null +++ b/mods/ITEMS/mcl_cauldrons/mod.conf @@ -0,0 +1 @@ +name = mcl_cauldrons diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png new file mode 100644 index 0000000000000000000000000000000000000000..579630ee4be6f1aaf3319bc40cfc8765613dc17f GIT binary patch literal 563 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKpuOE zr>`sfLuN)ncEt}e25%S`7_B{B978;gzn$us*K8o*I{&s-Xn5*n<&xX;6obNI6$_j1 ztao2g)qbZzRwyWyrSq}t6TKV`M(N#2w-b*(_&?+4V#dS>@pA32{}~=AmL=pbco^I= zk6T!9Izx)1i$H+H1P9(dItqIlHr{ZPFl7Fc8ojZEw?%NC=9DW}8eEv9&YomcZS`b$ za3sA?=3>Sz!K8d41|f_4DeF3lnr1Lc8I_e}lyBW)V)BQlLoLqHmG6%KCb5YR8dvKALuCmZQ*BNcVkX0>ljVMV; zEJ?LWE=mPb3`Pcq=DG&Px(0?JhUQiV=2j-=+6IPJ1_m$l?|wwlkei>9nO2FZ!Ppq0 UA#I0;J5U3Ir>mdKI;Vst0NEMIzW@LL literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_bottom.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..edc14daf151569fdbdbcfa83235ed672ea2475bd GIT binary patch literal 428 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKpuOE zr>`sfLuN)nHfeqC8}dM*EuJopAs)xyPTehd*nr1bzH;92oAtdqEg~YiC--$P+2NUJ z_OGMCL1e*OCWb_g3hDT4@f#O&cU&m6I8bJ*m7jNZxthi;IcE!3AK9cBEiaZE>lk{| z_E!mt$i;NOSQcZT``4!9(hqJkzoxXdwVBRD7ruGMlKct(YXKEyH|EN-mJZZR| zac|g8u5C}E!v$2L|5f-_3GOy*zA;JRaP68Seg7(|Y%eSkf2H@S%=nyT;CEvQd8_M| zKRWMy1_g#{iEBhjN@7W>RdP`(kYX@0Ff`XSFxE9N3^6pfGBC3;GS@aRv@$R_aA>~= eiiX_$l+3hB+!{8{Xa54!z~JfX=d#Wzp$P!$c##(X literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_inner.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_inner.png new file mode 100644 index 0000000000000000000000000000000000000000..bfa6c46cb41b3c709bc12ee367c5a2f5e479a1cd GIT binary patch literal 620 zcmeAS@N?(olHy`uVBq!ia0vp^3Lwk@BpAX3RW*PVOS+@4BLl<6e(pbstRTr`k04(L zhAK4%hK3dfhF?ITh8GMBr3MTPuM!v-tY$DUh!@P+6=(yLU`q0KcVYP7-hXC4kjGx) z>Fdh=keN}CO_mXNvq<&dg-%yn9BP`)-^(`s1A6lPk4Zy3_tTS;Wr>HBoT= zE$@A67stbcJKT17ZxQ@lcy6{M&x+m{Uzr9178e zP6-u4^G?nXi;#D{!!ytR#O&m$Pn8}kOMW;UX*Q+q;+L$4dxS5EOPd`Q^ms6FdO`nw z#`V|IWDMtDH~Lsq@^;}i&Y3<}^ji298L*%KE$}>byU>bLyV|o7n$fi4|cKGt4)bd)M}X*$siUk4~jl-K$Yo^V|IX#fAsmJiKcdcc%2! zDNJWSA@7;ZH1~R3OkGt>&4n*pKkQqlD)4OY$>|eTrVEG*GgoZCe`vb#4|)DAA?q6X zZY=~xiE4>!L`h0wNvc(HQ7VvPFfuSS*EKNKH82b@G`BJ^vobQ*HZZg@FgS2%zXytj c-29Zxv`X9>HqK}N0@T3Z>FVdQ&MBb@0CVE(jsO4v literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_side.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_side.png new file mode 100644 index 0000000000000000000000000000000000000000..d9c62141e2663990353d0c6f8b7ed70dff6828d6 GIT binary patch literal 989 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKpuOE zr>`sfLuN)nHfeqC8}dN;r=Bj3As)wDuby0Y$3=qm!Fsmc)=Cpt^AARU`1gAcE7Os) zZ@0xVcmKNV;?(lW_w>4lS7y$sn>+h-+q$eg4ZR#Sjb%%ky{D%z^ZI`+xiwc~)?E{k z*_RK5@YpU3_Ki_9R9=5v^yE72O=6d?zjU4`8p`j(bU8NcrfqWfx*aCF1;sNqNq)G# z(kId^gvT^n&pdV_Q(Dl3tvhr*jqdWC{CcQd!sxR9y$QaD7fP_LyDoOp#4uLwM4Q^~ zohySs$u0M3pS_TcTfA+J=dwkQ->p2+*6f;eHN<51Ze_7`yVZD3s?F3`cw|DMajM*^ zwug-i;dB$p*h<{Ua|iJ-s0Q?6kq&$FY1@ zg9T0~?w6^!we^G-@BLSfeK(SB%vsiW*JN+&1^(UbTAqBqSD&8K)-gVpwaGg)#^~LS zIbE5TRSwIoN-4X$(rPJ3_Cebm6W+VacEz+Uk`nyBQK)dy&757Uew3+%UhZ8m$(c7? zuj=)6i}M{p#)nI98hm|fcJnJ&b=O&Q{z})UwmybT-&S=Sn|aMJtJc|b=!*Z7mABtc zGLE~?BN97J#h>|P@bz%^gjt(@e>xake9N$Ox{kF|)T;I;6{RkR7QWoJ)M;Y!C((rV z^d*aaCk69ZM{O|3**0O@rA55YPgiSy4J|vlZ-(QWvw~l@y-HgXvHpdabLX>%K_=-U zm3?hCPEVw+h6RSlm@nTV_abq5>x!1E;s?3YCzs9+p4OgN?5P-3EV)bDPVQ{a{jQi# zVuh>M=Y0#Al5y|&^8U{?zfV73&-f?p&!oDt9{+hkDjKWfdzIE)dH&w<$^PTZGdgT5 zy4<8brmMa^e)C`UUi-h##E!=*{qgJ1e-UTz+Atr!|M2nj_Ie*}FJK-}Epd$~Nl7e8wMs5Z1yT$~28QOk z2FAJuh9QRLRt9EPM&{ZEhE@g!2M+D`K+%w!pOTqYiCe?Q`RreS8W=oX{an^LB{Ts5 DnyIw- literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png new file mode 100644 index 0000000000000000000000000000000000000000..61ac416ed1f5aa491c283426d30a7ab55275bfb6 GIT binary patch literal 601 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE0wix1Z>k4UEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10f+@+{-G$+Qd;gjJKpuOE zr>`sfLuN)nHfeqC8}bYcjESBujv*e$=T1HAci2Fn#Xi4o);1Z9_su&#UE9MiB*gA= z+oaF(jRoiNHOj~PHW^#*j=TMGFN4g<11tyTrY~UNXGrV0mBz)ZcAD+a{Xlu$0``5W z_ZT-@ot}}pb7t+SJC(dYl(O#?vP!01N@5h&^^Zt>os#mZ_rbdLQ}=IbWd3tuo5T4N z?n&X*+LAjG`d)uuIQ3BXYtOFodg-|fH1IU(Ze?I*Wn`{xU}$AvaNy8>4-^f#`6-!cmAEx*oX`FRsDZ)L)z4*} HQ$iB}yv64( literal 0 HcmV?d00001