Advertisement
Guest User

Untitled

a guest
Sep 8th, 2012
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. Nodes:
  2.  
  3. drawtype = plant, block, torch, fence, glass, leaves and rail
  4.  
  5. is_mesecon_powered = receptor, effector, always_on, inverter, uscript, false
  6.  
  7. minetest_modname = "foobar",
  8.  
  9. minetest_nodename = "permadirt",
  10.  
  11. light_emmitting = 1-14
  12.  
  13. texture = "trollface.png",
  14.  
  15. end_node_register
  16.  
  17. start_node_register,
  18.  
  19. crafting = a,b,c,d,e,f,g,h,i //See http://i.imgur.com/irt0R.png
  20.  
  21. cooking = "CONTENT_SAND",
  22.  
  23. Example Code:
  24.  
  25. start_node_register,
  26.  
  27. minetest_modname = "WOOL",
  28.  
  29. minetest_nodename = "WHITE",
  30.  
  31. is_mesecon_powered = "false",
  32.  
  33. drawtype = "block",
  34.  
  35. texture = "wool_white.png",
  36.  
  37. cooking = "CONTENT_TREE",
  38.  
  39. end_node_register
  40.  
  41. Comments can be added with // or --
  42.  
  43. So
  44.  
  45. //Comment
  46.  
  47. or
  48.  
  49. -- Comment
  50.  
  51. will work.
  52.  
  53. Mobs:
  54.  
  55. start_mob_register
  56.  
  57. spawn_on = "WOOL_WHITE",
  58.  
  59. image = "enderman.png",
  60.  
  61. spawn_light = 1-14\
  62.  
  63. aggressive = true, false, if_attacked
  64.  
  65. drop = "CONTENT_APPLE",
  66.  
  67. attack_type = punch, fireball
  68.  
  69. attack_damage = 1-20 -- 20 is instant kill, while 1 = half a heart.
  70.  
  71. movement_pattern = chase, move_around, flee, stay_put, stop_n_go
  72.  
  73. end_mob_register
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement