From f517d828850c8725c2b4695ec740835d0495a604 Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:11:48 +0000 Subject: [PATCH 01/11] Add 'mods/ITEMS/mcl_sweet_berry/mod.conf' --- mods/ITEMS/mcl_sweet_berry/mod.conf | 1 + 1 file changed, 1 insertion(+) create mode 100644 mods/ITEMS/mcl_sweet_berry/mod.conf diff --git a/mods/ITEMS/mcl_sweet_berry/mod.conf b/mods/ITEMS/mcl_sweet_berry/mod.conf new file mode 100644 index 000000000..32dbf5da0 --- /dev/null +++ b/mods/ITEMS/mcl_sweet_berry/mod.conf @@ -0,0 +1 @@ +name=mcl_sweet_berry \ No newline at end of file From b012c3b739e0acffc15f95895c2538c2ceb6c66c Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:20:44 +0000 Subject: [PATCH 02/11] Add 'mods/ITEMS/mcl_sweet_berry/init.lua' --- mods/ITEMS/mcl_sweet_berry/init.lua | 75 +++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 mods/ITEMS/mcl_sweet_berry/init.lua diff --git a/mods/ITEMS/mcl_sweet_berry/init.lua b/mods/ITEMS/mcl_sweet_berry/init.lua new file mode 100644 index 000000000..b94393505 --- /dev/null +++ b/mods/ITEMS/mcl_sweet_berry/init.lua @@ -0,0 +1,75 @@ +minetest.register_craftitem("mc_sweet_berry:sweet_berry", { + description = "Sweet Berry", + inventory_image = "sweet_berry.png", + on_use = minetest.item_eat(2) +}) + +minetest.register_node("mc_sweet_berry:sweet_berry_bush_0", { + drawtype = "plantlike", + tiles = {"sweet_berry_bush_0.png"}, + damage_per_second = 1, + drop = "" +}) +minetest.register_node("mc_sweet_berry:sweet_berry_bush_1", { + drawtype = "plantlike", + tiles = {"sweet_berry_bush_1.png"}, + damage_per_second = 1, + drop = "" +}) +minetest.register_node("mc_sweet_berry:sweet_berry_bush_2", { + drawtype = "plantlike", + tiles = {"sweet_berry_bush_2.png"}, + damage_per_second = 2, + drop = "mc:sweet_berry 2" +}) +minetest.register_node("mc_sweet_berry:sweet_berry_bush_3", { + drawtype = "plantlike", + tiles = {"sweet_berry_bush_3.png"}, + damage_per_second = 2, + drop = "mc:sweet_berry 3" +}) + +minetest.register_decoration({ + deco_type = "simple", + place_on = {"mcl_core:dirt_with_grass"}, + sidelen = 16, + fill_ratio = 0.1, + biomes = {"Taiga","Forest"}, + y_max = mcl_vars.mg_overworld_max, + y_min = mcl_vars.mg_overworld_min, + decoration = "mc_sweet_berry:sweet_berry_bush_2" +}) +minetest.register_abm({ + nodenames = {"mc_sweet_berry:sweet_berry_bush_0"}, + interval = 10.0, + chance = 16, + action = function(pos, node, active_object_count, active_object_count_wider) + minetest.set_node(pos, {name = "mc_sweet_berry:sweet_berry_bush_1"}) + end +}) +minetest.register_abm({ + nodenames = {"mc_sweet_berry:sweet_berry_bush_1"}, + interval = 10.0, + chance = 16, + action = function(pos, node, active_object_count, active_object_count_wider) + minetest.set_node(pos, {name = "mc_sweet_berry:sweet_berry_bush_2"}) + end +}) +minetest.register_abm({ + nodenames = {"mc_sweet_berry:sweet_berry_bush_2"}, + interval = 10.0, + chance = 16, + action = function(pos, node, active_object_count, active_object_count_wider) + minetest.set_node(pos, {name = "mc_sweet_berry:sweet_berry_bush_3"}) + end +}) + +--taken from mc modpack by TechDude/TechDudie + + + + + + + + From 49f8df85eead4a905de610d84d71cd7ea7a0fa00 Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:26:59 +0000 Subject: [PATCH 03/11] Upload files to 'mods/ITEMS/mcl_sweet_berry' --- mods/ITEMS/mcl_sweet_berry/sweet_berry.png | Bin 0 -> 479 bytes mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png | Bin 0 -> 449 bytes mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png | Bin 0 -> 782 bytes mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png | Bin 0 -> 791 bytes mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png | Bin 0 -> 855 bytes 5 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry.png create mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png create mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png create mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png create mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry.png new file mode 100644 index 0000000000000000000000000000000000000000..90729328400df2dd8807dacc2967b10eb25b00d2 GIT binary patch literal 479 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z~GV^ z;hE;^%b>-;z`()4*q+J20#d@jz#zo{0?Z2-8JNK$j0_A5nBcMk3z!jXkV2Et!cPng zjGmq@jv*F;$q5n}2RcqOK6P^XpI9{a{k?}F$610~e40(lUpzIoC@5?++?06Yl|#-N zwg#25J2QC~Nu2xlgK=4+3zPi)dV#i&57}N^mHNB=#pXuu29rZ3_y7NuUL&`pa9^OI zvxU68vxL5Wgzg;%Jx9F_N)sFv?Bjp^oXpr3Ui0TbUC`_!xg1+J&7pUXO@ GgeCyx+^?np literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png new file mode 100644 index 0000000000000000000000000000000000000000..bbf2879dd1c6605be49fd37a27cc2e8841a799ed GIT binary patch literal 449 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z~GV^ z;hE;^%b>-;z`()4*q+J20#d@jz#zo{0?Z2-8JNK$j0_A5nBcMk3z!jXkV2Et!cPng zjM|PdWslyfEm!L;qfL354@^4I*1(g%Bz5}u$wMDL9yV{=AHUD= Njj;`rA0E3^ zEb%HZhT&38?Yp{T|LyAy_w4)H^zi=m_dGf^Hay?I$E80J5KSo1`1oTzQ;F!NRtdFN zZnOVCfA~D<$A>qzhyUCEmtdKCL~>u<|HB84A3k>A*ttU+)+cLs$%*itVEw=Ef69;F z-;|mA4a}MQcPJcQuD@TRZtwpiAJ{!Mdvh54Nlr^-*eUdkOGLjxMWX&+!j8?KwH7x_ z5r{auUq4>*-{#H6cWxHW{K(HN+?6(gX@{qQu%n5_7t5us5_Nn3FqrX({QCd@Uus3o c8@;wFhQOfQ;1ibZ&q2ZG>FVdQ&MBb@0N&QEx&QzG literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png new file mode 100644 index 0000000000000000000000000000000000000000..661672caa388ea74d7c965fa90e07d704cc88f9b GIT binary patch literal 782 zcmV+p1M&QcP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=cu7P-R5%fJle{eA=d#|EwqQn}Q7>15WIbFx)rN47oZ4+>{h z(=c>vI0KJd9-s$C4rOEMzhx^=@4Iq}_KX}BP-XP!mN4NvNQsK?p{2cyC`u4{0eonH z@1t!`3j){2>$?-epDRh&cJq(l6LE#v2a}|=)dbDyuzs(>URi~`yaod?U>Hb2P-rrR z+QFM=Y5Tr50rQD022;1kiIzktmJF0yn~*Ez1(4Vd{`|60Uv*Hq*e9+*)C}Vq8+QEq z8LAtNVZh|mf&pjEL%JSzOhih>x`s)rnNZZcKmwii*%6Hv=W$`09V*-mn@YqX!HEb>W^Krb8cs;*cn zwiFP%5&XJ`#pwmoJ={mDGOG9TV8y#Pd*S1(-hcytW&_8 z`$qwv?7w=N@=B~NS-c|>CJ**H!6aY%;Y=pVuJ54W(g^m z5U|SRFn2LNyZ`_I literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png new file mode 100644 index 0000000000000000000000000000000000000000..61ac69bfe5c10b2c5be607ee0c065ee395b30fd7 GIT binary patch literal 791 zcmV+y1L*vTP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=fk{L`R5%fJQ%h?TQ561eGLKB& zt$jj^pjOfv5Fe7c-D#C6fx(+bCN@%q6_;h(vCmUB4ch)*EHuo8owLj4H z0wQVyZK(Jz9>QfBA)|W7w*$2H~!_f2S zO}68f*^a_e7B@Dw8i~ag_%)$gF&|C5n*dvY>BZS|wg= zgBp>1P3p=Zjcw&YOD?RQ7|N^yxE@-fA>m@{B{;DJh%95}#oK>F;a$IxbS2)Ptp=(3pr#X0eknSJruieAMF~OUocUjVP=hXGufpHUWahHn_{{q9- V2d_%=1rY!M002ovPDHLkV1i#^TrB_q literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png new file mode 100644 index 0000000000000000000000000000000000000000..f1a0aff1aa0420e3a04bda82c76139227ad4f70a GIT binary patch literal 855 zcmV-d1E~CoP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=!AV3xR5%fJlgm$2K@`Tnx%alW zEqwqYr4Xa05vd|dP^yve5CaRsO2bAsny@lzOx*f67+ILOab;qZh%r7A!5Bj{@qt)g zLLy47C={AP>Ek|nZ^yaUv}ui=&73(i-*3)2GXwm`+OM3XJ=glFvD|RJ(;WY`l@te$ z_XeoK3z&E|Lkxf*TCo<(K+6FxK}TjIjk)2;5)D@j=$~9hQ&>XhUi1$8}v6wfl00p8(2TGNnZpuCxs5vPl;iaFfr2%s#-Qjhtt7#YXC zHb2C=a@GeK2}MVaHFf^}1PKlVX;u)Bu~|@3Lif%(>S1@*sj84|Iv%z9VfA}qRWxK+ z6JzXTH+b~E{f1?y2OnCh{s7vq_E1r!5FRhU&O+b40z3^~C@wp4i7c9o+u;O6_SHgH zQV2}10UB^K5+;K2V60XP6kWmC(hpJ}^i#@e<^>*h7Pk`#wefXiZ9be1S0Wmo!MW&q zA@hP`G^OEGGv(7N+>4ut`O1*9Tkv&sjvNf`rc>{h$gQdhswrt)NU9{zchr2|1%M$o zAY6{(^TQA^=7i@#bsdzgaGDP5N`g5Yw%BtQJry9#F8~a2-i}@FrkbQ89*#qBS^-f6 zQ57sa_(b;fHBx0$M&!++sV(^n2B7WI2{RK(BWC)BScxV~abVyu{ql5{ Date: Mon, 19 Apr 2021 18:28:01 +0000 Subject: [PATCH 04/11] Delete 'mods/ITEMS/mcl_sweet_berry/sweet_berry.png' --- mods/ITEMS/mcl_sweet_berry/sweet_berry.png | Bin 479 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry.png diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry.png deleted file mode 100644 index 90729328400df2dd8807dacc2967b10eb25b00d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 479 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z~GV^ z;hE;^%b>-;z`()4*q+J20#d@jz#zo{0?Z2-8JNK$j0_A5nBcMk3z!jXkV2Et!cPng zjGmq@jv*F;$q5n}2RcqOK6P^XpI9{a{k?}F$610~e40(lUpzIoC@5?++?06Yl|#-N zwg#25J2QC~Nu2xlgK=4+3zPi)dV#i&57}N^mHNB=#pXuu29rZ3_y7NuUL&`pa9^OI zvxU68vxL5Wgzg;%Jx9F_N)sFv?Bjp^oXpr3Ui0TbUC`_!xg1+J&7pUXO@ GgeCyx+^?np From 85e693e1e1854ae95cc36ac9522e8b12555a9774 Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:28:16 +0000 Subject: [PATCH 05/11] Delete 'mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png' --- mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png | Bin 449 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_0.png deleted file mode 100644 index bbf2879dd1c6605be49fd37a27cc2e8841a799ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 449 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z~GV^ z;hE;^%b>-;z`()4*q+J20#d@jz#zo{0?Z2-8JNK$j0_A5nBcMk3z!jXkV2Et!cPng zjM|PdWslyfEm!L;qfL354@^4I*1(g%Bz5}u$wMDL9yV{=AHUD= Njj;`rA0E3^ zEb%HZhT&38?Yp{T|LyAy_w4)H^zi=m_dGf^Hay?I$E80J5KSo1`1oTzQ;F!NRtdFN zZnOVCfA~D<$A>qzhyUCEmtdKCL~>u<|HB84A3k>A*ttU+)+cLs$%*itVEw=Ef69;F z-;|mA4a}MQcPJcQuD@TRZtwpiAJ{!Mdvh54Nlr^-*eUdkOGLjxMWX&+!j8?KwH7x_ z5r{auUq4>*-{#H6cWxHW{K(HN+?6(gX@{qQu%n5_7t5us5_Nn3FqrX({QCd@Uus3o c8@;wFhQOfQ;1ibZ&q2ZG>FVdQ&MBb@0N&QEx&QzG From 9efefc2d85dc30627c5b1f9debe5d320bfae880b Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:28:33 +0000 Subject: [PATCH 06/11] Delete 'mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png' --- mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png | Bin 782 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_1.png deleted file mode 100644 index 661672caa388ea74d7c965fa90e07d704cc88f9b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 782 zcmV+p1M&QcP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=cu7P-R5%fJle{eA=d#|EwqQn}Q7>15WIbFx)rN47oZ4+>{h z(=c>vI0KJd9-s$C4rOEMzhx^=@4Iq}_KX}BP-XP!mN4NvNQsK?p{2cyC`u4{0eonH z@1t!`3j){2>$?-epDRh&cJq(l6LE#v2a}|=)dbDyuzs(>URi~`yaod?U>Hb2P-rrR z+QFM=Y5Tr50rQD022;1kiIzktmJF0yn~*Ez1(4Vd{`|60Uv*Hq*e9+*)C}Vq8+QEq z8LAtNVZh|mf&pjEL%JSzOhih>x`s)rnNZZcKmwii*%6Hv=W$`09V*-mn@YqX!HEb>W^Krb8cs;*cn zwiFP%5&XJ`#pwmoJ={mDGOG9TV8y#Pd*S1(-hcytW&_8 z`$qwv?7w=N@=B~NS-c|>CJ**H!6aY%;Y=pVuJ54W(g^m z5U|SRFn2LNyZ`_I From ade55cee3358adc5c1c389560393c049ad103423 Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:29:57 +0000 Subject: [PATCH 07/11] Delete 'mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png' --- mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png | Bin 855 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_3.png deleted file mode 100644 index f1a0aff1aa0420e3a04bda82c76139227ad4f70a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 855 zcmV-d1E~CoP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=!AV3xR5%fJlgm$2K@`Tnx%alW zEqwqYr4Xa05vd|dP^yve5CaRsO2bAsny@lzOx*f67+ILOab;qZh%r7A!5Bj{@qt)g zLLy47C={AP>Ek|nZ^yaUv}ui=&73(i-*3)2GXwm`+OM3XJ=glFvD|RJ(;WY`l@te$ z_XeoK3z&E|Lkxf*TCo<(K+6FxK}TjIjk)2;5)D@j=$~9hQ&>XhUi1$8}v6wfl00p8(2TGNnZpuCxs5vPl;iaFfr2%s#-Qjhtt7#YXC zHb2C=a@GeK2}MVaHFf^}1PKlVX;u)Bu~|@3Lif%(>S1@*sj84|Iv%z9VfA}qRWxK+ z6JzXTH+b~E{f1?y2OnCh{s7vq_E1r!5FRhU&O+b40z3^~C@wp4i7c9o+u;O6_SHgH zQV2}10UB^K5+;K2V60XP6kWmC(hpJ}^i#@e<^>*h7Pk`#wefXiZ9be1S0Wmo!MW&q zA@hP`G^OEGGv(7N+>4ut`O1*9Tkv&sjvNf`rc>{h$gQdhswrt)NU9{zchr2|1%M$o zAY6{(^TQA^=7i@#bsdzgaGDP5N`g5Yw%BtQJry9#F8~a2-i}@FrkbQ89*#qBS^-f6 zQ57sa_(b;fHBx0$M&!++sV(^n2B7WI2{RK(BWC)BScxV~abVyu{ql5{ Date: Mon, 19 Apr 2021 18:30:11 +0000 Subject: [PATCH 08/11] Delete 'mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png' --- mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png | Bin 791 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png diff --git a/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png b/mods/ITEMS/mcl_sweet_berry/sweet_berry_bush_2.png deleted file mode 100644 index 61ac69bfe5c10b2c5be607ee0c065ee395b30fd7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 791 zcmV+y1L*vTP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=fk{L`R5%fJQ%h?TQ561eGLKB& zt$jj^pjOfv5Fe7c-D#C6fx(+bCN@%q6_;h(vCmUB4ch)*EHuo8owLj4H z0wQVyZK(Jz9>QfBA)|W7w*$2H~!_f2S zO}68f*^a_e7B@Dw8i~ag_%)$gF&|C5n*dvY>BZS|wg= zgBp>1P3p=Zjcw&YOD?RQ7|N^yxE@-fA>m@{B{;DJh%95}#oK>F;a$IxbS2)Ptp=(3pr#X0eknSJruieAMF~OUocUjVP=hXGufpHUWahHn_{{q9- V2d_%=1rY!M002ovPDHLkV1i#^TrB_q From cea1078a16a09833927b8b1e911106c4bd6a0be3 Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:30:44 +0000 Subject: [PATCH 09/11] Upload files to 'mods/ITEMS/mcl_sweet_berry/textures' --- .../mcl_sweet_berry/textures/sweet_berry.png | Bin 0 -> 479 bytes .../textures/sweet_berry_bush_0.png | Bin 0 -> 449 bytes .../textures/sweet_berry_bush_1.png | Bin 0 -> 782 bytes .../textures/sweet_berry_bush_2.png | Bin 0 -> 791 bytes .../textures/sweet_berry_bush_3.png | Bin 0 -> 855 bytes 5 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mods/ITEMS/mcl_sweet_berry/textures/sweet_berry.png create mode 100644 mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_0.png create mode 100644 mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_1.png create mode 100644 mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_2.png create mode 100644 mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_3.png diff --git a/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry.png b/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry.png new file mode 100644 index 0000000000000000000000000000000000000000..90729328400df2dd8807dacc2967b10eb25b00d2 GIT binary patch literal 479 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z~GV^ z;hE;^%b>-;z`()4*q+J20#d@jz#zo{0?Z2-8JNK$j0_A5nBcMk3z!jXkV2Et!cPng zjGmq@jv*F;$q5n}2RcqOK6P^XpI9{a{k?}F$610~e40(lUpzIoC@5?++?06Yl|#-N zwg#25J2QC~Nu2xlgK=4+3zPi)dV#i&57}N^mHNB=#pXuu29rZ3_y7NuUL&`pa9^OI zvxU68vxL5Wgzg;%Jx9F_N)sFv?Bjp^oXpr3Ui0TbUC`_!xg1+J&7pUXO@ GgeCyx+^?np literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_0.png b/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_0.png new file mode 100644 index 0000000000000000000000000000000000000000..bbf2879dd1c6605be49fd37a27cc2e8841a799ed GIT binary patch literal 449 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z~GV^ z;hE;^%b>-;z`()4*q+J20#d@jz#zo{0?Z2-8JNK$j0_A5nBcMk3z!jXkV2Et!cPng zjM|PdWslyfEm!L;qfL354@^4I*1(g%Bz5}u$wMDL9yV{=AHUD= Njj;`rA0E3^ zEb%HZhT&38?Yp{T|LyAy_w4)H^zi=m_dGf^Hay?I$E80J5KSo1`1oTzQ;F!NRtdFN zZnOVCfA~D<$A>qzhyUCEmtdKCL~>u<|HB84A3k>A*ttU+)+cLs$%*itVEw=Ef69;F z-;|mA4a}MQcPJcQuD@TRZtwpiAJ{!Mdvh54Nlr^-*eUdkOGLjxMWX&+!j8?KwH7x_ z5r{auUq4>*-{#H6cWxHW{K(HN+?6(gX@{qQu%n5_7t5us5_Nn3FqrX({QCd@Uus3o c8@;wFhQOfQ;1ibZ&q2ZG>FVdQ&MBb@0N&QEx&QzG literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_1.png b/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_1.png new file mode 100644 index 0000000000000000000000000000000000000000..661672caa388ea74d7c965fa90e07d704cc88f9b GIT binary patch literal 782 zcmV+p1M&QcP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=cu7P-R5%fJle{eA=d#|EwqQn}Q7>15WIbFx)rN47oZ4+>{h z(=c>vI0KJd9-s$C4rOEMzhx^=@4Iq}_KX}BP-XP!mN4NvNQsK?p{2cyC`u4{0eonH z@1t!`3j){2>$?-epDRh&cJq(l6LE#v2a}|=)dbDyuzs(>URi~`yaod?U>Hb2P-rrR z+QFM=Y5Tr50rQD022;1kiIzktmJF0yn~*Ez1(4Vd{`|60Uv*Hq*e9+*)C}Vq8+QEq z8LAtNVZh|mf&pjEL%JSzOhih>x`s)rnNZZcKmwii*%6Hv=W$`09V*-mn@YqX!HEb>W^Krb8cs;*cn zwiFP%5&XJ`#pwmoJ={mDGOG9TV8y#Pd*S1(-hcytW&_8 z`$qwv?7w=N@=B~NS-c|>CJ**H!6aY%;Y=pVuJ54W(g^m z5U|SRFn2LNyZ`_I literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_2.png b/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_2.png new file mode 100644 index 0000000000000000000000000000000000000000..61ac69bfe5c10b2c5be607ee0c065ee395b30fd7 GIT binary patch literal 791 zcmV+y1L*vTP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=fk{L`R5%fJQ%h?TQ561eGLKB& zt$jj^pjOfv5Fe7c-D#C6fx(+bCN@%q6_;h(vCmUB4ch)*EHuo8owLj4H z0wQVyZK(Jz9>QfBA)|W7w*$2H~!_f2S zO}68f*^a_e7B@Dw8i~ag_%)$gF&|C5n*dvY>BZS|wg= zgBp>1P3p=Zjcw&YOD?RQ7|N^yxE@-fA>m@{B{;DJh%95}#oK>F;a$IxbS2)Ptp=(3pr#X0eknSJruieAMF~OUocUjVP=hXGufpHUWahHn_{{q9- V2d_%=1rY!M002ovPDHLkV1i#^TrB_q literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_3.png b/mods/ITEMS/mcl_sweet_berry/textures/sweet_berry_bush_3.png new file mode 100644 index 0000000000000000000000000000000000000000..f1a0aff1aa0420e3a04bda82c76139227ad4f70a GIT binary patch literal 855 zcmV-d1E~CoP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR915TFA91ONa40RR915C8xG05nx`@&Et=!AV3xR5%fJlgm$2K@`Tnx%alW zEqwqYr4Xa05vd|dP^yve5CaRsO2bAsny@lzOx*f67+ILOab;qZh%r7A!5Bj{@qt)g zLLy47C={AP>Ek|nZ^yaUv}ui=&73(i-*3)2GXwm`+OM3XJ=glFvD|RJ(;WY`l@te$ z_XeoK3z&E|Lkxf*TCo<(K+6FxK}TjIjk)2;5)D@j=$~9hQ&>XhUi1$8}v6wfl00p8(2TGNnZpuCxs5vPl;iaFfr2%s#-Qjhtt7#YXC zHb2C=a@GeK2}MVaHFf^}1PKlVX;u)Bu~|@3Lif%(>S1@*sj84|Iv%z9VfA}qRWxK+ z6JzXTH+b~E{f1?y2OnCh{s7vq_E1r!5FRhU&O+b40z3^~C@wp4i7c9o+u;O6_SHgH zQV2}10UB^K5+;K2V60XP6kWmC(hpJ}^i#@e<^>*h7Pk`#wefXiZ9be1S0Wmo!MW&q zA@hP`G^OEGGv(7N+>4ut`O1*9Tkv&sjvNf`rc>{h$gQdhswrt)NU9{zchr2|1%M$o zAY6{(^TQA^=7i@#bsdzgaGDP5N`g5Yw%BtQJry9#F8~a2-i}@FrkbQ89*#qBS^-f6 zQ57sa_(b;fHBx0$M&!++sV(^n2B7WI2{RK(BWC)BScxV~abVyu{ql5{ Date: Mon, 19 Apr 2021 18:32:47 +0000 Subject: [PATCH 10/11] Update 'mods/ITEMS/mcl_sweet_berry/init.lua' --- mods/ITEMS/mcl_sweet_berry/init.lua | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_sweet_berry/init.lua b/mods/ITEMS/mcl_sweet_berry/init.lua index b94393505..21ef0fd53 100644 --- a/mods/ITEMS/mcl_sweet_berry/init.lua +++ b/mods/ITEMS/mcl_sweet_berry/init.lua @@ -3,32 +3,46 @@ minetest.register_craftitem("mc_sweet_berry:sweet_berry", { inventory_image = "sweet_berry.png", on_use = minetest.item_eat(2) }) - minetest.register_node("mc_sweet_berry:sweet_berry_bush_0", { drawtype = "plantlike", tiles = {"sweet_berry_bush_0.png"}, damage_per_second = 1, + selection_box = { + type = "fixed", + fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, + }, drop = "" }) minetest.register_node("mc_sweet_berry:sweet_berry_bush_1", { drawtype = "plantlike", tiles = {"sweet_berry_bush_1.png"}, damage_per_second = 1, + selection_box = { + type = "fixed", + fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, + }, drop = "" }) minetest.register_node("mc_sweet_berry:sweet_berry_bush_2", { drawtype = "plantlike", tiles = {"sweet_berry_bush_2.png"}, damage_per_second = 2, + selection_box = { + type = "fixed", + fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, + }, drop = "mc:sweet_berry 2" }) minetest.register_node("mc_sweet_berry:sweet_berry_bush_3", { drawtype = "plantlike", tiles = {"sweet_berry_bush_3.png"}, damage_per_second = 2, + selection_box = { + type = "fixed", + fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16}, + }, drop = "mc:sweet_berry 3" }) - minetest.register_decoration({ deco_type = "simple", place_on = {"mcl_core:dirt_with_grass"}, From feda530bffe6ee97075a2b906d109358ba186837 Mon Sep 17 00:00:00 2001 From: TechDudie Date: Mon, 19 Apr 2021 18:39:09 +0000 Subject: [PATCH 11/11] Update 'mods/ITEMS/mcl_sweet_berry/init.lua' --- mods/ITEMS/mcl_sweet_berry/init.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mods/ITEMS/mcl_sweet_berry/init.lua b/mods/ITEMS/mcl_sweet_berry/init.lua index 21ef0fd53..d1967c68c 100644 --- a/mods/ITEMS/mcl_sweet_berry/init.lua +++ b/mods/ITEMS/mcl_sweet_berry/init.lua @@ -1,9 +1,9 @@ -minetest.register_craftitem("mc_sweet_berry:sweet_berry", { +minetest.register_craftitem("mcl_sweet_berry:sweet_berry", { description = "Sweet Berry", inventory_image = "sweet_berry.png", on_use = minetest.item_eat(2) }) -minetest.register_node("mc_sweet_berry:sweet_berry_bush_0", { +minetest.register_node("mcl_sweet_berry:sweet_berry_bush_0", { drawtype = "plantlike", tiles = {"sweet_berry_bush_0.png"}, damage_per_second = 1, @@ -13,7 +13,7 @@ minetest.register_node("mc_sweet_berry:sweet_berry_bush_0", { }, drop = "" }) -minetest.register_node("mc_sweet_berry:sweet_berry_bush_1", { +minetest.register_node("mcl_sweet_berry:sweet_berry_bush_1", { drawtype = "plantlike", tiles = {"sweet_berry_bush_1.png"}, damage_per_second = 1, @@ -23,7 +23,7 @@ minetest.register_node("mc_sweet_berry:sweet_berry_bush_1", { }, drop = "" }) -minetest.register_node("mc_sweet_berry:sweet_berry_bush_2", { +minetest.register_node("mcl_sweet_berry:sweet_berry_bush_2", { drawtype = "plantlike", tiles = {"sweet_berry_bush_2.png"}, damage_per_second = 2, @@ -33,7 +33,7 @@ minetest.register_node("mc_sweet_berry:sweet_berry_bush_2", { }, drop = "mc:sweet_berry 2" }) -minetest.register_node("mc_sweet_berry:sweet_berry_bush_3", { +minetest.register_node("mcl_sweet_berry:sweet_berry_bush_3", { drawtype = "plantlike", tiles = {"sweet_berry_bush_3.png"}, damage_per_second = 2, @@ -51,30 +51,30 @@ minetest.register_decoration({ biomes = {"Taiga","Forest"}, y_max = mcl_vars.mg_overworld_max, y_min = mcl_vars.mg_overworld_min, - decoration = "mc_sweet_berry:sweet_berry_bush_2" + decoration = "mcl_sweet_berry:sweet_berry_bush_2" }) minetest.register_abm({ - nodenames = {"mc_sweet_berry:sweet_berry_bush_0"}, + nodenames = {"mcl_sweet_berry:sweet_berry_bush_0"}, interval = 10.0, chance = 16, action = function(pos, node, active_object_count, active_object_count_wider) - minetest.set_node(pos, {name = "mc_sweet_berry:sweet_berry_bush_1"}) + minetest.set_node(pos, {name = "mcl_sweet_berry:sweet_berry_bush_1"}) end }) minetest.register_abm({ - nodenames = {"mc_sweet_berry:sweet_berry_bush_1"}, + nodenames = {"mcl_sweet_berry:sweet_berry_bush_1"}, interval = 10.0, chance = 16, action = function(pos, node, active_object_count, active_object_count_wider) - minetest.set_node(pos, {name = "mc_sweet_berry:sweet_berry_bush_2"}) + minetest.set_node(pos, {name = "mcl_sweet_berry:sweet_berry_bush_2"}) end }) minetest.register_abm({ - nodenames = {"mc_sweet_berry:sweet_berry_bush_2"}, + nodenames = {"mcl_sweet_berry:sweet_berry_bush_2"}, interval = 10.0, chance = 16, action = function(pos, node, active_object_count, active_object_count_wider) - minetest.set_node(pos, {name = "mc_sweet_berry:sweet_berry_bush_3"}) + minetest.set_node(pos, {name = "mcl_sweet_berry:sweet_berry_bush_3"}) end })