Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function bed_extension(pos)
- local below = {
- x = pos.x,
- y = pos.y - 1,
- z = pos.z,
- }
- if minetest.get_node(below).name == "homedecor:bed_blue_foot" then
- minetest.set_node(below, { name = "homedecor:bed_blue_footext", param2 = 2 })
- nodeupdate(pos)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement