1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-27 03:00:20 +01:00

Add ABM labels

This commit is contained in:
tenplus1 2023-01-22 10:31:16 +00:00
parent 28fda57767
commit 498063553a
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
farming = {
mod = "redo",
version = "20221028",
version = "20230122",
path = minetest.get_modpath("farming"),
select = {
type = "fixed",
@ -307,6 +307,7 @@ end)
-- Just in case a growing type or added node is missed (also catches existing
-- nodes added to map before timers were incorporated).
minetest.register_abm({
label = "Start crop timer",
nodenames = {"group:growing"},
interval = 300,
chance = 1,

View File

@ -144,6 +144,7 @@ minetest.register_alias("farming:desert_sand_soil_wet", dry_soil .. "_wet")
-- if water near soil then change to wet soil
minetest.register_abm({
label = "Soil changes",
nodenames = {"group:field"},
interval = 15,
chance = 4,