Advertisement
Dawgie

MGLQ

Aug 4th, 2012
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. tpt.el.bran.name="mglq"
  2. tpt.el.bran.enabled=1
  3. tpt.el.bran.color=0xaa00ff
  4. tpt.el.bran.description="Powerful substance"
  5. tpt.el.bran.menu=1
  6. tpt.el.bran.weight=101
  7. tpt.el.bran.menusection=6
  8. tpt.el.bran.falldown=3
  9. tpt.el.bran.gravity=1
  10. tpt.el.bran.diffusion=2
  11. tpt.el.bran.heat=3000
  12. tpt.el.bran.advection=2
  13. tpt.eltransition.bran.tempHighValue = 9000
  14. tpt.eltransition.bran.tempHighType = tpt.element('bomb')
  15. tpt.el.bran.explosive=1
  16. function graphics(i, colr, colg, colb)
  17. if tpt.get_property("temp",i) < 5000
  18. and tpt.get_property("temp",i) > 273 then
  19. return 0,0x00FF0030,255,0,255,0,75,183,0,255
  20.  
  21. elseif tpt.get_property("temp",i) > 5000 then
  22. return 0,0x00ff0020,255,255,255,0,75,255,0,0
  23.  
  24. elseif tpt.get_property("temp",i) < 273 then
  25. return 0,0x00ff0020,255,0,255,255,75,0,0,255
  26. end
  27. end
  28. tpt.graphics_func(graphics,tpt.el.bran.id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement