From 018a883e7533f0e42ba7fb37119a27f18bf5074a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 16 May 2022 17:48:23 +0200 Subject: [PATCH] Reduce apple chance in forest --- mods/rp_default/mapgen.lua | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/mods/rp_default/mapgen.lua b/mods/rp_default/mapgen.lua index 267c565..f946132 100644 --- a/mods/rp_default/mapgen.lua +++ b/mods/rp_default/mapgen.lua @@ -1333,14 +1333,26 @@ minetest.register_decoration( y_max = 32000, }) - minetest.register_decoration( { deco_type = "schematic", place_on = {"rp_default:dirt_with_grass"}, sidelen = 16, fill_ratio = 0.009, - biomes = {"Forest", "Deep Forest"}, + biomes = {"Forest"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("rp_default") + .. "/schematics/rp_default_apple_tree_chance_50.mts", + y_min = -32000, + y_max = 32000, +}) +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"rp_default:dirt_with_grass"}, + sidelen = 16, + fill_ratio = 0.009, + biomes = {"Deep Forest"}, flags = "place_center_x, place_center_z", schematic = minetest.get_modpath("rp_default") .. "/schematics/rp_default_apple_tree.mts", -- 2.11.4.GIT