Advertisement
nucular

nucular's handmade DST2!

Jan 30th, 2013
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. local DST2 = elements.allocate("NUCULAR","DST2")
  2. elements.element(elements.NUCULAR_PT_DST2, elements.element(elements.DEFAULT_PT_DEST))
  3. elements.property(elements.NUCULAR_PT_DST2, "Name", "DST2")
  4. elements.property(elements.NUCULAR_PT_FUSN, "Description", "The ultimative destruction. Even destroys DMND! Use max. one particle at once!")
  5.  
  6. function dst2_update(i,x,y,s,n)
  7.     tpt.set_property("type","fire",x,y+8,10,10)
  8.     tpt.set_property("temp",10000,x,y+10,10,10)
  9.     tpt.set_property("type","sing",x,y-20,10,10)
  10.     tpt.set_property("type","thdr",x-10,y-20,10,10)
  11.     tpt.set_property("temp",99999,x-20,y-20,40,40)
  12. end
  13.  
  14.  
  15. tpt.element_func(dst2_update, elements.NUCULAR_PT_DST2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement