Generate wheat and cotton in map
This commit is contained in:
parent
e6392c7a7c
commit
92183e279d
@ -11,4 +11,5 @@ dofile(minetest.get_modpath("rp_farming").."/nodes.lua")
|
|||||||
dofile(minetest.get_modpath("rp_farming").."/plants.lua")
|
dofile(minetest.get_modpath("rp_farming").."/plants.lua")
|
||||||
dofile(minetest.get_modpath("rp_farming").."/craft.lua")
|
dofile(minetest.get_modpath("rp_farming").."/craft.lua")
|
||||||
dofile(minetest.get_modpath("rp_farming").."/achievements.lua")
|
dofile(minetest.get_modpath("rp_farming").."/achievements.lua")
|
||||||
|
dofile(minetest.get_modpath("rp_farming").."/mapgen.lua")
|
||||||
dofile(minetest.get_modpath("rp_farming").."/aliases.lua")
|
dofile(minetest.get_modpath("rp_farming").."/aliases.lua")
|
||||||
|
@ -11,7 +11,7 @@ minetest.register_decoration(
|
|||||||
fill_ratio = 0.008,
|
fill_ratio = 0.008,
|
||||||
biomes = {"Wilderness"},
|
biomes = {"Wilderness"},
|
||||||
decoration = {"rp_farming:wheat_4"},
|
decoration = {"rp_farming:wheat_4"},
|
||||||
y_min = 0,
|
y_min = 1,
|
||||||
y_max = 32000,
|
y_max = 32000,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -20,21 +20,29 @@ minetest.register_decoration(
|
|||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = "rp_default:dirt_with_grass",
|
place_on = "rp_default:dirt_with_grass",
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
fill_ratio = 0.006,
|
fill_ratio = 0.001,
|
||||||
biomes = {"Grassland", "Savanna"},
|
biomes = {"Grassland"},
|
||||||
decoration = {"rp_farming:wheat_4"},
|
decoration = {"rp_farming:wheat_4"},
|
||||||
y_min = 0,
|
y_min = 1,
|
||||||
y_max = 32000,
|
y_max = 32000,
|
||||||
|
noise_params = {
|
||||||
|
seed = 13,
|
||||||
|
octaves = 2,
|
||||||
|
scale = 0.001,
|
||||||
|
offset = 0.0,
|
||||||
|
spread = { x = 50, y = 50, z = 50 },
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_decoration(
|
minetest.register_decoration(
|
||||||
{
|
{
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = "rp_default:sand",
|
place_on = {"rp_default:sand", "rp_default:dirt_with_dry_grass"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
fill_ratio = 0.004,
|
fill_ratio = 0.004,
|
||||||
biomes = {"Desert"},
|
biomes = {"Desert", "Savanna"},
|
||||||
decoration = {"rp_farming:cotton_4"},
|
decoration = {"rp_farming:cotton_4"},
|
||||||
y_min = 0,
|
y_min = 1,
|
||||||
y_max = 32000,
|
y_max = 32000,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
name = rp_farming
|
name = rp_farming
|
||||||
depends = rp_sounds, rp_weather, rp_crafting, rp_achievements, rp_item_drop
|
depends = rp_sounds, rp_weather, rp_crafting, rp_achievements, rp_item_drop, rp_default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user