Skip to content
Snippets Groups Projects
Commit 7d0ee517 authored by TenPlus1's avatar TenPlus1
Browse files

Added farming redo's hemp on mapgen

parent aeb71b08
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,7 @@ local crops = { ...@@ -82,6 +82,7 @@ local crops = {
{"ethereal:strawberry_", 8}, {"ethereal:strawberry_", 8},
{"ethereal:onion_", 5}, {"ethereal:onion_", 5},
{"farming:barley_", 7}, {"farming:barley_", 7},
{"farming:hemp_", 8},
} }
-- check if sapling has enough height room to grow -- check if sapling has enough height room to grow
......
...@@ -42,7 +42,7 @@ ethereal.fiery = 1 -- Red grass with lava craters ...@@ -42,7 +42,7 @@ ethereal.fiery = 1 -- Red grass with lava craters
ethereal.sandclay = 1 -- Sand areas with clay underneath ethereal.sandclay = 1 -- Sand areas with clay underneath
ethereal.swamp = 1 -- Swamp areas with vines on tree's, mushrooms, lilly's and clay sand ethereal.swamp = 1 -- Swamp areas with vines on tree's, mushrooms, lilly's and clay sand
ethereal.sealife = 1 -- Enable coral and seaweed ethereal.sealife = 1 -- Enable coral and seaweed
ethereal.reefs = 1 -- Enable new coral reefs in default ethereal.reefs = 1 -- Enable new 0.4.15 coral reefs in default
local path = minetest.get_modpath("ethereal") local path = minetest.get_modpath("ethereal")
......
...@@ -520,6 +520,28 @@ add_node({"ethereal:green_dirt"}, 0.025, {"grassytwo"}, 1, 100, {"farming:grapeb ...@@ -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: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) 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 end
-- place waterlily in beach areas -- place waterlily in beach areas
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment