HEATR - my first element

  • ChargedCreeper
    4th May 2015 Member 0 Permalink

    http://pastebin.com/7NC4PKfY

     

    It basically heats anything it touches (except for energy particles), and can be moved by Newtonian gravity (but not pressure).

     

    Put GAS through it and it burns as PLSM.

    Edited once by ChargedCreeper. Last: 4th May 2015
  • DanielGalrito
    7th May 2015 Member 0 Permalink

    Try making it heat particles to the ehater's temperature, so its more elements.property(HEAT, "HeatConduct", 0)

     

    local atemp = tpt.get_property("tmp", i)

    for dx = -2, 2 do

    for dy = -2, 2 do
    tpt.set_property("temp", atemp, x+dx, y+dy)