Guest User

decowood

a guest
Jun 27th, 2013
39
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_node("tutorial:decowood", {
  2.     tiles = {"tutorial_decowood.png"},
  3.     groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
  4. })
  5.  
  6. minetest.register_craft({
  7.     output = 'tutorial:decowood 2',
  8.     recipe = {
  9.         {'default:wood', 'default:wood', ''},
  10.         {'default:wood', 'default:wood', ''},
  11.         {'', '', ''},
  12.     }
  13. })
  14.  
  15. minetest.register_craft({
  16.     type = "cooking",
  17.     recipe = "tutorial:decowood".
  18.     output = "default:wood",
  19. })
  20.  
  21. minetest.register_craft({
  22.     type = "fuel",
  23.     recipe = "tutorial:decowood",
  24.     burntime = 7,
  25. })
  26.  
  27. minetest.register_abm({
  28.     nodenames = {"tutorial:decowood"},
  29.     interval = 30,
  30.     chance = 1,
  31.     action = function(pos)
  32.         minetest.env:add_node(pos, {name="default:wood"})
  33.     end,
  34. })
RAW Paste Data