What if you just add Sand to PSTE, giving PSTE ctype CNCT and then after 500 frames the PSTE becomes CNCT, but if PSTE with ctype CNCT touches WATR or DSTW the countdown to turn into CNCT goes back to 500, this way it wouldnt need new elements.
Your idea is easier, but it doesn't take into account for the fact that sometimes you pour CNCT onto SAND to make a flat foundation. You also run the risk of having the PSTE turn into BRCK meaning it won't work. You have to have the new element to get around that problem.
Want a Lua script of it?
Sure.
local function Pste(i,x,y,s,nt)
local collx = math.random(-1,1)
local colly = math.random(-1,1)
if tpt.get_property("type", x+collx, y+colly) == tpt.element('sand') then
if tpt.get_property("tmp2", i) == 0 then
tpt.delete(x+collx, y+colly)
tpt.set_property("ctype","cnct",i)
tpt.set_property("tmp2",1,i)
tpt.set_property("life",1500,i)
end
end
if tpt.get_property("tmp2", i) == 1 then
if tpt.get_property("life", i) > 0 then
tpt.set_property("life",tpt.get_property("life", i)-1,i)
end
end
if tpt.get_property("tmp2", i) == 1 then
if tpt.get_property("life", i) == 0 then
tpt.set_property("tmp2",0,i)
tpt.set_property("type","cnct",i)
end
end
if tpt.get_property("type", x+collx, y+colly) == tpt.element('watr') or tpt.get_property("type", x+collx, y+colly) == tpt.element('dstw') then
if tpt.get_property("tmp2", i) == 1 then
tpt.set_property("life",1500,i)
end
end
end
tpt.element_func(Pste, tpt.element('pste'))
Thanks!
EDIT:
Just ran it and it looks good! Would you be willing to try to make the new elements in Lua? (It took me a while to figure out why it wouldn't accept the file. I copied it into a program where it then removed the new line markers so it was a single line of code... with no spaces anywhere in the document.:( )
Yes, but which elements? The wet concrete?
The wet concrete please. If you could do the others then even better.
(about RBCK) So, like slime blocks in minecraft? That would be cool