From f1cae3da870560b37adaba2b7b6a9b04f1384ef9 Mon Sep 17 00:00:00 2001 From: migdyn Date: Sun, 20 Jan 2019 12:36:12 -0500 Subject: [PATCH] Add snow plains biome --- mods/main/mapgen.lua | 33 +++++++++++++++++------- mods/main/nodes.lua | 23 +++++++++++++++++ mods/main/textures/main_dirt_frozen.png | Bin 0 -> 752 bytes mods/main/textures/main_ice_thick.png | Bin 0 -> 541 bytes mods/main/textures/main_ice_thin.png | Bin 0 -> 215 bytes 5 files changed, 46 insertions(+), 10 deletions(-) create mode 100644 mods/main/textures/main_dirt_frozen.png create mode 100644 mods/main/textures/main_ice_thick.png create mode 100644 mods/main/textures/main_ice_thin.png diff --git a/mods/main/mapgen.lua b/mods/main/mapgen.lua index 3ff4dd9..4f76cd8 100644 --- a/mods/main/mapgen.lua +++ b/mods/main/mapgen.lua @@ -3,16 +3,8 @@ minetest.register_alias("mapgen_dirt", "main:dirt") minetest.register_alias("mapgen_dirt_with_grass", "main:dirt_with_grass") minetest.register_alias("mapgen_sand", "main:sand") minetest.register_alias("mapgen_water_source", "main:water_source") -minetest.register_alias("mapgen_river_water_source", "main:river_water_source") +minetest.register_alias("mapgen_river_water_source", "main:muddywater_source") minetest.register_alias("mapgen_lava_source", "main:lava_source") -minetest.register_alias("mapgen_gravel", "main:gravel") -minetest.register_alias("mapgen_desert_stone", "main:desert_stone") -minetest.register_alias("mapgen_desert_sand", "main:desert_sand") -minetest.register_alias("mapgen_dirt_with_snow", "main:dirt_with_snow") -minetest.register_alias("mapgen_snowblock", "main:snowblock") -minetest.register_alias("mapgen_snow", "main:snow") -minetest.register_alias("mapgen_ice", "main:ice") -minetest.register_alias("mapgen_sandstone", "main:sandstone") -------- --Biomes @@ -175,8 +167,29 @@ minetest.register_biome( y_max = 0, heat_point = 80, - humidity_point = 20, + humidity_point = 30, }) + +--Wasteland +minetest.register_biome( + { + name = "Snow Plains", + + node_top = "main:snow", + depth_top = 6, + + node_filler = "main:dirt_frozen", + depth_filler = 8, + + node_water = "main:dirt", + + y_min = 1, + y_max = 50, + + heat_point = 0, + humidity_point = 10, +}) + -------------- --Scatter ores -------------- diff --git a/mods/main/nodes.lua b/mods/main/nodes.lua index 0521441..2814665 100644 --- a/mods/main/nodes.lua +++ b/mods/main/nodes.lua @@ -20,12 +20,35 @@ minetest.register_node("main:dirt", { groups = {crumbly = 3, soil = 1}, }) +minetest.register_node("main:dirt_frozen", { + description = "Frozen Dirt", + tiles = {"main_dirt_frozen.png"}, + groups = {cracky = 1}, +}) + minetest.register_node("main:snow", { description = "Snow", tiles = {"main_snow.png"}, groups = {crumbly = 3}, }) +minetest.register_node("main:ice_thin", { + drawtype = "allfaces", + paramtype = "light", + light_propagates = true, + sunlight_propagates = true, + alpha = 10, + description = "Thin Ice", + tiles = {"main_ice_thin.png"}, + groups = {cracky = 3}, +}) + +minetest.register_node("main:ice_thick", { + description = "Thick Ice", + tiles = {"main_ice_thick.png"}, + groups = {cracky = 1}, +}) + minetest.register_node("main:dirt_with_grass", { description = "Dirt with Grass", tiles = {"main_grass.png", "main_dirt.png", diff --git a/mods/main/textures/main_dirt_frozen.png b/mods/main/textures/main_dirt_frozen.png new file mode 100644 index 0000000000000000000000000000000000000000..e5401c3c6d377812ef8f59b9d781a9ba65e07f0c GIT binary patch literal 752 zcmV z02tdre|ntHmoS0vF*IBth+iBUy^66Nw%6;l8&!<$07B>KeNwp+0O{c(s_<&Hf-Jmz zp_?0Z2FB-5RXVkDoCHJJ2}BHTqw-(r=SFAPYF3de^Fvc=DdZT@JtpdPivl?;8l@Lov?8&p&UphC9+kD);An-lftB)|f4yVWG zKtMyqt(8fS#VSOJGXQM0o{-7UlFH5OQxg~%pF;pqcvmZv87r~9QO9J)O4x@Ev)Nka z%#~Xa?J&eL7V-yr1yq%tm4$sJvIPvru>0*Rr}DF?DuM6eHmfL#Y77T>zp_B5R_^*m z#IV(>VKfLMfc1Ob!veI|9)U!26HA$j+e{A^c)j*8f_$)V_x4`m=Z|mqouVKTdE?0O zBws##p#SIz`j4HY-G~%1RsxgCl`uV#RF>_K87oB+2_%a*L4;71(D!f~72IZ(^Z9F$ zLc1Ob(C#N1%uWz!fWgGo_odEy<02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00D(bL_t(I%T1C?lH4#1Lmx~Pf0bol@FqrPeB;dgifC?bg6t^c;t>qLX z1St0U>SoT_C;%ZEL7)4o*4`CRkV47yz6W6Z1ifH43jmj(6qGC{Ah;+QGZRc0vODKN z6suY|l*A+<#(@&i1!}=n&0r=;0iLj`Rfk2jxIN4a4#Z)tW8gnKNT8-xafU+hmX9Sa2|MJ-u?npPg0=xs#vm}k4)%i%Ord)ClAon_#u8shWJ6p2q8)(s`#<>&pI^QAAKyC(r+} z4^T+5#5JPCIX^cyHLrxhxhOTUBsE2$JhLQ2!QIn0AiR-J9H>as)5S4_<9c#JLP9`7 z1B04Inm|KRnnGGi!zza`SCfP`L!Jw)G8?iP7<}I|GWyL~(g4)N;OXk;vd$@?2>?L4 BJ*NNw literal 0 HcmV?d00001