From 3d08b568ad1da1e3259a66cb91fd1039781c75cb Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 26 Sep 2017 00:11:57 -0400 Subject: update castles modpack, boost_cart, homedecor, currency, farming redo, framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib, technic, unified mesecons, and worldedit created a new tag for this release (this will be standard procedure from now on) --- farming/mapgen.lua | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'farming/mapgen.lua') diff --git a/farming/mapgen.lua b/farming/mapgen.lua index 090c193..929f181 100644 --- a/farming/mapgen.lua +++ b/farming/mapgen.lua @@ -12,7 +12,7 @@ local function register_plant(name, min, max, spawnby, num, enabled) sidelen = 16, noise_params = { offset = 0, - scale = 0.006, + scale = farming.rarety, -- 0.006, spread = {x = 100, y = 100, z = 100}, seed = 329, octaves = 3, @@ -60,7 +60,7 @@ minetest.register_decoration({ sidelen = 16, noise_params = { offset = 0, - scale = 0.06, + scale = farming.rarety, -- 0.06, spread = {x = 100, y = 100, z = 100}, seed = 420, octaves = 3, @@ -73,3 +73,24 @@ minetest.register_decoration({ num_spawn_by = 1, }) end + +if farming.chili then +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"}, + sidelen = 16, + noise_params = { + offset = 0, + scale = farming.rarety, -- 0.06, + spread = {x = 100, y = 100, z = 100}, + seed = 760, + octaves = 3, + persist = 0.6 + }, + y_min = 5, + y_max = 35, + decoration = {"farming:chili_8"}, + spawn_by = "group:tree", + num_spawn_by = 1, +}) +end -- cgit v1.2.3