diff --git a/bonemeal.lua b/bonemeal.lua index fae717be52d626c8a4d781ae9e1104cec2421998..c67ce3ad941f9b59fd57e9e74afc1cf6c75273b8 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -82,6 +82,7 @@ local crops = { {"ethereal:strawberry_", 8}, {"ethereal:onion_", 5}, {"farming:barley_", 7}, + {"farming:hemp_", 8}, } -- check if sapling has enough height room to grow diff --git a/init.lua b/init.lua index af1eccbdc72e1f5a331b9e7bfd2d9db329a795ef..5b748ed6c2b304c7b24d3a5b7d6617d2a8c226c9 100644 --- a/init.lua +++ b/init.lua @@ -42,7 +42,7 @@ ethereal.fiery = 1 -- Red grass with lava craters 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.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") diff --git a/mapgen.lua b/mapgen.lua index 78e72a639efab646e6bd004ce274c3f794e69ef9..0f2e5d6c3247c7f0d4a1775bbd9173b4a08ce271 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