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 0000000000..32dbf5da0e --- /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 0000000000..b943935053 --- /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!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#j=IQC;7-Auq zoFI{LpyM>-QzxhYiA8hY-+LHxoF%x$r`e?Z#ZzO8g2G0_O^GL7IpnNiYfve>Gn03b z#JPVz7?&lwFv;Jq7ijzVknP1)slVG_Y;N>!Fgav$|Nmdk-lC_yOrdSwXP-aV z$duk7a@eHE$jInMQBhNi1YiCCa|}hiIyDJmwy|Fr)`-ioZE#?`ed64?35%zmU2y2w zu?Z*6^Yd*Gc6FDKkFQ|*u5_bBf$Um(1pyh#tZHKNjWbEK}FgvW` yu#lhW#H_@k7bY>nyI9V6D-;GuEI7?CXU7l_F!7DCPt7V&;Cj0HxvXrS3F=-_UNtJ za<$$v+LWjHz@!sx4Lk`29M(S!nxk3ZHkm56R?l~8--Hv9kchtHFK ze0XDf_`m&s36`lxB=^<*KYZZ$;bRAmojbH)eX@3!oCx0u*8ltdr~LT+O_{mhz?`{% zhr;3I`uip7_WnQef!$-XH;2KWUPan7zyQyS|Yz**H<`q-9B`H6(wZ3WU#tWwo zU2{)eV$i0LvE;+V3{9Ngwmkmm?EtvabPcMlu0VS#c*c(=&hXGh_VRslyh${dngz7maB=Q=(>1 z(0t%t_+YT5nIASQWxnXYX?gc6v8-$M^J+s$SDATIyIGa?~rnM36 z?CLAnGu~yiol3c-UHaxlj=PllhZ(DW`EzgC$)d|=`2EFPjuk)V?l5#IHSRAx?U=i< z&BSx#?(NPghu5`pWb=K>O`X;$;N^F8di&+3$L-x2K6fiUmFy4Q{=J@~ysJs#>Z*2` z;yk0!C)>mW&j<&cc00v)Gv}sX(WdMz^Oxy-@|@tHFa2TFx(KapA_BVw|Lkf%`jYjM z?H%{$^Us^SayVpT;3e|t_GbT=r&>=}KbLh* G2~7Y{PfEN1 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z|`pJ;uvBf zSQ_k|EgUHFFVCpo=ib^{r|tz|m!t&bS4=Tm8@jtdJ0ws%i`(fS`;L$P9S@ueE^d9X zOj}&EC8R6ksPDzF8oivQZ?D+QI+vnmJoEKl^O+IimIcpc&RO2CJjXce!iBfSSIocq z_nD={KmXjI|D)!?A;E`hZiUX-T_1OXMMOQX@4}ZO7ne1%{Co1Hqd;QzsSDkU+g}^@cD)Bw#U*}^bwzMfDW^Tcf$J-tFUw-5RG9RAKH8ZW+2KzCtL zO!1>|ixc-2W;;JxZdp+|;hp^J^>+^+F+4bXae3sW(&tyc-fAoq&M%zaE%2Y|@HO`J TUY}V7L5b4S)z4*}Q$iB}UtwG= 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z;w{l#WBP} zuypci|6oUvWBYf0-?m-1mO*K$z~W_sE0w$gR!#gMz|4Kf>#&>otPMt4K6ieZOGM7t zQJ9)ErNhup=%9qN$;ZZsI432qwHhL`oL)Y*tI9vV^ZJ&|-g#%|SQ_8YKWAyo{O9dckUjManb*TPR|qAW%vJUS~6L3LJ1f5_IN={&Bhl!U#8F8^0ztmiek3KheFoKM&}WvXl6^*hhHyv8$H={`DT{>J@z{swlme57)z`zB2LZakp0B8sU^p% z`IN7qczE^)W2^qa`RuD=U4p|K+7?A-@XXsjscP1Fww1ZFg?G(j-M*={@nrl2BTXLj zcMVJTNx4ay-qt=K*!0}o&3A3*tSn1s^+m}NAE!8OjZ6&I>FAEUlY5u7)V5LNywMcK zdk-C=E>B2VuxI8J!R6iSx-9R!?*p(F3IWY-e+3+?;i^% zA4_JKz=VyF0YOgR&sn`nEWfsL)r4Ftxvjqvzg8!PnxsSsC%;KCulTa>Z(HhecKN7P z{}^tq{}vFqR6tJuz&WS;dzox_<23ZFi#l~?_1u2Q;_~gPQ+N=E&w56w0%IYyrjH40 z!nj3Z58k-MA0+=J_*B+2R=F~ 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!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#j=IQC;7-Auq zoFI{LpyM>-QzxhYiA8hY-+LHxoF%x$r`e?Z#ZzO8g2G0_O^GL7IpnNiYfve>Gn03b z#JPVz7?&lwFv;Jq7ijzVknP1)slVG_Y;N>!Fgav$|Nmdk-lC_yOrdSwXP-aV z$duk7a@eHE$jInMQBhNi1YiCCa|}hiIyDJmwy|Fr)`-ioZE#?`ed64?35%zmU2y2w zu?Z*6^Yd*Gc6FDKkFQ|*u5_bBf$Um(1pyh#tZHKNjWbEK}FgvW` yu#lhW#H_@k7bY>nyI9V6D-;GuEI7?CXU7l_F!7DCPt7V&;Cj0HxvX 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!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#jrtRtC7-Auq zoFKuvSg}E!#l)%SU-OcuvL^plAHUgj^Trh8h1^+c)=i?up9_pNtg`>rS3F=-_UNtJ za<$$v+LWjHz@!sx4Lk`29M(S!nxk3ZHkm56R?l~8--Hv9kchtHFK ze0XDf_`m&s36`lxB=^<*KYZZ$;bRAmojbH)eX@3!oCx0u*8ltdr~LT+O_{mhz?`{% zhr;3I`uip7_WnQef!$-XH;2KW 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z*OPs;uvBf zSUP#PzlfvE@%@{3Z{NQCcqNBm$QA>UPan7zyQyS|Yz**H<`q-9B`H6(wZ3WU#tWwo zU2{)eV$i0LvE;+V3{9Ngwmkmm?EtvabPcMlu0VS#c*c(=&hXGh_VRslyh${dngz7maB=Q=(>1 z(0t%t_+YT5nIASQWxnXYX?gc6v8-$M^J+s$SDATIyIGa?~rnM36 z?CLAnGu~yiol3c-UHaxlj=PllhZ(DW`EzgC$)d|=`2EFPjuk)V?l5#IHSRAx?U=i< z&BSx#?(NPghu5`pWb=K>O`X;$;N^F8di&+3$L-x2K6fiUmFy4Q{=J@~ysJs#>Z*2` z;yk0!C)>mW&j<&cc00v)Gv}sX(WdMz^Oxy-@|@tHFa2TFx(KapA_BVw|Lkf%`jYjM z?H%{$^Us^SayVpT;3e|t_GbT=r&>=}KbLh* G2~7Y{PfEN1 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z;w{l#WBP} zuypci|6oUvWBYf0-?m-1mO*K$z~W_sE0w$gR!#gMz|4Kf>#&>otPMt4K6ieZOGM7t zQJ9)ErNhup=%9qN$;ZZsI432qwHhL`oL)Y*tI9vV^ZJ&|-g#%|SQ_8YKWAyo{O9dckUjManb*TPR|qAW%vJUS~6L3LJ1f5_IN={&Bhl!U#8F8^0ztmiek3KheFoKM&}WvXl6^*hhHyv8$H={`DT{>J@z{swlme57)z`zB2LZakp0B8sU^p% z`IN7qczE^)W2^qa`RuD=U4p|K+7?A-@XXsjscP1Fww1ZFg?G(j-M*={@nrl2BTXLj zcMVJTNx4ay-qt=K*!0}o&3A3*tSn1s^+m}NAE!8OjZ6&I>FAEUlY5u7)V5LNywMcK zdk-C=E>B2VuxI8J!R6iSx-9R!?*p(F3IWY-e+3+?;i^% zA4_JKz=VyF0YOgR&sn`nEWfsL)r4Ftxvjqvzg8!PnxsSsC%;KCulTa>Z(HhecKN7P z{}^tq{}vFqR6tJuz&WS;dzox_<23ZFi#l~?_1u2Q;_~gPQ+N=E&w56w0%IYyrjH40 z!nj3Z58k-MA0+=J_*B+2R=F~ 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z|`pJ;uvBf zSQ_k|EgUHFFVCpo=ib^{r|tz|m!t&bS4=Tm8@jtdJ0ws%i`(fS`;L$P9S@ueE^d9X zOj}&EC8R6ksPDzF8oivQZ?D+QI+vnmJoEKl^O+IimIcpc&RO2CJjXce!iBfSSIocq z_nD={KmXjI|D)!?A;E`hZiUX-T_1OXMMOQX@4}ZO7ne1%{Co1Hqd;QzsSDkU+g}^@cD)Bw#U*}^bwzMfDW^Tcf$J-tFUw-5RG9RAKH8ZW+2KzCtL zO!1>|ixc-2W;;JxZdp+|;hp^J^>+^+F+4bXae3sW(&tyc-fAoq&M%zaE%2Y|@HO`J TUY}V7L5b4S)z4*}Q$iB}UtwG= 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!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#j=IQC;7-Auq zoFI{LpyM>-QzxhYiA8hY-+LHxoF%x$r`e?Z#ZzO8g2G0_O^GL7IpnNiYfve>Gn03b z#JPVz7?&lwFv;Jq7ijzVknP1)slVG_Y;N>!Fgav$|Nmdk-lC_yOrdSwXP-aV z$duk7a@eHE$jInMQBhNi1YiCCa|}hiIyDJmwy|Fr)`-ioZE#?`ed64?35%zmU2y2w zu?Z*6^Yd*Gc6FDKkFQ|*u5_bBf$Um(1pyh#tZHKNjWbEK}FgvW` yu#lhW#H_@k7bY>nyI9V6D-;GuEI7?CXU7l_F!7DCPt7V&;Cj0HxvXrS3F=-_UNtJ za<$$v+LWjHz@!sx4Lk`29M(S!nxk3ZHkm56R?l~8--Hv9kchtHFK ze0XDf_`m&s36`lxB=^<*KYZZ$;bRAmojbH)eX@3!oCx0u*8ltdr~LT+O_{mhz?`{% zhr;3I`uip7_WnQef!$-XH;2KWUPan7zyQyS|Yz**H<`q-9B`H6(wZ3WU#tWwo zU2{)eV$i0LvE;+V3{9Ngwmkmm?EtvabPcMlu0VS#c*c(=&hXGh_VRslyh${dngz7maB=Q=(>1 z(0t%t_+YT5nIASQWxnXYX?gc6v8-$M^J+s$SDATIyIGa?~rnM36 z?CLAnGu~yiol3c-UHaxlj=PllhZ(DW`EzgC$)d|=`2EFPjuk)V?l5#IHSRAx?U=i< z&BSx#?(NPghu5`pWb=K>O`X;$;N^F8di&+3$L-x2K6fiUmFy4Q{=J@~ysJs#>Z*2` z;yk0!C)>mW&j<&cc00v)Gv}sX(WdMz^Oxy-@|@tHFa2TFx(KapA_BVw|Lkf%`jYjM z?H%{$^Us^SayVpT;3e|t_GbT=r&>=}KbLh* G2~7Y{PfEN1 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z|`pJ;uvBf zSQ_k|EgUHFFVCpo=ib^{r|tz|m!t&bS4=Tm8@jtdJ0ws%i`(fS`;L$P9S@ueE^d9X zOj}&EC8R6ksPDzF8oivQZ?D+QI+vnmJoEKl^O+IimIcpc&RO2CJjXce!iBfSSIocq z_nD={KmXjI|D)!?A;E`hZiUX-T_1OXMMOQX@4}ZO7ne1%{Co1Hqd;QzsSDkU+g}^@cD)Bw#U*}^bwzMfDW^Tcf$J-tFUw-5RG9RAKH8ZW+2KzCtL zO!1>|ixc-2W;;JxZdp+|;hp^J^>+^+F+4bXae3sW(&tyc-fAoq&M%zaE%2Y|@HO`J TUY}V7L5b4S)z4*}Q$iB}UtwG= 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 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&Rm5z;w{l#WBP} zuypci|6oUvWBYf0-?m-1mO*K$z~W_sE0w$gR!#gMz|4Kf>#&>otPMt4K6ieZOGM7t zQJ9)ErNhup=%9qN$;ZZsI432qwHhL`oL)Y*tI9vV^ZJ&|-g#%|SQ_8YKWAyo{O9dckUjManb*TPR|qAW%vJUS~6L3LJ1f5_IN={&Bhl!U#8F8^0ztmiek3KheFoKM&}WvXl6^*hhHyv8$H={`DT{>J@z{swlme57)z`zB2LZakp0B8sU^p% z`IN7qczE^)W2^qa`RuD=U4p|K+7?A-@XXsjscP1Fww1ZFg?G(j-M*={@nrl2BTXLj zcMVJTNx4ay-qt=K*!0}o&3A3*tSn1s^+m}NAE!8OjZ6&I>FAEUlY5u7)V5LNywMcK zdk-C=E>B2VuxI8J!R6iSx-9R!?*p(F3IWY-e+3+?;i^% zA4_JKz=VyF0YOgR&sn`nEWfsL)r4Ftxvjqvzg8!PnxsSsC%;KCulTa>Z(HhecKN7P z{}^tq{}vFqR6tJuz&WS;dzox_<23ZFi#l~?_1u2Q;_~gPQ+N=E&w56w0%IYyrjH40 z!nj3Z58k-MA0+=J_*B+2R=F~ 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 b943935053..21ef0fd53f 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 21ef0fd53f..d1967c68c5 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 })