Skip to content

Instantly share code, notes, and snippets.

@rubenwardy
Last active February 14, 2017 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenwardy/3c6f49995b83a0366f9a6c1cdd86724e to your computer and use it in GitHub Desktop.
Save rubenwardy/3c6f49995b83a0366f9a6c1cdd86724e to your computer and use it in GitHub Desktop.
local function replace_donemodel(pos, node)
minetest.set_node(pos, {name = "waffles:wafflemaker_open_done", param2 = node.param2})
end
minetest.register_node("node:name", {
on_place = function(pos, node)
minetest.after(2.0, replace_fullmodel, pos, node)
end
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment