This repository has been archived on 2019-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
scriptblocks/mud.lua

15 lines
314 B
Lua
Raw Normal View History

2017-07-30 22:24:43 +02:00
minetest.register_node("rmod:mud", {
drawtype = "flowingliquid",
tiles = {"rmod_mud.png"},
groups = {oddly_breakable_by_hand = 1},
use_texture_alpha = true,
walkable = false,
after_place_node = function (pos)
local node = minetest.get_node(pos)
node.param2 = 0
minetest.set_node(pos, node)
end
})