Condense ABM registration, update readme
This commit is contained in:
parent
c8330e517f
commit
3798665fc1
@ -4,6 +4,6 @@ Once you place a flower on top of a flowerbed, it will quickly grow in nearby em
|
||||
|
||||
This growing is not limited by the usual restriction of flora density, so a single flower planted in a large flowerbed field will eventually fill the entire field with the flower.
|
||||
|
||||
In order to grow new flowers, flowerbeds must be on the same vertical height, and adjecent - even diagonally - to each other.
|
||||
In order to grow new flowers, flowerbeds must be on the same vertical height, and adjecent - even diagonally - to each other. Flowerbeds also do not work at all at depths of -50 or deeper.
|
||||
|
||||
Flowerbeds are crafted from 1 coal, 1 dirt and 1 wood placed vertically. Different woods yields different looking flowerbeds, but they all share the same functionality and can work with each other.
|
23
init.lua
23
init.lua
@ -66,16 +66,15 @@ for _, data in pairs(baseMatsAndTextures) do
|
||||
{data[1]}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_abm({
|
||||
label = "ABM for "..name,
|
||||
nodenames = {name},
|
||||
neighbors = {"air"},
|
||||
interval = 11.0,
|
||||
chance = 40,
|
||||
min_y = -50,
|
||||
catch_up = true,
|
||||
action = basic_flowerbed_abm
|
||||
})
|
||||
|
||||
end
|
||||
minetest.register_abm({
|
||||
label = "ABM for Flowerbeds",
|
||||
nodenames = {"group:flowerbed"},
|
||||
neighbors = {"air"},
|
||||
interval = 11.0,
|
||||
chance = 40,
|
||||
min_y = -50,
|
||||
catch_up = true,
|
||||
action = basic_flowerbed_abm
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user