cucina_vegana/asparagus_default.lua
= 763e2677ab Revert "Only mod farming is needed, farming_redo supports automatically farming."
This reverts commit 4629cdd3ef92fff39ad9be8ad8568dacb377e1cf.
2018-05-16 19:28:05 +02:00

35 lines
916 B
Lua

-- asparagus
farming.register_plant("cucina_vegana:asparagus", {
description = "Asparagus Seed",
inventory_image = "cucina_vegana_asparagus_seed.png",
steps = 6,
minlight = 11,
maxlight = default.LIGHT_MAX,
fertility = {"grassland"},
groups = {flammable = 4, attached_node = 1},
})
-- Register for Mapgen
minetest.register_node("cucina_vegana:wild_asparagus", {
description = "Wild Asparagus",
paramtype = "light",
walkable = false,
drop = {
items = {
{items = {"cucina_vegana:seed_asparagus 3"}},
{items = {"cucina_vegana:asparagus"}},
}
},
drawtype = "plantlike",
paramtype2 = "facedir",
tiles = {"cucina_vegana_asparagus_6.png"},
groups = {snappy = 3, dig_immediate=1, flammable=2, plant=1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, -- side f
},
},
})