I already made it to TETs alpha. I just cant get that lava would turn to obsidian work.
For that you would want something like this for the water part of the code so water gets deleted. if(parts[r>>8].type = PT_LAVA) {kill_part(i); } I think, it may be a bit off as I haven't coded in a while. And for lava, you would put (again it may be a bit off) if(parts[r>>8].type = PT_WATR) {create_part(-1, i, PT_OBSD);}