Element : SOIL (SOIL+WATR=PLNT)

  • MassacreLand
    2nd Feb 2012 Member 1 Permalink
    Kerbal1234
    Took my WOOD+WATR=PLNT script and made SOIL!!!!! wich also creates PLNT when introduced to WATR!

    Replace clay dust with powder quarts if you dont want to deal with the dust stacking all the time. or replace with DUST if you want plane brown. CLay dust and quarts just has a grafficly diverse look to it. Showing minerals in the soil.

    math.randomseed(os.time())
    function growth(i,x,y,s,n)
    type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
    if type==tpt.el.watr.id then
    tpt.parts[i].type=tpt.el.plnt.id
    end
    end

    tpt.element_func(growth,tpt.el.wood.id)

    -----------------------------------------------------------------

    tpt.el.clst.name="SOIL"
    tpt.el.clst.description="Soil. Grows PLNT when watered."
    tpt.el.clst.color=0xC77400
    tpt.el.clst.weight=70
    tpt.el.clst.menusection=4
     math.randomseed(os.time())
    function growth(i,x,y,s,n)
    type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
    if type==tpt.el.watr.id then
    tpt.parts[i].type=tpt.el.plnt.id
    end
    end

    tpt.element_func(growth,tpt.el.clst.id)

  • kerbal1234
    2nd Feb 2012 Member 0 Permalink
    WARNING POINTLESS:
    Teehee.

    Thanks for credit.
  • MassacreLand
    2nd Feb 2012 Member 0 Permalink
    I never publish anything that is not mine without credit. 
    You did a great job :D Cant beleive TPT doesnt have soil >.<
  • ArtMaster
    2nd Feb 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • MassacreLand
    2nd Feb 2012 Member 0 Permalink
    @ArtMaster (View Post)

    Thanks!!
    Wouldnt know anything without your scripts xD so double thanks!