Cool/Weird Effects

  • QuentinADay
    23rd Oct 2014 Member 0 Permalink

    This has interesting properties(try putting down a thick line of IRON down and droping BRCK over it then switch to heat display mode (press 6):

     

    function brckupdate(i,x,y,s,n)
    tpt.set_property("temp", math.huge, x, y)
    end
    tpt.element_func(brckupdate,tpt.el.brck.id)

    function lavaupdate(i,x,y,s,n)
    tpt.set_property("temp", -math.huge, x, y)
    end
    tpt.element_func(lavaupdate,tpt.el.lava.id)

     

     

    This just looks cool(It has a sparkle-like effect) Place WATR down: 

     

    function watrupdate(i,x,y,s,n)
    if math.random(1,2) == 1 then
    tpt.set_property("temp", math.huge, x, y)
    end
    end
    tpt.element_func(watrupdate,tpt.el.watr.id)

    function watervapor(i,x,y,s,n)
    if math.random(1,2) == 1 then
    tpt.set_property("temp", -math.huge, x, y)
    end
    end
    tpt.element_func(watervapor,tpt.el.wtrv.id)

    function rimeupdate(i,x,y,s,n)
    if math.random(1,2) == 1 then
    tpt.set_property("temp", math.huge, x, y)
    end
    end
    tpt.element_func(rimeupdate,tpt.el.rime.id)

    Edited 3 times by QuentinADay. Last: 23rd Oct 2014
  • zBuilder
    23rd Oct 2014 Member 0 Permalink

    function brckupdate(i,x,y,s,n)
    if math.random(1,10058) == 75 then
    tpt.set_property("temp", math.huge, x, y)
    end
    end
    tpt.element_func(brckupdate,tpt.el.brck.id)

     

    is also interesting. makes a boiling texture before getting hot and falling apart.

    Edited once by zBuilder. Last: 23rd Oct 2014
  • Eddygp
    1st Nov 2014 Member 0 Permalink

    tpt.eltransition.coal.presHighValue=200

    tpt.eltransition.bcol.presHighValue=200

    tpt.eltransition.coal.presHighType=tpt.element("dmnd")

    tpt.eltransition.bcol.presHighType=tpt.element("dmnd")

    tpt.eltransition.dmnd.presLowValue=0

    tpt.eltransition.dmnd.presLowType=tpt.element("coal")

     

    Like in real life.

  • zBuilder
    2nd Nov 2014 Member 0 Permalink

    Eddygp:

    tpt.eltransition.coal.presHighValue=200

    tpt.eltransition.bcol.presHighValue=200

    tpt.eltransition.coal.presHighType=tpt.element("dmnd")

    tpt.eltransition.bcol.presHighType=tpt.element("dmnd")

    tpt.eltransition.dmnd.presLowValue=0

    tpt.eltransition.dmnd.presLowType=tpt.element("coal")

     

    Like in real life.

     

    the problem in this is that it removes the life from coal,so when it returns to coal it bursts into flames. that means dmnd placed at 0 presure will also immediately turn into fire.

  • Willco2
    7th Nov 2014 Member 1 Permalink

    function tungupdate(i,x,y,s,n)
    if math.random(1,10058) == 75 then
    tpt.set_property("temp", math.huge)
    end
    end
    function lavaupdate(i,x,y,s,n)
    if math.random(1,5029) == 75 then
    tpt.set_property("temp", -math.huge)
    end
    end
    tpt.element_func(lavaupdate,tpt.el.lava.id)
    tpt.element_func(tungupdate,tpt.el.tung.id)

     

    The above code causes all TUNG to flash and spread outwards. Use at own risk.

    Edited once by Willco2. Last: 7th Nov 2014
  • zBuilder
    7th Nov 2014 Member 0 Permalink

    Willco2:

    function tungupdate(i,x,y,s,n)
    if math.random(1,10058) == 75 then
    tpt.set_property("temp", math.huge)
    end
    end
    function lavaupdate(i,x,y,s,n)
    if math.random(1,5029) == 75 then
    tpt.set_property("temp", -math.huge)
    end
    end
    tpt.element_func(lavaupdate,tpt.el.lava.id)
    tpt.element_func(tungupdate,tpt.el.tung.id)

     

    The above code causes all TUNG to flash and spread outwards. Use at own risk.

     

    looks pretty cool. has interesting effects on everything else on the screen too whenever tung is introduced