mirror of
https://github.com/tacigar/maidroid.git
synced 2025-01-10 08:10:17 +01:00
Update wet -> soil
This commit is contained in:
parent
fa6e294977
commit
931391ea3f
@ -28,7 +28,7 @@ local function is_plantable_place(pos)
|
|||||||
local lpos = vector.add(pos, {x = 0, y = -1, z = 0})
|
local lpos = vector.add(pos, {x = 0, y = -1, z = 0})
|
||||||
local lnode = minetest.get_node(lpos)
|
local lnode = minetest.get_node(lpos)
|
||||||
return node.name == "air"
|
return node.name == "air"
|
||||||
and minetest.get_item_group(lnode.name, "wet") > 0
|
and minetest.get_item_group(lnode.name, "soil") > 1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- is_mowable_place reports whether maidroid can mow.
|
-- is_mowable_place reports whether maidroid can mow.
|
||||||
|
Loading…
Reference in New Issue
Block a user