Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. local function bed_extension(pos)
  2. local below = {
  3. x = pos.x,
  4. y = pos.y - 1,
  5. z = pos.z,
  6. }
  7. if minetest.get_node(below).name == "homedecor:bed_blue_foot" then
  8. minetest.set_node(below, { name = "homedecor:bed_blue_footext", param2 = 2 })
  9. nodeupdate(pos)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement