From 0d311c06a207c8ad44ae5090a1a3f01f7959fbc5 Mon Sep 17 00:00:00 2001 From: TenPlus1 <kinsellaja@yahoo.com> Date: Thu, 8 Feb 2018 11:11:28 +0000 Subject: added farming redo's pineapple to mapgen --- bonemeal.lua | 4 ++++ mapgen.lua | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/bonemeal.lua b/bonemeal.lua index 60f7ef3..d80fdac 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -84,6 +84,10 @@ local crops = { {"farming:barley_", 7}, {"farming:hemp_", 8}, {"farming:chili_", 8}, + {"farming:garlic_", 5}, + {"farming:onion_", 5}, + {"farming:pepper_", 5}, + {"farming:pineapple_", 8}, } -- check if sapling has enough height room to grow diff --git a/mapgen.lua b/mapgen.lua index 142f4a1..12f7b13 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -600,6 +600,23 @@ minetest.register_decoration({ spawn_by = "group:tree", num_spawn_by = 1, }) + +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:dirt_with_dry_grass"}, + sidelen = 16, + noise_params = { + offset = 0, + scale = 0.06, + spread = {x = 100, y = 100, z = 100}, + seed = 917, + octaves = 3, + persist = 0.6 + }, + y_min = 18, + y_max = 30, + decoration = {"farming:pineapple_8"}, +}) end -- place waterlily in beach areas -- cgit v1.2.3