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:
@ -47,6 +47,9 @@ minetest.register_node("farming:seed_cotton", {
|
||||
next_plant = "farming:cotton_1",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_cotton")
|
||||
end,
|
||||
on_timer = function(pos, elapsed)
|
||||
minetest.set_node(pos, {name = "farming:cotton_1", param2 = 1})
|
||||
end
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user