Advertisement
Guest User

Untitled

a guest
Nov 26th, 2013
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.54 KB | None | 0 0
  1. --[[The Powder Toy: Ultra]]--
  2. --[[Created By RadioActiveLua]]--
  3. --[[Version 2]]--
  4.  
  5. --HUD--
  6. local Version = "2"
  7. local Main = Window:new(-1,-1,300,300)
  8. local Main1 = Window:new(-1,-1,200,200)
  9. local Title = Label:new(10,5,120,16, "The Powder Toy: Ultra")
  10. local Title2 = Label:new(10,15,121,16, "Created By RadioActiveLua")
  11. local Title3 =  Label:new(10,25,140,16, "Email: [email protected]")
  12. local Title4 =  Label:new(233,5,88,16, ("TPTU V."..Version))
  13.  
  14. local CloseButton = Button:new(10, 274, 60, 16, "Close")
  15.  
  16. CloseButton:action(function() interface.closeWindow(Main) end)
  17. Main:onTryExit(function() interface.closeWindow(Main) end)
  18. Main1:onTryExit(function() interface.closeWindow(Main1) end)
  19.  
  20. Main:addComponent(CloseButton);
  21.  
  22. local ButtonMenu = Button:new(0, 0, 55, 15, "Commands", "Open Commands.")
  23. local ButtonCredit = Button:new(56,0,55,15, "Changes", "Open Change Log")
  24.  
  25. ButtonMenu:action(function() interface.showWindow(Main) end)
  26. ButtonCredit:action(function() interface.showWindow(Main1) end)
  27. -- Changes Start Here --
  28. local Change0 = Label:new(16,5,120,16, "- Added Commands/Changes Tab.")
  29. local Change1 = Label:new(2,15,120,16, "- Added Four Check Boxs.")
  30. local Change2 = Label:new(9,25,120,16, "- Added ANUB, SOIL, GRAS.")
  31. local Change3 = Label:new(24,35,120,16, "- Added LAZR, HELI, UVL, & SUN")
  32. local Change4 = Label:new(6,45,120,16, "- Added DARM, SPRB, LDM")
  33. local Change5 = Label:new(29,55,120,16,"- Added STAR, RSTR, STUF, & SPRT")
  34.  
  35. -- End Changes --
  36. -- Commands Start Here --
  37. local ButtonFire = Button:new(10,45,60,16, "Set Fire")
  38. local ButtonMelt = Button:new(10, 65, 60, 16, "Melt")
  39. local CheckBox = Checkbox:new(10, 85, 60, 16, "Non-Burnable Acid.")
  40. local CheckBox1 = Checkbox:new(10, 105, 60, 16, "Show LOVE (Special)")
  41. local CheckBox2 = Checkbox:new(10, 125, 60, 16, "Show MORT (Gas/Smoke)")
  42. local CheckBox3 = Checkbox:new(10, 145, 60, 16, "Deadly Super Ball.")
  43. local MeltType = Textbox:new(71, 65,60,16)
  44. local FireNumber = Textbox:new(71,45,60,16)
  45.  
  46.  
  47. CheckBox:action(function()
  48. if CheckBox:checked() then
  49. elements.property(elements.DEFAULT_PT_ACID, "Flammable", 0)
  50. else
  51. elements.property(elements.DEFAULT_PT_ACID, "Flammable", 40)
  52. end
  53. end)
  54. CheckBox1:action(function()
  55. if CheckBox1:checked() then
  56. elements.property(elements.DEFAULT_PT_LOVE, "MenuSection", 11)
  57. else
  58. elements.property(elements.DEFAULT_PT_LOVE, "MenuSection", 12)
  59. end
  60. end)
  61. CheckBox2:action(function()
  62. if CheckBox2:checked() then
  63. elements.property(elements.DEFAULT_PT_MORT, "MenuSection", 6)
  64. else
  65. elements.property(elements.DEFAULT_PT_MORT, "MenuSection", 12)
  66. end
  67. end)
  68. CheckBox3:action(function()
  69. if CheckBox3:checked() then
  70. elements.property(elements.RADIO_PT_FOUR, "Temperature", math.huge)
  71. else
  72. elements.property(elements.RADIO_PT_FOUR, "Temperature", 0)
  73. end
  74. end)
  75. ButtonMelt:action(function()
  76. local txt2=MeltType:text()
  77. if txt2=="all" then
  78. tpt.set_property("temp",10000)
  79. else
  80. tpt.set_property("temp",10000,txt2)
  81. end
  82. end)
  83.  
  84. ButtonFire:action(function()
  85. local txt1=FireNumber:text()
  86. tpt.setfire(txt1)
  87. end)
  88. -- Main1 Starts Here --
  89. Main1:addComponent(Change0)
  90. Main1:addComponent(Change1)
  91. Main1:addComponent(Change2)
  92. Main1:addComponent(Change3)
  93. Main1:addComponent(Change4)
  94. Main1:addComponent(Change5)
  95. -- Main1 Ends Here --
  96.  
  97. -- Commands End Here --
  98. Main:addComponent(CheckBox)
  99. Main:addComponent(CheckBox1)
  100. Main:addComponent(CheckBox2)
  101. Main:addComponent(CheckBox3)
  102. Main:addComponent(ButtonMelt)
  103. Main:addComponent(MeltType)
  104. Main:addComponent(FireNumber)
  105. Main:addComponent(ButtonFire)
  106. Main:addComponent(Title)
  107. Main:addComponent(Title2)
  108. Main:addComponent(Title3)
  109. Main:addComponent(Title4)
  110.  
  111. -- Interface --
  112. interface.addComponent(ButtonMenu)
  113. interface.addComponent(ButtonCredit)
  114. -- End Interface --
  115. --END HUD--
  116.  
  117. --Elements--
  118. local ElementOne = elements.allocate("RADIO", "ONE")
  119. elements.element(elements.RADIO_PT_ONE, elements.element(elements.DEFAULT_PT_DUST))
  120. elements.property(elements.RADIO_PT_ONE, "Name", "ANUB")
  121. elements.property(elements.RADIO_PT_ONE, "Description", "Anubial, a self replicating smoke producer.")
  122. elements.property(elements.RADIO_PT_ONE, "Colour", 0x333333)
  123. elements.property(elements.RADIO_PT_ONE, "Gravity",0.4)
  124. elements.property(elements.RADIO_PT_ONE, "MenuSection", 8)
  125. elements.property(elements.RADIO_PT_ONE, "Diffusion",0.4)
  126. elements.property(elements.RADIO_PT_ONE, "Weight",-500)
  127. elements.property(elements.RADIO_PT_ONE, "Flammable", 0.3)
  128. local function smke(i,x,y,s,n)
  129.     if math.random(1,10) == 10 then
  130.         tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'smke')
  131.     end
  132. end
  133. tpt.element_func(smke,ElementOne)
  134.  
  135. local ElementTwo = elements.allocate("RADIO", "TWO")
  136. elements.element(elements.RADIO_PT_TWO, elements.element(elements.DEFAULT_PT_HYGN))
  137. elements.property(elements.RADIO_PT_TWO, "Name", "HELI")
  138. elements.property(elements.RADIO_PT_TWO, "Description", "Helium, When Mixed With HYGN Creates SUN")
  139. elements.property(elements.RADIO_PT_TWO, "Gravity", 0)
  140. elements.property(elements.RADIO_PT_TWO, "Loss", 0.01)
  141. elements.property(elements.RADIO_PT_TWO, "HotAir", 0.001)
  142. elements.property(elements.RADIO_PT_TWO, "Temperature", 293.15)
  143. elements.property(elements.RADIO_PT_TWO, "Colour", 0x9999CC)
  144. elements.property(elements.RADIO_PT_TWO, "Collision", 0.01)
  145. elements.property(elements.RADIO_PT_TWO, "Diffusion", 0.000001)
  146. local function start(i,x,y,s,n)
  147. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.hygn.id then
  148. elements.property(elements.RADIO_PT_TWO, "Flammable", 400)
  149. tpt.create(x + math.random(1,2), y + math.random(1,2), 'sun')
  150. end
  151. end
  152. tpt.element_func(start,ElementTwo)
  153.  
  154. local ElementTW02 = elements.allocate("RADIO", "TWO2")
  155. elements.element(elements.RADIO_PT_TWO2, elements.element(elements.DEFAULT_PT_NEUT))
  156. elements.property(elements.RADIO_PT_TWO2, "Name", "UVL")
  157. elements.property(elements.RADIO_PT_TWO2, "Description", "Ultra Violet Lights. (Sun Radiation)")
  158. elements.property(elements.RADIO_PT_TWO2, "MenuSection", 10)
  159. elements.property(elements.RADIO_PT_TWO2, "Colour", 0x993399)
  160. elements.property(elements.RADIO_PT_TWO2, "Weight", 99999)
  161. elements.property(elements.RADIO_PT_TWO2, "Temperature", math.huge)
  162. elements.property(elements.RADIO_PT_TWO2, "Collision", 0.0000000000099)
  163. elements.property(elements.RADIO_PT_TWO2, "Diffusion", 0.7)
  164.  
  165.  
  166. local ElementTHREE = elements.allocate("RADIO", "THREE")
  167. elements.element(elements.RADIO_PT_THREE, elements.element(elements.DEFAULT_PT_DMND))
  168. elements.property(elements.RADIO_PT_THREE, "Name", "SUN")
  169. elements.property(elements.RADIO_PT_THREE, "Description", "Big Ball Of Burning Gas. A Member Of The Star Family")
  170. elements.property(elements.RADIO_PT_THREE, "MenuSection", 11)
  171. elements.property(elements.RADIO_PT_THREE, "HotAir", -0.40)
  172. elements.property(elements.RADIO_PT_THREE, "Colour", 0xFFFF00)
  173. elements.property(elements.RADIO_PT_THREE, "Temperature", math.huge)
  174. local function fire(i,x,y,s,n)
  175.     if math.random(1,10) == 10 then
  176.         tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'fire')
  177.     end
  178.     if math.random(1,60) == 10 then
  179.         tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'lava')
  180.     end
  181.     if math.random(1,34) == 14 then
  182.     tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'smke')
  183.     end
  184.     if math.random(1,250) == 10 then
  185.     tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'uvl')
  186.     end
  187. end
  188. tpt.element_func(fire,ElementTHREE)
  189.  
  190. local ElementFour = elements.allocate("RADIO","FOUR")
  191. elements.element(elements.RADIO_PT_FOUR, elements.element(elements.DEFAULT_PT_PHOT))
  192. elements.property(elements.RADIO_PT_FOUR, "Name", "SPRB")
  193. elements.property(elements.RADIO_PT_FOUR, "Colour", 0xFF0099)
  194. elements.property(elements.RADIO_PT_FOUR, "MenuSection", 10)
  195. elements.property(elements.RADIO_PT_FOUR, "Advection", 0.2)
  196. elements.property(elements.RADIO_PT_FOUR, "Collision", 1.0)
  197. elements.property(elements.RADIO_PT_FOUR, "Gravity", 3.0)
  198. elements.property(elements.RADIO_PT_FOUR, "Diffusion", 0.3)
  199. elements.property(elements.RADIO_PT_FOUR, "Weight", 40.45)
  200. elements.property(elements.RADIO_PT_FOUR, "Description", "Super Ball. Very Hot. Bounces.")
  201. elements.property(elements.RADIO_PT_FOUR, "Properties", PROP_DEADLY)
  202.  
  203. local ElementFive = elements.allocate("RADIO", "FIVE")
  204. elements.element(elements.RADIO_PT_FIVE, elements.element(elements.DEFAULT_PT_SAND))
  205. elements.property(elements.RADIO_PT_FIVE, "Colour", 0x996633)
  206. elements.property(elements.RADIO_PT_FIVE, "Description", "SOIL. Creates VINE when mixed with GRAS and WATR")
  207. elements.property(elements.RADIO_PT_FIVE, "Diffusion", 0.4)
  208. elements.property(elements.RADIO_PT_FIVE, "Gravity", 0.5)
  209. elements.property(elements.RADIO_PT_FIVE, "Weight", 24)
  210. elements.property(elements.RADIO_PT_FIVE, "Collision", 0.2)
  211. elements.property(elements.RADIO_PT_FIVE, "Name", "SOIL")
  212. elements.property(elements.RADIO_PT_FIVE, "MenuSection", 8)
  213.  
  214.  
  215. local ElementSix = elements.allocate("RADIO", "SIX")
  216. elements.element(elements.RADIO_PT_SIX, elements.element(elements.DEFAULT_PT_DUST))
  217. elements.property(elements.RADIO_PT_SIX, "Name", "GRAS")
  218. elements.property(elements.RADIO_PT_SIX, "Description", "GRASS. Put on SOIL and add water to create VINE.")
  219. elements.property(elements.RADIO_PT_SIX, "Weight", 10)
  220. elements.property(elements.RADIO_PT_SIX, "Gravity", 0.5)
  221. elements.property(elements.RADIO_PT_SIX, "Collision", 0.2)
  222. elements.property(elements.RADIO_PT_SIX, "MenuSection", 8)
  223. elements.property(elements.RADIO_PT_SIX, "Colour", 0x009966)
  224. elements.property(elements.RADIO_PT_SIX, "Flammable", 30)
  225. local function start1(i,x,y,s,n)
  226. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.watr.id then
  227. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'vine')
  228. end
  229. end
  230. tpt.element_func(start1,ElementSix)
  231.  
  232. local ElementSeven = elements.allocate("RADIO", "SEVEN")
  233. elements.element(elements.RADIO_PT_SEVEN, elements.element(elements.DEFAULT_PT_BCOL))
  234. elements.property(elements.RADIO_PT_SEVEN, "Name", "DARM")
  235. elements.property(elements.RADIO_PT_SEVEN, "Description", "Dark-Matter. Very Heavy.")
  236. elements.property(elements.RADIO_PT_SEVEN, "Colour", 0x000000)
  237. elements.property(elements.RADIO_PT_SEVEN, "Weight", 999999999)
  238. elements.property(elements.RADIO_PT_SEVEN, "Collision", 0.01)
  239. elements.property(elements.RADIO_PT_SEVEN, "Loss", 0.001)
  240. elements.property(elements.RADIO_PT_SEVEN, "Gravity", 0.8)
  241. elements.property(elements.RADIO_PT_SEVEN, "MenuSection", 11)
  242.  
  243. local ElementEight = elements.allocate("RADIO", "EIGHT")
  244. elements.element(elements.RADIO_PT_EIGHT, elements.element(elements.DEFAULT_PT_GLOW))
  245. elements.property(elements.RADIO_PT_EIGHT, "Name", "LDM")
  246. elements.property(elements.RADIO_PT_EIGHT, "Description", "Liquid Dark-Matter. Heavy.")
  247. elements.property(elements.RADIO_PT_EIGHT, "Colour", 0x000000)
  248. elements.property(elements.RADIO_PT_EIGHT, "Weight", 9999)
  249. elements.property(elements.RADIO_PT_EIGHT, "Gravity", 0.6)
  250. elements.property(elements.RADIO_PT_EIGHT, "Diffusion", 0.3)
  251. elements.property(elements.RADIO_PT_EIGHT, "MenuSection", 7)
  252.  
  253. local ElementNine = elements.allocate("RADIO", "NINE")
  254. elements.property(elements.RADIO_PT_NINE, "Name", "LAZR")
  255. elements.property(elements.RADIO_PT_NINE, "Color", 0x990000)
  256. elements.property(elements.RADIO_PT_NINE, "Description", "LAZR. Destructive.")
  257. elements.property(elements.RADIO_PT_NINE, "MenuVisible", 1)
  258. elements.property(elements.RADIO_PT_NINE, "MenuSection", 10)
  259. elements.property(elements.RADIO_PT_NINE, "Advection", 1)
  260. elements.property(elements.RADIO_PT_NINE, "AirDrag", 0)
  261. elements.property(elements.RADIO_PT_NINE, "AirLoss", 0)
  262. elements.property(elements.RADIO_PT_NINE, "Loss", 1)
  263. elements.property(elements.RADIO_PT_NINE, "Collision", 3)
  264. elements.property(elements.RADIO_PT_NINE, "Meltable", 0)
  265. elements.property(elements.RADIO_PT_NINE, "Hardness", 0)
  266. elements.property(elements.RADIO_PT_NINE, "Weight", 83)
  267. elements.property(elements.RADIO_PT_NINE, "Temperature", 99999)
  268. elements.property(elements.RADIO_PT_NINE, "HeatConduct", 99999)
  269. elements.property(elements.RADIO_PT_NINE, "HotAir", 0.3)
  270. elements.property(elements.RADIO_PT_NINE, "Falldown", 0)
  271. elements.property(elements.RADIO_PT_NINE, "Flammable", 0)
  272. elements.property(elements.RADIO_PT_NINE, "State", ST_NONE)
  273. elements.property(elements.RADIO_PT_NINE, "Gravity", 0.3)
  274. elements.property(elements.RADIO_PT_NINE, "Diffusion", 0)
  275. elements.property(elements.RADIO_PT_NINE, "Explosive", 0)
  276. elements.property(elements.RADIO_PT_NINE, "Properties", PROP_DEADLY)
  277.  
  278. local ElementTen = elements.allocate("RADIO", "TEN")
  279. elements.element(elements.RADIO_PT_TEN, elements.element(elements.DEFAULT_PT_TTAN))
  280. elements.property(elements.RADIO_PT_TEN, "Name", "LEAD")
  281. elements.property(elements.RADIO_PT_TEN, "Description", "Lead. Melts at high temperature. Absorbs Protons.")
  282. elements.property(elements.RADIO_PT_TEN, "Colour", 0xCCCCFF)
  283. elements.property(elements.RADIO_PT_TEN, "MenuSection", 9)
  284. elements.property(elements.RADIO_PT_TEN, "AirLoss", 0.99)
  285. elements.property(elements.RADIO_PT_TEN, "Weight", 430)
  286. elements.property(elements.RADIO_PT_TEN, "Temperature", 195.15)
  287. elements.property(elements.RADIO_PT_TEN, "HighTemperature", 500.0)
  288. elements.property(elements.RADIO_PT_TEN, "HighTemperatureTransition", elements.RADIO_PT_TENM)
  289. elements.property(elements.RADIO_PT_TEN, "Properties", PROP_BLACK)
  290.  
  291. local ElementTenM = elements.allocate("RADIO", "TENM")
  292. elements.element(elements.RADIO_PT_TENM, elements.element(elements.DEFAULT_PT_MWAX))
  293. elements.property(elements.RADIO_PT_TENM, "Name", "MLED")
  294. elements.property(elements.RADIO_PT_TENM, "Colour", 0x999999)
  295. elements.property(elements.RADIO_PT_TENM, "Description", "Molten Lead. When Cooled Down Forms LEAD.")
  296. elements.property(elements.RADIO_PT_TENM, "MenuSection", 7)
  297. elements.property(elements.RADIO_PT_TENM, "Gravity", 0.8)
  298. elements.property(elements.RADIO_PT_TENM, "Loss", 0.10)
  299. elements.property(elements.RADIO_PT_TENM, "AirLoss", 0.1)
  300. elements.property(elements.RADIO_PT_TENM, "AirDrag", 0.01)
  301. elements.property(elements.RADIO_PT_TENM, "Advection", 0.6)
  302. elements.property(elements.RADIO_PT_TENM, "Weight", 230)
  303. elements.property(elements.RADIO_PT_TENM, "Falldown", 1)
  304. elements.property(elements.RADIO_PT_TENM, "Properties", TYPE_LIQUID)
  305. elements.property(elements.RADIO_PT_TENM, "Temperature", 390)
  306. elements.property(elements.RADIO_PT_TENM, "LowTemperature", 380.0)
  307. elements.property(elements.RADIO_PT_TENM, "LowTemperatureTransition", elements.RADIO_PT_TEN)
  308.  
  309. local ElementEleven = elements.allocate("RADIO", "ELEVEN")
  310. elements.element(elements.RADIO_PT_ELEVEN, elements.element(elements.DEFAULT_PT_BOYL))
  311. elements.property(elements.RADIO_PT_ELEVEN, "Name", "RSTR")
  312. elements.property(elements.RADIO_PT_ELEVEN, "Description", "Ruptured Star. Very Destructive. Created When STAR Explodes.")
  313. elements.property(elements.RADIO_PT_ELEVEN, "Colour", 0xFF6600)
  314. elements.property(elements.RADIO_PT_ELEVEN, "MenuSection", 6)
  315. elements.property(elements.RADIO_PT_ELEVEN, "Diffusion", 5.14)
  316. elements.property(elements.RADIO_PT_ELEVEN, "Loss", 0.4)
  317. elements.property(elements.RADIO_PT_ELEVEN, "Explosive", 1)
  318. elements.property(elements.RADIO_PT_ELEVEN, "Advection", 0.15)
  319. elements.property(elements.RADIO_PT_ELEVEN, "Weight", 0.04)
  320. elements.property(elements.RADIO_PT_ELEVEN, "Gravity", math.random(1,3))
  321. elements.property(elements.RADIO_PT_ELEVEN, "Temperature", 10000.0)
  322. elements.property(elements.RADIO_PT_ELEVEN, "HeatConduct", 10000.0)
  323. elements.property(elements.RADIO_PT_ELEVEN, "AirDrag", 0.008)
  324.  
  325. local ElementTwelve = elements.allocate("RADIO", "TWELVE")
  326. elements.element(elements.RADIO_PT_TWELVE, elements.element(elements.DEFAULT_PT_TTAN))
  327. elements.property(elements.RADIO_PT_TWELVE, "Name", "STAR")
  328. elements.property(elements.RADIO_PT_TWELVE, "Description", "STAR. Explodes Into RSTR.")
  329. elements.property(elements.RADIO_PT_TWELVE, "Colour", 0xFFFFFF)
  330. elements.property(elements.RADIO_PT_TWELVE, "MenuSection", 9)
  331. elements.property(elements.RADIO_PT_TWELVE, "Weight", 333)
  332. elements.property(elements.RADIO_PT_TWELVE, "Temperature", 100)
  333. elements.property(elements.RADIO_PT_TWELVE, "HighTemperature", 380.0)
  334. elements.property(elements.RADIO_PT_TWELVE, "HighTemperatureTransition", elements.RADIO_PT_ELEVEN)
  335.  
  336. local ElementTT = elements.allocate("RADIO", "TT")
  337. elements.element(elements.RADIO_PT_TT, elements.element(elements.DEFAULT_PT_GLOW))
  338. elements.property(elements.RADIO_PT_TT, "Name", "STUF")
  339. elements.property(elements.RADIO_PT_TT, "Description", "S.T.U.F Classified Liquid. Releases CAUS")
  340. --Stationary Testicular Urinary Fungi. --  
  341. elements.property(elements.RADIO_PT_TT, "Colour", 0x003300)
  342. elements.property(elements.RADIO_PT_TT, "MenuSection", 7)
  343. elements.property(elements.RADIO_PT_TT, "Weight", 30)
  344. elements.property(elements.RADIO_PT_TT, "Properties", PROP_DEADLY)
  345. local function stuff(i,x,y,s,n)
  346.     if math.random(1,100) == 10 then
  347.     tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'CAUS')
  348.     end
  349. end
  350. tpt.element_func(stuff,ElementTT)
  351.  
  352. local ElementFT = elements.allocate("RADIO", "FT")
  353. elements.element(elements.RADIO_PT_FT, elements.element(elements.DEFAULT_PT_STNE))
  354. elements.property(elements.RADIO_PT_FT, "Name", "SPRT")
  355. elements.property(elements.RADIO_PT_FT, "Description", "Sprite. When COOLED it shoots up.")
  356. elements.property(elements.RADIO_PT_FT, "Colour", 0x663366)
  357. elements.property(elements.RADIO_PT_FT, "Flammable", 0)
  358. elements.property(elements.RADIO_PT_FT, "MenuSection", 4)
  359. elements.property(elements.RADIO_PT_FT, "Weight", 60)
  360. elements.property(elements.RADIO_PT_FT, "Gravity", -5)
  361. elements.property(elements.RADIO_PT_FT, "HotAir", 0.001)
  362. elements.property(elements.RADIO_PT_FT, "Temperature", math.huge)
  363. elements.property(elements.RADIO_PT_FT, "Properties", PROP_DEADLY)
  364.  
  365. local ElementSecret1 = elements.allocate("RADIO", "SONE")
  366. elements.element(elements.RADIO_PT_SONE, elements.element(elements.DEFAULT_PT_DUST))
  367. elements.property(elements.RADIO_PT_SONE, "Name", "WTYM")
  368. elements.property(elements.RADIO_PT_SONE, "Colour", 0xFF0000)
  369. elements.property(elements.RADIO_PT_SONE, "Description", "WORDDDD TO YO MUTHA")
  370. elements.property(elements.RADIO_PT_SONE, "MenuVisible", 0)
  371. elements.property(elements.RADIO_PT_SONE, "Flammable", 0)
  372. elements.property(elements.RADIO_PT_SONE, "Gravity", 0.5)
  373. elements.property(elements.RADIO_PT_SONE, "Loss", 0.10)
  374. elements.property(elements.RADIO_PT_SONE, "AirLoss", 0.1)
  375. elements.property(elements.RADIO_PT_SONE, "AirDrag", 0.01)
  376. elements.property(elements.RADIO_PT_SONE, "Advection", 0.6)
  377. elements.property(elements.RADIO_PT_SONE, "Weight", 10)
  378. elements.property(elements.RADIO_PT_SONE, "Falldown", 1)
  379. elements.property(elements.RADIO_PT_SONE, "Temperature", 390)
  380. elements.property(elements.RADIO_PT_SONE, "LowTemperature", 380.0)
  381. elements.property(elements.RADIO_PT_SONE, "LowTemperatureTransition", elements.DEFAULT_PT_VINE)
  382.  
  383.  
  384.  
  385. local ElementSecret2 = elements.allocate("RADIO", "STWO")
  386. elements.element(elements.RADIO_PT_STWO, elements.element(elements.DEFAULT_PT_DUST))
  387. elements.property(elements.RADIO_PT_STWO, "Name", "WSFC")
  388. elements.property(elements.RADIO_PT_STWO, "Colour", 0x66FFFF)
  389. elements.property(elements.RADIO_PT_STWO, "Description", "Want Some Free Candy?")
  390. elements.property(elements.RADIO_PT_STWO, "MenuVisible", 0)
  391. elements.property(elements.RADIO_PT_STWO, "Flammable", 10)
  392. elements.property(elements.RADIO_PT_STWO, "Gravity", 0.0001)
  393. elements.property(elements.RADIO_PT_STWO, "Advection", 0.6)
  394. elements.property(elements.RADIO_PT_STWO, "Weight", 10)
  395. elements.property(elements.RADIO_PT_STWO, "Temperature", 390)
  396. elements.property(elements.RADIO_PT_STWO, "LowTemperature", 380.0)
  397. elements.property(elements.RADIO_PT_STWO, "LowTemperatureTransition", elements.DEFAULT_PT_METL)
  398. local function sprk(i,x,y,s,n)
  399. if tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1)) == tpt.el.metl.id then
  400. tpt.create(x + math.random(-1,1), y + math.random(-1,1), 'sprk')
  401. end
  402. end
  403. tpt.element_func(sprk,ElementSecret2)
  404.  
  405. local ElementSecret3 = elements.allocate("RADIO", "STHREE")
  406. elements.element(elements.RADIO_PT_STHREE, elements.element(elements.DEFAULT_PT_DUST))
  407. elements.property(elements.RADIO_PT_STHREE, "Name", "TNISFLICBSI")
  408. elements.property(elements.RADIO_PT_STHREE, "Colour", 0xDD0EFC)
  409. elements.property(elements.RADIO_PT_STHREE, "Description", "This Name Is So Freaking Long I Can Barely Understand It.")
  410. elements.property(elements.RADIO_PT_STHREE, "MenuVisible", 0)
  411. elements.property(elements.RADIO_PT_STHREE, "Flammable", 0)
  412. elements.property(elements.RADIO_PT_STHREE, "Gravity", 0.70)
  413. elements.property(elements.RADIO_PT_STHREE, "Advection", 3.30)
  414. elements.property(elements.RADIO_PT_STHREE, "Weight", 90)
  415. elements.property(elements.RADIO_PT_STHREE, "Temperature", 390)
  416. elements.property(elements.RADIO_PT_STHREE, "LowTemperature", 380.0)
  417. elements.property(elements.RADIO_PT_STHREE, "LowTemperatureTransition", elements.DEFAULT_PT_DMND)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement