From 6356dfcdb529d9120e15a9e343672da1ecb6a784 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Wed, 25 Sep 2024 10:21:16 +0100 Subject: [PATCH] fix typo, tweak deco --- crops/artichoke.lua | 10 +++------- crops/melon.lua | 4 ++-- crops/pumpkin.lua | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/crops/artichoke.lua b/crops/artichoke.lua index bec1e49..cb9d7a7 100644 --- a/crops/artichoke.lua +++ b/crops/artichoke.lua @@ -82,15 +82,11 @@ farming.registered_plants["farming:artichoke"] = { -- mapgen -local spawn_on = {"default:dirt_with_grass", "mcl_core:dirt_with_grass"} - -if farming.eth then - spawn_on = {"ethereal:grove_dirt"} -end - minetest.register_decoration({ deco_type = "simple", - place_on = spawn_on, + place_on = { + "default:dirt_with_grass", "mcl_core:dirt_with_grass", "ethereal:grove_dirt" + }, sidelen = 16, noise_params = { offset = 0, diff --git a/crops/melon.lua b/crops/melon.lua index 89d02a9..83d4451 100644 --- a/crops/melon.lua +++ b/crops/melon.lua @@ -120,7 +120,7 @@ minetest.register_decoration({ octaves = 3, persist = 0.6 }, - y_min = 1, y_max = 6, + y_min = 1, y_max = 3, decoration = "farming:melon_8", - spawn_by = {"group:water", "group_sand"}, num_spawn_by = 1 + spawn_by = {"group:water", "group:sand"}, num_spawn_by = 1 }) diff --git a/crops/pumpkin.lua b/crops/pumpkin.lua index 1cad2ea..d133dfe 100644 --- a/crops/pumpkin.lua +++ b/crops/pumpkin.lua @@ -123,7 +123,7 @@ minetest.register_decoration({ octaves = 3, persist = 0.6 }, - y_min = 1, y_max = 6, + y_min = 1, y_max = 3, decoration = "farming:pumpkin_8", spawn_by = {"group:water", "group:sand"}, num_spawn_by = 1 })