Extreme Water(EWAT)

  • MassacreLand
    31st Jan 2012 Member 0 Permalink
    Pretty much freezes everything it touches.

    I edited ArtMaster's script.

    And this is what I got.

      tpt.el.wind.name='EWAT'
    tpt.el.wind.description='Angry water.'
    tpt.el.wind.color=0x84BFD5
    tpt.el.wind.menusection=4
    tpt.el.wind.menu=1
    tpt.el.wind.enabled=1
    tpt.el.wind.weight=-1
    types={'hygn','oxyg'}
    math.randomseed(os.time())
    function astr(i,x,y,s,n)
    for n=1,2 do
    tpt.parts[i].x=tpt.get_property('x',i)+math.random(-6,6)
    tpt.parts[i].y=tpt.get_property('y',i)+math.random(-6,6)
    for x2=-7,7 do
    for y2=-math.sqrt((49)-(x2^2)),math.sqrt((49)-(x2^2)) do
    tpt.create(x+x2,y+y2,types[math.random(1,2)])
    tpt.set_property('life',4,x+x2,y+y2)
    tpt.set_property('temp',-10000+273.15,x+x2,y+y2)
    if tpt.get_property('type',x+x2,y+y2)~=0 and tpt.get_property('type',x+x2,y+y2)~=tpt.el.oxyg.id and tpt.get_property('type',x+x2,y+y2)~=tpt.el.hygn.id and tpt.get_property('type',x+x2,y+y2)~=tpt.el.wind.id then
    tpt.create(x+x2,y+y2,'watr')
    tpt.set_property('life',10,x+x2,y+y2)
    end
    end
    end
    end
    end

    tpt.element_func(astr,tpt.el.wind.id)
  • mniip
    31st Jan 2012 Developer 0 Permalink
    @MassacreLand (View Post)

    [code]code box[/code]

    produces

    code box

    and personally i prefer pastebin
  • MassacreLand
    31st Jan 2012 Member 0 Permalink