Ensure concrete wandering starts immediately
This commit is contained in:
parent
25ae91cb17
commit
9fe9935ed9
@ -23,7 +23,9 @@ minetest.register_abm({
|
|||||||
neighbors = {"group:water"},
|
neighbors = {"group:water"},
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
local wet = wetname(node.name)
|
local wet = wetname(node.name)
|
||||||
if wet then return nodecore.set_loud(pos, {name = wet}) end
|
if not wet then return end
|
||||||
|
nodecore.set_loud(pos, {name = wet})
|
||||||
|
nodecore.dnt_set(pos, "fluidwander_concrete")
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -45,6 +47,7 @@ nodecore.register_aism({
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
nodecore.set_loud(found, {name = wet})
|
nodecore.set_loud(found, {name = wet})
|
||||||
|
nodecore.dnt_set(found, "fluidwander_concrete")
|
||||||
stack:take_item(1)
|
stack:take_item(1)
|
||||||
return stack
|
return stack
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user