summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-04-08 11:01:10 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-04-08 11:01:10 +0100
commit7d0ee5177293aee199d8ba537726c765b16431fa (patch)
treedd1cc8e8f53c3e70c8de3a6bc5f1a6f534febaa7 /mapgen.lua
parentaeb71b08b9e0d452bda4ecbbc614ff857e4902d3 (diff)
Added farming redo's hemp on mapgen
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/mapgen.lua b/mapgen.lua
index 78e72a6..0f2e5d6 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -520,6 +520,28 @@ add_node({"ethereal:green_dirt"}, 0.025, {"grassytwo"}, 1, 100, {"farming:grapeb
add_node({"ethereal:green_dirt"}, 0.025, {"grassy"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.grassy)
add_node({"ethereal:prairie_dirt"}, 0.025, {"prairie"}, 1, 100, {"farming:grapebush"}, nil, nil, nil, ethereal.prairie)
+minetest.register_decoration({
+ deco_type = "simple",
+ place_on = {
+ "default:dirt_with_grass", "ethereal:prairie_dirt",
+ "default:dirt_with_rainforest_litter",
+ },
+ sidelen = 16,
+ noise_params = {
+ offset = 0,
+ scale = 0.06,
+ spread = {x = 100, y = 100, z = 100},
+ seed = 420,
+ octaves = 3,
+ persist = 0.6
+ },
+ y_min = 5,
+ y_max = 35,
+ decoration = "farming:hemp_7",
+ spawn_by = "group:tree",
+ num_spawn_by = 1,
+})
+
end
-- place waterlily in beach areas