From 94b1ba03a27672be9944df8e86683fee19f374ea Mon Sep 17 00:00:00 2001 From: KaadmY Date: Wed, 17 May 2017 13:54:33 -0700 Subject: [PATCH] Tons of ore modifications; added and/or tweaked ore spawning --- mods/default/mapgen.lua | 157 +++++++++++++----- mods/default/nodes.lua | 20 +++ .../default/textures/default_mineral_coal.png | Bin 355 -> 279 bytes .../default/textures/default_mineral_coal.xcf | Bin 1320 -> 2339 bytes .../textures/default_mineral_copper.png | Bin 0 -> 323 bytes .../textures/default_mineral_copper.xcf | Bin 0 -> 2454 bytes .../default/textures/default_mineral_iron.png | Bin 393 -> 310 bytes .../default/textures/default_mineral_iron.xcf | Bin 1326 -> 2402 bytes mods/default/textures/default_mineral_tin.png | Bin 0 -> 308 bytes mods/default/textures/default_mineral_tin.xcf | Bin 0 -> 2454 bytes mods/gold/init.lua | 56 +++---- mods/gold/textures/gold_mineral.png | Bin 389 -> 0 bytes mods/gold/textures/gold_mineral.xcf | Bin 1313 -> 0 bytes mods/gold/textures/gold_mineral_gold.png | Bin 0 -> 292 bytes mods/gold/textures/gold_mineral_gold.xcf | Bin 0 -> 2296 bytes mods/lumien/init.lua | 30 ++-- mods/lumien/textures/lumien_mineral.png | Bin 419 -> 0 bytes mods/lumien/textures/lumien_mineral.xcf | Bin 1308 -> 0 bytes .../lumien/textures/lumien_mineral_lumien.png | Bin 0 -> 365 bytes .../lumien/textures/lumien_mineral_lumien.xcf | Bin 0 -> 2347 bytes 20 files changed, 186 insertions(+), 77 deletions(-) create mode 100644 mods/default/textures/default_mineral_copper.png create mode 100644 mods/default/textures/default_mineral_copper.xcf create mode 100644 mods/default/textures/default_mineral_tin.png create mode 100644 mods/default/textures/default_mineral_tin.xcf delete mode 100644 mods/gold/textures/gold_mineral.png delete mode 100644 mods/gold/textures/gold_mineral.xcf create mode 100644 mods/gold/textures/gold_mineral_gold.png create mode 100644 mods/gold/textures/gold_mineral_gold.xcf delete mode 100644 mods/lumien/textures/lumien_mineral.png delete mode 100644 mods/lumien/textures/lumien_mineral.xcf create mode 100644 mods/lumien/textures/lumien_mineral_lumien.png create mode 100644 mods/lumien/textures/lumien_mineral_lumien.xcf diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index 51d8fea..d633f4e 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -3,28 +3,33 @@ -- Mapgen -- +local function on_generated(minp, maxp, blockseed) + for x = minp.x, maxp.x do + if x > 0 then + return + end + + for z = minp.z, maxp.z do + if z > -16 and z < 16 then + for y = minp.y, maxp.y do + minetest.remove_node({x = x, y = y, z = z}) + end + end + end + end +end + +minetest.register_on_generated(on_generated) + -- Aliases for map generator outputs --- Might not be needed with v7, but just in case +-- v7 still needs them.. sigh.. minetest.register_alias("mapgen_stone", "default:stone") -minetest.register_alias("mapgen_tree", "default:tree") -minetest.register_alias("mapgen_leaves", "default:leaves") -minetest.register_alias("mapgen_apple", "default:apple") +minetest.register_alias("mapgen_sandstone", "default:sandstone") + minetest.register_alias("mapgen_water_source", "default:water_source") minetest.register_alias("mapgen_river_water_source", "default:river_water_source") -minetest.register_alias("mapgen_dirt", "default:dirt") -minetest.register_alias("mapgen_sand", "default:sand") -minetest.register_alias("mapgen_desert_sand", "default:sand") -minetest.register_alias("mapgen_desert_stone", "default:sandstone") -minetest.register_alias("mapgen_gravel", "default:gravel") -minetest.register_alias("mapgen_cobble", "default:cobble") -minetest.register_alias("mapgen_mossycobble", "default:reinforced_cobble") -minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass") -minetest.register_alias("mapgen_junglegrass", "default:grass") -minetest.register_alias("mapgen_stone_with_coal", "default:stone_with_coal") -minetest.register_alias("mapgen_stone_with_iron", "default:stone_with_iron") -minetest.register_alias("mapgen_mese", "default:block_steel") -minetest.register_alias("mapgen_stair_cobble", "default:reinforced_frame") + minetest.register_alias("mapgen_lava_source", "default:water_source") -- Biome setup @@ -691,66 +696,142 @@ minetest.register_decoration( -- Coal ore -minetest.register_ore( +minetest.register_ore( -- Even distribution { ore_type = "scatter", ore = "default:stone_with_coal", wherein = "default:stone", clust_scarcity = 10*10*10, - clust_num_ores = 6, + clust_num_ores = 8, clust_size = 4, y_min = -31000, y_max = 32, }) -minetest.register_ore( +minetest.register_ore( -- Dense sheet { ore_type = "scatter", ore = "default:stone_with_coal", wherein = "default:stone", - clust_scarcity = 8*8*8, - clust_num_ores = 8, - clust_size = 6, - y_min = -31000, + clust_scarcity = 7*7*7, + clust_num_ores = 10, + clust_size = 8, + y_min = -40, y_max = -32, }) -minetest.register_ore( +minetest.register_ore( -- Deep ore sheet { ore_type = "scatter", ore = "default:stone_with_coal", wherein = "default:stone", - clust_scarcity = 9*9*9, - clust_num_ores = 20, - clust_size = 10, - y_min = -31000, - y_max = -64, + clust_scarcity = 6*6*6, + clust_num_ores = 26, + clust_size = 12, + y_min = -130, + y_max = -120, }) -- Iron ore -minetest.register_ore( +minetest.register_ore( -- Even distribution { ore_type = "scatter", ore = "default:stone_with_iron", wherein = "default:stone", - clust_scarcity = 8*8*8, - clust_num_ores = 6, - clust_size = 4, + clust_scarcity = 12*12*12, + clust_num_ores = 4, + clust_size = 3, y_min = -31000, - y_max = 0, + y_max = -8, }) -minetest.register_ore( +minetest.register_ore( -- Dense sheet { ore_type = "scatter", ore = "default:stone_with_iron", wherein = "default:stone", clust_scarcity = 8*8*8, clust_num_ores = 20, - clust_size = 10, + clust_size = 12, + y_min = -32, + y_max = -24, +}) + +minetest.register_ore( -- Dense sheet + { + ore_type = "scatter", + ore = "default:stone_with_iron", + wherein = "default:stone", + clust_scarcity = 7*7*7, + clust_num_ores = 17, + clust_size = 6, + y_min = -80, + y_max = -60, +}) + +-- Tin ore + +minetest.register_ore( -- Even distribution + { + ore_type = "scatter", + ore = "default:stone_with_tin", + wherein = "default:stone", + clust_scarcity = 14*14*14, + clust_num_ores = 8, + clust_size = 4, y_min = -31000, - y_max = -32, + y_max = -100, +}) + +minetest.register_ore( -- Dense sheet + { + ore_type = "scatter", + ore = "default:stone_with_tin", + wherein = "default:stone", + clust_scarcity = 7*7*7, + clust_num_ores = 10, + clust_size = 6, + y_min = -150, + y_max = -140, +}) + +-- Copper ore + +minetest.register_ore( -- Begin sheet + { + ore_type = "scatter", + ore = "default:stone_with_copper", + wherein = "default:stone", + clust_scarcity = 6*6*6, + clust_num_ores = 12, + clust_size = 5, + y_min = -90, + y_max = -80, +}) + +minetest.register_ore( -- Rare even distribution + { + ore_type = "scatter", + ore = "default:stone_with_copper", + wherein = "default:stone", + clust_scarcity = 13*13*13, + clust_num_ores = 10, + clust_size = 5, + y_min = -31000, + y_max = -90, +}) + +minetest.register_ore( -- Large clusters + { + ore_type = "scatter", + ore = "default:stone_with_copper", + wherein = "default:stone", + clust_scarcity = 8*8*8, + clust_num_ores = 22, + clust_size = 10, + y_min = -230, + y_max = -180, }) -- Water diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 2c392b0..0d41fd6 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -25,6 +25,26 @@ minetest.register_node( sounds = default.node_sound_stone_defaults(), }) +minetest.register_node( + "default:stone_with_tin", + { + description = "Stone with Tin", + tiles = {"default_stone.png^default_mineral_tin.png"}, + groups = {cracky = 1, stone = 1, not_in_craftingguide = 1}, + drop = "default:lump_tin", + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node( + "default:stone_with_copper", + { + description = "Stone with Copper", + tiles = {"default_stone.png^default_mineral_copper.png"}, + groups = {cracky = 1, stone = 1, not_in_craftingguide = 1}, + drop = "default:lump_copper", + sounds = default.node_sound_stone_defaults(), +}) + -- Stonelike minetest.register_node( diff --git a/mods/default/textures/default_mineral_coal.png b/mods/default/textures/default_mineral_coal.png index 8f073b0238d906a9ebb22b4046a15a91780db1ec..ee0f9710d20579498262a2eda613962fa5a3e57f 100644 GIT binary patch delta 225 zcmaFNG@WUJ3O`$tx4R3&e-K=-clqRrigNW2Sp|jE%tJkTEEpIVWHUn|N}Tg^b5rw5 zfLsO!=c3falGGH1^30M91$R&1fE2w{cA$8*r;B5V#p$&{j(iOYJhP9Se{*N~d+9yt z;d?xqx(|1KyLMpKy15=q3<6B5)dkwu5Oc2Di+@V ZfZ_BFH@y$Kh8IB&^mO%eS?83{1ON{CSD^p^ delta 328 zcmV-O0k{5_0^_CX>@2HM@dakSAh-}0002pNklPoZBO96uipE5l}z%W_BOhF#;fFx zU|AN^CTs{H9Cq)0O(~h7f|ex4SOJ((p-Td5EmBHmlm7}+Gr(crZ;kYj)lK_kEC8tI z7N)DGYS&g^s6pW2u&SzNU00M+x@ztDpkVX1su~g5pKF8=0-SRIfPKOwcYA({ob&TD a{fawU?~Bn)rod$Y0000xJpvBU9w{dpMoRt z74sebfkl zZ+{SihH)P@2fGD(P+;aQBYy|aT7dd*1P zrpCQy6gHwk+$M)?Db|LglWrIclWyEzpI_@lt)!a_f;IbS45Gbeu=!-ujvK&M5n9L6 zy&IOgc<^(;rN_gAW-IPT!Ipa$$djAMf@>W1<53XzTl?XV>yu7r7>=$Q%F_qc^~PQ#Z-ygVmcO!oEGTXsU|M)XU2I#Nyu@9 zAzxf7kdnDRr@D}8iJ-(VcttdZFhE$s0+TUyVR1QL`B&a(sH&l=hJqFoR5d~vieMm= zG?2(pRRa?05o3a?2C6azljSXfs)nkvz=TWigQ{kQTj}L<=jyM_G2*F}66(GL zcnDi%8?H}kwy@o7y^RLRVZY7LpOTjEcG9{}5Zkd$0l1bSZRMEB7zI~(Z=Gx|y;Qp@ z_0sc9r&+3fJ;_u`RMlTB1*nuR=~H+*V??Q}l%2uLU8$#;mRjygeXeYR)R#zBQhEBK zASRj4SU~DCG74+8r>9p0eRSceuX$1Cmb6r-)mESR!5=ZB2nO5V8d>bt&7 delta 90 zcmZ21w1R7b9V635`!q(zb(7aIicdbk%Fn{Yz`!uMfTd<~027ZPhyw*onNWrRkOpBE R1_q{DR57OB%`I&6nE?Bk4MzX~ diff --git a/mods/default/textures/default_mineral_copper.png b/mods/default/textures/default_mineral_copper.png new file mode 100644 index 0000000000000000000000000000000000000000..dfc18baa51c5056c1354bffa6a62c009b51fa812 GIT binary patch literal 323 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPttDumI$Wh7pCxAk-nIRD+&iT2ysd*(pE(3#eQEFmI zYKlU6W=V#EyQgnJie4%^P<*+ki(`nz>Ewh1j6J=*y^QM&AkP}@$vUJOKfb&v$B#G^R8g# zxoMVSx9&s3?gwvfZcbnN<&bYeTcWqHLAtQ)uaI8G7zTzzqJd7C?zP`Re(`kmb6Mw< G&;$T=yK?ye literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mineral_copper.xcf b/mods/default/textures/default_mineral_copper.xcf new file mode 100644 index 0000000000000000000000000000000000000000..d065c3ace7a041ea3874d64e5b143271c6bc5438 GIT binary patch literal 2454 zcmc&!%Wm676ul!^vT9q6lQwY|U2tcofCC!@v`BUigrKMhWYZltvR)=)ONOK%@iqV# zSux0tzd-^4SN($7sqh8>7MoMcjq~KR#m8X&>r+Q2V<|xHbe{Bm`soMd)8#M?{yz8ZS)77(f(*`ZK!2) zJlJhpTaUKXxB+Zy*F&W4-jHhi*6n~(Ur!F(9d9_Ww#`{E9^GWrw#}DAZ)$nN&R%cA z`J;Y+(woi+a`wMXx#fB)_dyTw0p0$KsLHK2!+a<1?BZmv-5tGRR~5ov#)i~1=8zvW z#zMaq@KOOU7w}2}*9-U#Fz;)|A^@Mq!`uqo0y9eLPC+wt5nDRaUTrJAWqpAz8#b-b zMT252mvMk|L}O;tGM%HEfR@x6>&P;R_&A_O!{K5B6naWR4mS7^yV+`k2EkXN z&p4t1A)_M`Fn~7*s7$AE0B4LNMLY{|ox!T9ST!}PgjqG`tdb%tL@HJZHJgf6Qe>qR zCr+4EGiTM*tdQ7*kkM^Q026qVM6pV)SS2|tN3n7=E6J>!IV)LYg-B*~DajFz;4aA` zEu}cIWLi#63*1$+km*3k=*R?=@Jgv@$tzkCv??^qunndao|flRoz63&EDr#gtjew$ zU1Ttd9K)~*&mGpvJSn?EC012Rg-$sIKYXEVjqi=QSbWKA{0{J1*=`;JqH$7wN&khH0)*)-GJkbiiu`;gzmoXVVR;@&f{{Z*} zvd%ONPwv_BPP_ABFdn@ecG*?p3FCXUn9nvXHe8s_M|NNs>S%HGQ*JW0>ahw)7ov-> zWk;pxER|6j$(lS(?TFE$JXR*aFqCEa1)5CR6NYIyJ%N_1Le5etq-Y6w7ODV&O=J|> zHq7T&mXvo8@`Noml4VKG<_6Y5w^5K1y7+MMe4?a+^-hoy4MPF-CGNC z3kA8~RuB#=7Ub%J+^7Xlp&&)-p9SGnXZ)%&ylVV$L8wc6x=<115)%-*@5D-JY5_^EKVmU9ANC}?d_H9VDQ;-Gq9=o-n!s(;jW^z z&(F>tJCd>PlhGgll8Q4u8~^s_X?QaF1coFP3-0eJ}p?j5<{^9>A>`I22O_CX>@2HM@dakSAh-}00034Nkl8&j(dhkdpZ0K6wAGN{MC( zm>J-MT7SvEglDmdRaF)1{&A52pzFG<+bNo+!S?$nR-2vb z`yTr4Ez6ePCkon+a M07*qoM6N<$f^}}0t^fc4 diff --git a/mods/default/textures/default_mineral_iron.xcf b/mods/default/textures/default_mineral_iron.xcf index 0036b017cf23281f9cf85a74028a8fcf80f6fdd6..8cd366f44136de3481ff54d03c54808aeb9def97 100644 GIT binary patch literal 2402 zcmeHHy>HV%6n|$oX-FFyK1vxFytPFNYUKriyp*9r1c`~sOPV;YMLwz|RojvO0N6b6 zN8m{8?DuzgV5O)^TVj6iY^M&Ss#GCZIQiZE-q+oG@7~$<+Iz-fy=gSPmO~ijgc#of z34!SjsIc{phza8^Xb$ukbT7edw+#DjtR)xQR_fh$+vyCz6Dw~&>p8W7(=ZOa!LG6W z{N*dwl$EL1uDMRd?RgEB!CKH-e{j@tjDEM}HP(x3O}E}{b$iB|S}Hwvr)F$C+E8N# z*i2OGaNU{Vn(B?q0lOad_iA;o;~JakSr8u05+<_Be#aXaUZ=k6^x41LZ1$bOBtZ85 zT@*{EUAYd)5T8-)4@9}IsRV0!Ph8pg{%)<&Jz%ZI6Gk4yH)Mhe31-t93C2PXGPsz* z3mLqa!KDmd0_J_wF%Q7!@kqNPqu1K8Y7#bVwYSqU?LG538k@98=OzuYjE7VtVJ^}c z5@8&#%19?M)Yw|Y*7{Q^XoblA@7(19uyphK2P(d0F5&38sD;BWn%KsoxqDdtp zx=G`RFC&65ol0~T5k*|8h;S8Ao zj8?b@vb|m4-o^`LdD_&lR?Wu^_cxka$2nu!iZ1~zdurc59Y1O%X%g@J*o Q7Ayi6W9r?!mu)E%0LfPlZvX%Q diff --git a/mods/default/textures/default_mineral_tin.png b/mods/default/textures/default_mineral_tin.png new file mode 100644 index 0000000000000000000000000000000000000000..26a3a02588a7a7c403d93838cc54e171a9613896 GIT binary patch literal 308 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPttDumo<;=UE{s4t!GeaUuobz*YQ}arITm}Z`qSVBa z)D(sC%#sWRcTeAd6une-p!f_=7sn8b)5!@37<+nqdnG#ofl(*@BNyulD|;e zD~KUjWa^EWmUs1TK|BpdC$z|{?_9tBePmCBgSqTn{%+MhjBPp6RkIF=$rXstv912L r2B?Dbj6qH&)3cmK&hu9pHgGdAcwP)Ct;?(z0Xg2&)z4*}Q$iB}ig|4N literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mineral_tin.xcf b/mods/default/textures/default_mineral_tin.xcf new file mode 100644 index 0000000000000000000000000000000000000000..4f58c39d5b38bcd3f577b27d45b4862a456f56c0 GIT binary patch literal 2454 zcmc&!&2H056h4zQX=ocL|95d0-cgW>iY#RTJ5YoWvBV3o2>Gi;n^Z{GxMFlneQCWWZ-V^SZ_LgtM6|02xCsb zjk_CaoB{4>*KMS}I3v~gt@8n=zM1T_JMM5`-7{ywxOoUBf9;GsLHK2!+a<1?BZmz-5tGVR~5ov#)i~1=8y{-W1)Ww zc&UJw3wWh~>jiuXnD;ef5rEI*VQvL(ff*%rr=S_Sh%N1EueO!mvA#gZ4VzZzs6jE7 zLGYF6D~@PD z$mqxf^x*Y8D${=K!5QO75zjnaXRvB2R!z++VOGsKtE9*Zk&0D9&8A|N6j>?7i4$hk z%vm)xDi z5E$!G8ERno;vrPtp0-s!uzsCplJ1a@b;wOt9%u#MSQ&5qmoXXLSFJ>gp91^?xy3XL zPwv_B!*=K8U_5#??6RxG6UN_aF`sQ(Y`8F;&+Nc3)Y0PVm)vA*)jbuEE<{H`%Z^IX zK`Ns(k~O)X+7Y8gxu;BkK_JWW8#I}+CkWDV`W;%X3OP%qkfJ5zL7)NzHjz}M;u=xnoS&PUnpeW$T$GwvlA5AW zo>`Ki;O^-g5Z=fq4pj8k)5S5w;`Gws-BS-42+Vo7!X1>{ zMYdcNHS~%(sH*hfO|vx^JZpe-`WYn`GtAqP0eXI^BHWQo$ymQ=XgAWcaOg^ zMh<%pZ^I4v3yrDn0QIL>`vJBcdGUPiM;T&9$^DbWcQb!tehRa5^Yq>O50n|G(s1qu z{wPSo32~_AY?x-(Gv7?(SvWcD4X1$@&*H=!s%4Y}XRbMZJ66^Jj&$k}t!E9bRo>hV zsP!tnaJ?`J%%f@+$m=FjbEC^B%*-(I&i$17$- ze;I3r8KDN%(NSxB-sFrg6c1!O|0QfIH}a(vxy(gZEToka>WCkT0^AXIfI zsG^kw#cf0U)aeD4S{B$EBZ=hL23uI@6^2;d6BOeFE9y}d6sw`A2DE_}K*V;$0>=fC zJ^35yey%hW+cex#DSo0TL`&Sz7CMxzCLLTX3st}|Qsl)$gnYL!Ol?BrT7nlhDwIWT zBhwbQNK$Hjs767~e+4s@kJ}Wy diff --git a/mods/gold/textures/gold_mineral_gold.png b/mods/gold/textures/gold_mineral_gold.png new file mode 100644 index 0000000000000000000000000000000000000000..5b7e69b92da1759deb9baaa5df0f56b6a41ced67 GIT binary patch literal 292 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPttDumk{=q#Q3xPtinIRD+&iT2ysd*(pE(3#eQEFmI zYKlU6W=V#EyQgnJie4%^P`ty_#WBRx+NsDn}V2cx?aA&3N?sb+wqX*actr=ZBLx^BWXzx6M=IXk+(b)LEr*ivP$G b&Q%Ny^SpwuOn-D^63DThu6{1-oD!M<-W+JE literal 0 HcmV?d00001 diff --git a/mods/gold/textures/gold_mineral_gold.xcf b/mods/gold/textures/gold_mineral_gold.xcf new file mode 100644 index 0000000000000000000000000000000000000000..4a353147313a4f8ba2cde404c1c9cc16151ee8a7 GIT binary patch literal 2296 zcmd^9%We}f6t(lFZD@FuvH)pzEl5GFX2%MZMTH0w8nI!SCX?xiJgOvB+a(`>1ivzo zP(H%nF+V`7lD5R08Y5|uu~8GYS0gx*i7I2Rn6VIbbt! zJ;BtSIa96QxgK!p;b5=c2)lu^Y1aaIG>=TU>V7vII$^i5>kl};*J=&?;pGN7`*&)_ zT%AfC5|dw{_In}npDcr?eNR-jIM}T>dk6Gp*ue^Dd_yi8-x4uHZzUKH@hF8CQg|_i zmr}T#!pp$SYpn>tHE8y9kV`DnNr2rpVlyAFa+xn2=f%_&x5acMme?(FXu7gEM=_&W zKvu|6fv%Fca6wAOme^HN2~wKikhlws;Vhy(m_=% zgr*1@LP-sYG*#6gp&l_hsH&kVL(m!CAgHRTDicgN1%IfjSNSUKyXLto@rdFgk+)|P z(a8Sy&Sn;C*|SNUSe|!+X7`J;nSVT^ESIlxydtJbJQq@}61)a@h_-eUUNaA5f^x{C zkw>p_3A+bswzySqd3aDbzQsv@P4D4tcgOat3I#1jahPp1;6cdw_NP`qE z=BkXEUJ@K*2UE^55geOE5e--ao&b?8stL9W6feX-;4Vj|hVgYZoG=tWH6E+1I%bMw z7-#3zA=TN~1V}8YqVY`%`Q~CVlZ4Ag$ZYD@f^a#tc#3;ewinBMxi%6eFV6UN;s=md?I%## B!c+hN literal 0 HcmV?d00001 diff --git a/mods/lumien/init.lua b/mods/lumien/init.lua index b45e552..2eb69b5 100644 --- a/mods/lumien/init.lua +++ b/mods/lumien/init.lua @@ -25,8 +25,16 @@ local function on_globalstep(dtime) local pos = player:getpos() util.nodefunc( - {x = pos.x-lumien_on_radius, y = pos.y-lumien_on_radius, z = pos.z-lumien_on_radius}, - {x = pos.x+lumien_on_radius, y = pos.y+lumien_on_radius, z = pos.z+lumien_on_radius}, + { + x = pos.x-lumien_on_radius, + y = pos.y-lumien_on_radius, + z = pos.z-lumien_on_radius + }, + { + x = pos.x+lumien_on_radius, + y = pos.y+lumien_on_radius, + z = pos.z+lumien_on_radius + }, "lumien:crystal_off", function(pos) local node = minetest.get_node(pos) @@ -104,10 +112,10 @@ minetest.register_node( -- Ores minetest.register_node( - "lumien:ore", + "lumien:stone_with_lumien", { - description = "Lumien Ore", - tiles = {"default_stone.png^lumien_mineral.png"}, + description = "Stone with Lumien", + tiles = {"default_stone.png^lumien_mineral_lumien.png"}, groups = {cracky = 1, stone = 1}, drop = "lumien:block", sounds = default.node_sound_stone_defaults(), @@ -116,13 +124,13 @@ minetest.register_node( minetest.register_ore( { ore_type = "scatter", - ore = "lumien:ore", + ore = "lumien:stone_with_lumien", wherein = "default:stone", - clust_scarcity = 12*12*12, - clust_num_ores = 10, - clust_size = 10, - y_min = -256, - y_max = -64, + clust_scarcity = 5*5*5, + clust_num_ores = 8, + clust_size = 6, + y_min = -107, + y_max = -100, }) -- Update functions diff --git a/mods/lumien/textures/lumien_mineral.png b/mods/lumien/textures/lumien_mineral.png deleted file mode 100644 index c4698728ac81c0350813dd9087c627e45576637c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 419 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP~kARpc>r=(zxj-Sw64!_l=ltB<)VvY~=c3falGGH1 z^30M91$R&1fbd2>aRvrPZci7-5R21GC!Nha;=t3oKhmiyK=yLm>>J$&O(kr&qYrI* z(Cz8C%Gqv7bIhFP@?)QqJv>+rNo3BOcW<(>@ju~whE=yjp8Re8@FOWUd|9Se*1hU8 zJjRD-O0MeaNLb96!%!q%Zg$b_HiJX~!}L}Ap7yS^+$40fk$ukhdBzOiy|ToVCS`Pc ztUTzs085CO{WiM7deQ&nQlgf^81{>}2O^U0k3@n20R`YYe2rVxB z{?FA*{MWvGUF&NFqTOHSGd!#G6aKR5Mh5!isrflC$fZM){Yqh`p3Y{Y zceA-ATy+@sd@t1hep&K%Ml?s`y4QTt$;Uqb$z73E#$Ml(AA5H0_05x-{D5J{;OXk; Jvd$@?2>|OnqqP74 diff --git a/mods/lumien/textures/lumien_mineral.xcf b/mods/lumien/textures/lumien_mineral.xcf deleted file mode 100644 index b0cd964cd25db5512f695eae90709282ca6f875f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1308 zcmdT?O>Wab6rQmiC`ls%w5(W+V3Q&RwaN|3qJvZ<#0^}>c1I+3<+!3`=EvbE z&eVi*=;mxV&o8H;n5R=U+3OCYI7p{yCWh9HviQUo`!DwGX#odSX%Ezs7HVA={{}?8 zn4kH9N@8(P--YC5Te8ZH&J&djl?12ZocL)J&BOfng2etiwaRQ#={Zz~f36XH{eI|) z_745vU7V%oiG6HN)piG--cAYIsxYk-8Ed_*jfi0 zeFF#Mu!g2<^fh*-&AP=;4C`wvq{vzdu67`Xc%U0FAx8eNk@T?EN)77xL5*xx^R}txKYcCF7%w|8k9p-b{Bzh2 WaF03VE_2H+tj}&se9gRk%68(K<1)B|cYL+H4xqV;>Fl6kFY!H0$Vui+K zL!K-n#;K-^^O{&agzq;hs60FoZg+Zp{a)6X-Y2b_OTSdwf3LJ}KVJP+?{!+5A49{m zxwm(e&TGAmS2aFs^vB;Vvqz0A43E-CNZw_JEAC(_@vk8fj-m$=Talgc-) zRqn|R;5VIlY)Rdx)soXS7GG*LwP#K9bK;x+kaO>?gvqIEeyj%h+SAp~Wt~$(699QjxJg+)#zl;%=w*j&Ns6YC+&mqxZVm|$$nE{%wo$-i}}_a(3GpZ_9?S`|`TZeM5OcIMo1D5Thz~91T%6IFFnwoS`o+ zhC&R*ZTOUEnKl8&3h8DRL1(Y(n*gZi$Kl`t#t(<03{&}k&!&N-29lacY9gtLq$ZLY zNNOQ8k<>s^6G;RZD<&YBMF2@SGXNSO$#6_SQVXq#q%QO5?Ah|36?i4_<4|w!BC`F_ zyXYaGy^Hp4Lgk-h;;{9?7VvI!WV+xkg-2qf@TNKHA(>?`v!MH+E1|?JmB2)amEYy5 znO!5hW_FG28rk&~P7T?!Q(ei`ZT|6@&076M-0L288Z`Ya_?g?nZ=WTWb4&w94*scE zW0loSy)_Q0FE7*MSDhI(B^S~uB$XOJi0K)mvFNB#svPC) zIO+oC6x&=XIC~Nb6TnraDKux4s|ZAZCqIujP|}yDRr!5)PdW0!*aB4a2{G6XWk{xx z=ct*L71JwhR+4jUka-yS_^pVqhfJ#_ literal 0 HcmV?d00001