1
0
kopia lustrzana https://codeberg.org/tenplus1/farming.git synced 2025-10-27 04:35:37 +01:00

seeds grow on timer so players can wander

This commit is contained in:
tenplus1
2023-09-11 14:49:37 +01:00
rodzic b6ba098396
commit fd205e10fc
8 zmienionych plików z 54 dodań i 3 usunięć

Wyświetl plik

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