diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a5cc2f..53fb9b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Jul 7th - **STILL UNDER DEVELOPMENT** 2024] Major Update: World and Building Update +## [Jul 7th - Jul 8th 2024] Major Update: World and Building Update This update aims to update the world generation and add new building blocks! @@ -15,17 +15,24 @@ This update aims to update the world generation and add new building blocks! - Added savanna logs - Updated leaves texture - Added snowy leaves +- Added cherry leaves - Revamped trees - Removed snowy camp structure - Removed oillands biome - Added new tree types - Added giant tree - Added snowy tree + - Added birch trees + - Added giant birch trees + - Added cherry trees - Added various biomes - Grassy Hills - Old Growth Forest - Snowy Forest - Savannas + - Taigas + - Birch Forest + - Cherry Grove - Added ocean biomes - "Normal" Ocean - Added beaches and snowy beaches diff --git a/mods/pyutest_core/blocks.lua b/mods/pyutest_core/blocks.lua index 552e3cc..6797c92 100644 --- a/mods/pyutest_core/blocks.lua +++ b/mods/pyutest_core/blocks.lua @@ -210,6 +210,30 @@ PyuTestCore.make_building_blocks("pyutest_core:savanna_wooden_log", "Savanna Woo is_ground_content = false, }) +PyuTestCore.make_building_blocks("pyutest_core:birch_wooden_log", "Birch Wooden Log", { + "birch-log-top-bottom.png", + "birch-log-top-bottom.png", + "birch-log.png" +}, nil, { + block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, + acid_vulnerable = 1, + wooden_log = 1 +}, { + is_ground_content = false, +}) + +PyuTestCore.make_building_blocks("pyutest_core:cherry_wooden_log", "Cherry Wooden Log", { + "cherry-log-top-bottom.png", + "cherry-log-top-bottom.png", + "cherry-log.png" +}, nil, { + block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, + acid_vulnerable = 1, + wooden_log = 1 +}, { + is_ground_content = false, +}) + PyuTestCore.make_building_blocks("pyutest_core:wooden", "Wooden", {"wood.png"}, nil, { block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, acid_vulnerable = 1 @@ -247,6 +271,11 @@ PyuTestCore.make_building_blocks("pyutest_core:snowy_leaves", "Snowy Leaves", {" acid_vulnerable = 1 }) +PyuTestCore.make_building_blocks("pyutest_core:cherry_leaves", "Cherry Leaves", {"cherry-leaves.png"}, nil, {}, { + is_ground_content = false, + acid_vulnerable = 1 +}) + PyuTestCore.make_building_blocks("pyutest_core:mushroom", "Mushroom", {"mushroom.png"}, nil, {}, {is_ground_content = false}) PyuTestCore.make_building_blocks("pyutest_core:mushroom_stem", "Mushroom Stem", {"mushroom-stem.png"}, nil, {}, {is_ground_content = false}) PyuTestCore.make_building_blocks("pyutest_core:mycelium", "Mycelium", {"mycelium.png"}, nil, {ground = 1}) @@ -628,7 +657,7 @@ end PyuTestCore.make_liquid("pyutest_core:water", "Water", { water = 1 }, "water.png", 1, { - -- sunlight_propagates = true + sunlight_propagates = true }) PyuTestCore.make_liquid("pyutest_core:lava", "Lava", { diff --git a/mods/pyutest_core/mapgen.lua b/mods/pyutest_core/mapgen.lua index cac7549..129a847 100644 --- a/mods/pyutest_core/mapgen.lua +++ b/mods/pyutest_core/mapgen.lua @@ -13,7 +13,7 @@ PyuTestCore_DeepOceanMax = PyuTestCore_OceanMin - 1 PyuTestCore_DeepOceanMin = -31 -PyuTestCore_SurfaceBottom = 4 +PyuTestCore_SurfaceBottom = 2 PyuTestCore_WorldBottom = -31000 PyuTestCore_BiomeTops = { @@ -69,8 +69,8 @@ PyuTestCore.register_ocean = function(name, heat_point, top_node, water_node, gr depth_water_top = 5, y_max = PyuTestCore_DeepOceanMax, y_min = PyuTestCore_DeepOceanMin, - heat_point = heat_point or 20, - humidity_point = 120 + heat_point = heat_point or 30, + humidity_point = 100 }) end @@ -81,14 +81,14 @@ PyuTestCore.register_biome({ node_filler = nil, y_max = PyuTestCore_SurfaceBottom, - y_min = PyuTestCore_SurfaceBottom - 3, + y_min = PyuTestCore_SurfaceBottom - 1, heat_point = 40, humidity_point = 40 }) PyuTestCore.register_biome({ - name = "frozen_beach", + name = "snowy_beach", node_dust = "pyutest_core:snow_carpet", @@ -309,6 +309,45 @@ PyuTestCore.register_biome({ humidity_point = 38 }) +PyuTestCore.register_biome({ + name = "taiga", + + node_top = "pyutest_core:dark_grass_block", + node_filler = "pyutest_core:dirt_block", + + y_max = PyuTestCore_BiomeTops.forest, + y_min = PyuTestCore_SurfaceBottom, + + heat_point = 28, + humidity_point = 53 +}) + +PyuTestCore.register_biome({ + name = "birch_forest", + + node_top = "pyutest_core:grass_block", + node_filler = "pyutest_core:dirt_block", + + y_max = PyuTestCore_BiomeTops.forest, + y_min = PyuTestCore_SurfaceBottom, + + heat_point = 38, + humidity_point = 63 +}) + +PyuTestCore.register_biome({ + name = "cherry_grove", + + node_top = "pyutest_core:grass_block", + node_filler = "pyutest_core:dirt_block", + + y_max = PyuTestCore_BiomeTops.forest, + y_min = PyuTestCore_SurfaceBottom, + + heat_point = 36, + humidity_point = 64 +}) + PyuTestCore.register_ocean("normal") PyuTestCore.BIOMES = {} diff --git a/mods/pyutest_core/schematics/tree6.mts b/mods/pyutest_core/schematics/tree6.mts new file mode 100644 index 0000000..09260b2 Binary files /dev/null and b/mods/pyutest_core/schematics/tree6.mts differ diff --git a/mods/pyutest_core/schematics/tree7.mts b/mods/pyutest_core/schematics/tree7.mts new file mode 100644 index 0000000..4ab7370 Binary files /dev/null and b/mods/pyutest_core/schematics/tree7.mts differ diff --git a/mods/pyutest_core/schematics/tree8.mts b/mods/pyutest_core/schematics/tree8.mts new file mode 100644 index 0000000..c9c2770 Binary files /dev/null and b/mods/pyutest_core/schematics/tree8.mts differ diff --git a/mods/pyutest_core/textures/birch-log-top-bottom.png b/mods/pyutest_core/textures/birch-log-top-bottom.png new file mode 100644 index 0000000..af377b0 Binary files /dev/null and b/mods/pyutest_core/textures/birch-log-top-bottom.png differ diff --git a/mods/pyutest_core/textures/birch-log.png b/mods/pyutest_core/textures/birch-log.png new file mode 100644 index 0000000..2b19bbf Binary files /dev/null and b/mods/pyutest_core/textures/birch-log.png differ diff --git a/mods/pyutest_core/textures/cherry-leaves.png b/mods/pyutest_core/textures/cherry-leaves.png new file mode 100644 index 0000000..243b202 Binary files /dev/null and b/mods/pyutest_core/textures/cherry-leaves.png differ diff --git a/mods/pyutest_core/textures/cherry-log-top-bottom.png b/mods/pyutest_core/textures/cherry-log-top-bottom.png new file mode 100644 index 0000000..e48963c Binary files /dev/null and b/mods/pyutest_core/textures/cherry-log-top-bottom.png differ diff --git a/mods/pyutest_core/textures/cherry-log.png b/mods/pyutest_core/textures/cherry-log.png new file mode 100644 index 0000000..4eba659 Binary files /dev/null and b/mods/pyutest_core/textures/cherry-log.png differ diff --git a/mods/pyutest_core/trees.lua b/mods/pyutest_core/trees.lua index fe0c388..ebd54b0 100644 --- a/mods/pyutest_core/trees.lua +++ b/mods/pyutest_core/trees.lua @@ -150,6 +150,62 @@ minetest.register_decoration({ place_offset_y = 1 }) +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"pyutest_core:dark_grass_block", "pyutest_core:snow_block"}, + sidelen = 16, + fill_ratio = 0.005, + biomes = {"taiga", "snowy_forest"}, + y_max = PyuTestCore_BiomeTops.forest, + y_min = 1, + schematic = PyuTestCore.get_schem_path("tree5"), + rotation = "random", + flags = "place_center_x, place_center_z", + place_offset_y = 1 +}) + +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"pyutest_core:grass_block"}, + sidelen = 16, + fill_ratio = 0.005, + biomes = {"birch_forest"}, + y_max = PyuTestCore_BiomeTops.forest, + y_min = 1, + schematic = PyuTestCore.get_schem_path("tree6"), + rotation = "random", + flags = "place_center_x, place_center_z", + place_offset_y = 1 +}) + +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"pyutest_core:grass_block"}, + sidelen = 16, + fill_ratio = 0.005, + biomes = {"birch_forest"}, + y_max = PyuTestCore_BiomeTops.forest, + y_min = 1, + schematic = PyuTestCore.get_schem_path("tree7"), + rotation = "random", + flags = "place_center_x, place_center_z", + place_offset_y = 1 +}) + +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"pyutest_core:grass_block"}, + sidelen = 16, + fill_ratio = 0.005, + biomes = {"cherry_grove"}, + y_max = PyuTestCore_BiomeTops.forest, + y_min = 1, + schematic = PyuTestCore.get_schem_path("tree8"), + rotation = "random", + flags = "place_center_x, place_center_z", + place_offset_y = 1 +}) + minetest.register_decoration({ deco_type = "schematic", place_on = {"pyutest_core:snow_block"},