diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-08 11:00:12 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-04-08 11:00:12 +0100 |
commit | 30c87bf910385fe8473170ad867fd5306ba8c051 (patch) | |
tree | 3b3b5b5e451b502ed941de4c4ec0575c5bb58d1a /mapgen.lua | |
parent | 787c8d1ffea5b17e3dd680ac56dace3879b6b98e (diff) |
Added hemp, upped to ver 1.24
Diffstat (limited to 'mapgen.lua')
-rw-r--r-- | mapgen.lua | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -55,6 +55,25 @@ function farming.register_mgv7_decorations() register_plant("grapebush", 25, 45, "", -1) end +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:dirt_with_grass", "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, +}) + -- detect mapgen local mg_name = minetest.get_mapgen_params().mgname |