Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created February 8, 2013 17:06
  • 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 PilzAdam/4740407 to your computer and use it in GitHub Desktop.
minetest.register_node("test:t1", {
description = "T1",
on_rightclick = function(pos, node, clicker)
minetest.chat_send_all("T1")
end,
})
minetest.register_node("test:t2", {
description = "T2",
on_rightclick = function(pos, node, clicker)
minetest.chat_send_all("T2")
end,
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment