check for old wheat/cotton seeds and grow to stage_1 via abm

这个提交包含在:
tenplus1
2023-04-07 14:41:51 +01:00
父节点 02cf5688fa
当前提交 b5f71d8025
共有 5 个文件被更改,包括 58 次插入39 次删除

查看文件

@ -8,15 +8,16 @@ minetest.register_node("farming:seed_hemp", {
inventory_image = "farming_hemp_seed.png",
wield_image = "farming_hemp_seed.png",
drawtype = "signlike",
groups = {seed = 1, snappy = 3, attached_node = 1},
groups = {seed = 1, snappy = 3, attached_node = 1, growing = 1},
paramtype = "light",
paramtype2 = "wallmounted",
walkable = false,
sunlight_propagates = true,
selection_box = farming.select,
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:hemp_1")
end
next_plant = "farming:hemp_1",
-- on_place = function(itemstack, placer, pointed_thing)
-- return farming.place_seed(itemstack, placer, pointed_thing, "farming:hemp_1")
-- end
})
-- harvested hemp