Guest User

pls

a guest
Jun 20th, 2014
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.27 KB | None | 0 0
  1. local ElementOne = elements.allocate("MILL", "ONE")
  2. elements.element(elements.MILL_PT_ONE, elements.element(elements.DEFAULT_PT_DUST))
  3. elements.property(elements.MILL_PT_ONE, "Name", "BEAM")
  4. elements.property(elements.MILL_PT_ONE, "Description", "Pure Plasmatic Energy Fused With Mass And Gravity.")
  5. elements.property(elements.MILL_PT_ONE, "Colour", 0xFFFFFF)
  6. elements.property(elements.MILL_PT_ONE, "Gravity",9)
  7. elements.property(elements.MILL_PT_ONE, "MenuSection", 10)
  8. elements.property(elements.MILL_PT_ONE, "Diffusion",0.3)
  9. elements.property(elements.MILL_PT_ONE, "Weight",300)
  10. elements.property(elements.MILL_PT_ONE, "Temperature",9999)
  11. elements.property(elements.MILL_PT_ONE, "HeatConduct",9999)
  12. elements.property(elements.MILL_PT_ONE, "Flammable", 0.0)
  13. local function graphics(i, colr, colg, colb)
  14.  return 1,0x00010000,255,100,155,210,255,255,255,255
  15. end
  16. tpt.graphics_func(graphics,ElementOne)
  17. local function sprk(i,x,y,s,n)
  18. cc=math.random(1,255)
  19. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.wood.id then
  20. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'thdr')
  21. end
  22. end
  23. tpt.element_func(sprk,ElementOne)
  24.  
  25. local ElementThree = elements.allocate("MILL", "THREE")
  26. elements.element(elements.MILL_PT_THREE, elements.element(elements.DEFAULT_PT_DUST))
  27. elements.property(elements.MILL_PT_THREE, "Name", "PBUT")
  28. elements.property(elements.MILL_PT_THREE, "Description", "Purified Butthurtium. Lifes no joke. Swag is for swaggot. 024 Un blaze.")
  29. elements.property(elements.MILL_PT_THREE, "Colour", 0x33FF33)
  30. elements.property(elements.MILL_PT_THREE, "Gravity",0.3)
  31. elements.property(elements.MILL_PT_THREE, "MenuSection", 10)
  32. elements.property(elements.MILL_PT_THREE, "Diffusion",0.9)
  33. elements.property(elements.MILL_PT_THREE, "Weight",1)
  34. elements.property(elements.MILL_PT_THREE, "Temperature",-23123)
  35. elements.property(elements.MILL_PT_THREE, "Flammable", 5554)
  36. elements.property(elements.MILL_PT_THREE, "Explosive", 5554)
  37. local function sprk(i,x,y,s,n)
  38. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.deut.id then
  39. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  40. end
  41. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.prot.id then
  42. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  43. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  44. end
  45. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.exot.id then
  46. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  47. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  48. end
  49. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.uran.id then
  50. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  51. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  52. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  53. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  54. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  55. end
  56. end
  57. tpt.element_func(sprk,ElementThree)
  58.  
  59.  
  60. local ElementTwo = elements.allocate("MILL", "TWO")
  61. elements.element(elements.MILL_PT_TWO, elements.element(elements.DEFAULT_PT_DUST))
  62. elements.property(elements.MILL_PT_TWO, "Name", "BUTT")
  63. elements.property(elements.MILL_PT_TWO, "Description", "Butthurtium. Yolo. Swag. 420 blaze.")
  64. elements.property(elements.MILL_PT_TWO, "Colour", 0xFF33FF)
  65. elements.property(elements.MILL_PT_TWO, "Gravity",0.3)
  66. elements.property(elements.MILL_PT_TWO, "MenuSection", 10)
  67. elements.property(elements.MILL_PT_TWO, "Diffusion",0.9)
  68. elements.property(elements.MILL_PT_TWO, "Weight",math.random(1,100))
  69. elements.property(elements.MILL_PT_TWO, "Temperature",-23123)
  70. elements.property(elements.MILL_PT_TWO, "Flammable", 555)
  71. elements.property(elements.MILL_PT_TWO, "Explosive", 555)
  72. local function graphics(i, colr, colg, colb)
  73.  return 1,0x00020000,255,255,51,255,255,255,51,255
  74. end
  75. tpt.graphics_func(graphics,ElementTwo)
  76. local function sprk(i,x,y,s,n)
  77. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.deut.id then
  78. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  79. end
  80. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.prot.id then
  81. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  82. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  83. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  84. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  85. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  86. end
  87. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.exot.id then
  88. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  89. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  90. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  91. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  92. end
  93. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.uran.id then
  94. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  95. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  96. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  97. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  98. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  99. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  100. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  101. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  102. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  103. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  104. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  105. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  106. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  107. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  108. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  109. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  110. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt') tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  111. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  112. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  113. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'butt')
  114. end
  115. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.soap.id then
  116. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'pbut')
  117. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'pbut')
  118. end
  119. end
  120. tpt.element_func(sprk,ElementTwo)
  121.  
  122. local ElementFour = elements.allocate("MILL", "FOUR")
  123. elements.element(elements.MILL_PT_FOUR, elements.element(elements.DEFAULT_PT_DUST))
  124. elements.property(elements.MILL_PT_FOUR, "Name", "NUKE")
  125. elements.property(elements.MILL_PT_FOUR, "Description", "Nuke.")
  126. elements.property(elements.MILL_PT_FOUR, "Colour", 0x2D3ED1)
  127. elements.property(elements.MILL_PT_FOUR, "Gravity",0.1)
  128. elements.property(elements.MILL_PT_FOUR, "MenuSection", 10)
  129. elements.property(elements.MILL_PT_FOUR, "Diffusion",0.1)
  130. elements.property(elements.MILL_PT_FOUR, "Weight",50)
  131. elements.property(elements.MILL_PT_FOUR, "Temperature",0.1)
  132. elements.property(elements.MILL_PT_FOUR, "HeatConduct",0.1)
  133. elements.property(elements.MILL_PT_FOUR, "Flammable", 9999999999999999999999999999999999999999999)
  134. elements.property(elements.MILL_PT_FOUR, "Explosive", 9999999999999999999999999999999999999999999)
  135. local function sprk(i,x,y,s,n)
  136. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'oil')
  137. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'nitr')
  138. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'desl')
  139. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'thrm')
  140. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'tnt')
  141. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'fire')
  142. end
  143. tpt.element_func(sprk,ElementFour)
  144.  
  145. local ElementFive = elements.allocate("MILL", "FIVE")
  146. elements.element(elements.MILL_PT_FIVE, elements.element(elements.DEFAULT_PT_BCOL))
  147. elements.property(elements.MILL_PT_FIVE, "Name", "FIRK")
  148. elements.property(elements.MILL_PT_FIVE, "Description", "Fire Rocks")
  149. elements.property(elements.MILL_PT_FIVE, "MenuSection", 10)
  150. elements.property(elements.MILL_PT_FIVE, "Weight",50)
  151. local function sprk(i,x,y,s,n)
  152. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'fire')
  153. end
  154. tpt.element_func(sprk,ElementFive)
Advertisement
Add Comment
Please, Sign In to add comment