Guest User

Untitled

a guest
Nov 28th, 2012
50
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function doors:register_door(name, def)
  2.     def.groups.not_in_creative_inventory = 1
  3.    
  4.     local box = {{-0.5, -0.5, -0.5,   0.5, 0.5, -0.5+1.5/16}}
  5.     local sbox = {{-0.5, -1.5, -0.5,   0.5, 0.5, -0.5+1.5/16}}
  6.    
  7.     if not def.node_box_bottom then
  8.         def.node_box_bottom = box
  9.     end
  10.     if not def.node_box_top then
  11.         def.node_box_top = box
  12.     end
  13.     if not def.selection_box_bottom then
  14.         def.selection_box_bottom= sbox
  15.     end
  16.     if not def.selection_box_top then
  17.         def.selection_box_top = sbox
  18.     end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×