-
-
Save rubenwardy/3c6f49995b83a0366f9a6c1cdd86724e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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