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

seeds grow on timer so players can wander

This commit is contained in:
tenplus1
2023-09-11 14:49:37 +01:00
parent b6ba098396
commit fd205e10fc
8 changed files with 54 additions and 3 deletions

View File

@ -28,6 +28,9 @@ minetest.register_node("farming:seed_sunflower", {
next_plant = "farming:sunflower_1",
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_sunflower")
end,
on_timer = function(pos, elapsed)
minetest.set_node(pos, {name = "farming:sunflower_1", param2 = 1})
end
})