SHARE
TWEET

Untitled

a guest Mar 3rd, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function on_use_stone(itemstack, player, pointed_thing)
  2.     local meta = itemstack:get_meta()
  3.     meta:set_string("description", "NEW DESCRIPTION")
  4.     return itemstack
  5. end
  6. minetest.register_node("test_strange:stone", {
  7.     description = "STONE",
  8.     tiles = {"default_stone.png"},
  9.     is_ground_content = true,
  10.     groups = {cracky=3, stone=1},
  11.     drop = 'default:cobble',
  12.     legacy_mineral = true,
  13.     on_use = on_use_stone,
  14. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top