Guest User

Untitled

a guest
Sep 1st, 2012
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         minetest.register_node(nodename, {
  2.             description = gate.." Gate",
  3.             drawtype = "nodebox",
  4.             paramtype = "light",
  5.             tiles = {
  6.                 "jeija_gate_"..onoff..".png^"..
  7.                 "jeija_gate_"..gate..".png",
  8.             },
  9.             node_box = {
  10.                 type = "fixed",
  11.                 fixed = { -6/16, -8/16, -6/16, 6/16, -7/16, 6/16 }
  12.             },
  13.             walkable = true,
  14.             on_construct = function(pos)
  15.                 update_gate(pos)
  16.             end,
  17.             groups = groups,
  18.             drop = drop,
  19.  
  20.         })
RAW Paste Data