summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-08 14:33:47 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-08 14:33:47 +0000
commit021677931bb034f235240c9754afa9aca8923b85 (patch)
tree8d9486d67a6f9bed24e3721362941452cf99be70
parentdec468e3d7e018c59939624caa8cd14cd9084e47 (diff)
changed farming.rarety to 0.001, tall grass needed for seeds now
-rw-r--r--farming.conf_example5
-rw-r--r--grass.lua2
-rw-r--r--init.lua3
-rw-r--r--mapgen.lua10
4 files changed, 9 insertions, 11 deletions
diff --git a/farming.conf_example b/farming.conf_example
index 7a08b24..59045ad 100644
--- a/farming.conf_example
+++ b/farming.conf_example
@@ -12,7 +12,6 @@ farming.tomato = true
farming.cucumber = true
farming.corn = true
farming.coffee = true
-farming.coffee = true
farming.melon = true
farming.sugar = true
farming.pumpkin = true
@@ -31,5 +30,5 @@ farming.pepper = true
farming.pineapple = true
farming.donuts = true
--- rarety of crops on map, default is 0.006 (higher number = more crops)
-farming.rarety = 0.006
+-- rarety of crops on map, default is 0.001 (higher number = more crops)
+farming.rarety = 0.001
diff --git a/grass.lua b/grass.lua
index f6f777b..9644254 100644
--- a/grass.lua
+++ b/grass.lua
@@ -1,5 +1,5 @@
-for i = 3, 5 do
+for i = 4, 5 do
-- Override default grass and have it drop Wheat Seeds
diff --git a/init.lua b/init.lua
index 407537d..17c94ae 100644
--- a/init.lua
+++ b/init.lua
@@ -582,7 +582,6 @@ farming.tomato = true
farming.cucumber = true
farming.corn = true
farming.coffee = true
-farming.coffee = true
farming.melon = true
farming.sugar = true
farming.pumpkin = true
@@ -600,7 +599,7 @@ farming.onion = true
farming.pepper = true
farming.pineapple = true
farming.donuts = true
-farming.rarety = 0.006
+farming.rarety = 0.001 -- 0.006
-- Load new global settings if found inside mod folder
diff --git a/mapgen.lua b/mapgen.lua
index ffbfb67..cf40a98 100644
--- a/mapgen.lua
+++ b/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)
else
-- 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("cucumber_4", 1, 6, "", -1, farming.cucumber)
+ register_plant("carrot_8", 1, 15, "", -1, farming.carrot)
+ register_plant("cucumber_4", 1, 10, "", -1, farming.cucumber)
register_plant("melon_8", 1, 6, "", -1, farming.melon)
register_plant("pumpkin_8", 1, 6, "", -1, farming.pumpkin)
end
@@ -62,14 +62,14 @@ minetest.register_decoration({
sidelen = 16,
noise_params = {
offset = 0,
- scale = farming.rarety, -- 0.06,
+ scale = farming.rarety + 0.001, -- 0.06,
spread = {x = 100, y = 100, z = 100},
seed = 420,
octaves = 3,
persist = 0.6
},
- y_min = 5,
- y_max = 35,
+ y_min = 3,
+ y_max = 45,
decoration = "farming:hemp_7",
spawn_by = "group:tree",
num_spawn_by = 1,