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 0120b18b88..d4bbe6325b 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP-J2R`c>8+XGmw`fmJzX3_EKZ-DwBP%1fWUG4l^acx zcx{}xH%^G$wL`41SoqImnP2Lhd3UXL?6R=TP!MENRM54%=piHb{$l#PwM)D2zuX}| zfA?d)vMI}ZSAX^_7AWz3P*8u~E2gea^0#kYf${#&3^i|MWLOzo5~tTa*lwkp!h4`t z(|4We!BuIO3z-#^LPMrR) 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!ia0vp^0wB!73?$#)eFPHVEbxddW?fQgz6=yn5AX?b1=4=DmJx3DDc(*MQ68qoY26msG6Lt z>Z)+~hN;OFS4ov4aTntlrmdcFGmtN>WZj&LjEQgNaVCbmn|G5haC26grIzyAJvzKD w#piBqEqcbH(7ZVL*_l4J4Kme?%w`M>UMiBU8@K{a0j*&0boFyt=akR{02}2}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