From 1ba12aec609a112e9f56b93ceaa5ebfa79873b36 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 20 May 2022 21:25:06 +0200 Subject: [PATCH] Add new textures, make bell a nodebox thx erlehmann for the nodebox <3 --- mods/ITEMS/mcl_bells/init.lua | 21 +++++++++++------- mods/ITEMS/mcl_bells/textures/bell.png | Bin 368 -> 0 bytes .../mcl_bells/textures/mcl_bells_bell.png | Bin 0 -> 261 bytes .../textures/mcl_bells_bell_bottom.png | Bin 0 -> 801 bytes .../textures/mcl_bells_bell_side.png | Bin 0 -> 695 bytes .../mcl_bells/textures/mcl_bells_bell_top.png | Bin 0 -> 656 bytes 6 files changed, 13 insertions(+), 8 deletions(-) delete mode 100644 mods/ITEMS/mcl_bells/textures/bell.png create mode 100644 mods/ITEMS/mcl_bells/textures/mcl_bells_bell.png create mode 100644 mods/ITEMS/mcl_bells/textures/mcl_bells_bell_bottom.png create mode 100644 mods/ITEMS/mcl_bells/textures/mcl_bells_bell_side.png create mode 100644 mods/ITEMS/mcl_bells/textures/mcl_bells_bell_top.png diff --git a/mods/ITEMS/mcl_bells/init.lua b/mods/ITEMS/mcl_bells/init.lua index 0120b18b8..d4bbe6325 100644 --- a/mods/ITEMS/mcl_bells/init.lua +++ b/mods/ITEMS/mcl_bells/init.lua @@ -10,16 +10,21 @@ end minetest.register_node("mcl_bells:bell", { description = S("Bell"), - inventory_image = "bell.png", - drawtype = "plantlike", - tiles = {"bell.png"}, - stack_max = 64, - selection_box = { + inventory_image = "mcl_bells_bell.png", + drawtype = "nodebox", + node_box = { type = "fixed", fixed = { - -4/16, -6/16, -4/16, - 4/16, 7/16, 4/16, - }, + { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }, + { -6/16, -6/16, -6/16, 6/16, 6/16, 6/16 }, + { -2/16, 6/16, -2/16, 2/16, 8/16, 2/16 }, + } + }, + --tiles = { "blank.png" }, + tiles = { + "mcl_bells_bell_top.png", + "mcl_bells_bell_bottom.png", + "mcl_bells_bell_side.png", }, is_ground_content = false, groups = {pickaxey=2, deco_block=1 }, diff --git a/mods/ITEMS/mcl_bells/textures/bell.png b/mods/ITEMS/mcl_bells/textures/bell.png deleted file mode 100644 index 34140288c896b5930c6d639a117ea8994270ee8e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 368 zcmV-$0gwKPP)d4gOVa=V0R2fs zK~y-)&62-M!%z^%KdG@aVhub(3$c({y0{i`a})fN9Qr2-ZrwV#x;Qy#AQ1u~AT2)8 zNE{yT(Py5mrHkL`xF4Up;|_L|r;V%gNplc%P2g~U&q`c=ei{2sesD9t^8kG992^Az zL}8bH;I}$0WDUS`DNU|5!K!A{aRVSCRaBJ|cWCcM9@HL91)DmuQr_nZ^xn-}RL!z9BM+e)+PxY1wvfAtM0pHLGv`K1s5 O0000R) diff --git a/mods/ITEMS/mcl_bells/textures/mcl_bells_bell.png b/mods/ITEMS/mcl_bells/textures/mcl_bells_bell.png new file mode 100644 index 0000000000000000000000000000000000000000..eb135f0d4d93b9ebc4f13efbffd1327e4bf59144 GIT binary patch literal 261 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd7G?$phPQVgfdn`UJR*x37`TN&n2}-D90>*n z2KEw9Usv|W?98m%rnhE#UuIxnP!I44ab;j&@UyjyaI;VGcB+W-XifH6kgmO_N&DP1 z^`~16zMuE`e=qz0|Ns7JY;p_?42&f~e!&b5&u*lFI7!~_EvyGMuDrTE;ftwqmR6q*+&KReUMwn3(vk=cxa!AnK5bpuzxDFy}x22WQ%mvv4F FO#mC^Qse*t literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_bells/textures/mcl_bells_bell_bottom.png b/mods/ITEMS/mcl_bells/textures/mcl_bells_bell_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..5d9ac88b108c0513cd0fd4ee1b7bfcb0138cca43 GIT binary patch literal 801 zcmV++1K#|JP)h|F_ns?)~((+`ac0r9!rMjw#QV&|0&$+DDdl zP&($vjROfy#PU+?(yU-TuN9gg!{#yS*PlNS#R=bjcR;0jME#)2g_#k`({3canv3jF*iHJ>sQVZ1VYvw#NXU}#L}x12tM_ChejhoafCP!95XXMl}eMXyNCRD z(q>`4O%&x=Ygk*&Q6Jq}l?M+R)DJQ$yT|w{#q+=qG-=|{oN0;i>O|J?<>!P#*1tP-um|TVNbVlx?C)@at<9Q)YK*W&R9BVDLTANy}jR?CV^+dY+QS0|`Fe5z)qBW{2F8-x8JAhcRtqA13ggwp5$ zkkM!)EMFdGad8AEq4+`I$n%a`d}#=U;!%B=zZ)l%MvB~c=Nw@Wkh}A2?=*P-y=AQJ z@c9?Jq-lXGuT4HtJNMt%caly!H>tWdV`HPqwX37RDc}F_CzqF|(b{6|Af5*%JRnK? fNV7s36%79a(dk&%+mquj00000NkvXXu0mjf9?*M4 literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_bells/textures/mcl_bells_bell_side.png b/mods/ITEMS/mcl_bells/textures/mcl_bells_bell_side.png new file mode 100644 index 0000000000000000000000000000000000000000..98db2bac7fc8dfb526ccc30edc223a0be1d6873b GIT binary patch literal 695 zcmV;o0!aOdP)| z%WfQ16h+s$_f}PxtGnHPB$ya%Bpv}V;4xqZ68QllF+}16GRemv_yC58LFPzdz#K)2 zKoL(^ehjvf%;6d1(7!6!FIKO7x9VrV#d ztm&)I`vdEk0!a*n9;`#mhaX>g^1(+}764*+GX@4?XpW8@Xaba%j!LotO$>Pbzmyx-uZcMW zl*6R6`5|7%>_7Jg$Qbkl)j&!mz0X)IFCiw8r0D>@xOH3I8KB5(K`VOih{@4(5!1a$ z-58vU>})rz>K$T)y`6i-S?;_+2##`a7s0StKvf!|R)jDk&sVJ5DIh39+YQfRoHxkq zecJ9FdcUG9bD+nXIiu0@AeQ;EWjqwDNqB!A`?o<|U&WXPD@)evUDmCmuM5=IXzCeP z*)zLh2p0icv zt6m@(hcjEK1>|KGE7%(D3Viopz}~}e@F7umC0%p~&~zPH+2OUssE}JQM%Z%gc>}q7 z=jI%c_OAz{a(6}VUmHC1jy>u3G>A002ovPDHLkV1nPlL8$-$ literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_bells/textures/mcl_bells_bell_top.png b/mods/ITEMS/mcl_bells/textures/mcl_bells_bell_top.png new file mode 100644 index 0000000000000000000000000000000000000000..d018844e979f47a6bf50f9cd584b0b8ee07fe4d2 GIT binary patch literal 656 zcmV;B0&o3^P)7jym_0wld{PA1jv2H-r!N`yElI#053GQSt{qpw&BOXO`ueZOf<#mI9Smrt(f7 zoiP%@FM!g=Gv;vuai%E~Y()G@#05)dkY`#uP~Gt%gb#ug$RQX zdK-v#2*GSYBqKVJvypA!4iTRO15;@bjn;rLhHs3XNHzh1NTRlx;s2moC>9_u^qx45 zH>{L{+CG4#!yr$aAGQohyn+}cL^VeD$BBB_x+Jv zz96FbFd_yyzak-^CwyEGeL(oHx~Q@r72=?j4NLZwWB-d%1WiAP_{tcLm7U)9aGzPq z#_%MygQa(1CMDshpuJsVT`eLEl}gepM-5uN6CN_pNg@tfe?p~lv}ba1rb$_rb!g7c z7+(i~;87tOeY}Xu9gztiJ4oVoe+VCX)p^?f%-KWa3vFb!TS4TRX%bSZ q)YgGBV-&!6SU+%gdOvD}%>M#EHfDj-|GowQ0000