forked from mtcontrib/farming
changed farming.rarety to 0.001, tall grass needed for seeds now
This commit is contained in:
parent
dec468e3d7
commit
021677931b
@ -12,7 +12,6 @@ farming.tomato = true
|
|||||||
farming.cucumber = true
|
farming.cucumber = true
|
||||||
farming.corn = true
|
farming.corn = true
|
||||||
farming.coffee = true
|
farming.coffee = true
|
||||||
farming.coffee = true
|
|
||||||
farming.melon = true
|
farming.melon = true
|
||||||
farming.sugar = true
|
farming.sugar = true
|
||||||
farming.pumpkin = true
|
farming.pumpkin = true
|
||||||
@ -31,5 +30,5 @@ farming.pepper = true
|
|||||||
farming.pineapple = true
|
farming.pineapple = true
|
||||||
farming.donuts = true
|
farming.donuts = true
|
||||||
|
|
||||||
-- rarety of crops on map, default is 0.006 (higher number = more crops)
|
-- rarety of crops on map, default is 0.001 (higher number = more crops)
|
||||||
farming.rarety = 0.006
|
farming.rarety = 0.001
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
for i = 3, 5 do
|
for i = 4, 5 do
|
||||||
|
|
||||||
-- Override default grass and have it drop Wheat Seeds
|
-- Override default grass and have it drop Wheat Seeds
|
||||||
|
|
||||||
|
3
init.lua
3
init.lua
@ -582,7 +582,6 @@ farming.tomato = true
|
|||||||
farming.cucumber = true
|
farming.cucumber = true
|
||||||
farming.corn = true
|
farming.corn = true
|
||||||
farming.coffee = true
|
farming.coffee = true
|
||||||
farming.coffee = true
|
|
||||||
farming.melon = true
|
farming.melon = true
|
||||||
farming.sugar = true
|
farming.sugar = true
|
||||||
farming.pumpkin = true
|
farming.pumpkin = true
|
||||||
@ -600,7 +599,7 @@ farming.onion = true
|
|||||||
farming.pepper = true
|
farming.pepper = true
|
||||||
farming.pineapple = true
|
farming.pineapple = true
|
||||||
farming.donuts = true
|
farming.donuts = true
|
||||||
farming.rarety = 0.006
|
farming.rarety = 0.001 -- 0.006
|
||||||
|
|
||||||
|
|
||||||
-- Load new global settings if found inside mod folder
|
-- Load new global settings if found inside mod folder
|
||||||
|
10
mapgen.lua
10
mapgen.lua
@ -49,8 +49,8 @@ if minetest.get_mapgen_setting("mg_name") == "v6" then
|
|||||||
register_plant("pumpkin_8", 1, 20, "group:water", 1, farming.pumpkin)
|
register_plant("pumpkin_8", 1, 20, "group:water", 1, farming.pumpkin)
|
||||||
else
|
else
|
||||||
-- v7 maps have a beach so plants growing near water is limited to 6 high
|
-- v7 maps have a beach so plants growing near water is limited to 6 high
|
||||||
register_plant("carrot_8", 1, 6, "", -1, farming.carrot)
|
register_plant("carrot_8", 1, 15, "", -1, farming.carrot)
|
||||||
register_plant("cucumber_4", 1, 6, "", -1, farming.cucumber)
|
register_plant("cucumber_4", 1, 10, "", -1, farming.cucumber)
|
||||||
register_plant("melon_8", 1, 6, "", -1, farming.melon)
|
register_plant("melon_8", 1, 6, "", -1, farming.melon)
|
||||||
register_plant("pumpkin_8", 1, 6, "", -1, farming.pumpkin)
|
register_plant("pumpkin_8", 1, 6, "", -1, farming.pumpkin)
|
||||||
end
|
end
|
||||||
@ -62,14 +62,14 @@ minetest.register_decoration({
|
|||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = farming.rarety, -- 0.06,
|
scale = farming.rarety + 0.001, -- 0.06,
|
||||||
spread = {x = 100, y = 100, z = 100},
|
spread = {x = 100, y = 100, z = 100},
|
||||||
seed = 420,
|
seed = 420,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.6
|
persist = 0.6
|
||||||
},
|
},
|
||||||
y_min = 5,
|
y_min = 3,
|
||||||
y_max = 35,
|
y_max = 45,
|
||||||
decoration = "farming:hemp_7",
|
decoration = "farming:hemp_7",
|
||||||
spawn_by = "group:tree",
|
spawn_by = "group:tree",
|
||||||
num_spawn_by = 1,
|
num_spawn_by = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user