Fix: Growth plants cucina_vegana. Delete: potted_farming
This commit is contained in:
parent
60d57b3d77
commit
5cfbea5f51
133 changed files with 431 additions and 2912 deletions
|
@ -29,7 +29,7 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
|||
wield_image = "cucina_vegana_" .. pname .. "_seed.png",
|
||||
minlight = cucina_vegana.plant_settings.potato_light,
|
||||
drawtype = "signlike",
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4},
|
||||
groups = {seed = 1, snappy = 3, attached_node = 1, dig_immediate=1, flammable = 4, growing = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
|
@ -38,6 +38,9 @@ minetest.register_node("cucina_vegana:" .. pname .. "_seed", {
|
|||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "cucina_vegana:" .. pname .. germ)
|
||||
end,
|
||||
on_timer = function(pos, elapsed)
|
||||
minetest.set_node(pos, { name = "cucina_vegana:" .. pname .. "_1", param2 = 1 })
|
||||
end,
|
||||
})
|
||||
|
||||
-- potato definition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue