From ee8afd97861b359cdd13a4b70ec3fdd2388bf2b9 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Thu, 11 Mar 2021 09:48:52 +0000 Subject: [PATCH] add parsley and artichoke to mapgen --- decor.lua | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/decor.lua b/decor.lua index af839d6..317da33 100644 --- a/decor.lua +++ b/decor.lua @@ -344,11 +344,14 @@ add_node({"default:dirt_with_grass"}, 0.05, {"jumble"}, 1, 100, "farming:cabbage_6", "farming:lettuce_5"}, nil, nil, nil, ethereal.jumble) add_node({"ethereal:prairie_dirt"}, 0.05, {"prairie"}, 1, 100, - {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3", + {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3", "farming:parsley_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5", "farming:blackberry_4", "farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4", "farming:pea_5", "farming:beetroot_5"}, nil, nil, nil, ethereal.prairie) +add_node({"ethereal:grove_dirt"}, 0.025, {"mediterranean"}, 1, 100, + {"farming:parsley_3"}, nil, nil, nil, ethereal.mediterranean) + -- melon and pumpkin add_node({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.015, {"junglee"}, 1, 1, {"farming:melon_8", "farming:pumpkin_8"}, @@ -424,6 +427,25 @@ minetest.register_decoration({ y_max = 30, decoration = {"farming:pineapple_8", "farming:soy_5"}, }) + +minetest.register_decoration({ + deco_type = "simple", + place_on = {"ethereal:grove_dirt"}, + sidelen = 16, + noise_params = { + offset = 0, + scale = 0.06, + spread = {x = 100, y = 100, z = 100}, + seed = 448, + octaves = 3, + persist = 0.6 + }, + y_min = 15, + y_max = 40, + decoration = {"farming:artichoke_5"}, + spawn_by = "group:tree", + num_spawn_by = 1, +}) end