Skip to content

Instantly share code, notes, and snippets.

@rubenwardy
Created September 18, 2014 15:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rubenwardy/f1c81d7e95dcff3d9e5e to your computer and use it in GitHub Desktop.
-- psuedocode. MAY NOT WORK
funcs = {}
function onPunch(...)
return funcs.onPunch(...)
end
function reload()
dofile("funcs.lua")
end
reload()
minetest.register_node("kans", {
on_punch = onDig
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment