1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

added spinach; eggplant; asparagus; Chili Powder; new Onigiri (thanks Atlante for new textures), mapgen now inside own crop file, added new lucky blocks

This commit is contained in:
tenplus1
2022-09-13 12:30:10 +01:00
parent ff526980da
commit 97d15d3ea1
60 changed files with 992 additions and 251 deletions

View File

@ -19,7 +19,7 @@ local def = {
sunlight_propagates = true,
walkable = false,
buildable_to = true,
drop = "",
drop = "",
selection_box = farming.select,
groups = {
snappy = 3, flammable = 2, plant = 1, attached_node = 1,
@ -62,3 +62,23 @@ farming.registered_plants["farming:artichoke"] = {
maxlight = 15,
steps = 5
}
-- mapgen
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0,
scale = farming.artichoke,
spread = {x = 100, y = 100, z = 100},
seed = 448,
octaves = 3,
persist = 0.6
},
y_min = 1,
y_max = 13,
decoration = {"farming:artichoke_5"},
spawn_by = "group:tree",
num_spawn_by = 1
})