From 1c05461e6743e58a71fb75e045501cdeec0d1eac Mon Sep 17 00:00:00 2001 From: NO11 Date: Fri, 30 Apr 2021 23:05:40 +0000 Subject: [PATCH 1/8] Add #924 (cactus breaks minecart now) --- mods/ITEMS/mcl_core/functions.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 732c386b0..96f020ee2 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -197,9 +197,21 @@ minetest.register_abm({ interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) - for _,object in pairs(minetest.get_objects_inside_radius(pos, 0.9)) do + for _,object in pairs(minetest.get_objects_inside_radius(pos, 1)) do if not object:is_player() and object:get_luaentity() and object:get_luaentity().name == "__builtin:item" then object:remove() + elseif not object:is_player() and object:get_luaentity().name == "mcl_minecarts:minecart" then + local pos = object:get_pos() + local driver = object:get_luaentity()._driver + if driver ~= nil then + mcl_player.player_attached[driver] = nil + local player = minetest.get_player_by_name(driver) + player:set_detach() + player:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0}) + mcl_player.player_set_animation(player, "stand" , 30) + end + minetest.add_item(pos, "mcl_minecarts:minecart") + object:remove() end end end, From f6b8133381d6ef6b0f6bd821f654e1d36d44313e Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 9 May 2021 21:54:56 +0000 Subject: [PATCH 2/8] Better textures for stripped wood part1 --- .../textures/mcl_core_stripped_acacia_side.png | Bin 361 -> 2171 bytes .../textures/mcl_core_stripped_acacia_top.png | Bin 426 -> 2025 bytes .../textures/mcl_core_stripped_birch_side.png | Bin 531 -> 611 bytes .../textures/mcl_core_stripped_birch_top.png | Bin 439 -> 681 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_acacia_side.png b/mods/ITEMS/mcl_core/textures/mcl_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birch_side.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_birch_side.png index a27739c1e6dcb48dbb821783a2d00a007b9f9c88..5eed80b39cb4260a31b8b111c23ff6d321480582 100644 GIT binary patch delta 540 zcmV+%0^|LY1mgsdQhx;r3jzn9viPe200HnxL_t(I%RQ4(lH529LmxrPp6+C~a>86A zXW3IGRoTh3Es@NJyGOr-AP4~MzaQWGe&5-*jc@<{!`tmf&V%DP8T*dh$$2uyMrCr& z#rwwxzka`SJSH+Tz;GAPR26eBOokMA>~uGZjjY1m=qkd4Y=4jsXNuC(m#;u$(uHd<6RK{^40|%08T-C7XM#a@QI%8{*!37dRZ%q2-Jci3 zg=iAk!ZE-{fPWdeCK`i03Q4$xn+Qpl0zfV*69Xa~vkQ2fi>!lw{GoxYrfFm#m*{S) z3mP8hVvLQkzwtWz*f8LB|B8n{6@vhsa{?eaRf%NGH8I4T=Ox|kDpD7E8t!tk8=dFE zC8~PBW%8GmLlk3SfYRTzeKBZ;bfrf}g! z7j8llS#AICMi7)yDC7&=}`Rwr!BrR5x+8?PVP7+Xi|O0VclO--xkM>qHXP e&6?M){1pXplqc&=(;Z0w0000m? zT}0m9X?GmF#-K-$^aA+rxtdfL3a62p|Za5QPD~QrvFtx!v4*AZGI!kIFDkClkwdI-M|P z=joF5YQe{^KY#sK=#`?Cnx>P~RY4Rk8T9x^)>&GfE-g`+iL;5O;p#HzX2_NI{_}Sa zWY!%AauHesb5ZEwBX zR%-Ip*B@^W++1B+_FgG_R#%0egIt7`waf%%Cb)k2%tT`|!(}G8+a4ZrU`#y!U3*@= zcxqQ|cYEuN%ldBuEYPSXp;Z{002ovPDHLkV1k|4 B+#CP^ diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_birch_top.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_birch_top.png index e5290422d4f7f826064a1bff7baf1cea5a2b46c7..69d2e0bfdffc760bed2d9936723cbe5d8803207b 100644 GIT binary patch delta 610 zcmV-o0-gQ01E~d&Qhx;r3L6-Rcs6kW00K5iL_t(I%WaZda@s%;MbC`J2!tMkO~rPe z3(GFDl5Eil;$^T#LVy5Coe$ZHsbs#otNKoN-#+T+kME+jLMer(G}_Y`PxHT5*9`!d zxRrE_VPt zJbvcxU6Z0*VYJp);$aZ7T%-W_1A|Tee)_Uqlh|7>r;1JH@I1}cvVJgTy_#c_q!+r~ zuAe9v1?&pPFbDxqTA|gecsP#OKCiem(&hdQ(}~5?9_RBJn^<;b$8%N^C}#Nlv2dmfj%#=q%2io&k5h_J~zU(EXzM5I4cG!AgN<5<<4 zP8SBRMvF-A*YD*PBLdsZabq-!ZlSihu*n>!bIqswDaEef;o}!XgkxDS3S$=OFO;G) z@or+-S2gK8y<)*180PCOaTGJ3J+WHM09Y?mY+?}sU4J(nU88{p5nl3wBb$!)Tb#p1P`6VH8G;!swl6Ev9W+M1;Dj5fSnt zzk=rt=kC-Yt3}F(`;W}h8BNoo1vnfl1_PfYPS8p-3_^xM$Y|Vk(@HT4BUX!)IEtwb zCDVyT09(_xE&Jn%rfn(r2ks`8>QIswIZ2$5@cI34 znrYwz&`z^+wtE2OHD3vyfdDGy&a5y6aI%Od9yK)4ZM|&k5Ha z=Ou&Z5=DTj9-TXT6Gv&-YDE@O)uZ{a$U;;S18}=HPFBW2RgYBlXl9d9HtW`Ax_)(- zSQ*H^+i6A*3uo;#Q(kk5EHu5nI@mK6Sx6fAsK}$pLgzh*6MKcbA Date: Sun, 9 May 2021 21:55:51 +0000 Subject: [PATCH 3/8] Better textures for stripped wood part2 --- .../mcl_core_stripped_dark_oak_side.png | Bin 382 -> 2007 bytes .../mcl_core_stripped_dark_oak_top.png | Bin 438 -> 695 bytes .../textures/mcl_core_stripped_jungle_side.png | Bin 415 -> 650 bytes .../textures/mcl_core_stripped_jungle_top.png | Bin 480 -> 637 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_dark_oak_side.png b/mods/ITEMS/mcl_core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I9DT&dsNgo+&x-?y$i0+8m}KAb=rA ze&=+lOIdr$t!;T2<+ns+BdQb=reO(Z6DG-@&37}~d)u+m$auc`3Gj zQOP{9GknZKZ$o&gVPbmelAogO6!2&wz%S88Ypf$u4U%9;exhk<9}x($#J|St~gcLU@4&hi(ATzFMZQ2Si{&_;XY|{v+4WTGn{a=r1yEBwhpY> zZYmj@IFIK}+uE8;cEIm_mhW0tc5dckLWFm>r&@j;g{L*#q=HD>iZ@7@+}-^2IFxY` z9JW7?r?!4#*hVj9Vd3s$&JqycZyW)yRMq_ryz{jyO|e9;ks&dE1ql@~9e@Msn*aa- z+et)0R5;5`lgV}6FbqX6K#=;f3(7VHr2k41TOu)JLFJ$9fj0v3>*tT^een5lqN4QC zi3lPSGedyPL`0Zt@p+zH_s#D=UtISWmRYpcKm=`#@9RQU$w;gj-}lWhLrtkHA`3wn zV;}R*?)$~2L zcQ&9d540&+$y&~wlLFRSWG1S@F*=z^@5bvmkOH&DS`)3>o>U$NQRbY82=`o66-||@ z+ExULqOza_YfXs=vXXAb=$)*@JpfqlSTlO>On1VA-i^$EB+}9Fq^cO!DR>78(7ORb zJyina(*gpcA81if1r(zhBCwW&2=2l0)V194<){jgK^3?!G!sgMtj#J2=j%l`BQk-V zfvN&KJb*1!P#y(qO(GKyXU-caj?r1}d|%faWVvsf1-XM2+G{zt+nR7uU z5y4u%l~$qJ6jhs>Ba^HJFMk9H6E-V36}-m)009e0L_t(I%Z-zuLtZ00000 LNkvXXu0mjfAxDjk diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_dark_oak_top.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_dark_oak_top.png index fbc45938f39a4c70c4f1b506a630a606676ebb15..48c6da9afb1f59cd193feec2edafbbe7fe46ae8e 100644 GIT binary patch delta 637 zcmV-@0)qXv1Gfc`7zqdl0000V^Z#LyAu)di2^AkNL({T10006+NklE ze)*&*D2ghmDm(bTPf-*+hll{WJ;4)UOBAZAq}lKZ!zTT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X9I34&k({{WehL0ENE R04V?f002ovPDHLkV1mqZ3-`fto z1`J*I20lSg(d+acJw$HMbs!)YFT9BY28n?2rrlKPSZUI~@gR-<{Fy(#dwYHP+AQY) z><&i&wndJyj=Cyo`+tZYm z1f2Z&mmshi>qynC^kP!YSjX;goG8m=_3%xrjo!mgd!zRlajyb%fK(x+${B5oJjO~U zJ+JR4k|iXujFn^$WTW^0l7u|f_QQpJ0Q;tkacZNSl}fET`Ey*FYu-yJ$tHIp#rwx+ z+*GM9GuC0Oi%;t-A4~GsW|6aRx=5k`>Z<&+s%%fjGp*xXRQf30|F$14T#-Z1ZVf2( oeCvNv(*HEEu1e~vyt?K9-;v&ygZ6z%UjP6A07*qoM6N<$f&((9$p8QV diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_jungle_top.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_jungle_top.png index bfa54d8fe5470e58eb8ae0f161464355c6dbed27..028e37eafdb10bcd29ba938dea78c68e8370caeb 100644 GIT binary patch delta 579 zcmV-J0=)g;1N{V$7zqdl0000V^Z#LyAu)di2?-+#ZWu+I0006CNkl$}7^C7^^WWZvXAjY6#3}GOs zDyuYS-0e_R7JzP~Xb`+pzL^Y~&%z);Gz<|DR%y#slFd9)J+w7VAo3|ld(3Y-A#Ag;c3nM_bc8*C zwXAms)|-^kWsm<=uiwUdcwTLYHAK!6IJq1Vh~S(%ySj6O;j$fbKbvBmNA{&_K=a2J zeyz5AzWvCk(`wAC$#u;2N?CD0y!Q>L_F(>YKmd2wJ&0004PNkl zGS#{wPcsTCB|r>PKcC)vALc37a1?*|9l(uQQUm}I%6`grtJP+6I2bb=_WSMjFYf>+ zvb1UH+&cjtHf1{i%Nbz*a}Oc$c$_40tnJ6~et{?oTP1DCQ~d42!o$n^atOH)W&r!s zX_EAMc_F@ua?RH^RFXnMR)&eOf(*=r<+p&9;6xCD8 Date: Sun, 9 May 2021 21:57:06 +0000 Subject: [PATCH 4/8] Better textures for stripped wood part3 --- .../textures/mcl_core_stripped_oak_side.png | Bin 551 -> 2130 bytes .../textures/mcl_core_stripped_oak_top.png | Bin 523 -> 729 bytes .../textures/mcl_core_stripped_spruce_side.png | Bin 447 -> 2054 bytes .../textures/mcl_core_stripped_spruce_top.png | Bin 556 -> 733 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_oak_side.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_oak_side.png index 3bdffd76e14a9a256975620422c6830b37462408..c37220bb653a15b6170a20b09c34777eb138f6e3 100644 GIT binary patch delta 2085 zcmV+=2-^3j1kw@9ghRm`W4AV1XpzA~p1>W%;XAF*ibWJM#&ONy^LOmr8GeCxMqk+Zrt{$w3g@#f$X^)gJf+{UTL^uzW}ZK8 zgy4&Rf4yV(41al^duP{T22$B+QkKdZVIkm*VQtH}3f>9hvaX6tkYWd818iQnx}!=A zv>%EzsL@0B`tH;bV&t0(zL`5Xm~#>eSMFg_5a&e?mr%oSLBLZ7YXQ@IVxi@?E`OZ_ zo(Ewi6O0jd{J7k2lmE+g3_Z`3E|Hgm72@KlX@oJEn}45J1w!aiOw+=5UG7ac{*BlG z2GfFBkYMxIHgP3-X)7$A1J)%Uo!_NFWvBr_1m6k4PyhoyQ%ID_7v@3)90mL|M9v}d z1qLW39^@Wy6G8?#!qYeQ6k2OJ@t#I&Sp||q0W~!=kQHNseo7Q*sHKpiODW}4lBAki z4mswObAK**_NZ1ui6xa>N|91alOR!&WGNz2rB$v0EiBbsi>p#=Z4FKvOgHRqSkcM)I-k6`e#_u;P*69EYn${JvET>~_zG3FeqtopP@ zE`OrSEkjjiQO!99PitN5V1C{c__jqkFHfkeut&q!5Sm-#D+F`qL$ifx*#N-3?kzq? z4bq%O$-3S_GG#ey5_JwIpvFP06Y)=hRnKjibPy5CPAP)Ly|Xb$SC8r5dnsmJSF5>< z^SNUs5*%HY(st2^XanS>3^m3!6E&cow|^f`VWZ9{kxdCso4$Rw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xQit}-{W(> zdtdD$JAdU97}>&1*0Is5fJZtvHX?|-&`|Gf!FWxW^x6NOk; zuwUN;V7`9h$LTi`6EL$I02T9gHD6xeF<#_MADoI?S74%$!~_)=DllH;09;<*G3d5A zI%ojsA7^%hbp-&42{<`yRt1g@8VpCPN>kd2m_9fL-8TKSrSEq-Fj2^$+twyPn;!q&^(qvu1aI_-rL`q(sH`7M|e*T{C-UB%(PvUv| z!hHQi-26gf0*0d%SubX0H}umM))id+`t!yh>&1E~dC!hJ3Kw9|Z7XE!3XSNMsS6|- znZyxS64ykbE}2)}Dk0rZTbL-+X$(gzZl;gw!n#6xYCIR&`D@+x`2Mw_cHh$$Hd4Z@ tau+7coXIl(Fw)z5KJ0(FYM;H%{{im@)*MZ?;pYGV002ovPDHLkV1i?D(&+#I diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_spruce_side.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_spruce_side.png index 11ea15bebbad35c0a09c692a42104d22382c31b1..55cb4cec3fdd8d2c466b30ddbf75a2aa6748b050 100644 GIT binary patch delta 1995 zcmV;+2Q>J<1BMWgBYy?0dQ@0+Qek%>aB^>EX>4U6ba`-PAZ2)IW&i+q+O1Y?lI$i7 z{Ld+J1OyTv$HCaH$_;Y-G$7#_@5`%7D&yTTBd{d8Tf*-8>(AT$flnYG97`^#rsVPA z$~80$ieH~~C(rX+e|Q^w+1;K9Fh$(s`k5|W-(Z*Lfy`<@zJKj5clA@$k$F~!aYPOn z=(?hgVpw+4->&L&jX$=d|91~_T8=gK{>>R+oC1F_xNt>^9^Yj|iQ}JQ!(HZg#UhFc z;}|QxL*!p$=l1Xg-X6WM^G)sX8w%%>E=Vto)K2ni>?T4l)-3YZ1l>OS&(9}z_gU`y zTDxnUfK+n2DSz9_9AP2g$rG2M5DeVh%O*I4Iz8(H$~qI9)7YqJy;vbJ)4ij9X{CP6d%q!pcB!MtI`K z<$h)SFV}W--$S}YzHF?JR~VW`8iTpTpJ`TGg=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JhWVDqet%|fh=&_1izzoS#R~D-pmzY^p-@{fFtBR~*rEm{s6`4gf z%q}Fm8(?Nb_jaOtPwuaa+xjr4ccwQ$nz?Gr$pr?hl4wELmjg}K{xCC}xVgZNyGg99 dol+92`436)Bvn(^-+=%C002ovPDHLkV1fYy_^6vWGzR{43E0^`ci19nLQ;CO}nb5gA^KBv_lr{Jda3nKvYN* zeN+E>Iv{_E9NKmT_JR}|Wsw>K)y)3&!wk6PiJ?RQqFuKm>UQ*i<`$??w4!H$nj&JV!`RD}7NU%>Dro}n+em983pTf6aqG?NdX-@oSGU67j>DV~h^FfHCSt^bMLqwc*o;drq14#0n>j{pDw07*qoM6N<$g6iq2`~Uy| diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_stripped_spruce_top.png b/mods/ITEMS/mcl_core/textures/mcl_core_stripped_spruce_top.png index 7699612b6bf2721104c69d9318710f7723554e40..ec0dd2da813ae457527cf65598c385e609d6a150 100644 GIT binary patch delta 676 zcmV;V0$cs81lQ_koy8 zuBw*5->)^ZmZXZchTJ(s3f95P0)n%~0-!)rWtuw#p*eO0 zZ@Fs@7cC~4=jqfjjESU>dxtSbsB(W#W)0i6<91mStYLHL$c&-NJa3jYuNM`Ee!yG9 z^|T<*EQ;dBm@YI0;qluMfJtyX?2dSM23}7~L?CzWnLZTW;j9r3{lNY-0?-_LM4;^= zni6AD5V-%gp)NcEY}$@~Ohi=-z(aFDRSDj3Rb>3}+YLo#F#^F`Qc^N!Xxe|CyQV!0 zS)P{}1zs;}UR38S2=M7^!}@lGb(Zz*ig_8Bmx0_{L|}-C`=+HIBPK=Vaeo3}R%A5C z4xX3%++WTnfU`!dlo>PBz%>nddB=?Tv^YDAk%fPFvk`MO{%PMEn zcI;2X4}gOF_2*i>a~N};34*oef)Np7jED$BOsJlJ0F;yx{{tV$EVK}+{<_ov0000< KMNUMnLSTXzA419i delta 497 zcmVf?|7qo*=kZyHw=wI+(c5p~Hmx4nrxGQF9{iq*^hAMU_j|rC?x_L|T zChy%nch7V0n`*aPtw!T`q$`<%m&4OO``eN?=044>;Sss6ZCh6O{o{7L{eC2RSeAc` zyLY0|Xg*)B!~Z|kjj?UU9K`lp~W2kBD3{$ch7W zmo`}uU>wj52fzdHgxqSiQYoK5-)bqYa?a6lG8tW$f%N<1@pLLD#Qw=-wc73e;~5^& ziUQh40igA0B^*)VVzJo-LHM0ll+Aydrl!fj>h*HjapDCi=URlsmr}xkNO5BTc&jAC zf8{xSe|!l$2Y-lGq7MF=rfG^25g}J60-yp=!2?U0K_UQ>G<5=iIR;k}6#%k-JA9>H z!!>~7$rAyPIEI{4u3||Oe9bk`Y*s48Vp!No?3a!qDwM{Jb1qE}fQeHeshnL0 Date: Mon, 10 May 2021 01:57:34 +0400 Subject: [PATCH 5/8] [mcl_mapgen_core] Don't crash if Ender Dragon doesn't spawn for some reason --- mods/MAPGEN/mcl_mapgen_core/init.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index 90b272506..bdcdb1b4d 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -1248,9 +1248,14 @@ local function generate_clay(minp, maxp, blockseed, voxelmanip_data, voxelmanip_ end local function generate_end_exit_portal(pos) - local dragon_entity = minetest.add_entity(vector.add(pos, vector.new(3, 11, 3)), "mobs_mc:enderdragon"):get_luaentity() - dragon_entity._initial = true - dragon_entity._portal_pos = pos + local obj = minetest.add_entity(vector.add(pos, vector.new(3, 11, 3)), "mobs_mc:enderdragon") + if obj then + local dragon_entity = obj:get_luaentity() + dragon_entity._initial = true + dragon_entity._portal_pos = pos + else + minetest.log("error", "[mcl_mapgen_core] ERROR! Ender dragon doesn't want to spawn") + end mcl_structures.call_struct(pos, "end_exit_portal") end From a3d3055e8af15d00ca87123ec64fc0544fd529f7 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 9 May 2021 22:10:08 +0000 Subject: [PATCH 6/8] Remove cactus destroys minecart from master --- mods/ITEMS/mcl_core/functions.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 96f020ee2..732c386b0 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -197,21 +197,9 @@ minetest.register_abm({ interval = 1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) - for _,object in pairs(minetest.get_objects_inside_radius(pos, 1)) do + for _,object in pairs(minetest.get_objects_inside_radius(pos, 0.9)) do if not object:is_player() and object:get_luaentity() and object:get_luaentity().name == "__builtin:item" then object:remove() - elseif not object:is_player() and object:get_luaentity().name == "mcl_minecarts:minecart" then - local pos = object:get_pos() - local driver = object:get_luaentity()._driver - if driver ~= nil then - mcl_player.player_attached[driver] = nil - local player = minetest.get_player_by_name(driver) - player:set_detach() - player:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0}) - mcl_player.player_set_animation(player, "stand" , 30) - end - minetest.add_item(pos, "mcl_minecarts:minecart") - object:remove() end end end, From f3c540af5d879c3e8c5b2eb32eb2c9bbbb4bf0a7 Mon Sep 17 00:00:00 2001 From: kay27 Date: Mon, 10 May 2021 02:24:38 +0400 Subject: [PATCH 7/8] [mcl_mapgen_core, mcl_biomes] Make chorus growth deterministic --- mods/ITEMS/mcl_end/chorus_plant.lua | 16 ++++++++-------- mods/MAPGEN/mcl_biomes/init.lua | 7 +++++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/mods/ITEMS/mcl_end/chorus_plant.lua b/mods/ITEMS/mcl_end/chorus_plant.lua index 9622e618f..597842867 100644 --- a/mods/ITEMS/mcl_end/chorus_plant.lua +++ b/mods/ITEMS/mcl_end/chorus_plant.lua @@ -309,7 +309,7 @@ minetest.register_node("mcl_end:chorus_plant", { }) -- Grow a complete chorus plant at pos -mcl_end.grow_chorus_plant = function(pos, node) +mcl_end.grow_chorus_plant = function(pos, node, pr) local flowers = { pos } -- Plant initial flower (if it isn't there already) if not node then @@ -321,7 +321,7 @@ mcl_end.grow_chorus_plant = function(pos, node) while true do local new_flowers_list = {} for f=1, #flowers do - local new_flowers = mcl_end.grow_chorus_plant_step(flowers[f], minetest.get_node(flowers[f])) + local new_flowers = mcl_end.grow_chorus_plant_step(flowers[f], minetest.get_node(flowers[f]), pr) if #new_flowers > 0 then table.insert(new_flowers_list, new_flowers) end @@ -340,7 +340,7 @@ end -- Grow a single step of a chorus plant at pos. -- Pos must be a chorus flower. -mcl_end.grow_chorus_plant_step = function(pos, node) +mcl_end.grow_chorus_plant_step = function(pos, node, pr) local new_flower_buds = {} local above = { x = pos.x, y = pos.y + 1, z = pos.z } local node_above = minetest.get_node(above) @@ -396,7 +396,7 @@ mcl_end.grow_chorus_plant_step = function(pos, node) if grow_chance then local new_flowers = {} - local r = math.random(1, 100) + local r = pr:next(1, 100) local age = node.param2 if r <= grow_chance then table.insert(new_flowers, above) @@ -404,13 +404,13 @@ mcl_end.grow_chorus_plant_step = function(pos, node) age = age + 1 local branches if branching == false then - branches = math.random(1, 4) + branches = pr:next(1, 4) elseif branching == true then - branches = math.random(0, 3) + branches = pr:next(0, 3) end local branch_grown = false for b=1, branches do - local next_branch = math.random(1, #around) + local next_branch = pr:next(1, #around) local branch = vector.add(pos, around[next_branch]) local below_branch = vector.add(branch, {x=0,y=-1,z=0}) if minetest.get_node(below_branch).name == "air" then @@ -457,7 +457,7 @@ minetest.register_abm({ interval = 35.0, chance = 4.0, action = function(pos, node, active_object_count, active_object_count_wider) - mcl_end.grow_chorus_plant_step(pos, node) + mcl_end.grow_chorus_plant_step(pos, node, pr) end, }) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index f583d87b6..cf9ccfb9e 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -3976,9 +3976,12 @@ if mg_name ~= "singlenode" then --local poslist = {} for _, pos in ipairs(gennotify["decoration#"..deco_id_chorus_plant] or {}) do local realpos = { x = pos.x, y = pos.y + 1, z = pos.z } - mcl_end.grow_chorus_plant(realpos) + local node = minetest.get_node(realpos) + if node and node.name == "mcl_end:chorus_flower" then + mcl_end.grow_chorus_plant(realpos, node, PseudoRandom(blockseed + 14)) + end end - end) + end, 999999999) end end From f054eb1ce60a653db9dc9a2bbe6cf8d8a8be619b Mon Sep 17 00:00:00 2001 From: kay27 Date: Mon, 10 May 2021 02:47:56 +0400 Subject: [PATCH 8/8] [mcl_biomes] Fix chorus random function, prevent chorus growth at return portal position --- mods/MAPGEN/mcl_biomes/init.lua | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index cf9ccfb9e..3655be7eb 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -3974,14 +3974,18 @@ if mg_name ~= "singlenode" then mcl_mapgen_core.register_generator("chorus_grow", nil, function(minp, maxp, blockseed) local gennotify = minetest.get_mapgen_object("gennotify") --local poslist = {} + local pr = PseudoRandom(blockseed + 14) for _, pos in ipairs(gennotify["decoration#"..deco_id_chorus_plant] or {}) do - local realpos = { x = pos.x, y = pos.y + 1, z = pos.z } - local node = minetest.get_node(realpos) - if node and node.name == "mcl_end:chorus_flower" then - mcl_end.grow_chorus_plant(realpos, node, PseudoRandom(blockseed + 14)) + local x, y, z = pos.x, pos.y, pos.z + if x < -2 or x > 2 or z < -2 or z > 2 then + local realpos = { x = x, y = y + 1, z = z } + local node = minetest.get_node(realpos) + if node and node.name == "mcl_end:chorus_flower" then + mcl_end.grow_chorus_plant(realpos, node, pr) + end end end - end, 999999999) + end) end end