mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 14:50:52 +02:00
seeds grow on timer so players can wander
This commit is contained in:
@ -18,6 +18,9 @@ minetest.register_node("farming:seed_wheat", {
|
||||
next_plant = "farming:wheat_1",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_wheat")
|
||||
end,
|
||||
on_timer = function(pos, elapsed)
|
||||
minetest.set_node(pos, {name = "farming:wheat_1", param2 = 3})
|
||||
end
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user