Guest User

Untitled

a guest
Jan 12th, 2013
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function x(value)
  2. return (value - (160/2)) / 160
  3. end
  4.  
  5. function z(value)
  6. return (value - (160/2)) / 160
  7. end
  8.  
  9. function y(value)
  10. return (value + (160/2)) / 160
  11. end
  12.  
  13. local nodebox_c4 = {
  14. --c4
  15. { x(240.000),y(32.000),z(400.000),
  16. x(320.000),y(0.000),z(240.000) },
  17. }
  18. minetest.register_node("c4:c4" {
  19. description = "C4 Explosive",
  20. inventory_image = "c4_c4.png",
  21. type = "fixed",
  22. nodebox = {type="fixed",fixed=nodebox_c4}
  23. })
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.

×